yarou has quit [Remote host closed the connection]
<blitz>
is there a way to conditionally created a new instance of a subclass, determining the name of subclass in the super and then calling a function on that name
JStoker has quit [Excess Flood]
sski has joined #ruby
wallerdev has quit [Quit: wallerdev]
CourtJesterG has joined #ruby
dx7 has quit [Remote host closed the connection]
awarner has quit [Remote host closed the connection]
dseitz has joined #ruby
JStoker has joined #ruby
bhaak has joined #ruby
ktosiek has quit [Ping timeout: 248 seconds]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
awarner has joined #ruby
thesheff17 has joined #ruby
zeade has joined #ruby
mando has joined #ruby
brunops has joined #ruby
lmickh has quit [Remote host closed the connection]
mahlon_ is now known as mahlon
whatasunnyday has quit [Quit: whatasunnyday]
vlad_starkov has joined #ruby
yarou has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
shanlar has joined #ruby
<bricker>
blitz: sure
mocfive has quit [Read error: Connection reset by peer]
Deele has quit [Ping timeout: 265 seconds]
Roa_ has quit [Quit: leaving]
Zunonia has joined #ruby
mocfive has joined #ruby
<blitz>
I'm using Kernel.const_get
<blitz>
found some info
kevind has quit [Quit: kevind]
predator217 has joined #ruby
bennylope has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
terrellt has joined #ruby
Roa has joined #ruby
BrianJ has joined #ruby
butblack has quit [Quit: butblack]
saarinen has quit [Quit: saarinen]
koshian has joined #ruby
marr has quit [Ping timeout: 265 seconds]
soba has joined #ruby
tylersmith has quit [Remote host closed the connection]
fijimunkii has quit [Read error: Connection reset by peer]
predator117 has quit [Ping timeout: 272 seconds]
bleak has joined #ruby
BrianJ has quit [Client Quit]
danshultz has joined #ruby
nateberkopec has joined #ruby
b00stfr3ak has quit [Ping timeout: 248 seconds]
fijimunkii has joined #ruby
blitz has left #ruby ["bye"]
freerobby has quit [Quit: Leaving.]
yarou has quit [Remote host closed the connection]
TheGreatDogesby has quit [Remote host closed the connection]
TheGreatDogesby has joined #ruby
BackEndCoder has quit [Read error: Connection reset by peer]
tkuchiki has quit [Remote host closed the connection]
<itadder>
how do I make vim and ruby look like that
dx7 has joined #ruby
<mib_mib>
hi all - i'm using the aws-sdk gem to download large files from s3 - is there any way to speed this up? I'm using the streaming download - for instance, can i somehow increase the chunk size of Net HTTP?
buff3r has quit [Quit: leaving]
iamdoo2 has joined #ruby
BrianJ has joined #ruby
tkuchiki has quit [Ping timeout: 265 seconds]
rushed has joined #ruby
yasushi has quit [Ping timeout: 252 seconds]
RoxasShadowRS has quit [Quit: Leaving]
Spami has joined #ruby
kitak has joined #ruby
ekarlso has quit [Quit: Lost terminal]
iamdoo2_ has joined #ruby
ndrei has quit [Quit: Lost terminal]
thesheff17 has quit [Ping timeout: 252 seconds]
<itadder>
is it good idea to code ruby on a hosted platform or on my laptop
Guest50826 has quit [Changing host]
Guest50826 has joined #ruby
<itadder>
what the disadvatnge
Guest50826 is now known as seekwill
iamdoo2 has quit [Ping timeout: 252 seconds]
icantbecool has joined #ruby
thesheff17 has joined #ruby
wiku5_ has quit [Quit: WeeChat 0.3.8]
<centrx>
itadder, Uh, both?
<itadder>
were do you run yoru ruby project
<itadder>
at least for learning
<itadder>
I guess on my laptop it just fine
BackEndCoder has quit [Read error: Connection reset by peer]
fgo has quit [Remote host closed the connection]
BackEndCoder has joined #ruby
pzula has quit [Ping timeout: 252 seconds]
yarou has joined #ruby
freezey has quit [Remote host closed the connection]
<dseitz>
Can't help much with the look
jlast has joined #ruby
<dseitz>
but the thing on the left is NERDtree
<itadder>
ahh
jlast has quit [Remote host closed the connection]
ffranz has quit [Quit: Leaving]
jlast has joined #ruby
bennylope has joined #ruby
bennylope has quit [Max SendQ exceeded]
Evenix has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
icantbecool has quit [Quit: Computer has gone to sleep.]
<dseitz>
I'd probably consider almost anything from tpope's repo as well :)
tkuchiki has joined #ruby
<itadder>
oh wow
<itadder>
wow $255 for his class
robustus has quit [Ping timeout: 252 seconds]
<itadder>
oh wow neat it align text
bklane has joined #ruby
JStoker has joined #ruby
<itadder>
wow he uses macvim
<bklane>
I am learning procs now and wondering at one point you should use a proc over a regular iteration? On codecademy it uses a proc for a single method call which I assume you would just use in a map or collect block no?
habanany has joined #ruby
snooc has joined #ruby
ner0x has joined #ruby
shevy has quit [Ping timeout: 272 seconds]
<itadder>
wow this guy is a genius dseitz
drocsid has quit [Changing host]
drocsid has joined #ruby
BackEndCoder has quit [Read error: Connection reset by peer]
<dseitz>
itadder: Vim has a lot of amazing stuff to learn about; I wouldn't necessary pay for an instruction unless you want to get up and running with a lot of the advanced stuff very quickly. There is enough free material out there that this doesn't make much sense to me.
mocfive has quit [Remote host closed the connection]
wildroman2 has joined #ruby
<itadder>
first I am trying to learn ruby
<dseitz>
Also, Vim is not the only productive editor out there; so if you're comfortable with one environment and it serves you well, stick ot it
<itadder>
dseitz: any reason why my brain can't focus on ruby for more then 20 minuutes
mocfive has joined #ruby
<itadder>
I have not decided on what to use hence I am not a expert on any
<itadder>
right now I am using textmate on the maac
jonr22 has quit [Remote host closed the connection]
<itadder>
I tried for three weeks but my brain focused on someting for 20 minutes and then gave up
<dseitz>
I see. Well as much as I appear to be promoting Vim, I actually use, primarily, ST3 w/ an open Terminal instance.
jonr22 has joined #ruby
<dseitz>
As for Ruby, depends on what experience you have in your background.
<itadder>
I only been doing it for three weeks and it seems I am about to give up
wildroman2 has quit [Ping timeout: 248 seconds]
<dseitz>
To give you an example, I'm learning JS right now, which is similar to languages I have used in the past, but in other ways, nothing like any of them. So I've had a few parts that I've moved through very very slowly.
snooc has joined #ruby
snooc has quit [Max SendQ exceeded]
mocfive has quit [Ping timeout: 252 seconds]
clamstar has joined #ruby
snooc has joined #ruby
burlyscudd has joined #ruby
<itadder>
the basic stuff I did okay and got bored
<itadder>
but the more advance stuff
BackEndCoder has quit [Read error: Connection reset by peer]
<itadder>
my brain got a brain fart
BackEndCoder has joined #ruby
jonr22 has quit [Ping timeout: 265 seconds]
havenwood has quit [Remote host closed the connection]
<dseitz>
Well that's okay. If it's boring; you should not really be reading alone.
<itadder>
ahh
Zunonia has quit [Remote host closed the connection]
havenwood has joined #ruby
<itadder>
I have major problem with focus
Zunonia has joined #ruby
<dseitz>
You need to code out and do some exercises to built your knowledge. I think a lot of books fail to provide these because they are intended for instruction to suppliment a course or something.
<itadder>
I can hyper focus for a while, but doing the first part of code acamedy just bore me
<itadder>
ahh dseitz yea
<itadder>
I just want to learn to jump in to automatation
<itadder>
script
clamstar has quit [Client Quit]
jle` has quit [Quit: WeeChat 0.4.2]
<itadder>
I mean learn at the same time, but getting bored
BackEndCoder has quit [Read error: Connection reset by peer]
<itadder>
on how you add numbers or print stuff
<itadder>
altough important
BackEndCoder has joined #ruby
jle` has joined #ruby
necrotic_ has joined #ruby
clamstar has joined #ruby
jonr22 has joined #ruby
necrotic_ has quit [Remote host closed the connection]
clamstar has quit [Remote host closed the connection]
mikepack_ has quit [Remote host closed the connection]
mikepack has joined #ruby
<dseitz>
itadder: Take a break when the book gets old; https://www.bloc.io/ruby-warrior/#/ might be interesting for you since its interactive and challenging at times
adam_ has joined #ruby
sjuxax has left #ruby [#ruby]
<dseitz>
what are you learning from, btw?
matchaw has joined #ruby
matchaw_ has quit [Ping timeout: 252 seconds]
matchaw_ has joined #ruby
JBreit has quit [Ping timeout: 252 seconds]
<itadder>
code acamedy
mikepack_ has joined #ruby
tauebel has quit [Quit: Leaving.]
<itadder>
oh wow a ruby video game
TheGreatDogesby has quit [Remote host closed the connection]
<dseitz>
Yeah that is boring; even PickAxe has you do more exciting stuff than that website
matchaw_ has quit [Remote host closed the connection]
CaptainJet has quit []
<dseitz>
Jump into these two options, they don'y make you feel like a moron by spending 12 hours printing stuff to the console :)
clamstar has joined #ruby
<itadder>
wow the ruby community has a lot of neat tuts
meatherly has joined #ruby
nobitanobi has joined #ruby
nfk has quit [Quit: yawn]
plotter has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
meatherly has quit [Ping timeout: 252 seconds]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
abra has quit [Ping timeout: 248 seconds]
tauebel has joined #ruby
Evenix has quit [Remote host closed the connection]
abra has joined #ruby
Evenix has joined #ruby
Davey has joined #ruby
agent_wh1te has joined #ruby
<agent_wh1te>
Ello everyone
CourtJesterG has left #ruby ["Please Donate: Litecoin payments: LUJnwfYNhNVNeP7DCxrewbJD9zZNR1nZ3E"]
agent_wh1te has left #ruby [#ruby]
agent_white has joined #ruby
parus has joined #ruby
Blue_Ice has joined #ruby
Blue_Ice has quit [Changing host]
Blue_Ice has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
Nahra has joined #ruby
Nahra has quit [Changing host]
Nahra has joined #ruby
<dseitz>
itadder: Free material to read and practice with are Learn Ruby the Hard Way [aka, by completing exercises], Learn Programming by Chris Pine, free, bit old but good book. Programming Ruby [aka the PickAxe book] was is a great read. RubyMonk and RubyWarrior give you an opportunity to test your ability to code interactively and continue learning
<dseitz>
If I'm not mistaken, most of these are recommended on the website
<itadder>
dseitz: ahh i see and I won't get bored
<dachi_>
pognant guide ...
<itadder>
I would realy like to apply as a ruby puppet consultant in the future and ruby programmer
Evenix has quit [Ping timeout: 265 seconds]
<itadder>
not today but say in one year
<itadder>
sac than
<itadder>
thanks
jlast has quit [Remote host closed the connection]
EminenceHC has quit [Remote host closed the connection]
<dseitz>
Oh yes, I didn't mention Why's poignant guide to Ruby
<agent_white>
Blasphemy
<dseitz>
People say great things about it, I've never read it so I cannot offer an opinion
nateberkopec has quit [Quit: Leaving...]
<agent_white>
I have read it and it is amazing.
petey_ has quit [Remote host closed the connection]
Atrumx has joined #ruby
petey has joined #ruby
rm__ has quit [Remote host closed the connection]
<dachi_>
"Them What Make the Rules and Them What Live the Dream"…
pzula has joined #ruby
Hobogrammer has quit [Ping timeout: 248 seconds]
snath has quit [Ping timeout: 252 seconds]
sski has quit [Remote host closed the connection]
<agent_white>
i love the next chapter
sski has joined #ruby
Xuisce_ has joined #ruby
jlast has joined #ruby
<dachi_>
Downtown
<agent_white>
"Yes i think your city is _freaky_. There's animals everywhere. -- You have a right to your opinion!"
wald0 has quit [Quit: leaving]
<agent_white>
aye! It's on metaprogramming.
<dachi_>
yea regexps too
meatherly has joined #ruby
<dachi_>
i got to go people, thanks for helping me all the time.
<dachi_>
good night!
Xuisce_ has quit [Client Quit]
Xuisce has joined #ruby
mojjojo has quit [Quit: mojjojo]
coderhs has quit [Ping timeout: 248 seconds]
figgleberry has quit [Ping timeout: 272 seconds]
petey has quit [Ping timeout: 265 seconds]
sski has quit [Remote host closed the connection]
Yahkob has quit [Read error: Connection reset by peer]
sski has joined #ruby
fridim_ has quit [Ping timeout: 272 seconds]
Yahkob has joined #ruby
sski has quit [Client Quit]
nanoyak has joined #ruby
sski has joined #ruby
mib_mib has joined #ruby
endash has joined #ruby
Evenix has joined #ruby
shadoi has quit [Quit: Leaving.]
whatasunnyday has joined #ruby
<mib_mib>
i have a few jobs that download s3 files in the background using resque - how would i go about scheduling a job to run AFTER all of these jobs have finished?
ruralhack has joined #ruby
itadder has quit [Remote host closed the connection]
nobitanobi has quit [Quit: Leaving]
rm_ has joined #ruby
ruralhack has left #ruby [#ruby]
snath has joined #ruby
burlyscudd1 has joined #ruby
figgleberry has joined #ruby
Atrumx has quit [Quit: Leaving]
Davey has quit [Quit: Computer has gone to sleep.]
mikepack has joined #ruby
mary5030 has joined #ruby
butblack has joined #ruby
burlyscudd has quit [Ping timeout: 252 seconds]
snath has quit [Client Quit]
yfeldblum has quit [Remote host closed the connection]
<snkcld_>
what is <=> ?
destroy has joined #ruby
figgleberry has quit [Ping timeout: 248 seconds]
snkcld_ is now known as snkcld
pzula has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
pravinmishra249 has joined #ruby
thesheff17 has quit [Ping timeout: 248 seconds]
destroy has quit []
snath has joined #ruby
troyready has quit [Ping timeout: 272 seconds]
mikepack has quit [Ping timeout: 265 seconds]
jamto11 has joined #ruby
bleak has quit [Ping timeout: 265 seconds]
<pravinmishra249>
Best tool to debug ruby script? 'rdebug' OR 'pry'
<Xuisce>
hi pravinmishra249
<dachi_>
snkcld_: it's called combined comparison operator
krz has joined #ruby
<pravinmishra249>
Hi Xuisce
<Xuisce>
hi there
mary5030 has quit [Remote host closed the connection]
<dachi_>
can return 1, -1 and 0
<dachi_>
used with Comparable mixing often
<dachi_>
mixin*
Bira has joined #ruby
<dachi_>
snkcld_ it's also called spaceship operator
whatasunnyday has quit [Ping timeout: 265 seconds]
<smtp_>
With RSPec, any ideas how I can stub out the file data with a File.open(file, "r") do |f| end block?
<RubyPanther>
If you think the book is weird and awesome, check out the music! There is also a live bootleg of the band doing some other music at a Ruby convention
pranny has quit [Quit: Leaving.]
digitalcake has quit [Client Quit]
s2013 has quit [Ping timeout: 272 seconds]
aspires has quit []
freerobby has joined #ruby
endash has quit [Quit: endash]
braincra- has quit [Ping timeout: 252 seconds]
fuhgeddaboudit has joined #ruby
tempered has quit [Quit: !s]
Es0teric has joined #ruby
yasushi has joined #ruby
yasushi has quit [Remote host closed the connection]
burlyscudd1 has quit [Quit: Leaving.]
yasushi has joined #ruby
pr00t has quit [Ping timeout: 252 seconds]
gja has joined #ruby
carif has joined #ruby
Bira has quit [Remote host closed the connection]
mgdixon has joined #ruby
shadoi has joined #ruby
snooc has quit [Ping timeout: 265 seconds]
pranny has joined #ruby
mehlah has joined #ruby
tempered has joined #ruby
eka has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
snooc has joined #ruby
ehc has quit [Quit: ehc]
aef has joined #ruby
vlad_starkov has joined #ruby
mib_mib has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
thesheff17 has joined #ruby
maximski has quit []
kpshek has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 252 seconds]
petey has joined #ruby
<mjc_>
smtp_: what're you reading from the file that you actually want to use it that way
theleft has joined #ruby
x77686d has joined #ruby
<mjc_>
I mean usually you want to use like CSV or some other method of abstracting the file access away
shadoi has quit [Quit: Leaving.]
<mjc_>
so you would stub the output from the csv module or something
x77686d has quit [Client Quit]
ffranz1 has joined #ruby
NaStYdoG has joined #ruby
Evenix has quit [Remote host closed the connection]
<centrx>
lagweezle, Those are your only real options
<lagweezle>
yah, looking at those
Evenix has quit [Ping timeout: 265 seconds]
sski has joined #ruby
<lagweezle>
daemon-kit appears to be a non-option for what I'm after.
m104 has joined #ruby
m104 has quit [Max SendQ exceeded]
m104 has joined #ruby
m104 has quit [Max SendQ exceeded]
yfeldblum has joined #ruby
m104 has joined #ruby
m104 has quit [Max SendQ exceeded]
m104 has joined #ruby
m104 has quit [Max SendQ exceeded]
lele has quit [Ping timeout: 252 seconds]
dx7 has quit [Remote host closed the connection]
sski has quit [Remote host closed the connection]
sski has joined #ruby
<skyjumper>
anyone have some ruby code for comparing the distance/similarity of 2 colors?
m104 has joined #ruby
<skyjumper>
i'm doing a simple average of the means of the RGB components, and its not really that good
m104 has quit [Remote host closed the connection]
Noldorin has quit []
<skyjumper>
er, average of the differences
<centrx>
Is comparing the distance of colors like finding the area of an idea?
<skyjumper>
distance of color codes, obviously
<skyjumper>
in all seriousness, "how much do these two colors look alike"
m104 has joined #ruby
m104 has quit [Max SendQ exceeded]
jwhorto1 has quit [Ping timeout: 264 seconds]
bleak has joined #ruby
Zunonia has joined #ruby
m104 has joined #ruby
<centrx>
skyjumper, Not sure, it should probably involve a square root though
gja has quit [Quit: This computer has gone to sleep]
<centrx>
Square root of the sum of the squares
<centrx>
That is the distance formula
<skyjumper>
this is way more complicated than i thought it'd be
m104 has quit [Client Quit]
sepp2k has quit [Read error: Connection reset by peer]
<Tai>
what are you using for the value of the colors? HTML, CMYK, Panatone?
<skyjumper>
html so far
<snkcld>
<snkcld>
oops
<skyjumper>
the 'color' gem can do CMYK, HSL,
<skyjumper>
people say LAB is the best for comparing but this is already too muchw ork
jbueza has joined #ruby
shevy has joined #ruby
<Tai>
couldn't you just add up the sum of the differences in R, G, and B?
<skyjumper>
thats what i was doing
<skyjumper>
but it keeps finding 66ff99 as similar to 999999
<skyjumper>
for example
Lewix has quit [Remote host closed the connection]
yoshie902a has joined #ruby
<skyjumper>
maybe compare HSL values and weight the hue higher ors omething
<Tai>
I think centrx is right
<yoshie902a>
I am using a require_relative and need to go 3 folders up and then get into another folder called config. I thought ../../../config/config.rb would do it, but I'm getting an error, what's the best war to trouble shoot this issue
<skyjumper>
tried that too, it's even further off (visually) from the avg of sums
mikepack has joined #ruby
havenwood has quit [Remote host closed the connection]
<Tai>
if you take the square of the distances of the three values, and then add them together, and the get the sq root, that should give you the distance, and then you can compare that to get the more similar color
<RubyPanther>
Nope, not a music video. Though I do have a punk rock version of the pink panther music in there too
s2013 has quit [Ping timeout: 272 seconds]
aagdbl has joined #ruby
shevy has joined #ruby
Guest34662 is now known as Radar
angusigu1ss has joined #ruby
rm___ has joined #ruby
rm___ is now known as Guest45345
Tai has quit [Ping timeout: 252 seconds]
dik_dak has quit [Quit: Leaving]
sensen has quit [Ping timeout: 265 seconds]
angusigu1ss has quit [Ping timeout: 248 seconds]
brennanMKE has joined #ruby
icantbecool has left #ruby [#ruby]
jacky_ has joined #ruby
browndawg has joined #ruby
chipotle has quit [Quit: cya]
shevy has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
<jacky_>
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:199:29: error: the comparison will always evaluate as ‘true’ for the address of ‘raise_lexer_error’ will never be NULL [-Werror=address]
Guest45345 has quit [Ping timeout: 272 seconds]
towskidistress has quit [Ping timeout: 272 seconds]
<jacky_>
what is the problem
pranny has joined #ruby
<jacky_>
An error occurred while installing gherkin (2.2.9), and Bundler cannot continue. Make sure that `gem install gherkin -v '2.2.9'` succeeds before bundling.
<centrx>
Paste full stack trace?
chipotle has joined #ruby
<jacky_>
sorry, help me out
<centrx>
That last message you posted should only be a Warning, not a show-stopping Error
<jacky__>
after install both ruby1.9.1-full and rubygems, still failed
S0da has joined #ruby
ukd1 has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 265 seconds]
<havenwood>
jacky__: Looks like you're installing ruby-1.8 and rubygems package with apt-get for some reason? (RubyGems ships with 1.9+, though I can't recall what all weird stuff Debian does. :P)
<havenwood>
jacky__: But 1.9.1-full doesn't help you build 1.8 gems.
<havenwood>
jacky__: If you're using multiple apt-get Rubies, you can use `update-alternatives --config ruby` (and gem) to pick which.
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jacky__>
if not install rubygems?
<havenwood>
jacky__: Though I prefer to just use ruby-install and chruby on Debian systems to get latest stable Ruby and be able to keep RubyGems up to date. Working with Debian packaged Ruby is a bit of a notorious headache.
contofre has quit [Quit: Page closed]
<havenwood>
jacky__: RubyGems comes with Ruby these days. You get it when you get Ruby. Only in 1.8 days (which is past end-of-life) did you need to separately install RubyGems.
kiri has joined #ruby
mgdixon has quit [Ping timeout: 272 seconds]
<jacky__>
when installing rubegems, it installs ruby-1.8 at the same time
<havenwood>
jacky__: RVM or ruby-install/chruby would both be alternatives to apt-get/update-alternatives.
<havenwood>
jacky__: Apparently 1.8 is a dependency of apt-get RubyGems package.
<jacky__>
yes
<jacky__>
uninstall rubygems first
<havenwood>
Which is just because you'd only be installing RubyGems standalone with 1.8-.
<havenwood>
Yeah.
jayrrard has joined #ruby
Xeago has joined #ruby
geggam has quit [Remote host closed the connection]
<jacky__>
rubygems should be installed? and how to install rubygems with 1.9.1
<havenwood>
jacky__: RubyGems ships with 1.9. I hate that Debian uses the AMI of 1.9.1 >.>.
russfrank has joined #ruby
<havenwood>
jacky__: `gem -v` to check your RubyGems version, or `gem env` to peek at the environment
<havenwood>
jacky__: Normally... `gem update --system` to update RubyGems, but I think Debian breaks that.
jamto11 has quit [Remote host closed the connection]
nathancahill has quit [Quit: nathancahill]
coderhs has joined #ruby
<Hanmac1>
jacky__: when using apt-get ruby, use also "update-alternatives --config gem" ...
jacky__ has quit [Ping timeout: 245 seconds]
CpuID2 has quit [Ping timeout: 272 seconds]
TheGreatDogesby has quit [Remote host closed the connection]
jamto11 has joined #ruby
mengu has quit [Remote host closed the connection]
charliesome has joined #ruby
iMe has joined #ruby
OdNairy has quit [Ping timeout: 252 seconds]
wildroman2 has quit [Remote host closed the connection]
<havenwood>
Hanmac1: Nice there is ruby2.0 package these days.
<Hanmac1>
yes, yes it is
<havenwood>
Hanmac1: trunk ftw
ayaz has joined #ruby
bal has joined #ruby
Hanmac1 has quit [Ping timeout: 253 seconds]
Xeago has quit [Remote host closed the connection]
Kneferilis has joined #ruby
lele has joined #ruby
pranny has joined #ruby
pranny has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros>
good question
pedrosnk has quit [Remote host closed the connection]
whowantstolivef3 is now known as whowantstolivefo
<apeiros>
I'd check whether there's middleware already to handle that
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
<Cork>
ya, i have a hard time finding much anything about thin
<apeiros>
the difficulty is mostly in how to send multiple status codes, since rack's setup seems aimed at a single one.
<Cork>
ya
<apeiros>
I wouldn't target the solution to thin. I'd aim at rack's level.
* Cork
nods
jayrrard has quit [Quit: Leaving...]
<Cork>
thx for looking
<apeiros>
just now noticed that you already said in the beginning that curl sent the expect header. sorry. still waking up :)
<Cork>
np
Lewix has quit [Remote host closed the connection]
jprovazn has joined #ruby
soba has quit [Ping timeout: 246 seconds]
brennanMKE has joined #ruby
shadoi has joined #ruby
Al___ has quit [Quit: Al___]
uglybandersnatch has joined #ruby
aganov has joined #ruby
guardianx has joined #ruby
drumusician has joined #ruby
noname001__ has joined #ruby
charliesome has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
Markvilla has quit [Quit: Computer has gone to sleep.]
shadoi has quit [Quit: Leaving.]
brennanMKE has quit [Ping timeout: 250 seconds]
larsam has joined #ruby
dangerousdave has joined #ruby
monkegji_ has quit [Remote host closed the connection]
echevemaster has quit [Quit: Leaving]
monkegjinni has joined #ruby
uglybandersnatch has quit [Remote host closed the connection]
poulson has joined #ruby
rm_ has joined #ruby
bklane has quit [Quit: Leaving...]
monkegjinni has quit [Ping timeout: 245 seconds]
petey has joined #ruby
tesuji has joined #ruby
rm_ has quit [Ping timeout: 250 seconds]
JasmeetQA1 has joined #ruby
shevy has joined #ruby
enape_101 has quit [Ping timeout: 252 seconds]
petey has quit [Ping timeout: 246 seconds]
timonv has joined #ruby
JasmeetQA has quit [Ping timeout: 272 seconds]
hello_world has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
JasmeetQA has joined #ruby
timonv_ has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 250 seconds]
JasmeetQA1 has quit [Ping timeout: 250 seconds]
jlebrech has joined #ruby
timonv has joined #ruby
torstein has quit [Remote host closed the connection]
tvw has joined #ruby
claymore has joined #ruby
arctaruz has joined #ruby
arctaruz has left #ruby [#ruby]
blaxter has quit [Read error: Operation timed out]
Shidash has quit [Ping timeout: 252 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
rashila has joined #ruby
<rashila>
hi
<rashila>
I have a question on authlogic
olivier_bK has joined #ruby
coderhs has quit [Ping timeout: 265 seconds]
workmad3 has joined #ruby
krnflake has quit [Ping timeout: 252 seconds]
<rashila>
How can we set logged_in_time_out with a dynamic value, for eg, depending upon the user instance
<rashila>
Can I get the user instance inside the acts_as_authentic loop?
<rashila>
Authlogic Help : How can we set logged_in_time_out with a dynamic value, for eg, depending upon the user instance. Can I get the user instance inside the acts_as_authentic loop?
nettoweb has joined #ruby
rootshift has joined #ruby
<nettoweb>
can someone suggest a good book for intermediate ruby?
<workmad3>
rashila: you're more likely to find an authlogic user in #rubyonrails
<rashila>
ok.. I will try
<workmad3>
nettoweb: Eloquent Ruby? Practical Object Oriented Design with Ruby?
<nettoweb>
workmad3: I dont know, I just read ruby and rails at a glance.. I know some things about Ruby but i know more rails. So Im trying to undertand ruby as well. I donk know these books.
lsmola has joined #ruby
<pontiki>
ah
<pontiki>
Ruby *for* Rails
<nettoweb>
workmad3: Im with a Safari Books online subscription, so I have access to all theses books... but I need to choose one that wworth read
<pontiki>
they are all worth reading
<pontiki>
don't spend so much time trying to decide. just pick one suggested and start
<nettoweb>
ponbiki: yes... ruby *for* rails because I use rails
<pontiki>
that's a book title
<nettoweb>
ponbiki: Many people suggest me Beggining Ruby. but I'll to choose
<workmad3>
nettoweb: as pontiki said, just pick one to start at :) They're all worth reading, they're all well written and quite easy to read IMO
<nettoweb>
ponbiki: ;/
<nettoweb>
heh
<rashila>
I tried in rubyonrails, but the message is not getting sent.
<rashila>
getting message as "#RubyOnRails Cannot send to channel"
<nettoweb>
workmad3: thank you guys
<pontiki>
do you mean not choose?
<workmad3>
rashila: you need to be registered and identified with nickserv
LekeFly has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<pontiki>
rashila: in #rubyonrails, you need to be registered with nickserv to talk
<rashila>
Yes I did
krnflake has joined #ruby
<rashila>
and getting message as You are already logged in as rashila.
<pontiki>
hmm
<pontiki>
well there you go
<rashila>
did it another one time.. think it is working
<pontiki>
are services still being bombarded?
<workmad3>
oh, was that the trouble I was having with sasl auth yesterday?
<pontiki>
probably. yesterday freenode was under dire attack
troessner has joined #ruby
<pontiki>
ddos'd dns
<workmad3>
yeah, that was probably what was getting me :)
<workmad3>
couldn't connect most of the time, when I could I couldn't auth
<pontiki>
for awhile the only way i could get on was through webchat
<apeiros>
I still think letting perpetrators of such stuff only work with keyboards with 12V applied on it is the only acceptable punishment
okinomo has joined #ruby
<pontiki>
finding them to adminster such is the real problem
<apeiros>
true
torstein has joined #ruby
<apeiros>
one would assume that somebody doing that would show off with it, though
<workmad3>
apeiros: don't need to apply a current... just force them to use the cheap and nasty £4 keyboards I've got here
<apeiros>
workmad3: disagree. apply current.
<workmad3>
apeiros: they feel like you're whacking your fingers against concrete...
mikecmpbll has joined #ruby
<apeiros>
I still want that scene from ST Voy as a gif
<apeiros>
(where 7of9 electrocutes that hirogen)
helpa has joined #ruby
marcoecc has joined #ruby
tonni has joined #ruby
tonni has quit [Remote host closed the connection]
jackneill has joined #ruby
tonni has joined #ruby
blaxter has joined #ruby
elaptic`` is now known as elaptics
mikepack has joined #ruby
lemonsparrow has joined #ruby
timonv_ has joined #ruby
Xeago has joined #ruby
joaobatalha has joined #ruby
GreatSUN has joined #ruby
<GreatSUN>
hi all
meinside has joined #ruby
<GreatSUN>
I have a problem with ssl socket/client
<GreatSUN>
server is closing connection, but client doesn't react
<GreatSUN>
I am pretty sure I am missing something on client side...
<joaobatalha>
hey guys, I am doing a for loop, and I want to skip to the next element of the array I am looping thru if I have been processing the current element for longer than 30 seconds. What is an easy way to do this?
<GreatSUN>
joaobatalha: implement a timer with a thread and check the timer after the element is processed
<GreatSUN>
if timer is above whatever time
ghr has joined #ruby
ghr has quit [Max SendQ exceeded]
<GreatSUN>
use next
<GreatSUN>
might be this is not supported in your version of ruby
ghr has joined #ruby
mikepack has quit [Ping timeout: 250 seconds]
timonv has quit [Ping timeout: 250 seconds]
<GreatSUN>
if that is the point, change the loop to work with a variable as index/key and just change this variable according then
<sino__>
#channel
Xeago has quit [Ping timeout: 246 seconds]
<sino__>
s
<GreatSUN>
sino__: ?
<sino__>
sorry
<railsmagnet>
hey how do i pass a Handler Module to EventMachine::Websocket.start ..... instead of putting everying inside the block
popl has quit [Ping timeout: 246 seconds]
<sino__>
i am the first to use irssi
<pontiki>
NO I AM
<GreatSUN>
lol
<railsmagnet>
use weechat i hear its good too
<GreatSUN>
how old are you guys?
<GreatSUN>
100?
<sino__>
i am just 23
<GreatSUN>
:D
<pontiki>
7
Takumo has joined #ruby
<sino__>
and u
<sino__>
GreatSUN and how about u?
<GreatSUN>
36 :P
atmosx has joined #ruby
<pontiki>
(plus 49)
<sino__>
oh so older than me
timonv has joined #ruby
<pontiki>
IMOLDEST
obs has joined #ruby
<sino__>
how long u learn ruby GraetSUN
<workmad3>
joaobatalha: use the Timeout class in ruby stdlib
S0da has quit [Read error: Connection reset by peer]
timonv_ has quit [Ping timeout: 246 seconds]
shevy has quit [Ping timeout: 250 seconds]
<GreatSUN>
<--- has been using irssi since around 1999/2000
<GreatSUN>
sino__: little more than one year
LekeFly has quit [Read error: Connection reset by peer]
<sino__>
oh
klaut has quit [Remote host closed the connection]
<GreatSUN>
workmad3: wouldn't timeout stop the current element processing?
<sino__>
cool
LekeFly has joined #ruby
<GreatSUN>
workmad3: thats why I didn't say it ;-)
asmodlol has joined #ruby
<GreatSUN>
workmad3: btw. any idea on my gist / client-server problem?
Asher has quit [Read error: Connection reset by peer]
Asher has joined #ruby
sino___ has joined #ruby
coderhs has joined #ruby
yacks has quit [Ping timeout: 250 seconds]
<workmad3>
GreatSUN: no
sino__ has quit [Remote host closed the connection]
sino___ has quit [Remote host closed the connection]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
gtsiftsis has joined #ruby
<GreatSUN>
:-(
<workmad3>
GreatSUN: Timeout.timeout(1) {foobar} will let the block process for 1 time unit before throwing a timeout exception
brennanMKE has joined #ruby
shevy has joined #ruby
<workmad3>
(would need to check the docs to see if the time units are seconds or millis :) )
wildroman2 has joined #ruby
rdark has joined #ruby
<GreatSUN>
workmad3: exactly, but he wanted a block to execute and after the processing of the block the next one should be skipped, if the last was processing more than 30sec
okinomo has quit [Ping timeout: 245 seconds]
<railsmagnet>
doesn't 1 mean it'll wait 1 sec and it the process doesn't end within that, it'll throw an exception ?
<atmosx>
hello
<railsmagnet>
*if
<atmosx>
is Open3.capture3('uname -a') insecure?
<GreatSUN>
workmad3: at least if I understood it properly, this would eliminate timeout
<atmosx>
I'm calling this through a lambda.call
<workmad3>
GreatSUN: 'skip to the next element if have been processing the current one for longer than 30s'
<workmad3>
GreatSUN: that says 'timeout' to me
<GreatSUN>
workmad3: yes, you are right
<GreatSUN>
workmad3: sorry. I didn't get the to :-(
<GreatSUN>
thanks
<workmad3>
heh :) that's the joy of text communications
<atmosx>
ah no it's not apparently
iMe has quit [Quit: Bye Bye]
timonv has quit [Remote host closed the connection]
marcoecc has quit [Ping timeout: 246 seconds]
<railsmagnet>
workmad3: are you familiar with eventmachine websocket ... I had a question
<workmad3>
railsmagnet: and if I'd had a response, I'd have said something
[gmi] has joined #ruby
RoxasShadowRS has joined #ruby
<railsmagnet>
alright then
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
DariusPHP has joined #ruby
ephemerian has joined #ruby
Evenix has quit [Remote host closed the connection]
userfoo has joined #ruby
userfoo has quit [Client Quit]
Evenix has joined #ruby
shevy has quit [Ping timeout: 272 seconds]
soba has joined #ruby
rm_ has joined #ruby
squarechan has joined #ruby
kamikaze_pigmy has joined #ruby
amh345 has quit [Quit: amh345]
<squarechan>
just putting this out there. I'll buy your ruby centric stackoverflow account if you have a solid amount of reputation points for $2500
<apeiros>
eeeeew
* apeiros
conflicted on whether that's ban-worthy
brennanMKE has quit [Ping timeout: 246 seconds]
<GreatSUN>
apeiros: banfun
<GreatSUN>
:D
evilbug has quit [Quit: Leaving]
<squarechan>
it's actually a deep question you should think about. our industry values SO accounts so much
<squarechan>
that $2500 is a steal
Evenix has quit [Ping timeout: 250 seconds]
MrJoshua has left #ruby [#ruby]
<squarechan>
go to apply to any tech company and they want two things: link to your github and a link to your SO
glebe has joined #ruby
<glebe>
join /##ruby
rm_ has quit [Ping timeout: 246 seconds]
shevy has joined #ruby
<apeiros>
fun. for me it's usually the other way round.
<olivier_bK>
i try to replace this ( <?$licenceData = array ) by nothing with gsub but i get some problem because of ?
<tobiasvl>
squarechan: maybe you should try forumkorner
<olivier_bK>
do you know how i can replace it ?
<squarechan>
tob, what's that?
<tobiasvl>
olivier_bK: escape the ? like so: \?
<GreatSUN>
apeiros: that matters on what happens after
<GreatSUN>
anyhow
<GreatSUN>
:D
<apeiros>
olivier_bK: show your code please
<mikecmpbll>
i'll sell mine for one beer per rep point.
SWAT has joined #ruby
<GreatSUN>
noone of you guys aware of client/socket ?
<apeiros>
mikecmpbll: so little rep points or want to drown? :D
<squarechan>
mike, depends how many rep points you have :)
<mikecmpbll>
just like the idea that i've been earning beers everytime i answer a question on SO.
* mikecmpbll
starts up BeerOverflow
<workmad3>
I'll do the same
<workmad3>
then I'll sell the beer for $1.50 a pop...
<apeiros>
olivier_bK: a) use a string instead of a regex
<GreatSUN>
I don't have a clue what SO is
<GreatSUN>
do I have to care?
<apeiros>
olivier_bK: b) escape regex special chars (? is a special char in regex)
<mikecmpbll>
soggy oreos
<apeiros>
escape char in regex is \, like elsewhere in ruby
<GreatSUN>
Oreo... hmmm I like those cakes
<GreatSUN>
:D
<apeiros>
olivier_bK: note that ( and ) are special chars too
<workmad3>
GreatSUN: not if you enjoy getting your answers from expert sex change
<apeiros>
olivier_bK: and $, o fcourse
<olivier_bK>
okai
<workmad3>
GreatSUN: also, oreos are cookies, iirc, not cakes
<olivier_bK>
$ i know for it
<GreatSUN>
workmad3: whoohooo never will work with sex change
<GreatSUN>
:D
freerobby has quit [Quit: Leaving.]
<workmad3>
GreatSUN: expertsexchange.com ;)
<GreatSUN>
workmad3: SO url?
<workmad3>
GreatSUN: stackoverflow.com
<GreatSUN>
workmad3: ahhhh stackoverflow :D
<GreatSUN>
my all day website
Markvilla has joined #ruby
<workmad3>
GreatSUN: heh :) you didn't twig that SO == StackOverflow? :)
<GreatSUN>
:-)
<GreatSUN>
so this is SO here... good to know
<GreatSUN>
nope, didn't get around this till today
claymore has quit [Ping timeout: 250 seconds]
<workmad3>
mmm, I've gotten another 146 beers since I last went to SO
<GreatSUN>
but SO doesn't solve my client socket problem atm :-(
<mikecmpbll>
:D
<GreatSUN>
workmad3: you can earn a lot of money with sex
<GreatSUN>
:D
okinomo has joined #ruby
<workmad3>
I've not answered a question on SO since 2010...
<GreatSUN>
workmad3: bad guy :D
MrJoshua has joined #ruby
yfeldblum has quit [Remote host closed the connection]
claymore has joined #ruby
<workmad3>
GreatSUN: and yet I've gained 130 rep already this year ;)
<apeiros>
squarechan: you know, my nick alone is probably worth more to me than your 2.5k offer
<squarechan>
you can change your nick?
MrJoshua has left #ruby [#ruby]
<squarechan>
I wouldn't want to be apeiros. that would be silly
<apeiros>
SO allows nick change? nice.
* apeiros
not often enough on SO obviously
<tobiasvl>
this reminds me
<tobiasvl>
I tried to rename my twitter account
<tobiasvl>
to a short and sweet handle I had
<tobiasvl>
but it was "turboed", i.e. a bot snapped up the handle in the short time the handle was in limbo
<tobiasvl>
still beating myself up over that.
Lewix has joined #ruby
<workmad3>
I don't use twitter enough to care about having a short handle
okinomo has quit [Ping timeout: 245 seconds]
mojjojo has joined #ruby
<Cork>
apeiros: been digging until i'm about to be crazy; it looks like thin doesn't supports sending 100 headers for the Expect request
<workmad3>
tbh, I don't see why bots care either... the main reason to have a short handle, afaict, is to allow people to @target you without wasting too much space... but who wants to respond to a bot?
<workmad3>
or is it for selling on?
<tobiasvl>
workmad3: yeah, selling
<Cork>
apeiros: it isn't a limitation in rack as it seams to work in webrick
<tobiasvl>
anyway, i lost a three letter handle but still have a four letter one, so i'm not that beat up
<workmad3>
tobiasvl: secured it? :)
<tobiasvl>
absolutely ;)
<workmad3>
tobiasvl: and you're not using godaddy for domains? :)
<tobiasvl>
nooooo no no.
<tobiasvl>
i'd never
<tobiasvl>
i actually used them some years ago, but even then there were so many horror stories
hamakn has quit [Remote host closed the connection]
claymore has quit [Ping timeout: 245 seconds]
kate_r has joined #ruby
ahawkins has joined #ruby
claymore has joined #ruby
stonecolddevin has joined #ruby
timonv has joined #ruby
jmeeuwen has quit [Ping timeout: 264 seconds]
phansch has joined #ruby
klipeto has quit [Quit: leaving]
marr has joined #ruby
klip has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<Cork>
anyone know of a way to access the headers for a request before .call is ran in thin?
<Cork>
curl is sending Expect: 100-continue, and i can't find a way to respond to it in thin
jmeeuwen has joined #ruby
TMM has joined #ruby
Thanatermesis has joined #ruby
hamakn has joined #ruby
klaut has joined #ruby
okinomo has quit [Ping timeout: 250 seconds]
nomenkun has joined #ruby
alexherbo2 has joined #ruby
monkegjinni has joined #ruby
freerobby has joined #ruby
eka has joined #ruby
jmeeuwen has quit [Ping timeout: 264 seconds]
alexherbo2 has quit [Client Quit]
jzig has quit [Remote host closed the connection]
klaut has quit [Ping timeout: 245 seconds]
jzig has joined #ruby
nomenkun has quit [Ping timeout: 245 seconds]
freerobby has quit [Ping timeout: 250 seconds]
mojjojo has quit [Quit: mojjojo]
klaut has joined #ruby
kamikaze_pigmy has quit [Ping timeout: 252 seconds]
Xiti` has quit [Ping timeout: 264 seconds]
razibog has joined #ruby
kitak_ has joined #ruby
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
Xiti has joined #ruby
lkba has quit [Ping timeout: 265 seconds]
kitak has quit [Ping timeout: 245 seconds]
jzig has quit [Ping timeout: 272 seconds]
monkegjinni has quit [Read error: No route to host]
monkegji_ has joined #ruby
postmodern has quit [Quit: Leaving]
kamikaze_pigmy has joined #ruby
mojjojo has joined #ruby
lsc is now known as Schmidt
pabloh has joined #ruby
squarechan has quit [Quit:]
diegoviola has joined #ruby
mehlah has joined #ruby
Al____ has joined #ruby
yacks has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
tobago has joined #ruby
jmeeuwen has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
obs has quit [Ping timeout: 272 seconds]
diegoviola has quit [Changing host]
diegoviola has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
brennanMKE has joined #ruby
gja has quit [Client Quit]
yfeldblum has joined #ruby
bw__ is now known as bw_
rm_ has joined #ruby
nichtdiebohne has joined #ruby
obs has joined #ruby
petey has joined #ruby
lemonsparrow has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
brennanMKE has quit [Ping timeout: 272 seconds]
nari has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
soba has quit [Ping timeout: 250 seconds]
rm_ has quit [Ping timeout: 246 seconds]
freerobby1 has joined #ruby
gja has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
petey has quit [Ping timeout: 272 seconds]
jmeeuwen has quit [Quit: Disconnecting from stoned server.]
jmeeuwen_ has joined #ruby
jmeeuwen_ is now known as jmeeuwen
okinomo has joined #ruby
okinomo has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
marcgg_ has joined #ruby
freerobby1 has quit [Ping timeout: 272 seconds]
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marcgg has quit [Ping timeout: 272 seconds]
fridim_ has joined #ruby
okinomo has joined #ruby
iamdoo2_ has quit [Remote host closed the connection]
m8 has joined #ruby
LekeFly has joined #ruby
zoscoy has joined #ruby
zoscoy has quit [Client Quit]
klaut has quit [Remote host closed the connection]
Zunonia has quit [Quit: Computer has gone to sleep.]
heftig has joined #ruby
tyl has joined #ruby
AxonetBE has joined #ruby
monkegji_ has quit []
<AxonetBE>
If this is my array ["F", "AMY GEE", "Ceinture"]=>[#<StockTransaction >, #<StockTransaction >, #<StockTransaction >] and the first StockTransaction contains stock, second sales, ... How can I convert this to something like ["F", "AMY GEE", "Ceinture"] => [stock => 1>, sales => 2, stock_end => 3]
mikepack has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
relix has joined #ruby
ElCapitanMarklar has joined #ruby
artm has joined #ruby
mikepack has quit [Ping timeout: 250 seconds]
m4rcu5 has joined #ruby
mehlah has quit [Quit: Leaving...]
Annwyl has joined #ruby
<krz>
you all use %() or %[]?
raphaelivan has joined #ruby
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
okinomo has quit [Ping timeout: 272 seconds]
<bleak>
i use %{}...
ep3static has joined #ruby
tesuji has joined #ruby
drumusician has quit [Ping timeout: 250 seconds]
jtdowney has joined #ruby
Lewix has quit [Remote host closed the connection]
carif has joined #ruby
nari has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
krnflake has quit [Ping timeout: 252 seconds]
bwwrd has joined #ruby
jzig has joined #ruby
tacos1de has quit [Remote host closed the connection]
gyre007 has joined #ruby
zeeraw has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
koalallama has joined #ruby
wildroman2 has quit [Remote host closed the connection]
tolstoi has joined #ruby
tolstoi has joined #ruby
krnflake has joined #ruby
Annwyl has quit []
jzig has quit [Ping timeout: 250 seconds]
relix has joined #ruby
jtdowney has quit []
gja has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
ayaz has quit [Remote host closed the connection]
relix has quit [Ping timeout: 250 seconds]
brtdv has quit []
ayaz has joined #ruby
diegoviola has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
towskidistress has quit [Ping timeout: 265 seconds]
<sino>
hi
awkisopen has joined #ruby
netf has joined #ruby
soulcake has joined #ruby
iamdoo2 has joined #ruby
soulcake has quit [Changing host]
soulcake has joined #ruby
chrisan has joined #ruby
sino is now known as sinofree
sinofree has quit [Remote host closed the connection]
sino has joined #ruby
sensen has quit [Quit: leaving]
fridim_ has quit [Ping timeout: 250 seconds]
iamdoo2 has quit [Ping timeout: 245 seconds]
drumusician has joined #ruby
adam has quit [Disconnected by services]
shredding has joined #ruby
TMM has quit [Ping timeout: 272 seconds]
adam_ has joined #ruby
Wolland has quit [Remote host closed the connection]
jcalado has joined #ruby
sino has quit [Remote host closed the connection]
pasties has quit [Quit: brb]
pasties has joined #ruby
Evenix has joined #ruby
rickruby has joined #ruby
drumusician has quit [Ping timeout: 245 seconds]
JasmeetQA has quit [Ping timeout: 245 seconds]
fp has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Evenix has quit [Ping timeout: 272 seconds]
fella5s has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
BraddPitt has quit [Read error: Connection reset by peer]
rickruby has quit [Ping timeout: 245 seconds]
Xiti has joined #ruby
BraddPitt has joined #ruby
CalimeroTeknik has quit [Read error: Connection reset by peer]
angusigu1ss has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
maximski has joined #ruby
Markvilla has quit [Quit: Computer has gone to sleep.]
kitak_ has quit [Remote host closed the connection]
Sp4rKy___ has quit [Quit: leaving]
Sp4rKy has joined #ruby
Jakee`_ is now known as Jakee`
LekeFly has joined #ruby
arctaruz has joined #ruby
griffindy has joined #ruby
sepp2k has joined #ruby
kenichi has joined #ruby
kamikaze_pigmy is now known as PricelessTalk
michael_mbp has joined #ruby
relix has joined #ruby
mosez has joined #ruby
krz has quit [Quit: WeeChat 0.4.2]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
danshult_ has quit [Remote host closed the connection]
danshultz has joined #ruby
max96at has joined #ruby
relix has quit [Ping timeout: 245 seconds]
Hanmac1 has joined #ruby
obs has quit [Quit: Konversation terminated!]
obs has joined #ruby
shredding has quit [Quit: shredding]
s2013 has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
TMM has joined #ruby
danshultz has quit [Ping timeout: 246 seconds]
adamholt has joined #ruby
zoscoy has joined #ruby
zoscoy has quit [Client Quit]
tonni has quit [Remote host closed the connection]
Hanmac has joined #ruby
Norrin has joined #ruby
yanjost has joined #ruby
TMM has quit [Client Quit]
brennanMKE has joined #ruby
jrobertf_ has joined #ruby
yfeldblum has joined #ruby
Hanmac1 has quit [Ping timeout: 246 seconds]
rm_ has joined #ruby
awkisopen has quit [Changing host]
awkisopen has joined #ruby
petey has joined #ruby
jrobertfox has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
brennanMKE has quit [Ping timeout: 246 seconds]
d-snp has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
rm_ has quit [Ping timeout: 272 seconds]
<d-snp>
hey guys, I'm thinking of moving my models to a separate gems, since we have multiple apps that use the same databases, anyone have experience with this?
petey has quit [Ping timeout: 245 seconds]
<d-snp>
I'm mostly concerned about keeping the development process nice and fluid
fieldfirst has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
freerobby has quit [Ping timeout: 246 seconds]
<d-snp>
so in development mode, the apps should use a local checkout
<d-snp>
hmm
alexherbo2 has joined #ruby
gja has joined #ruby
ElCapitanMarklar has quit [Quit: Textual IRC Client: www.textualapp.com]
tkuchiki has quit [Remote host closed the connection]
brtdv has joined #ruby
tkuchiki has joined #ruby
patronus has joined #ruby
tkuchiki has quit [Read error: Connection reset by peer]
<apeiros>
d-snp: with Gemfile no problem
<waxjar>
d-snp: if you're using git you could maybe use a submodule. that kinda sucks if you package it like a gem, though.
tkuchiki has joined #ruby
<apeiros>
d-snp: just use gem 'models', path: 'vendor/models' and check your git repo out there. don't forget to add /vendor/ to gitignore.
<apeiros>
waxjar: git submodule IME --
<apeiros>
we moved away from that.
yanjost has quit [Remote host closed the connection]
<waxjar>
too much hassle?
mikepack has joined #ruby
<apeiros>
yes, and issues. people can't handle it well.
ixti has joined #ruby
<apeiros>
(me included)
Amart41 has joined #ruby
<d-snp>
alright, and then our deployment process must be sure to deploy the gem as well
<d-snp>
sounds like it could be good
fp has quit [Quit: WeeChat 0.4.1]
jkamenik has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
relix has joined #ruby
iamdoo2 has joined #ruby
obs has quit [Ping timeout: 246 seconds]
<apeiros>
d-snp: bundler deals with that
Wolland has joined #ruby
e^0 has joined #ruby
e^0 has quit [Client Quit]
<apeiros>
you can change the dependency to the git repo for deployment. haven't yet tried that properly, but should be possible via bundle groups.
<d-snp>
ah right ofcourse
Guest78277 has joined #ruby
<apeiros>
so locally it uses development group, which points to the locally checkout out path, and on deploy it uses the non-development group, which points to the git repo.
mikepack has quit [Ping timeout: 246 seconds]
<apeiros>
issue I see is that you have to generate a proper Gemfile before deploy
jonr22 has joined #ruby
iamdoo2 has quit [Ping timeout: 250 seconds]
VTLob has joined #ruby
diegoviola has quit [Ping timeout: 246 seconds]
diegovio1 has joined #ruby
diegovio1 is now known as diegoviola
rlvm has joined #ruby
gtsiftsis has quit [Ping timeout: 251 seconds]
raphaelivan has quit [Quit: Leaving.]
<MJBrune>
Hey so I am using ruby on windows. Using the GoogleVoiceAPI gem. When I do a simple api.index_xml() command it has an SSL_connect error.
Guest78277 has quit [Quit: WeeChat 0.4.1]
nvrch has joined #ruby
nvrch has quit [Client Quit]
nvrch has joined #ruby
e^0_ has joined #ruby
nomenkun has joined #ruby
nszceta has joined #ruby
e^0_ has quit [Client Quit]
TheLarkInn has joined #ruby
tkuchiki has joined #ruby
LekeFly_ has joined #ruby
drumusician has joined #ruby
LekeFly has quit [Ping timeout: 246 seconds]
mmcclimon has joined #ruby
platzhirsch has joined #ruby
Butcho has joined #ruby
einarj has joined #ruby
boboc has joined #ruby
kenndel_ has joined #ruby
tyl has quit [Quit: Computer has gone to sleep.]
Markvilla has joined #ruby
EngierkO_ has joined #ruby
EngierkO has quit [Ping timeout: 272 seconds]
<boboc>
guys anyone knows where tcp method is declared? I saw 2 examples used with Socket class where tcp method tool 2 arguments (host + port) or a block where the connected socket is available but in the ruby docs i can't find the tcp method, only in the Addrinfo class...
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<TheLarkInn>
well what exactly are you trying to accomplish
<TheLarkInn>
setup a server or client socket?
gja has quit [Quit: This computer has gone to sleep]
IceyEC has joined #ruby
<boboc>
TheLarkInn: i'm learning from a book, the same solution is to use TCPSocket class, i'm just trying to understand where is this tcp method declared to look at it and i can't find it anywhere
charliesome has joined #ruby
<Butcho>
what book?
sski has joined #ruby
danshultz has joined #ruby
<TheLarkInn>
Hey Boboc
<TheLarkInn>
you can use TCPSocke.new (arg1,arg2,…)
<boboc>
Butcho: Working with TCP Sockets
gmci has joined #ruby
<TheLarkInn>
instead of Socket.tcp
stryek has joined #ruby
charliesome has quit [Client Quit]
<boboc>
TheLarkInn: yes in the book that is explained, as i said all i wanted was to find the tcp method declaration and it doesn't seems to be anywhere :)
<workmad3>
TheLarkInn: quick thing - don't put a space before the opening ( if you're using brackets around parameters
aboudreault_ is now known as aboudreault
aboudreault has quit [Changing host]
aboudreault has joined #ruby
<TheLarkInn>
sorry it was just sloppy typing, I typically don't do that
jeanlinux has joined #ruby
jprovazn has quit [Quit: Leaving]
<workmad3>
TheLarkInn: it changes the meaning of the statement (frequently into a syntax error :) )
<TheLarkInn>
lol indeed it does
<workmad3>
TheLarkInn: it used to be valid ;)
<AxonetBE>
Can somebody help me with this array that I want to convert to become the expected result? https://gist.github.com/bigbentobox/8803433, I now I can use group by, but I don't know how I can get the additional attributes in the same hash
<workmad3>
but it causes confusion when you do something like 'some_method (x + y) * z'
gja has joined #ruby
IceyEC has left #ruby [#ruby]
IceyEC has joined #ruby
Wolland has quit [Remote host closed the connection]
gja has quit [Client Quit]
<jeanlinux>
AxonetBE: Your question is not that clear.. be precise
mark_locklear has joined #ruby
sk87 has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
vpretzel_ is now known as vpretzel
<TheLarkInn>
AxonetBE, always if the first 3 match but the last is different then combine into one hash?
<TheLarkInn>
not sure about that but lets work with that concept
zeeraw has joined #ruby
<TheLarkInn>
combine hashes that share brand_name, prodduct_type_name, and gender_name right?
Butcho has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamakn has quit [Remote host closed the connection]
Butcho has joined #ruby
brennanMKE has joined #ruby
jeekl_ is now known as jeekl
ffranz has joined #ruby
rm_ has joined #ruby
yfeldblum has joined #ruby
jtdowney has joined #ruby
securitycrush has joined #ruby
freerobby has joined #ruby
<havenwood>
AxonetBE: the code above produces your wanted_array
TMM has joined #ruby
<AxonetBE>
TheLarkInn : but I have some strange results when I combine my 2 arrays ( with active record results ), I get this structure after my group by on 3 fields without the map https://gist.github.com/bigbentobox/9c0b3a0ef865dcf61bd8
<TheLarkInn>
havenwood, I think it has to be more than just brand_name
<sdelmore1>
I'm stumped on the worlds simplest code, wanted to run it by someone else in case I am suffering brain freeze. In my intializer I set a variable, freeze it, and then set it again and can't get it to raise an error.
<shevy>
perhaps he keeps a counter
<shevy>
those who used the bot too often, will be ignored
<shevy>
sdelmore1 can you upload code to pastie pls
<sdelmore1>
@faulty = nil
<sdelmore1>
@fault = true
<sdelmore1>
@fault.freeze
<shevy>
no please the whole code?
<shevy>
btw
maximski has joined #ruby
<shevy>
is that the same var
<MrZYX>
sdelmore1: the frozen state is a property of the object assigned to the variable, not the variable itself
<sdelmore1>
I typoed it, but that is the whole code. I am just trying to verify freezing works.
asmodlol has quit [Remote host closed the connection]
<centrx>
sdelmore1, Verify it with an Array or a Hash
ephemerian has quit [Quit: Leaving.]
<MrZYX>
sdelmore1: you may want a CONSTANT instead
jonr22 has joined #ruby
<centrx>
<< fault = [].freeze; fault << 1
<sdelmore1>
Ahhh…..any way to prevent something from being modified? I am backing into this through missing a watch feature of a debugger. I have a variable faulty getting set to true, then later at some point it gets set again to false but I can't figure out where.
ktosiek has quit [Ping timeout: 252 seconds]
<centrx>
oops
<havenwood>
sdelmore1: Freezing doesn't prevent you from reassigning the variable.
<sdelmore1>
Just thought freeze would help but clearly that isn't the right approach.
<Morrolan>
It prevents mutable objects from getting modified.
<shevy>
freeze sucks in general
<Morrolan>
It doesn't do anything to the variable, i.e. the name you assign the object to.
binaryhat has quit [Quit: Leaving]
<shevy>
especially in reallife
TMM has quit [Ping timeout: 272 seconds]
<Morrolan>
;D
<sdelmore1>
What is a good ruby way to track down what is toggling this variable?
<daju>
Someone have a sec to help me?
<MrZYX>
daju: not if you ask ;)
<Morrolan>
Err, make a method out of it, I'd assume.
<centrx>
I have ten seconds, go!
<shevy>
sdelmore1 if it is a global var you can use set_trace_var
<centrx>
sdelmore1, grep the code for the variable name...
<shevy>
ruby documentation still is awful :(
m104 has joined #ruby
Davey has joined #ruby
<centrx>
shevy, You fool! Ruby documentation is excellent
<daju>
okey MrZYX :) Trying to do a $ git reset XXX Byt the files in my project map dosen't change to the prior version.. How do I do this right?
securitycrush has quit [Ping timeout: 240 seconds]
tvw has quit []
<MrZYX>
interesting #ruby question...
jrist has quit [Ping timeout: 265 seconds]
<sdelmore1>
That is the issue, I already grepped it and can't find anything that is changing it's value. Not sure if there is some metaprogramming or something going on.
petey has quit [Remote host closed the connection]
<centrx>
instance_eval :(
timonv has joined #ruby
corehook has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Ping timeout: 246 seconds]
petey has joined #ruby
moted has joined #ruby
Hobogrammer has joined #ruby
deception has joined #ruby
greenarrow has quit [Quit: 500]
<Rylee>
daju, fwiw: `$ git reset` will only undo commits made but not pushed. You want `$ git reset --hard` if you want to reset the tree to the HEAD before you committed anything.
fella6s has joined #ruby
<MrZYX>
git reset doesn't care whether commits are pushed or not
Spami has quit [Quit: This computer has gone to sleep]
Hanmac1 has joined #ruby
<Rylee>
Maybe my headcanon is wrong then :p
<tobiasvl>
be very careful with `$ git reset --hard`
zachallett has quit [Ping timeout: 250 seconds]
<Rylee>
definitely, yes
Hanmac has quit [Ping timeout: 250 seconds]
poulson has joined #ruby
<daju>
Rylee: nopp the files dosen't change
nszceta has joined #ruby
petey has quit [Ping timeout: 245 seconds]
<platzhirsch>
Picking the right tool for your task is an awful metaphor for picking a language, isn't it?
<workmad3>
Rylee: git reset affects the uncommited index
<daju>
*doesn't
<platzhirsch>
As if it is better to pick Python, Ruby or Java to implement some generic web application
<workmad3>
Rylee: which git reset --hard also affects the working tree
fella5s has quit [Ping timeout: 272 seconds]
pwh has quit []
<workmad3>
*while
enape_101 has quit [Ping timeout: 245 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
<Rylee>
ahh, yes, tahnks
<workmad3>
platzhirsch: how about picking the right philosophy for yourself and your goals? :)
Geophit has quit [Ping timeout: 245 seconds]
ctp_ has joined #ruby
yacks has quit [Ping timeout: 246 seconds]
jedinerd_ has joined #ruby
<platzhirsch>
workmad3: Yep, that sounds appropriate. I thought it comes down to the language's ecosystem
<workmad3>
platzhirsch: ecosystem, ethos, developers levels of knowledge, comfort and development practices...
TwinkleH1od has joined #ruby
<platzhirsch>
now I need to craft this gem of a thought into a tweet.
<workmad3>
platzhirsch: so it's kinda a tool, but only if you extend 'tool' to mean an entire mode of thinking :)
ryanuber has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gtc|ghost has joined #ruby
ctp has quit [Read error: Connection reset by peer]
jedinerd has quit [Read error: Connection reset by peer]
juo has quit [Read error: Operation timed out]
Killerkeksdose_ has quit [Read error: Operation timed out]
marius has quit [Read error: Operation timed out]
d-snp has quit [Read error: Operation timed out]
dazeddev has quit [Read error: Operation timed out]
TommyBotten has quit [Read error: Operation timed out]
ccooke has quit [Read error: Operation timed out]
yan_ has quit [Read error: Operation timed out]
TwinkleHood has quit [Read error: Operation timed out]
kwertie has quit [Read error: Operation timed out]
dwarder has quit [Read error: Operation timed out]
fflush has quit [Read error: Operation timed out]
bhaak has quit [Read error: Operation timed out]
virtualize has quit [Read error: Connection reset by peer]
bhaak has joined #ruby
gtc has quit [Read error: Operation timed out]
d-snp has joined #ruby
<workmad3>
platzhirsch: or maybe you just go for the simpler metaphor - pick the right toolbox for your task
kwertie has joined #ruby
fflush has joined #ruby
RaCx has quit [Ping timeout: 272 seconds]
Gate has quit [Read error: Operation timed out]
ryanuber has quit [Client Quit]
ryanuber has joined #ruby
<workmad3>
or hell... prepare the right toolbox for your task...
m104 has quit [Quit: bye]
Thana` has joined #ruby
Thana` has joined #ruby
Thana` has quit [Changing host]
virtualize has joined #ruby
Gate has joined #ruby
Gate has quit [Changing host]
Gate has joined #ruby
<platzhirsch>
no, the toolbox doesn't exist. It means "The coding is the toolbox"
TommyBotten has joined #ruby
yan_ has joined #ruby
<platzhirsch>
Like, The Journey is the destination
jrist has joined #ruby
ccooke has joined #ruby
dwarder__ has joined #ruby
<workmad3>
platzhirsch: I was more getting at the metaphor that the toolbox is language + ecosystem + knowledge/practices etc
marius has joined #ruby
<platzhirsch>
workmad3: ^^ of course, just wanted to derail the discussion
marius is now known as Guest53591
<workmad3>
platzhirsch: also, wasn't The Journey an 80's pop band?
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
paul__k has joined #ruby
<workmad3>
platzhirsch: heh :) you were trying to get all zen on me? :P
<platzhirsch>
\o/
headius_ is now known as headius
ryanuber has quit [Client Quit]
bean has joined #ruby
ryanuber has joined #ruby
nomenkun has quit [Remote host closed the connection]
RaCx has joined #ruby
<workmad3>
platzhirsch: mu you :P
<platzhirsch>
Tweet has been crafted and published to the internet. Sorry. no character's left for attribution workmad3 ... :[
<olivier_bK>
how cna i do in ruby for read file send data to csv file ?
<platzhirsch>
That's like drinking coffee and people come to tell you drink tea, it's better for you.
bigkevmcd has quit [Quit: Ex-Chat]
nobitanobi has joined #ruby
bradhe has quit [Remote host closed the connection]
<Uranio>
platzhirsch: please, people, where could I ask a question like this
n88 has joined #ruby
bigkevmcd has joined #ruby
decoponyo has quit [Quit: Leaving...]
<platzhirsch>
Uranio: You can google for Vim vs. Emacs, advantages, disadvantages
bradhe has joined #ruby
<tobiasvl>
but when it comes down to it
<Uranio>
platzhirsch: I beng using mcedit for a lon time, until somebody suggest me use Vim, due the syntax
<tobiasvl>
it's a religion
<atmosx>
platzhirsch: vim doesn't have disadvantages (c)
queequeg1 has joined #ruby
whatasunnyday has joined #ruby
<Uranio>
the better for me would be the best for ruby syntax
senj has quit [Quit: Sleep Now]
<platzhirsch>
I reckon that Vim is favored in the Ruby community, so maybe the plugin support is better
<Uranio>
platzhirsch: THATS is a good answer
<Uranio>
vim is in the ruby side, more than emacs
<platzhirsch>
I don't know if it's true
<Uranio>
it is correct?
<MrZYX>
Uranio: again, there isn't the objectively best editor, this has been proven by the tons of debate around that topic. There only is the best editor for you
<Uranio>
oh...
whatasunnyday has quit [Client Quit]
<atmosx>
objectively, vim and emacs are superior to anything else.
<Uranio>
MrZYX: thinking like that I would be writing a ton of code using mcedit with only one buffer
<platzhirsch>
The question is really just a specialized formulation of the problem "What is the meaning of life"
<atmosx>
platzhirsch: 42?
joaobatalha has joined #ruby
<tobiasvl>
atmosx: on that, if nothing else, all emacs and vim users can agree
<atmosx>
tobiasvl: word
<platzhirsch>
No, to find the meaning for your life yourself. Tailored :P
<MrZYX>
Uranio: you change and the market changes, so of course try something new every couple of years. Doesn't change the fact that there's not the perfect fit for everybody
senj has joined #ruby
<MrZYX>
there's only the perfect fit for you
RaCx has joined #ruby
<MrZYX>
if anything
<platzhirsch>
now I wonder whether I should use tmux over GNU Screen
corehook has quit [Quit: Leaving.]
daju has quit [Remote host closed the connection]
<Uranio>
platzhirsch: I agree
bradhe has quit [Ping timeout: 245 seconds]
<Uranio>
[0] 0:#ruby* 1:vim- 3:irb
<platzhirsch>
I use terminator
<platzhirsch>
pew pew --o ---o
kristiandelay has joined #ruby
<havenwood>
If you use vim, emacs is better. If you use emacs, vim is better. Nothing wrong with Sublime, TextMate or LightTable when you're not playing golf.
aloitius1 has joined #ruby
<Uranio>
havenwood: or genay, but prefer the console
endash has joined #ruby
sk87 has joined #ruby
<Uranio>
geany*
RoryHughes has quit []
tyl has quit [Quit: Computer has gone to sleep.]
tyl has joined #ruby
aspires has quit []
dachi_ has left #ruby [#ruby]
bubbajones has joined #ruby
w1zeman1p has quit [Remote host closed the connection]
dachi_ has joined #ruby
Es0teric has quit [Ping timeout: 272 seconds]
Xuisce1 has joined #ruby
arietis has joined #ruby
vlad_starkov has joined #ruby
jrobertf_ has joined #ruby
Es0teric has joined #ruby
wgosling has joined #ruby
freerobby has joined #ruby
SCommette has quit [Quit: SCommette]
bradhe has joined #ruby
GS is now known as GS_afk
krnflake has quit [Ping timeout: 252 seconds]
aspires has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
nhhagen has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
mikesplain has joined #ruby
mikesplain has quit [Client Quit]
mr_red has joined #ruby
Lewix has joined #ruby
momomomomo has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
bricker_ has joined #ruby
jrobertfox has quit [Ping timeout: 272 seconds]
alekst has quit [Quit: Leaving...]
bricker__ has joined #ruby
bricker__ is now known as bricker`work
jlebrech has quit [Quit: Konversation terminated!]
Tai has quit [Ping timeout: 246 seconds]
mercwithamouth has joined #ruby
krnflake has joined #ruby
<platzhirsch>
How would you check if two intervals overlap? I have on that uses an ordered series of if's but I don't like it. Is it possible with min and max?
<aces1up9939>
MrZYX what string match would i use to loop through those matches? str.match?
<MrZYX>
I'd use scan
<Guest6005>
mjc_ rvm installed as root too :/
mansi has quit [Ping timeout: 245 seconds]
<mjc_>
Guest6005: doesn't rvm explicitly say not to do that?
<karl___>
what is the best way to test if a string contains any of several other strings? I'm currently using a bunch of || conditionals in a row, e.g. if stringVariable =~ /foo/ || stringVariable =~ /bar/ ||
<aloitius1>
Hey, all. I'm tearing my hair out trying to figure out why I'm getting a "cannot load such file -- mygem" where "mygem" is a gem I have on a local gitlab repo. The gem is installed. From RubyMine (though it fails both in RM and on the commandline) I can ctrl+click the "require mygem" and see the source code in my ~/.rvm/gems/ruby-2.1.0 directory. The only thing I see that's different from other gems I'm able to 'require' successfully is that the other gems
<aloitius1>
are in the 2.1.0/gems or 2.1.0/lib directory, but my gem is in the 2.1.0/bundler/gems.
Evenix has joined #ruby
ephemerian has joined #ruby
havenwood has quit [Ping timeout: 250 seconds]
angusigu1ss has quit [Ping timeout: 272 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<lpvn>
platzhirsch: lol will you hire me?
<MrZYX>
aloitius1: so you added your gem to your Gemfile?
<aloitius1>
Yep. Added, bundle-installed...
<platzhirsch>
lpvn: What? Why? ^^
wildroman2 has quit [Ping timeout: 246 seconds]
<MrZYX>
aloitius1: so make sure you have required bundler/setup first or to run your commands with bundle exec
sambao21 has joined #ruby
<aloitius1>
MrZYX: Crap. That's it. I forget that way more often than I should. Thanks.
pietr0 has quit [Quit: pietr0]
cpruitt has quit [Quit: cpruitt]
interactionjaxsn has joined #ruby
cpruitt has joined #ruby
yfeldblum has quit [Remote host closed the connection]
ghr has joined #ruby
noop has quit [Ping timeout: 246 seconds]
bahar has quit [Changing host]
bahar has joined #ruby
pietr0 has joined #ruby
sambao21 has quit [Ping timeout: 245 seconds]
Al___ has quit [Quit: Al___]
rootshift has joined #ruby
loc22 has quit [Ping timeout: 245 seconds]
lucasallan has joined #ruby
kirun has joined #ruby
towskidistress has joined #ruby
towskidistress has quit [Max SendQ exceeded]
mikepack has joined #ruby
ph8 has quit [Changing host]
ph8 has joined #ruby
towskidistress has joined #ruby
towskidistress has quit [Max SendQ exceeded]
gomix has joined #ruby
d00n has joined #ruby
krnflake has quit [Ping timeout: 252 seconds]
towskidistress has joined #ruby
towskidistress has quit [Max SendQ exceeded]
yedimind has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
RoryHughes has joined #ruby
whatasunnyday has joined #ruby
w1zeman1_ has joined #ruby
towskidistress has joined #ruby
sLi- has quit [Quit: EliteBNC - http://elitebnc.org (Auto-Removal: idle account/not being used)]
towskidistress has quit [Max SendQ exceeded]
rezzack has joined #ruby
towskidistress has joined #ruby
BackEndCoder has quit [Read error: Connection reset by peer]
joaobatalha has left #ruby [#ruby]
amh345 has quit [Write error: Broken pipe]
starfox21 has joined #ruby
<starfox21>
9
<waxjar>
8
pranny has joined #ruby
<starfox21>
sorry about that :)
BackEndCoder has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
Sc0rp10n has joined #ruby
pfg has joined #ruby
krnflake has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<platzhirsch>
lpvn: ah ok, because I said requested the answer to the question
devinus_ has joined #ruby
whatasunnyday has quit [Quit: whatasunnyday]
nanoyak has joined #ruby
pranny has quit [Client Quit]
alekst has joined #ruby
whatasunnyday has joined #ruby
<Sc0rp10n>
hey guys
<lpvn>
platzhirsch: I'll try to solve it, I'm a bit rusty in the algorithm department though hahaha
devinus_ is now known as devinus
<Sc0rp10n>
can anyone give me a good resource to start TDD with rails?
workmad3 has joined #ruby
<Sc0rp10n>
I've been developing apps in rails for a while but never looked into TDD
<starfox21>
hey guys, I have a csv with about 500k sites. I want to fetch the homepage of those 500k sites and grep for certain keywords. I was thinking of building a multithreaded script to do this. What are some ruby libraries that I could be useful for doing this?
RaCx has joined #ruby
DrShoggoth has joined #ruby
poulson has quit [Remote host closed the connection]
mehlah has joined #ruby
<platzhirsch>
lpvn: well I have a reference solution if you want :P it's really not a hard problem, but what interview question really is
Emmanuel_Chanel has quit [Ping timeout: 252 seconds]
krisbulman|otp is now known as krisbulman
pranny has joined #ruby
<MJBrune>
please give me your years of experience in windows s-kill.
philcrissman has joined #ruby
Emmanuel_Chanel has joined #ruby
<MJBrune>
"umm windows as skill?"
<MJBrune>
"yes windows skl"
<MJBrune>
OOOH MS SQL?
<MJBrune>
"yes"
<lpvn>
platzhirsch: yeah, it's easy to see a solution to that challenge but writing code to solve it is something that takes some time if you're not used to it
<MJBrune>
god recruiters are horrid
<centrx>
stay away
pzula has quit [Ping timeout: 246 seconds]
<MJBrune>
from recruiters?
deens has joined #ruby
havenwood has joined #ruby
<centrx>
From that one
<platzhirsch>
lpvn: yeah, took me now some hours to finish the code. It was a question in a phone interview
shanlar has quit [Quit: Be back later]
<platzhirsch>
at least I am killing the ghost from the past
<MJBrune>
I'd like to but sometimes you have to go through off-shore recruiters to get good local jobs
yfeldblum has joined #ruby
lfox has joined #ruby
burlyscudd has quit [Quit: Leaving.]
lfox has quit [Max SendQ exceeded]
<lpvn>
platzhirsch: did it really take some hours for you to finish the code or you're being sarcastic?
Vivekananda has quit [Ping timeout: 272 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
shanlar has joined #ruby
<pontiki>
hi folks
<MJBrune>
hey pont
<platzhirsch>
lpvn: no really. I started at 13.00 o'clock. I haven't worked all the time and pursued a stupid solution while doing so
<shevy>
hey pontiki, ponbiki is still in the house!
Hobogrammer has quit [Ping timeout: 246 seconds]
RaCx has quit [Client Quit]
<pontiki>
i have no idea who ponbiki is
<shevy>
hehe
shanlar has quit [Client Quit]
<MJBrune>
platzhirsch: the most important thing in phone interviews is that you want to explain your thought process. Even if you are wrong or don't know exactly how from the very second it's asked if you figure it out or get the solution mostly done on the spot then the rest can be written off as nerves and the fact you aren't a computer.
<shevy>
b for brother brogrammer!!!
<platzhirsch>
pontiki: she's a relative of you
shanlar has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy>
that makes pontiki happy to know
<shevy>
relatives all of the world
<shevy>
over, rather
mlpinit has joined #ruby
banister has joined #ruby
<platzhirsch>
MJBrune: good advice, I have learned that. It's not only important to communicate your thought process, but it's also a necessity to shift your problem solving mode from silently thinking and doodling to talking out loud
vlad_sta_ has joined #ruby
<platzhirsch>
I had a interview witha Microsoft recruiter, he gave me two brain teaser and in one he really got me through the question to the final solution with small bits of help.. That was the first time
RaCx has joined #ruby
RaCx has quit [Client Quit]
petey has joined #ruby
_gmi_ has quit [Quit: Leaving]
vlad_sta_ has quit [Remote host closed the connection]
[gmi] has joined #ruby
vlad_sta_ has joined #ruby
<MJBrune>
platzhirsch: shouldn't be a big issue as long as you don't stumble over a ton of stuff :)
claymore has quit [Excess Flood]
Shidash has joined #ruby
<platzhirsch>
MJBrune: well the good thing is, you can get better at those things.
claymore has joined #ruby
RaCx has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
RaCx has quit [Client Quit]
<MJBrune>
yeah. A lot of technical interviews are simply personality under stress.
yedimind has joined #ruby
dkamioka has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
shadoi has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
bean has joined #ruby
<platzhirsch>
so far at least the most were really nice chats, I enjoyed them. But I never excelled in the coding stuff at the end, so it really never came to a second Skype interview
Lewix has joined #ruby
SHyx0rmZ has joined #ruby
<platzhirsch>
so more practice, maybe 50-100 question practicing :P
<platzhirsch>
These were always jobs abroad, so naturally they put the bar higher
<momomomomo>
the toughest part of technical interviews for me is if they have you hop into a random (usually sloppy/ugly) code base, and try to solve some made up problems; helping people on here / SO / reading through other people's source code helps quite a bit platzhirsch
s2013_ is now known as s2013
<Tai>
This is good advice.
* Tai
starts taking notes.
popl has quit [Quit: Touch the frog.]
<platzhirsch>
momomomomo: Wow, I have heard of that, but never occurred to me. I read that some do it to get some work done for free
zeade has joined #ruby
sailias has quit [Ping timeout: 272 seconds]
iamdoo2 has joined #ruby
<platzhirsch>
Tai: If you know stuff about a language's core library, like implementation of data structures, utility functions, sorting, etc. and you can communicate that knowlegde in an interview,.. absolute burner, they will love you :P
rmorello has joined #ruby
RaCx has joined #ruby
<momomomomo>
platzhirsch: I had one with a company that had some old, ugly, code which solved a made-up problem; then they'll throw a wrench in the code and have you fix various aspects of it
stkowski has joined #ruby
<MJBrune>
that seems kind of a good system
<platzhirsch>
Does it? Sounds awful ^^
Hobogrammer has joined #ruby
<platzhirsch>
At a friend's company they let you implement a small application during the day
maasha has joined #ruby
aloitius1 has quit [Ping timeout: 245 seconds]
<dorei>
is stdlib's dbm the only option for handling berkley db files?
claymore has quit [Ping timeout: 250 seconds]
zeeraw has joined #ruby
zachallett has quit [Remote host closed the connection]
<MJBrune>
platzhirsch: eh I mean its moer realistic of what you will be doing
tjad has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<MJBrune>
working with outdated code bases to implement new fixes/features
mikepack_ has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
recurrence has joined #ruby
RaCx has quit [Client Quit]
<d00n>
the best ones : here solve this problem. Here is a white board, and a marker. Pick a language you like. You have 15 minutes. go… Fun Fun Fun.
<platzhirsch>
Yeah, but it's the same problem, you have to act directly :)
<Tai>
hey, since we're talking about jobs, i'm kinda new to ruby and trying to learn it so i can get away from IT into doing like web development
nanoyak has quit [Read error: Connection reset by peer]
<Tai>
anyone have any advice?
<centrx>
Learn Ruby
pzula has joined #ruby
nanoyak has joined #ruby
<centrx>
ON Rails!
<Tai>
haha
<platzhirsch>
IT is not Web Development?
<MJBrune>
ruby, C++, Javascript and everything else.
<platzhirsch>
literally
jlast_ has joined #ruby
mansi has joined #ruby
loc22 has quit [Client Quit]
<d00n>
Tai: scotch?
burlyscudd has joined #ruby
<Tai>
well, I'd like to spend less time repairing printers
<platzhirsch>
Web Development is not a subset of IT?
<platzhirsch>
oh
jlast has quit [Write error: Broken pipe]
<Tai>
that's where i was going with that
shadoi has quit [Quit: Leaving.]
tauebel has quit [Write error: Broken pipe]
vlad_sta_ has quit [Write error: Broken pipe]
<momomomomo>
platzhirsch: not typically when talking in terms of what people think of when you say 'IT'
<momomomomo>
platzhirsch: Usually, IT is synonymous with 'help desk'
<Tai>
right now I do like, mostly freelance jobs for offices that have shit break
Spami has joined #ruby
<wmoxam>
Tai: do you have sys admin/network admin experience?
<platzhirsch>
oh ok
deens has quit [Remote host closed the connection]
<Tai>
not a lot wmoxam
<wmoxam>
Tai: if so you should look into puppet/chef
<platzhirsch>
Tai: shit man, yeah buy a draisine, and pick a laptop and some nice rails
dubios has quit [Ping timeout: 258 seconds]
<d00n>
yeah was going to say devops could be a good path in from traditional "IT"
jlast_ has quit [Read error: Connection reset by peer]
nanoyak has quit [Client Quit]
jlast has joined #ruby
tjad has joined #ruby
mansi has quit [Read error: Connection reset by peer]
<MJBrune>
let me ask this, is it stupid that I know ruby but in interviews I ask to use C++ as its my core language. Unless something is ruby specific.
yfeldblum has quit [Remote host closed the connection]
<maasha>
What is the story of autoload. smart -> dead -> ?
mikepack_ has quit [Ping timeout: 245 seconds]
<wmoxam>
MJBrune: depends on the context :p
<Tai>
I'll look into it d00n
<Tai>
thanks
<centrx>
maasha, The objection to it was fixed. That was my conclusion
<Tai>
but yeah, right now I'm just spending all my free time doing ruby and ruby on rails and github
<maasha>
centrx: and that was thread-unsafe?
<centrx>
maasha, Right
dubios has joined #ruby
<d00n>
Tai: if you don't have lots of sysadmin experience, Devops might be rough as there are couple different disciplines there.
<platzhirsch>
MJBrune: I nearly always got the choice to pick my own language. I think its important to know language details when you write them as your strengths on the resume
<d00n>
MJBrune: yeah depends on context and what I need to. Depending upon problem I'll fall back to perl if I need to (Shudder). Unless of course the job is specifically looking for Ruby programmers ..
nanoyak has joined #ruby
<MJBrune>
platzhirsch: right, I know ruby well enough to do almost anything but C++ is my core and my default when I get nervous
<platzhirsch>
MJBrune: I only was asked to do something in C for pointer stuff, well..
<platzhirsch>
third and last interview at MongoDB *sob*
<Tai>
I guess I just wanted to know I wasn't wasting my time. Like, if I worked hard and learned the stuff, I could actually get a job with it, even though I don't have a CS degree.
<MJBrune>
is mongo bad?
<d00n>
working hard and learning stuff is never a waste of time.
<maasha>
centrx: thing is, that if I google "ruby autoload" I get some hits on articles from 2009 and then the 2011 story saying that autoload will be dead. Nothing tells me to autoload or not.
<shevy>
maasha matz does not approve of autoload
blackmesa has joined #ruby
dik_dak has joined #ruby
<platzhirsch>
MJBrune: Bad? Bad how
<maasha>
shevy: why?
<platzhirsch>
d00n: HUSTLING
baroquebobcat has joined #ruby
<shevy>
maasha dunno
<maasha>
shevy: and when was that?
<centrx>
maasha, The bug was closed
<centrx>
That autoload deprecated is old news, not
<shevy>
or just plain require 'foo' for the default (most oftenly used way)
<d00n>
Tai: But to answer your question there seems to be lots of places looking for coders . and the learning to code/script wont hurt in other aspects of IT,. So win/win in my book
<platzhirsch>
MJBrune: so how do you know it's cool? :P
RaCx has joined #ruby
* Tai
nods
Wolland has joined #ruby
<Tai>
i was looking at a few of the like, become a ruby programmer in 12 weeks schools. what do you think of those?
craigp has quit [Remote host closed the connection]
<MJBrune>
platzhirsch: lol because I know basics of it
<momomomomo>
Tai: I'm not a fan
<MJBrune>
Tai: typically they are bad
kate_r has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bradhe has quit [Remote host closed the connection]
<platzhirsch>
MJBrune: no it's written in C++ and JavaScript, not Basic
<centrx>
maasha, It is not deprecated in 2.1.0, it is still used in Rails, the bug for it is closed as fixed (https://bugs.ruby-lang.org/issues/921), and there is another forum thread from a bigwig later saying "Matz changes his mind sometimes, and the autoload thread-safe thing is fixed"
nanoyak has quit [Quit: Computer has gone to sleep.]
<Tai>
well that answers my question then = )
agjacome has joined #ruby
Xuisce1 has joined #ruby
<momomomomo>
Tai: I think they can teach you a framework, somewhat, in 12 weeks, but don't think they'll be everything they promise
<Tai>
it would be better just to learn on my own and save the $10k?
<MJBrune>
platzhirsch: I have a lot of experience with json and was told at an interview that mongo is like parsing json
enape_101 has quit [Ping timeout: 272 seconds]
<platzhirsch>
lol
<d00n>
Tai: mixed feelings. bootcamps can help, but all depends on how you are and your learning style. but I've been less than impressed with lots of them.
<Tai>
i just started that ruby.railstutorial.org yesterday
<platzhirsch>
That does only make an ass tiny bit sense
<jsilver>
Rooby: Gives programmers a funny little feeling inside
deens has quit [Remote host closed the connection]
<shevy>
cool, I can drag that stuff
krisbulman is now known as [krisbulman]
<Nilium>
No, I definitely don't play either of those things
<shevy>
Hanmac you need to include something like that for designing GUI elements in rxw
<shevy>
Nilium :(
<havenwood>
shevy: ya, they click in place
<shevy>
Nilium are you playing any games?
SHyx0rmZ has joined #ruby
<Nilium>
Not at the moment.
mando_ has joined #ruby
jeanlinux has quit [Read error: Connection reset by peer]
ace_ has joined #ruby
<shevy>
all those C++ coders have no more time for games
<Hanmac>
shevy look at the size of the ns3-doc package ... "downloaded size: 1018MB, installed size: 1532MB"
<shevy>
right Hanmac
<Nilium>
I'm playing Disgaea 3 on and off, but that's about it
<Nilium>
Mostly just building a compiler for a lisp-like language for my VM.
<shevy>
wtf
<shevy>
doc package
<shevy>
how can you have 1 gig of doc
<Nilium>
If wxWidgets is anything to go by, you totally can
<platzhirsch>
lpvn: though it spends a bit of time with selecting and subtracting, but it's still O(n) and super readable
<Nilium>
Also: lots of ascii art
w1zeman1p has joined #ruby
sailias has joined #ruby
einarj has joined #ruby
<shevy>
Hanmac will show that
<shevy>
(and documented)
<shevy>
((perhaps))
<shevy>
once his bindings are complete
<Hanmac>
shevy i should not need to worry about designing gui in rwx ... because rwx can use the xrc files from other editors just fine (its xml ;P )
<lpvn>
platzhirsch: thanks (:
GS has quit []
nettoweb has joined #ruby
<platzhirsch>
I thank you, at least I write the theoretically solution down into my Knowledge Book
<shevy>
(((but I am unsure)))
burlyscudd has quit [Quit: Leaving.]
<lpvn>
now I can join google lol
mando has quit [Ping timeout: 245 seconds]
<Hanmac>
my binding might be compete before usa gets full democatic ,P
<platzhirsch>
absolutely
<centrx>
You mean like Athens
<Hanmac>
Nilium: when you play games like that, do you like mangas?
<shevy>
I never even heard of Disgaea 3, shows you how much I know these days
mando_ has quit [Ping timeout: 245 seconds]
<Nilium>
I like anime and manga, but that's not the reason I got into Disgaea
<shevy>
the girls are sexy
rubyracer has joined #ruby
<Nilium>
I started playing Disgaea because I wanted a game like Final Fantasy Tactics and there's a shortage of tactical/strategy RPGs.
<Hanmac>
Yeah! there need to be a new FFT game (for 3DS maybe)
<Nilium>
Bearing in mind that I'm the sort of obsessive nutjob that beat the original FF Tactics and unlocked all the secret thingies
<Nilium>
I was apparently much more motivated to do stuff like that when I was a kid.
dkamioka has joined #ruby
<Nilium>
The Gameboy Advance FFT games were good. Surprised there weren't more in the same line, but I guess they probably only sold well to people who already like the series.
<Hanmac>
i stopped playing video games after i began to DREAM in games ... just image how freaky it would be if your dream has a F10-MainMenu ...
<s2013>
apeiros' method is shorter and easier to understand ig uess
<momomomomo>
apeiros: s2013 no fight here, and I agree that the structure makes more hierarchical sense with the include? method, but in? can make things easy to read
<Hanmac1>
>> a=[101,101,101,102,102,102,104,104,105,105,105,106];b=[101, 105]; b.each {|o| (i = a.index(o)) ? a.delete_at(i) : nil}; a
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aryaching has quit [Ping timeout: 245 seconds]
fenicks has joined #ruby
Hanmac1 has joined #ruby
krnflake has quit [Ping timeout: 252 seconds]
petey has quit [Remote host closed the connection]
enape_101 has joined #ruby
timonv has quit [Remote host closed the connection]
terrellt has quit [Quit: On the other hand, you have different fingers.]
petey has joined #ruby
mando has joined #ruby
binaryhat has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
rm_ has joined #ruby
jlast has quit [Remote host closed the connection]
charliesome has joined #ruby
petey_ has joined #ruby
Shidash has quit [Ping timeout: 245 seconds]
petey has quit [Read error: Connection reset by peer]
Txandy|away is now known as Txandy
bradhe has joined #ruby
tauebel has joined #ruby
simon____ has joined #ruby
w1zeman1p has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
Evenix has quit [Remote host closed the connection]
simon____ is now known as sfroehler
krnflake has joined #ruby
jlast has joined #ruby
RaCx has joined #ruby
Tai has joined #ruby
<MJBrune>
worst recruiter ever. Interviewed last tuesday. They said they would let me know near the end of the week that week. Called my Recruiter on Friday and asked whats going on. He said he would contact them and told me check in monday. Called Monday he said still nothing. Called back today and he said "well I haven't actually sent an email yet but I guess we should."
larsam has quit [Quit: larsam]
havenwood has quit []
<platzhirsch>
MJBrune: lol
<MJBrune>
arg seriously?! why lie. Why not express that I am interested. The interview went perfect and they seemed to have really liked me.
<MJBrune>
dude is just a lazy recruiter.
<platzhirsch>
Yeah I think it's okay to catch up then so uptightly.
<platzhirsch>
2 weeks is a typical time span, but since they have gave you pretty exact dates that should be perfectly fine
<platzhirsch>
s/gave/given
VTLob has quit [Quit: VTLob]
<MJBrune>
yeah I would say 48 hours after the furthest time for them to decide that they gave me is kind of lame
cgore has quit [Remote host closed the connection]
terrellt_ has joined #ruby
terrellt has joined #ruby
<platzhirsch>
and this is over an external recruiter?
terrellt_ has quit [Client Quit]
yasushi has quit [Remote host closed the connection]
yekta has joined #ruby
alexherbo2 has joined #ruby
aryaching has joined #ruby
nszceta has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<lpvn>
MJBrune: are you currently employed?
gigetoo has quit [Remote host closed the connection]
<MJBrune>
lpvn: no.
glebe has left #ruby [#ruby]
wildroman2 has joined #ruby
jamo__ has joined #ruby
vlad_starkov has quit [Ping timeout: 250 seconds]
gigetoo has joined #ruby
ffranz has quit [Quit: Leaving]
joelroa has joined #ruby
jamo__ has quit [Client Quit]
jamo__ has joined #ruby
CpuID has joined #ruby
CpuID has joined #ruby
CpuID has quit [Changing host]
Czupa has quit [Remote host closed the connection]
<platzhirsch>
MJBrune: so stressed to find a job?
kevind has quit [Quit: kevind]
<lpvn>
it should be easy for him to understand your anxiety
enape_101 has quit [Ping timeout: 246 seconds]
mojjojo has quit [Ping timeout: 245 seconds]
mojjojo_ has joined #ruby
wildroman2 has quit [Ping timeout: 272 seconds]
zachallett has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
mikepack_ has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Read error: Connection reset by peer]
wildroman2 has joined #ruby
Xeago has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
<dangerousdave>
just installed ruby 2.1.0 with rvm, and it also installed ruby-2.1.0-preview1. Whats that all about?
<mjc_>
dangerousdave: did you forget to upgrade rvm first?
<dangerousdave>
nope
<dangerousdave>
ah
<dangerousdave>
perhaps
BeLucid has quit [Remote host closed the connection]
rm_ has quit [Remote host closed the connection]
<apeiros>
dangerousdave: why -preview1?
<MJBrune>
platzhirsch: a tad
<MJBrune>
lpvn: yeah I would think so.
<dangerousdave>
I installed it first, and there was an error, so i updated rvm and tried again
<dangerousdave>
apeiros, indeed
<platzhirsch>
MJBrune: give us his home address. #ruby will take care of this
<dangerousdave>
apeiros, thats my question
<apeiros>
ah
<platzhirsch>
we will dent his mailbox then he knows this is serious
rootshift has joined #ruby
<MJBrune>
platzhirsch: lol I'd rather just spend time getting my next job.
mikepack_ has quit [Ping timeout: 245 seconds]
rm_ has joined #ruby
niharvey is now known as Nick|afk
<lpvn>
MJBrune: what position did you apply for?
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
<platzhirsch>
He will scream in pain, when his mailbox is so dented, the mail carrier cannot put his shoe order into the box
<dangerousdave>
mjc_, apeiros can i delete it?
<dangerousdave>
ruby-2.1.0-preview1 i mean
xcv has joined #ruby
<MJBrune>
lpvn: Ruby development position. It's called "Product engineer in product realization"
rudisimo has quit []
<apeiros>
dangerousdave: sure
<apeiros>
2.1.0 is all you need
<dangerousdave>
apeiros, ta
<apeiros>
-preview1 is a pre-release of it
<apeiros>
i.e., it's older, not final
<platzhirsch>
MJBrune: Cool and is it a local job or somewhere else
jtdowney has quit []
<MJBrune>
The entire interview and company is great. I can't say who they are but their entire campus lights up in magenta.
Tai has quit []
<MJBrune>
platzhirsch: local for me, bellevue.
jamo___ has joined #ruby
Lewix has quit [Remote host closed the connection]
<platzhirsch>
and how does that go? How many phone interviews, before on-side?
<MJBrune>
1 phone 1 in person. Everyone seemed excited and happy during the interview. I nailed like 95-99% of the questions asked and had a really open connection with the interview board.
jlast has quit [Remote host closed the connection]
RaCx has joined #ruby
yarou has joined #ruby
petey_ has quit [Remote host closed the connection]
jlast has joined #ruby
jamo has quit [Remote host closed the connection]
jamo___ has quit [Remote host closed the connection]
iamdoo2 has joined #ruby
jamo has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
petey has joined #ruby
jonr22 has quit [Remote host closed the connection]
jlast has quit [Read error: Connection reset by peer]
jprovazn has quit [Quit: Odcházím]
jlast has joined #ruby
uglybandersnatch has joined #ruby
<platzhirsch>
Reasonable. I am sure it will go well, just kick that recruiter in the ass
IceyEC has quit [Quit: IceyEC]
aspires has quit []
nomenkun has joined #ruby
Lewix has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
einarj has joined #ruby
<MJBrune>
so many parts and joins
Xeago has quit [Read error: Connection reset by peer]
jamo___ has joined #ruby
Xeago has joined #ruby
jlast_ has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
<platzhirsch>
MJBrune: try to hide them in your IRC client
jlast has quit [Read error: Connection reset by peer]
<platzhirsch>
since I did, I have found inner joy and my horrible fantasies don't derail as often as they used to do
iamdoo2 has quit [Ping timeout: 245 seconds]
petey has quit [Ping timeout: 272 seconds]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
petey has joined #ruby
enape_101 has joined #ruby
Bira has joined #ruby
jamo____ has joined #ruby
claymore has quit [Ping timeout: 272 seconds]
yan_ has left #ruby [#ruby]
Bira has quit [Remote host closed the connection]
rickruby has joined #ruby
<centrx>
I've done it!
pranny has quit [Read error: Connection reset by peer]
jamo_____ has joined #ruby
uglybandersnatch has quit [Remote host closed the connection]
<platzhirsch>
?
dkamioka has quit [Remote host closed the connection]
pranny has joined #ruby
kaldrenon has quit [Remote host closed the connection]
claymore has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
olivier_bK has joined #ruby
petey has quit [Remote host closed the connection]
<centrx>
Without the Join/Part messages, it almost seems like time is not passing
petey has joined #ruby
<platzhirsch>
Isn't it beautiful
<centrx>
It is timeless...
<centrx>
I am not sure I like it
<platzhirsch>
Don't touch the setting again
interactionjaxsn has quit [Remote host closed the connection]
<centrx>
There is no separation between old conversation and new conversation
<platzhirsch>
It's really just spam
<platzhirsch>
That's like saying "There is no separation between new and old emails if I filter spam mails"
apeiros has quit [Remote host closed the connection]
<centrx>
Now all the spam is from users
schasse has joined #ruby
<centrx>
How will I know when to announce "Welcome to #rails, the only channel on Freenode devoted to TRAINS! For Ruby on Rails, visit #RubyOnRails"
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
angusiguess has joined #ruby
<platzhirsch>
stole that
deception has quit [Quit: Goodbye]
pranny has quit [Ping timeout: 276 seconds]
<platzhirsch>
I can't believe there is a #rails channel with 100+ user. Why is the Ruby community so fragmented
pranny has joined #ruby
RoryHughes has quit []
vlad_starkov has joined #ruby
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
danshultz has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
jerius has quit [Ping timeout: 272 seconds]
pwh has joined #ruby
whatasunnyday has quit [Quit: whatasunnyday]
apeiros has joined #ruby
CpuID has quit [Read error: Connection reset by peer]
<centrx>
Freenode refuses to do anything about it
<centrx>
That channel is totally dead
<platzhirsch>
#freenode has gone wild again, too
<platzhirsch>
all the mentals from #defocus have overun the channel
<platzhirsch>
centrx: it is against the rules to do mass mentioning, isn't it
uglybandersnatch has joined #ruby
nomenkun has joined #ruby
deens has joined #ruby
whatasunnyday has joined #ruby
bnagy_ is now known as bnagy
nettoweb has quit [Quit: nettoweb]
kewjo has joined #ruby
<centrx>
What do you mean?
Txandy is now known as Txandy|away
<centrx>
It is a public service announcement. People wander into #rails and ask questions.
nanoyak has joined #ruby
<platzhirsch>
well you could mention all the idlers
angusiguess has quit [Ping timeout: 272 seconds]
<jsilver>
Rooby: Gives programmers a funny little feeling inside
<platzhirsch>
if the channel is empty they will leave
<platzhirsch>
jsilver: you literally just said that earlier
<jsilver>
"if you build it, they will all leave"
<jsilver>
platzhirsch: hasn't gotten old yet
aryaching has quit [Ping timeout: 250 seconds]
<platzhirsch>
I cannot judge
<jsilver>
fine
<jsilver>
Ribby: How programmers fall in love
<jsilver>
lacks the unf of the original
uglybandersnatch has quit [Remote host closed the connection]
<jsilver>
I'm glad the creators of PHP don't rename it "Roby" and confuse the hell out of us all
<centrx>
PHP is an abomination and a scourge on the face of the earth.
lfox has quit []
drumusician has joined #ruby
deens has quit [Ping timeout: 250 seconds]
RoryHughes has joined #ruby
zeade has quit [Quit: Leaving.]
<centrx>
platzhirsch, Maybe you're right. This is a good strategy. Interrogating the idlers.
wildroman2 has quit [Remote host closed the connection]
gstamp has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
pranny1 has joined #ruby
Tranquility__ is now known as Tranquility
neosimago has joined #ruby
saarinen has quit [Quit: saarinen]
<jsilver>
centrx: aww, she ain't so bad. we all came from there
<jsilver>
centrx: sure, it's no ruby, but it's a turing complete language
pranny has quit [Ping timeout: 246 seconds]
chrisan has quit [Ping timeout: 265 seconds]
<jsilver>
trolling status: not trolling
<centrx>
A piece of string and a pen is a turing complete language
freggles has quit [Remote host closed the connection]
mojjojo_ has quit [Quit: mojjojo_]
<jsilver>
It's also some sort of string-attached launchable writing device, though I imagine writing actual characters mid-flight would be hard, if not impossible
mojjojo has joined #ruby
nettoweb has joined #ruby
<jsilver>
you have baked in support for writing in libballpointpen though
<platzhirsch>
I won't interrogate with #ruby-lang, people have a pretty strong oppinion
SCommette has joined #ruby
<jsilver>
interrogate? you mean argue?
<centrx>
#ruby-lang is fairly active
<jsilver>
if I was a wrestler named Jake, my stage name would be "Jakesaster"
<jsilver>
but I'm neither a wrestler nor named Jake
<platzhirsch>
jsilver: are you a chat bot?
Al___ has joined #ruby
mark_locklear has quit [Quit: Leaving]
<platzhirsch>
reminds me of them
<jsilver>
Do you want me to be a chat bot?
Dude007 has joined #ruby
<platzhirsch>
no, but the phrases you produce sound heavily concatenated from random stuff
Naoe-Kanno has joined #ruby
<mjc_>
hah
<jsilver>
...they are...
SHyx0rmZ has quit [Ping timeout: 250 seconds]
<jsilver>
crap I write in my test strings
<jsilver>
:)
<jsilver>
as jokes
deens has joined #ruby
Naoe-Kanno has quit [Client Quit]
SHyx0rmZ has joined #ruby
snooc_ has quit [Read error: Connection reset by peer]
kcombs has quit [Remote host closed the connection]
<jsilver>
I just wrote
<jsilver>
name_of_disaster: "Justin Bieber"
<centrx>
platzhirsch, I missed the joins in #RubyOnRails now!
<jsilver>
tell me thats not hilarious
<jsilver>
I'm doing emergency management
<centrx>
jsilver.acts_like_duck?
<jsilver>
lol
snooc has joined #ruby
<jsilver>
it "should be able to destroy a disaster" do # and so should you!
tjad has quit [Remote host closed the connection]
vpretzel has quit [Ping timeout: 246 seconds]
<jsilver>
that's my favorite comment I've ever done of all time
yekta has quit [Quit: yekta]
<platzhirsch>
jsilver: There are irritating JavaSilver
Bira has joined #ruby
<jsilver>
what
<jsilver>
wot.
<jsilver>
the j is for Jonathan not Java
<platzhirsch>
yeah, sure..
* jsilver
fucking GLARES at u
<centrx>
Java S. Silver
<platzhirsch>
Why so biblic jsilver?
<jsilver>
where did the S come from!?!?!?
<centrx>
Java Script
vpretzel has joined #ruby
<jsilver>
oh
<jsilver>
cause my middle initial really is S
<centrx>
I know
<centrx>
Java Script
<jsilver>
?!!?!??!
<jsilver>
lol
<jsilver>
no seriously
<jsilver>
Jonathan Samuel
<jsilver>
silver....something or another...
<platzhirsch>
Jonathan is a cooking apple of a red-skinned variety first grown in the US.
<jsilver>
u wot?
<platzhirsch>
Jonathan Silver. An apple with silver?
<platzhirsch>
like rotten?
<jsilver>
yes I'm rotten
snooc has quit [Ping timeout: 245 seconds]
<platzhirsch>
You are the son of Saul and friend of David
<platzhirsch>
but you died battling the Philistines
rm_ has quit [Remote host closed the connection]
<jsilver>
fuck the Philistines
<jsilver>
they're haters
<jsilver>
PHP using scum
diegoviola has joined #ruby
tauebel has left #ruby [#ruby]
s2013 has quit [Quit: Leaving]
zcreative has joined #ruby
Txandy|away is now known as Txandy
rayners has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
mary5030 has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
kirun has quit [Quit: Client exiting]
nomenkun has quit [Remote host closed the connection]
yasushi has joined #ruby
griffindy has quit [Quit: Computer has gone to sleep.]
jlast_ has quit [Remote host closed the connection]
Vivekananda has joined #ruby
angusiguess has joined #ruby
rndstr_ is now known as rndstr
schasse has left #ruby ["WeeChat 0.4.2"]
Amart41 has quit [Remote host closed the connection]
rubyracer has quit [Quit: Konversation terminated!]
jrhorn424 is now known as zz_jrhorn424
RoryHughes has quit []
jlast has joined #ruby
Hanmac has joined #ruby
glen has left #ruby [#ruby]
Hanmac1 has quit [Ping timeout: 246 seconds]
<platzhirsch>
jsilver: Today I joined #php and asked when the latest point is to refactor my application to another language :P
<jsilver>
the latest point? what?
<platzhirsch>
in time
starfox21 has joined #ruby
x77686d has joined #ruby
<jsilver>
one time I tried to code in PHP and then I had to shout in my computer monitor's face, "YOU'RE HURTING ME!!!!"
Adawerk has joined #ruby
<terrellt>
Best online interactive ruby REPL?
RoryHughes has joined #ruby
<xybre>
terrellt: try ruby?
<terrellt>
tryruby.org's kinda clunky, repl.it is closer, but it's 1.8.7
Txandy is now known as Txandy|away
<jsilver>
Solution: Install Ruby, run IRB
<terrellt>
Probably gonna do that for the presentation, but if they want to follow along without ruby installed it helps.
<jsilver>
oh
<jsilver>
who you teachin Ruby?
jamo___ has quit [Quit: leaving]
nomenkun has joined #ruby
<terrellt>
It's a guest lecture for a bunch of CS undergrads.
<jsilver>
cool cool man
<jsilver>
teach hard!!
<slowcon>
any of you guys use jetbrains IDEA?
<jsilver>
no, and I'm happier for it
<jsilver>
jk
centrx has quit [Quit: Leaving]
bricker`LA has joined #ruby
jlast has quit [Remote host closed the connection]
* platzhirsch
puts jsilver to sleep.
<slowcon>
thinking about getting it with the ruby extension
iamdoo2 has joined #ruby
claymore has quit [Quit: Leaving]
* jsilver
has a nightmare about php
jlast has joined #ruby
<platzhirsch>
No, putting to sleep. Like a pet
<bricker`LA>
In your opinion, when creating an "interface" in ruby (methods that are meant to be overridden, possibly enforced by NotImplementedError), is it bad practice to make some of the methods private?
freerobby has joined #ruby
<terrellt>
That seems fine.
tauebel1 has joined #ruby
slowcon has quit []
phansch has quit [Quit: Leaving]
deens has quit [Remote host closed the connection]
RoryHughes has quit []
Spami has quit [Quit: This computer has gone to sleep]
nomenkun has quit [Remote host closed the connection]
<olivier_bK>
shevy, i dont understand something
<olivier_bK>
why \ after array and why (/, '' )
<olivier_bK>
?
fgo has joined #ruby
<olivier_bK>
and thanks for your help sorry
<workmad3>
olivier_bK: because ( is a special character in a regex
<workmad3>
olivier_bK: so to match a literal ( in a string, you need to use \( in the regex
<workmad3>
olivier_bK: the same is true for ? and $
nomenkun_ has joined #ruby
petey has quit [Ping timeout: 246 seconds]
<jsilver>
I wanna get gangbanged in the brain by science
deens has joined #ruby
mlpinit has quit [Remote host closed the connection]
wildroman2 has joined #ruby
<shevy>
olivier_bK you need to get a cheat sheet man what are special characters
<shevy>
olivier_bK I will give you that list now
<olivier_bK>
workmad3, thanks for your explication i going to try now why i dont understand that
<shevy>
olivier_bK keep it close to your heart: . * + ? ^ $ { } [ ] ( ) \ |
<workmad3>
olivier_bK: also rubular.com
<olivier_bK>
i keep it in my heart my brain and in my USB key :)
<workmad3>
olivier_bK: bookmark it
<workmad3>
olivier_bK: and use it for your regexs until you grok them better ;)
terrellt has quit [Quit: The early bird may get the worm, but the second mouse gets the cheese]
rootshift has joined #ruby
mikepack_ has joined #ruby
thesheff17 has quit [Quit: Leaving]
deens has quit [Ping timeout: 272 seconds]
wildroman2 has quit [Ping timeout: 245 seconds]
jfelchner has joined #ruby
rdark has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
rjbs has joined #ruby
SCommette has quit [Quit: SCommette]
mikepack_ has quit [Ping timeout: 245 seconds]
<rjbs>
Given a method foo(x=10), is there a way to determine whether, in a given call, x is 10 because it was explicitly passed, rather than because of the default? I realize that this is generally not something one should investigate, but am curious.
<workmad3>
rjbs: I can think of *a* way, but it's not a pleasant one ;)
<rjbs>
I've got a strong stomach, I write perl. ;)
<jsilver>
I have a stronger stomach. I write APL and Ada.
<workmad3>
rjbs: use something like binding_of_caller to be able to pull out where the method was called from... then slurp in the contents of that file and grep out the method call
<rjbs>
jsilver: I have no desire to top that. ;)
<jsilver>
when my stomach demands more, though, I switch to ASM
<jsilver>
:D
<workmad3>
jsilver: pfft, ASM is lightweight after APL
<jsilver>
and no, I don't type in Assembler. I type raw bytecode.
<lpvn>
jsilver: APL? I can't believe
<rjbs>
workmad3: Heh, but I'm filing that under "no." :)
nanoyak has quit [Quit: Computer has gone to sleep.]
<jsilver>
good, lpvn, don't believe. I am jesting
<workmad3>
rjbs: ;)
<workmad3>
jsilver: if you want a bit more of a challenge after APL, maybe try some malbolge
<jsilver>
Brainfuck fo' lyfe.
Hanmac1 has joined #ruby
soba has joined #ruby
<lpvn>
lol
Evenix has joined #ruby
<jsilver>
:D
mansi has joined #ruby
larissa has joined #ruby
<rjbs>
Perl 5 is in the process of adding named parameter, and due to its language idioms, it's important to be able to make that distinction. I realized as we did this that I didn't think it was possible in Ruby or Python.