apeiros changed the topic of #ruby to: Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
hermanmunster has quit [Remote host closed the connection]
ikaros has quit [Quit: Ex-Chat]
tjr9898 has quit [Remote host closed the connection]
hermanmunster has joined #ruby
Jetchisel has joined #ruby
Salve has quit [Ping timeout: 240 seconds]
Hobogrammer_ has joined #ruby
mansi has joined #ruby
yubrew has joined #ruby
evenix has joined #ruby
wallerdev has quit [Quit: wallerdev]
dcfedde has quit [Remote host closed the connection]
_bart has quit [Ping timeout: 264 seconds]
Hobogrammer has quit [Ping timeout: 240 seconds]
predator117 has joined #ruby
x1337807x has joined #ruby
dcfedde has joined #ruby
m4n1f3st0 has joined #ruby
yasushi has quit [Remote host closed the connection]
Gadgetoid has quit [Remote host closed the connection]
stytown has quit [Quit: stytown]
Mongey has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 240 seconds]
predator217 has quit [Ping timeout: 252 seconds]
xaq has quit [Remote host closed the connection]
maddddh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has joined #ruby
_maes_ has joined #ruby
GaryOak_ has quit [Quit: Leaving...]
BeingUntoDeath has joined #ruby
fraterlaetus has quit []
Azulinho has joined #ruby
Mongey has joined #ruby
Gadgetoid has joined #ruby
mary5030 has quit [Remote host closed the connection]
Spami has quit [Quit: Leaving]
terrellt has quit [Ping timeout: 240 seconds]
lkba has joined #ruby
Squarepy has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
charliesome has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zachallett has quit [Remote host closed the connection]
sailias has joined #ruby
failshel_ has quit [Remote host closed the connection]
JBreit has left #ruby ["Leaving"]
mikepack has joined #ruby
failshell has joined #ruby
failshel_ has joined #ruby
pel_daniel1 has left #ruby [#ruby]
monkegjinni has joined #ruby
kies has quit [Ping timeout: 264 seconds]
lolmaus has quit [Ping timeout: 246 seconds]
rubydog has joined #ruby
<rubydog> Hey guys what is the book on refactoring?
Ziarkaen has quit [Remote host closed the connection]
dcfedde has quit [Remote host closed the connection]
YamakasY has joined #ruby
sdouglas has quit [Remote host closed the connection]
dcfedde has joined #ruby
<centrx> What book?
failshell has quit [Ping timeout: 264 seconds]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
nari has quit [Ping timeout: 246 seconds]
jamto11 has joined #ruby
<shinobi_one> THE BOOK
zorak has joined #ruby
YamakasY has quit [Ping timeout: 240 seconds]
<rubydog> by Martin Fowler, there are two I don't which one should I read as a ruby programmer
Salve has joined #ruby
<shinobi_one> you could read a book about refactoring in java if you want, as long as you understand when to refactor and different ways to do it, you should be ok
DarkFoxDK has quit [Ping timeout: 265 seconds]
lw has quit [Quit: s]
Azulinho has quit [Ping timeout: 240 seconds]
seich- has quit [Ping timeout: 265 seconds]
Zolrath has quit []
mbff has quit [Ping timeout: 265 seconds]
thoonai has quit [Ping timeout: 265 seconds]
dachi has quit [Ping timeout: 265 seconds]
Nightmare has quit [Ping timeout: 265 seconds]
lfox has quit [Ping timeout: 265 seconds]
MindfulMonk has quit [Ping timeout: 265 seconds]
zz_jrhorn424 has quit [Ping timeout: 265 seconds]
St_Marx has quit [Ping timeout: 245 seconds]
monkegjinni has quit [Remote host closed the connection]
rootshift has joined #ruby
Guest91861 has joined #ruby
zz_jrhorn424 has joined #ruby
bedouin_ has quit [Ping timeout: 265 seconds]
monkegjinni has joined #ruby
caveat- has quit [Remote host closed the connection]
zzak has quit [Ping timeout: 265 seconds]
Gadgetoid has quit [Quit: ZNC - http://znc.in]
thoonai has joined #ruby
cbetta has joined #ruby
ehc_ has joined #ruby
seich- has joined #ruby
p8952 has quit [Read error: Operation timed out]
Salve has quit [Ping timeout: 240 seconds]
cbetta has quit [Ping timeout: 265 seconds]
artgoeshere has quit [Ping timeout: 265 seconds]
caveat- has joined #ruby
artgoeshere has joined #ruby
ehc has quit [Ping timeout: 240 seconds]
dmarr has quit [Ping timeout: 265 seconds]
RohanRNS has quit [Ping timeout: 265 seconds]
Sthebig has quit [Ping timeout: 265 seconds]
PhilK has quit [Ping timeout: 265 seconds]
Gadgetoid has joined #ruby
sebastianb has joined #ruby
Paradox has quit [Ping timeout: 265 seconds]
jmeeuwen has joined #ruby
failshel_ has quit [Remote host closed the connection]
tyfighter has quit [Quit: tyfighter]
jmeeuwen has quit [Ping timeout: 265 seconds]
awkisopen has quit [Ping timeout: 265 seconds]
nuclearblast has quit [Ping timeout: 265 seconds]
zz_karupanerura is now known as karupanerura
MindfulMonk has joined #ruby
csq has quit [Ping timeout: 265 seconds]
DarkFoxDK has joined #ruby
dachi has joined #ruby
kitak has joined #ruby
RohanRNS has joined #ruby
drPoggs has quit [Ping timeout: 265 seconds]
zzak has joined #ruby
<razrunelord> Hey guys, does anyone know a neat way to subtract two date objects to get the no of days? The no of days should not contain weekends
jonasac` has quit [Ping timeout: 265 seconds]
Paradox has joined #ruby
monkegjinni has quit [Ping timeout: 246 seconds]
PhilK has joined #ruby
frode15243_ has joined #ruby
Sthebig has joined #ruby
awkisopen has joined #ruby
Guest505 has joined #ruby
kies has joined #ruby
kies has joined #ruby
bedouin_ has joined #ruby
csq has joined #ruby
frode15243_ has quit [Ping timeout: 265 seconds]
kennym has quit [Quit: Leaving.]
mikepack has quit [Remote host closed the connection]
lfox has joined #ruby
dmarr has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
failshel_ has joined #ruby
culturelabs_ has joined #ruby
blackmesa has quit [Ping timeout: 245 seconds]
Liothen has joined #ruby
jonasac has joined #ruby
drPoggs has joined #ruby
fijimunkii has quit [Ping timeout: 246 seconds]
culturelabs has quit [Ping timeout: 265 seconds]
Liothen has quit [Ping timeout: 265 seconds]
goleldar has quit [Remote host closed the connection]
horofox has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
aboudreault has quit [Ping timeout: 264 seconds]
lw has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
_whitelogger_ has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
_whitelogger has quit [Ping timeout: 265 seconds]
jollyy has joined #ruby
jamto11 has quit [Remote host closed the connection]
mjmac has quit [Ping timeout: 265 seconds]
CJD14_ has quit [Ping timeout: 265 seconds]
magpie has joined #ruby
samuel02 has quit [Ping timeout: 246 seconds]
octarine has quit [Ping timeout: 265 seconds]
jpinnix___ has quit [Ping timeout: 265 seconds]
supershabam has quit [Ping timeout: 265 seconds]
mjc_ has quit [Ping timeout: 265 seconds]
lolmaus has joined #ruby
whowantstolivef2 has joined #ruby
[epochwolf] has quit [Ping timeout: 265 seconds]
bcavileer has quit [Ping timeout: 265 seconds]
mattyohe has quit [Ping timeout: 265 seconds]
dyreshark has quit [Ping timeout: 265 seconds]
poguez__ has joined #ruby
mjc_ has joined #ruby
CJD14_ has joined #ruby
mattyohe has joined #ruby
bcavileer has joined #ruby
ebetancourt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tharindu_ has joined #ruby
octarine has joined #ruby
aboudreault has joined #ruby
Sid05 has joined #ruby
poguez_ has quit [Ping timeout: 265 seconds]
poguez__ is now known as poguez_
zachallett has joined #ruby
<centrx> whomp, return a, b, c returns an array
Kamilion has quit [Ping timeout: 265 seconds]
aetaric has quit [Ping timeout: 265 seconds]
Mongey has quit [Read error: Connection reset by peer]
<whomp> oh snap
cschneid has quit [Ping timeout: 265 seconds]
kenichi has quit [Ping timeout: 265 seconds]
scttnlsn has quit [Ping timeout: 240 seconds]
whowantstolivef3 has quit [Ping timeout: 264 seconds]
<soahccc> Cool didn't know that is actually possible :o
mjmac has joined #ruby
nari has joined #ruby
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jpinnix___ has joined #ruby
kenichi has joined #ruby
asteros has joined #ruby
drjblouse__ has joined #ruby
asteros has quit [Client Quit]
schaary has joined #ruby
epochwolf has joined #ruby
aetaric has joined #ruby
ConstantineXVI has joined #ruby
Kamilion has joined #ruby
supershabam has joined #ruby
dyreshark has joined #ruby
alexju has quit [Remote host closed the connection]
sailias has quit [Remote host closed the connection]
cschneid has joined #ruby
<centrx> Usually it is written [a, b, c] because return is not used at the end of a method in idiomatic Ruby
Sid05 has quit [Ping timeout: 246 seconds]
Mongey has joined #ruby
echevemaster has quit [Remote host closed the connection]
jeregrine has quit [Quit: Connection closed for inactivity]
yubrew has joined #ruby
failshel_ has quit [Remote host closed the connection]
shadoi has quit [Ping timeout: 240 seconds]
aspires has joined #ruby
<whomp> no centrx, i just put return to be verbose. like if the last line is literally "a, b, c"
<soahccc> centrx: well since I usually use hashes and no implicit return it isn't really that feature I've missed :D
scttnlsn has joined #ruby
<whomp> like the swap trick, b, a = a, b
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<soahccc> I would like to have a proper arity method
mehlah has quit [Quit: Leaving...]
tjr9898 has joined #ruby
failshell has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
derek_c has joined #ruby
kennym has joined #ruby
IceDragon has quit [Quit: Space~~~]
hermanmunster has joined #ruby
bricker`LA has quit [Ping timeout: 264 seconds]
bricker`LA has joined #ruby
aspires has quit []
stytown has joined #ruby
dcfedde has quit [Remote host closed the connection]
dcfedde has joined #ruby
werdnativ has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby
fgo has quit [Remote host closed the connection]
Davey is now known as Eomar
mehlah has joined #ruby
stytown has left #ruby [#ruby]
fgo has joined #ruby
dorei has joined #ruby
tkuchiki has joined #ruby
fgo has quit [Read error: No route to host]
robustus has quit [Ping timeout: 255 seconds]
fgo has joined #ruby
amclain has joined #ruby
robustus has joined #ruby
mehlah has quit [Ping timeout: 246 seconds]
magpie has quit [Ping timeout: 246 seconds]
kevind has joined #ruby
bricker`LA has quit [Ping timeout: 240 seconds]
estebanrules has quit [Ping timeout: 246 seconds]
maroloccio has quit [Quit: WeeChat 0.4.3]
bricker`LA has joined #ruby
fgo has quit [Remote host closed the connection]
failshell has quit [Remote host closed the connection]
godd2 has quit [Ping timeout: 245 seconds]
estebanrules has joined #ruby
weirdpercent has joined #ruby
jollyy has quit [Ping timeout: 240 seconds]
jollyy_ has joined #ruby
<weirdpercent> I have a string like this: [\"abreast\",\"acquiesced\",\"addressed\"] how can I convert it to a ruby array?
tils` has joined #ruby
vpretzel_ has joined #ruby
<dorei> weirdpercent: use split
<dorei> but isnt it already an array? :p
vpretzel has quit [Read error: Connection reset by peer]
<jhass> weirdpercent: where do you get that string from?
tils`` has joined #ruby
Gooder has joined #ruby
itadder has joined #ruby
vpretzel_ is now known as vpretzel
<itadder> still at work trying to meet a deadline :(
<weirdpercent> jhass: literal_parser seems what I'm looking for for quick and dirty. it's search results from arpabet.heroku.com
<itadder> my omnifocus task list still shows 30 machines I need to decommssion
echevemaster has joined #ruby
<jhass> weirdpercent: that's json
<jhass> weirdpercent: require 'json'; JSON.parse your_string
<weirdpercent> ok so that's a json array, I'll just parse it
<weirdpercent> p=MultiJson.load(uri) worked like a charm
tils has quit [Ping timeout: 264 seconds]
<weirdpercent> thank you
<cashnguns> x = [1,2,3] x[2]
fella5s has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
jollyy_ has quit [Client Quit]
tils` has quit [Ping timeout: 240 seconds]
monkegjinni has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
Voodoofish4302 has quit [Quit: Leaving.]
Mongey_ has joined #ruby
Gooder has quit [Remote host closed the connection]
m4n1f3st0 has joined #ruby
agarie has joined #ruby
weirdpercent has left #ruby ["Leaving"]
Gooder has joined #ruby
dcfedde has quit [Remote host closed the connection]
dcfedde has joined #ruby
mehlah has joined #ruby
Mongey has quit [Ping timeout: 240 seconds]
markisonfire has quit [Quit: markisonfire]
codabrink has quit [Ping timeout: 246 seconds]
Salve has joined #ruby
josiah14 has joined #ruby
Hobogrammer has joined #ruby
scarolan has quit [Ping timeout: 246 seconds]
mjs2600 has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
nobitanobi has quit []
Mongey has joined #ruby
Mongey_ has quit [Read error: Connection reset by peer]
montyboy has joined #ruby
grapFler has quit []
Hobogrammer_ has quit [Ping timeout: 264 seconds]
toastynerd has joined #ruby
fijimunkii has joined #ruby
failshell has joined #ruby
Salve has quit [Ping timeout: 264 seconds]
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
whomp has quit [Ping timeout: 264 seconds]
monkegjinni has quit [Ping timeout: 264 seconds]
dorei has quit []
Zunonia has joined #ruby
tharindu_ has quit [Quit: Leaving...]
estebanrules has quit [Ping timeout: 264 seconds]
aspiers has quit [Ping timeout: 245 seconds]
razrunelord has quit []
m4n1f3st0 has quit [Read error: Connection reset by peer]
failshell has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
dcfedde has quit [Remote host closed the connection]
dcfedde has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
DouweM has quit [Read error: Connection reset by peer]
Tingo1983 has quit [Remote host closed the connection]
Shidash has joined #ruby
<zorak> can somebody help me with and explanetion of "yield"
<zorak> ??
<popl> zorak: What don't you understand?
<zorak> the use of yield
<zorak> i know how to use it
<zorak> but i dont get what the use for it
<zorak> (im very new to programing, so maybe i dont get the importanse of this function)
<centrx> zorak, It is generally used in methods that accept blocks
yubrew has joined #ruby
<zorak> im in this part in the codeacademy curse
kayloos has joined #ruby
<zorak> blocks, procs, lamdas
Mongey has joined #ruby
horofox has quit [Read error: No route to host]
josiah14 has quit [Ping timeout: 264 seconds]
horofox has joined #ruby
Rober9393 has quit [Quit: Computer has gone to sleep.]
felixflores has joined #ruby
mary5030 has joined #ruby
rubydog has quit []
jamesaanderson has joined #ruby
james_d_h has quit [Ping timeout: 246 seconds]
estebanrules has joined #ruby
aspires has joined #ruby
kevind has quit [Quit: kevind]
itadder has quit []
kayloos has quit [Ping timeout: 240 seconds]
danshultz has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 264 seconds]
ij has joined #ruby
jlast has joined #ruby
<ij> Which is the fastest ruby http server now-a-days?
<popl> ij: What do you mean by fastest?
danshult_ has joined #ruby
grzywacz has quit [Ping timeout: 240 seconds]
<ij> Ease of use, or any other preferrences of yours.
crantron has joined #ruby
<jamesaanderson> I want to do some basic text parsing. Do I need to use regex or one of the many ruby gems or can I just do it in basic ruby? I want to detect a string and then unknown content and assign the unknown content to a variable
sambao21 has joined #ruby
Solnse has quit [Ping timeout: 240 seconds]
thomasxie has joined #ruby
jhass is now known as jhass|off
josiah14 has joined #ruby
rickruby has joined #ruby
<bnagy> jamesaanderson: well Regexp is 'basic' ruby, as in it's in core
firewater has joined #ruby
bricker`LA has quit [Ping timeout: 246 seconds]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bnagy> whether to use regexp is basically a smell test. Depends what you're parsing and how complex its rules are
<firewater> So, I am working on this rspec puzzles still. Got through one that is so close to be completed, but having a problem with getting the last part done.
<jamesaanderson> I feel like it's too small a problem to bring extra dependencies etc into it. I guess I'll have to power throw and learn regex
bricker`LA has joined #ruby
<firewater> Its asking for the results to do this: [word] "definition"
<firewater> And the word part is not in a string.
<firewater> Is there a way to do that without having the [word] part in a string?
iliketurtles has quit [Quit: zzzzz…..]
<centrx> jamesaanderson, You should learn regex. It is powerful and used everywhere.
dcfedde has quit [Remote host closed the connection]
evenix has quit [Remote host closed the connection]
lyanchih has joined #ruby
evenix has joined #ruby
dcfedde has joined #ruby
mary5030 has quit [Remote host closed the connection]
pfg has joined #ruby
pfg has quit [Max SendQ exceeded]
rickruby has quit [Ping timeout: 240 seconds]
pfg has joined #ruby
fgo has joined #ruby
<pipework> jamesaanderson: You should learn to not use regex unless it's the most appropriate tool for ht ejob.
near89 has joined #ruby
pfg has quit [Client Quit]
evenix has quit [Ping timeout: 264 seconds]
rickruby has joined #ruby
<near89> hi
Solnse has joined #ruby
<near89> can anyone recommend a good way to check if a credit card is valid?
monkegjinni has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
<near89> im checking with luhn and if its has the format of a valid card, but they told me that there are false positives because i don't check the identification code
Salve has joined #ruby
jamto11 has joined #ruby
freezey has joined #ruby
<firewater> Is there a way to make "" appear in a string?
<firewater> AKA, "this is a "test""==this is a "test"
bricker`LA has quit [Ping timeout: 240 seconds]
toastynerd has quit [Ping timeout: 240 seconds]
<firewater> Anyone?
<Billy2> escape the quotes?
<firewater> How do you do that again, is it with the /?
bricker`LA has joined #ruby
<Billy2> "this is a \"test\"
<popl> >> puts %q{This is a "test".}
<eval-in> popl => This is a "test". ... (https://eval.in/119205)
evenix has joined #ruby
Salve has quit [Ping timeout: 264 seconds]
zorak has quit [Read error: Connection reset by peer]
sterlingcalder has joined #ruby
lw has quit [Quit: s]
<firewater> Thanks, that did it.
mansi has joined #ruby
jamto11 has quit [Ping timeout: 264 seconds]
jetblack has joined #ruby
<bnagy> near89: who is 'they' ?
<near89> some guys of accounting or some area that deals with cc's
josiah14 has quit [Ping timeout: 264 seconds]
<popl> what forum is this?
<near89> i mean is there an official website to validate a card?
<near89> i saw a lot of websites online
<near89> but some give different results...
<bnagy> the only thing you can do without asking the issuer is luhn afaik
<Billy2> what exactly are you trying to validate
fgo_ has joined #ruby
Mongey has joined #ruby
<bnagy> and if 'they' want you to have access to stored CVVs then this is dodgy as all get-out
lyanchih has quit [Quit: lyanchih]
Hobogrammer has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby
<bnagy> so.. you're pretty much going to have to convince us that this isn't fraud now.
<near89> i want to have a way to validate if a number of 13 of length is a card or not
josiah14 has joined #ruby
<Billy2> you can only assume it is by the first few digits + length
marcdel has joined #ruby
lyanchih has joined #ruby
horofox has quit [Quit: horofox]
aspires has quit []
<near89> yeah but also you have the luhn check
fgo has quit [Ping timeout: 240 seconds]
<bnagy> valid prefix -> valid length for that prefix -> valid check digit #done
jonr22 has quit [Remote host closed the connection]
amskahda has joined #ruby
amskahda has quit [Client Quit]
amskah has joined #ruby
jonr22 has joined #ruby
cescalante is now known as ce_afk
toastynerd has joined #ruby
abra has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
dcfedde has quit [Remote host closed the connection]
Avahey_ has joined #ruby
monkegjinni has quit [Remote host closed the connection]
momigi has quit [Read error: Connection reset by peer]
m4n1f3st0 has joined #ruby
dcfedde has joined #ruby
Celm has quit [Remote host closed the connection]
maletor has joined #ruby
abra has joined #ruby
<near89> the bnagy are you not missing the luhn check?
jonr22 has quit [Ping timeout: 246 seconds]
momigi has joined #ruby
toastynerd has quit [Ping timeout: 240 seconds]
<bnagy> 'valid check digit'
rafaelmagu has quit [Quit: Textual IRC Client: www.textualapp.com]
mary5030 has joined #ruby
rickruby has quit [Remote host closed the connection]
Mongey_ has joined #ruby
yacks has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
rickruby has joined #ruby
mengu has joined #ruby
freezey has quit [Remote host closed the connection]
toastynerd has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
Kuda has joined #ruby
near89 has quit [Quit: Page closed]
rickruby has quit [Ping timeout: 246 seconds]
mengu has quit [Ping timeout: 264 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
phutch1ns has joined #ruby
larissa has quit [Quit: Leaving]
sensen has joined #ruby
Eomar is now known as Davey
Robbo_ has quit [Remote host closed the connection]
Vovko has joined #ruby
cantonic has quit [Ping timeout: 246 seconds]
yubrew has joined #ruby
dcfedde has quit [Remote host closed the connection]
Hanmac1 has quit [Ping timeout: 264 seconds]
dcfedde has joined #ruby
aspires has joined #ruby
samuel02 has joined #ruby
firewater has quit [Quit: Page closed]
mmachine has joined #ruby
mmachine has quit [Client Quit]
saarinen has joined #ruby
yubrew has quit [Ping timeout: 246 seconds]
jamto11 has joined #ruby
cantonic has joined #ruby
Sid05 has joined #ruby
afex has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
samuel02 has quit [Ping timeout: 246 seconds]
blandflakes has quit [Quit: Page closed]
simplyaubs has joined #ruby
jamto11 has quit [Ping timeout: 264 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sid05 has quit [Ping timeout: 240 seconds]
ehaliewicz has joined #ruby
m4n1f3st0 has quit [Read error: Connection reset by peer]
_HolyCow has joined #ruby
kennym has quit [Quit: Leaving.]
m4n1f3st0 has joined #ruby
estebanr1les has joined #ruby
estebanr1les has quit [Client Quit]
estebanrules has quit [Quit: Lost terminal]
x1337807x has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
estebanrules has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
noobgains has joined #ruby
m4n1f3st0 has quit [Read error: Connection reset by peer]
lyanchih has quit [Quit: lyanchih]
m4n1f3st_ has joined #ruby
Hanmac has joined #ruby
lyanchih has joined #ruby
mary5030 has quit [Remote host closed the connection]
danshult_ has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
lw has joined #ruby
chuk has quit [Quit: This computer has gone to sleep]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zachallett has quit [Remote host closed the connection]
Mongey_ has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
krz has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mattmcclure has quit [Quit: Connection closed for inactivity]
dcfedde has quit [Remote host closed the connection]
dcfedde has joined #ruby
stytown has joined #ruby
mgberlin has joined #ruby
stytown has left #ruby [#ruby]
hfp is now known as hfp`away
<mgberlin> can someone send me to the right room to ask about how to find files on a mac?
failshell has joined #ruby
fijimunkii has quit [Ping timeout: 240 seconds]
<popl> mgberlin: /msg alis help
<popl> mgberlin: it's the channel list service for freenode
<popl> probably search for something with apple or mac in the room name
<popl> if there is such a channel on freenode
<m4n1f3st_> #MacOSX
<popl> there you go
<mgberlin> thanks, manifest
<m4n1f3st_> mgberlin np
<mgberlin> you too, popl, for teaching me to fish
fijimunkii has joined #ruby
ozzloy has quit [Ping timeout: 264 seconds]
Salve has joined #ruby
SonicX has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
m4n1f3st_ is now known as m4n1f3st0
alvaro_o has quit [Quit: Ex-Chat]
wallerdev has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
lechuga_ has joined #ruby
Salve has quit [Ping timeout: 246 seconds]
lolmaus has joined #ruby
<lechuga_> if i have sidekiq running and rails should i expect the after_save call back for my model to be called only in the process that calls model_instance.save! ?
marcdel has quit [Ping timeout: 246 seconds]
larsam has joined #ruby
<lechuga_> or would it occur in both
marcdel has joined #ruby
failshell has quit [Remote host closed the connection]
<lechuga_> or maybe a better question is 'is two-way communication between rails and sidekiq possible?'
Mongey_ has joined #ruby
monkegjinni has joined #ruby
Mongey has quit [Ping timeout: 240 seconds]
ixti has quit [Ping timeout: 252 seconds]
_justin has joined #ruby
<centrx> lechuga_, Try #rubyonrails
phutch1ns has quit [Ping timeout: 246 seconds]
CaptainJet has quit [Ping timeout: 246 seconds]
nisstyre has joined #ruby
ozzloy has joined #ruby
ozzloy has joined #ruby
ozzloy has quit [Changing host]
CaptainJet has joined #ruby
wallerdev has quit [Quit: wallerdev]
rezzack has quit [Ping timeout: 240 seconds]
<lechuga_> thx
lechuga_ has left #ruby [#ruby]
simplyaubs has quit [Quit: simplyaubs]
dcfedde has quit [Remote host closed the connection]
dcfedde has joined #ruby
hobodave has joined #ruby
simplyaubs has joined #ruby
simplyaubs has quit [Client Quit]
monkegjinni has quit [Remote host closed the connection]
Mongey has joined #ruby
SonicX has joined #ruby
monkegjinni has joined #ruby
Mongey_ has quit [Read error: Connection reset by peer]
bricker`LA has quit [Remote host closed the connection]
klue has quit [Ping timeout: 240 seconds]
bricker`LA has joined #ruby
rezzack has joined #ruby
cashnguns has quit [Remote host closed the connection]
Shidash has quit [Ping timeout: 240 seconds]
decoponio has joined #ruby
monkegjinni has quit [Ping timeout: 246 seconds]
Beoran_ has quit [Ping timeout: 265 seconds]
Beoran has quit [Ping timeout: 264 seconds]
Hobogrammer has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Beoran has joined #ruby
xerxas has quit [Quit: Connection closed for inactivity]
_justin has quit [Quit: _justin]
x1337807x has joined #ruby
arubin has joined #ruby
whomp has joined #ruby
Deele has quit [Ping timeout: 264 seconds]
aspires has quit []
Mongey_ has joined #ruby
toastynerd has quit [Remote host closed the connection]
Mongey has quit [Ping timeout: 240 seconds]
monkegjinni has joined #ruby
Mongey_ has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
yfeldblum has joined #ruby
simplyaubs has joined #ruby
CreativeEmbassy has joined #ruby
josiah14 has quit [Remote host closed the connection]
echevemaster has quit [Ping timeout: 240 seconds]
dcfedde has quit [Remote host closed the connection]
dcfedde has joined #ruby
radic has joined #ruby
Beoran_ has joined #ruby
not_a_guest has joined #ruby
Mongey has quit [Ping timeout: 264 seconds]
echevemaster has joined #ruby
Mongey has joined #ruby
radic_ has quit [Ping timeout: 245 seconds]
zorak has joined #ruby
kayloos has joined #ruby
hfp`away is now known as hfp
james_d_h has joined #ruby
agarie has quit [Remote host closed the connection]
Biohazard has quit [Ping timeout: 245 seconds]
Mongey has quit [Ping timeout: 246 seconds]
Biohazard has joined #ruby
rickruby has joined #ruby
kayloos has quit [Ping timeout: 246 seconds]
jlast has quit [Remote host closed the connection]
rickruby has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
bbloom has quit [Quit: Textual IRC Client: www.textualapp.com]
bbloom has joined #ruby
rickruby has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
xaq has joined #ruby
Galgorth has joined #ruby
Gadgetoid has quit [Ping timeout: 264 seconds]
rickruby has quit [Read error: Connection reset by peer]
rickruby has joined #ruby
dideler_work has quit [Ping timeout: 246 seconds]
zorak has quit [Ping timeout: 240 seconds]
Gadgetoid has joined #ruby
postmodern has quit [Quit: Leaving]
Mongey has joined #ruby
klue has joined #ruby
klue has quit [Changing host]
klue has joined #ruby
tharindu has joined #ruby
braincrash has quit [Quit: bye bye]
armyriad has joined #ruby
mansi has quit [Remote host closed the connection]
dcfedde has quit [Remote host closed the connection]
mansi has joined #ruby
Vovko has quit [Remote host closed the connection]
dcfedde has joined #ruby
etqqkoiflwhb has joined #ruby
SCommette has joined #ruby
braincrash has joined #ruby
philcrissman has joined #ruby
Vovko has joined #ruby
Mongey has quit [Ping timeout: 246 seconds]
hobodave has quit [Quit: Computer has gone to sleep.]
mansi has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
Skaag has joined #ruby
beanHolez has joined #ruby
<beanHolez> When I define a private class method, only instances of that class (or subclass) have access to it, correct?
Salve has joined #ruby
aryaching has joined #ruby
<centrx> beanHolez, A private method is exposed only to that class and its children
<centrx> beanHolez, You said "private class method" though when I think you mean "private instance method"
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<beanHolez> No, that's the important distinction I was asking about. The method is indeed a class method
randomnick_ has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 264 seconds]
axsuul has quit [Ping timeout: 264 seconds]
_justin has joined #ruby
SCommette has quit [Quit: SCommette]
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
Salve has quit [Ping timeout: 240 seconds]
etqqkoiflwhb has joined #ruby
<centrx> beanHolez, How would it be accessible to instances?
bricker`LA has quit [Ping timeout: 264 seconds]
bricker`LA has joined #ruby
<beanHolez> centrx: I had a class method that I *thought* I was calling from instances via self.class.class_method
<beanHolez> I was wrong though, as you said, they don't have access to that method if it is private
YamakasY has joined #ruby
abdulsattar has joined #ruby
lw has quit [Quit: s]
etqqkoiflwhb has quit [Ping timeout: 240 seconds]
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
horofox has joined #ruby
sdouglas has joined #ruby
YamakasY has quit [Ping timeout: 240 seconds]
SCommette has joined #ruby
vpretzel_ has joined #ruby
dcfedde has quit [Remote host closed the connection]
simono has quit [Ping timeout: 264 seconds]
<centrx> >> class A; class << self; private; def foo; puts "hi"; end; end; end; A.new.class.foo
<eval-in> centrx => private method `foo' called for A:Class (NoMethodError) ... (https://eval.in/119230)
dcfedde has joined #ruby
<centrx> >> class A; def h; self.class.foo; end; class << self; private; def foo; puts "hi"; end; end; end; A.h
<eval-in> centrx => undefined method `h' for A:Class (NoMethodError) ... (https://eval.in/119231)
<centrx> >> class A; def h; self.class.foo; end; class << self; private; def foo; puts "hi"; end; end; end; A.new.h
<eval-in> centrx => private method `foo' called for A:Class (NoMethodError) ... (https://eval.in/119232)
vpretzel has quit [Ping timeout: 240 seconds]
m4n1f3st0 has joined #ruby
yubrew has joined #ruby
aces1up9939 has joined #ruby
<aces1up9939> i have heard Rvm thrown around, and read a bit about it, but still don't quite get what its used for, can someone explain it a bit?
<ericwood> having multiple versions of ruby and switching between them based on the project
<ericwood> in particular, having separate sets of gems installed per-project rather than globally
<ericwood> which is the default
felixflores has quit [Remote host closed the connection]
<aces1up9939> i see.
_lynX has joined #ruby
_lynX has quit [Max SendQ exceeded]
_lynX has joined #ruby
_justin has quit [Quit: _justin]
SCommette has quit [Quit: SCommette]
nari has quit [Ping timeout: 264 seconds]
yubrew has quit [Ping timeout: 240 seconds]
sdouglas has quit [Remote host closed the connection]
alexju has joined #ruby
sdouglas has joined #ruby
<ericwood> people will flame on RVM in favor of chruby and the like
<ericwood> but I like RVM
byprdct has joined #ruby
SonicX has quit [Ping timeout: 240 seconds]
juarlex has joined #ruby
Skaag has quit [Ping timeout: 264 seconds]
abdulsattar has quit [Ping timeout: 264 seconds]
Skaag has joined #ruby
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketurtles has joined #ruby
nisstyre_ has joined #ruby
m4n1f3st0 has joined #ruby
nisstyre has quit [Ping timeout: 246 seconds]
toastynerd has joined #ruby
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
klue has quit [Ping timeout: 246 seconds]
dcfedde has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
dcfedde has joined #ruby
byprdct has joined #ruby
Vovko_ has joined #ruby
havenwood has quit []
Vovko has quit [Read error: Connection reset by peer]
funburn has quit [Quit: funburn]
samuel02 has joined #ruby
jamto11 has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
oso96_2000 is now known as oso|away
nari has joined #ruby
toastynerd has quit [Remote host closed the connection]
horofox has quit [Quit: horofox]
sdouglas has quit [Remote host closed the connection]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
yarou has quit [Remote host closed the connection]
linojon has joined #ruby
Spami has joined #ruby
jamto11 has quit [Ping timeout: 264 seconds]
samuel02 has quit [Ping timeout: 246 seconds]
drx_ has joined #ruby
Vovko_ has quit [Ping timeout: 264 seconds]
werdnativ has joined #ruby
bricker`LA has quit [Ping timeout: 246 seconds]
jarg7 has joined #ruby
<jarg7> hey guys
bricker`LA has joined #ruby
<jarg7> anyone alive?
<Nilium> Never.
<jarg7> How do I read this documentation? I'm trying to figure out how the ruby language works and is structured, but Im not that good at reading docs so when I look at the documentation I dont really understand it. Any one know if there is a documentation guide out there?
<Nilium> I don't know what documentation you're referring to.
CreativeEmbassy has joined #ruby
Gadgetoid has quit [Ping timeout: 264 seconds]
abdulsattar has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
funburn has joined #ruby
Gadgetoid has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
sdouglas has joined #ruby
felixflores has joined #ruby
beanHolez has quit [Remote host closed the connection]
dcfedde has quit [Remote host closed the connection]
mansi has joined #ruby
felixflo_ has joined #ruby
dcfedde has joined #ruby
jetblack has quit [Ping timeout: 246 seconds]
Xiti has quit [Ping timeout: 240 seconds]
<jarg7> the ruby language documentation
felixflores has quit [Ping timeout: 240 seconds]
<jarg7> the api i think its called?
<Nilium> That's not very specific
<bnagy> jarg7: the ruby quickref is a good high level overview, otherwise there's the spec but it's not great reading
mansi has quit [Ping timeout: 240 seconds]
<bnagy> then rubydoc.org has dox for all the core and stdlib, page by page ( Array etc )
felixflo_ has quit [Ping timeout: 246 seconds]
<jarg7> im just trying to figure out how i can write me first usefull basic application
<jarg7> maybe even a little tic tac toe game
lxsameer has joined #ruby
lxsameer has joined #ruby
rezzack has quit [Ping timeout: 240 seconds]
<jarg7> also anyone remember how to make it so it stops showing users joining and quiting here
Salve has joined #ruby
<jarg7> oh nevermind i found the options
gyre007___ has quit [Read error: Connection reset by peer]
mgberlin has quit [Remote host closed the connection]
gyre007___ has joined #ruby
Foo1 has joined #ruby
_lynX has quit [Ping timeout: 240 seconds]
_senseinerd has joined #ruby
_senseinerd has quit [Max SendQ exceeded]
cover has quit [Remote host closed the connection]
Salve has quit [Ping timeout: 264 seconds]
derek_c has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
<noobgains> hi everyone, it seems it is not possible to get the value of an optgroup label as a param in sinatra? Here's my code: http://pastebin.com/2zmQtPR4 I'd like to return the value of the different lines as params but it seems not possible with just ruby. Only Jquery can help.
james_d_h has quit [Ping timeout: 246 seconds]
rickruby has quit [Remote host closed the connection]
rickruby has joined #ruby
funburn has quit [Ping timeout: 240 seconds]
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crystal77 has joined #ruby
dingus_khan has joined #ruby
jonnyro has joined #ruby
rickruby has quit [Ping timeout: 240 seconds]
dcfedde has quit [Remote host closed the connection]
jonnyro has quit [Client Quit]
yubrew has joined #ruby
funburn has joined #ruby
dcfedde has joined #ruby
kate_r has joined #ruby
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
amclain_ has joined #ruby
axsuul has joined #ruby
gregf has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
kitak_ has joined #ruby
SonicX has joined #ruby
BeingUntoDeath has quit []
yubrew has quit [Ping timeout: 240 seconds]
amclain has quit [Ping timeout: 240 seconds]
amclain_ is now known as amclain
james_d_h has joined #ruby
kitak has quit [Ping timeout: 260 seconds]
aagdbl has joined #ruby
aagdbl has quit [Client Quit]
etqqkoiflwhb has joined #ruby
philcrissman has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
shaileshg has joined #ruby
aagdbl has joined #ruby
aagdbl has quit [Client Quit]
crystal77 has quit [Quit: Computer has gone to sleep.]
<abdulsattar> noobgains: optgroup is not supposed to send a value to the server. It doesn't even have a value attribute
kate_r has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
makara has joined #ruby
bricker`LA has quit [Ping timeout: 240 seconds]
bricker`LA has joined #ruby
phansch has joined #ruby
axsuul has quit [Ping timeout: 264 seconds]
circuit has quit [Quit: leaving]
vlad_starkov has quit [Ping timeout: 264 seconds]
sterlingcalder has quit [Remote host closed the connection]
sski has quit [Remote host closed the connection]
tonni has quit [Read error: Connection reset by peer]
simplyaubs has quit [Quit: simplyaubs]
tonni has joined #ruby
skkeeper has quit [Ping timeout: 264 seconds]
sski has joined #ruby
Skaag has quit [Ping timeout: 240 seconds]
derek_c has joined #ruby
ankushio has joined #ruby
<ankushio> What is the difference between the :: and the . operators
dcfedde has quit [Remote host closed the connection]
<ankushio> For example Math::sin 1 and Math.sin 1 both compute the sin of 1
dcfedde has joined #ruby
<centrx> ankushio, :: only works for class methods
<centrx> ankushio, . works for instance methods too
sski has quit [Ping timeout: 240 seconds]
<abdulsattar> centrx: It works for instance methods too
<ankushio> ok
<abdulsattar> ankushio: they're interchangeable I guess
<ankushio> Sometimes classes are written as A::B
<ankushio> what does that mean
<centrx> ankushio, Sorry, I mean :: is never used to represent an instance method when it is used, even if internally it will work
<ankushio> ok
<ankushio> what does "ActionController::Base" mean then
<centrx> ankushio, In general, :: is called the "scope resolution operator"
<ankushio> ok
<centrx> ankushio, Base is inside the ActionController module or class
<ankushio> ahh, makes sense
<ankushio> thanks centrx and abdulsattar
skkeeper has joined #ruby
rickruby has joined #ruby
Kuda has quit [Quit: Byebye!]
sensen has quit [Ping timeout: 246 seconds]
Solnse has quit [Ping timeout: 240 seconds]
kayloos has joined #ruby
samuel02 has joined #ruby
james_d_h has quit [Ping timeout: 264 seconds]
toastynerd has joined #ruby
xaq has quit [Remote host closed the connection]
BeingUntoDeath has joined #ruby
kayloos has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
samuel02 has quit [Ping timeout: 264 seconds]
<Macaveli> Morning
tuttinator has joined #ruby
rickruby has quit [Ping timeout: 264 seconds]
Gadgetoid has quit [Ping timeout: 264 seconds]
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
Gadgetoid has joined #ruby
axsuul has joined #ruby
dapz has joined #ruby
bricker`LA has quit [Ping timeout: 246 seconds]
linojon has quit [Quit: linojon]
bricker`LA has joined #ruby
tkuchiki has quit [Remote host closed the connection]
<aces1up9939> i have a weird problem, i'm trying to require a gem that is in the same directory as in all my other gems for my project.
tkuchiki has joined #ruby
<aces1up9939> i'm looking in the lib folder and requireing http-cookie
<aces1up9939> but for some reason my app isnt seeing it.
<aces1up9939> i checked gem env and it reports that it looks in the directory for the gems in question.
<aces1up9939> what else can i try to figure out why its not finding this?
kenneth has joined #ruby
browndawg has joined #ruby
not_a_guest has quit [Quit: Connection closed for inactivity]
mansi has joined #ruby
dcfedde has quit [Remote host closed the connection]
centrx has quit [Quit: All this computer hacking is making me thirsty]
felixflores has joined #ruby
funburn has quit [Quit: funburn]
dcfedde has joined #ruby
ankushio has quit [Quit: Leaving...]
m4n1f3st0 has quit []
toastynerd has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 240 seconds]
chris_thomson has quit [Quit: Zzz...]
felixflores has quit [Ping timeout: 246 seconds]
nari has quit [Ping timeout: 240 seconds]
davedev24 has quit [Remote host closed the connection]
Salve has joined #ruby
Mon_Ouie has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
derek_c has quit [Ping timeout: 264 seconds]
juarlex has quit [Remote host closed the connection]
godd2 has joined #ruby
aganov has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
juarlex has joined #ruby
apeiros has joined #ruby
Salve has quit [Ping timeout: 240 seconds]
<godd2> I'm having a problem trying to push a gem up to rubygems.
<godd2> I can build the gem and install it locally successfully, but if I try to push the gem, it says "Repushing of gem versions is not allowed."
echevemaster has quit [Ping timeout: 246 seconds]
estebanrules has quit [Ping timeout: 240 seconds]
sigurding has joined #ruby
yubrew has joined #ruby
YamakasY has joined #ruby
h0lyalg0rithm has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
bricker`LA has quit [Ping timeout: 246 seconds]
thomasxie has left #ruby [#ruby]
juarlex has quit [Ping timeout: 246 seconds]
bricker`LA has joined #ruby
sski has joined #ruby
ehaliewicz has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
yubrew has quit [Ping timeout: 240 seconds]
abdulsattar has quit [Ping timeout: 240 seconds]
nari has joined #ruby
YamakasY has quit [Ping timeout: 246 seconds]
echevemaster has joined #ruby
<godd2> nvm, figured it out. there was a previously yanked gem hangin around
<jarg7> does anyone have skype that would be willing to add me and help me out here and there with some ruby questions and syntax? Im pretty new to programming also just trying to learn terminology and would love it if someone out there was willing to be somewhat of a mentor to me
dcfedde has quit [Remote host closed the connection]
_justin has joined #ruby
<jarg7> my backround is in psychology and cognative science but i am looking to change careers into web dev
dcfedde has joined #ruby
sski has quit [Ping timeout: 246 seconds]
<jarg7> if anyones out there who can help me out please add my skype : jarggsx . You will be repaid handsomly
godd2 has quit [Quit: Page closed]
havenwood has joined #ruby
echevemaster has quit [Excess Flood]
echevemaster has joined #ruby
tagrudev has joined #ruby
toastynerd has joined #ruby
derek_c has joined #ruby
_justin has quit [Ping timeout: 240 seconds]
dingus_khan has quit [Remote host closed the connection]
toastynerd has quit [Read error: No route to host]
BeingUntoDeath has quit [Ping timeout: 246 seconds]
browndawg has quit [Ping timeout: 269 seconds]
toastynerd has joined #ruby
toastynerd has quit [Remote host closed the connection]
abdulsattar has joined #ruby
sensen has joined #ruby
<dawkirst> I'm trying to wrap my head around this: changes to my database using DataMapper. I've never worked with Rails, but I know there are some opinionated ways of dealing with it in Rails (migrations?). How can I emulate ActiveRecord / Rails best practice with DM?
_justin has joined #ruby
nathansoz has quit [Remote host closed the connection]
momigi has quit [Remote host closed the connection]
anarang has joined #ruby
ij has quit [Read error: Connection reset by peer]
<dawkirst> nm, think this is what I'm looking for: https://github.com/datamapper/dm-migrations
monkegjinni has joined #ruby
Skaag has joined #ruby
sensen has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
ndrei has joined #ruby
joshualivesay has quit [Ping timeout: 264 seconds]
Skaag has quit [Ping timeout: 246 seconds]
dcfedde has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
dcfedde has joined #ruby
relix has joined #ruby
<noobgains> abdulsattar: thanks for the tip. We ended up giving the options a value of "optgroupName_optionValue" and splitting them on ('_') to return a value for optgroup
St_Marx has joined #ruby
quatron has joined #ruby
Hobogrammer has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
samuel02 has joined #ruby
sterlingcalder has joined #ruby
felixflores has joined #ruby
<abdulsattar> noobgains: that's a good approach, I was thinking on the same lines too
emanu has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
luckyruby has quit [Remote host closed the connection]
samuel02 has quit [Ping timeout: 240 seconds]
sterlingcalder has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
felixflores has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
The_NetZ has joined #ruby
jgrevich has joined #ruby
himsin has joined #ruby
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
not_a_guest has joined #ruby
ndrei has joined #ruby
invinceable has joined #ruby
invinceable has quit [Max SendQ exceeded]
apeiros has quit [Ping timeout: 264 seconds]
estebanrules has joined #ruby
<sigurding> anyone here using ruby-install?
<The_NetZ> erm, probably a bit of a noobish question; suppose i have a hash called keys, and it contains a few symbols named for a standard snes controller layout
_zxq9_ has joined #ruby
ayaz has joined #ruby
kayloos has joined #ruby
bal has joined #ruby
<The_NetZ> a,b,x,y, etc. I'd like if possible, to be able to reassign the values of they keys, and mayhaps have two or more values per key, say, a keyboard key and a gamepad button
monkegjinni has quit [Ping timeout: 246 seconds]
estebanrules has quit [Read error: Connection reset by peer]
<The_NetZ> or wait, I think I'm reading the source code wrong...
<The_NetZ> :foo is a symbol named foo, right?
mansi has joined #ruby
<abdulsattar> sigurding: I use ruby-install
sdouglas has quit [Remote host closed the connection]
dcfedde has quit [Remote host closed the connection]
nathansoz has joined #ruby
<sigurding> abdulsattar: with which ruby version and which editor?
<The_NetZ> I just use my distro's ruby, installed via pacman :P
Mon_Ouie has quit [Ping timeout: 240 seconds]
bricker`LA has quit [Ping timeout: 246 seconds]
<abdulsattar> abdulsattar: I'm sorry I thought you meant ruby-build, I'm afraid I've never used ruby-install
dcfedde has joined #ruby
Alina-malina has quit [Ping timeout: 240 seconds]
bricker`LA has joined #ruby
vlad_starkov has joined #ruby
tylersmith has quit [Remote host closed the connection]
<abdulsattar> The_NetZ: did you just say "mayhaps", as in Walder Frey "mayhaps"?
dingus_khan has joined #ruby
zxq9 has quit [Ping timeout: 264 seconds]
<The_NetZ> abdulsattar: never heard that name before, but yes, mayhaps as in perhaps
tylersmith has joined #ruby
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
Xiti has joined #ruby
<abdulsattar> nvm, yes :foo is a symbol named foo
<The_NetZ> abdulsattar: ok, then what is foo: ?
vlad_starkov has quit [Remote host closed the connection]
sski has joined #ruby
<abdulsattar> It is used when declaring a hash
vlad_starkov has joined #ruby
mansi has quit [Ping timeout: 246 seconds]
<abdulsattar> You can say {:foo => 'bar' } or {foo: bar}
<The_NetZ> ok, so, FOO: [bar, baz] is a hash named foo with two keys in it?
<The_NetZ> oh! so they are very similar in that context, gotcha!
<abdulsattar> No, Foo: [bar, baz] is equivalent to {:foo => [bar, baz]}, so the entire thing is a hash with :foo as the key
nathansoz has quit [Ping timeout: 264 seconds]
emanu has quit [Quit: emanu]
<The_NetZ> ok, so, its not that foo has two values, but that foo contains an array, and *that* has two values?
Salve has joined #ruby
yubrew has joined #ruby
tylersmith has quit [Ping timeout: 264 seconds]
<The_NetZ> trying to make sense of:
northfurr has quit []
<abdulsattar> Keys is the hash
<abdulsattar> with :DOWN, :LEFT, :RIGHT as keys
<abdulsattar> and the array values as their respective values
<The_NetZ> ok, got that, and the arrays? ah gotcha.
bricker`LA has quit [Ping timeout: 240 seconds]
klaut has joined #ruby
bricker`LA has joined #ruby
<The_NetZ> so, each key can have an array with more than one element in it, gotcha, but, are the array's needed to do this?
echevemaster has quit [Quit: Leaving]
yubrew has quit [Ping timeout: 240 seconds]
<abdulsattar> No, the value of a hash can be anything, not just an array
<abdulsattar> *the value in a hash*
<The_NetZ> yeah, I could use strings or ints or whatever, correct?
workmad3 has joined #ruby
<abdulsattar> yes
<abdulsattar> and even heterogeneously, e.g: {a: 1, b: 'abdulsattar'}
YamakasY has joined #ruby
<The_NetZ> but, can a hash have more than one value in it, *not* wrapped in an array?
Salve has quit [Ping timeout: 246 seconds]
<The_NetZ> mind you, I'll likely use the array anyways, but, I was wondering if its absolutely needed :P
<abdulsattar> A key can't have more than one value, they'll over write each other
goganchic has joined #ruby
<The_NetZ> gotcha, so if you want that effect, array it.
dingus_khan has quit [Remote host closed the connection]
<The_NetZ> thanks
<abdulsattar> you're welcome
sigurding has quit [Quit: sigurding]
whowantstolivef2 has quit [Ping timeout: 240 seconds]
<The_NetZ> abdulsattar: ok, now, suppose I want to be able to reassign the values in the array, say the user wants to change the direction key movements from the arrow keys to say wasd, is this possible using the layout I sprunged above?
bricker`LA has quit [Ping timeout: 240 seconds]
roolo has joined #ruby
jprovazn has joined #ruby
bricker`LA has joined #ruby
<abdulsattar> You can reassign values: keys[:DOWN] = ["new_arraY"]
_zxq9_ is now known as zxq9
dcfedde has quit [Remote host closed the connection]
dcfedde has joined #ruby
apeiros has joined #ruby
<abdulsattar> The_NetZ: FYI the keys array seems to support both arrow keys and WASD
makara has quit [Quit: Leaving]
<The_NetZ> abdulsattar: yes, that one does, but I'm writing something in c++ and that's just something I'm referencing.
YamakasY has quit [Remote host closed the connection]
<The_NetZ> i.e., I did not write that.
jgrevich has quit [Quit: jgrevich]
<The_NetZ> basically I'm looking to write a ruby wrapper type thing that will return one of the keys if glfw reports either a keyboard key or gamepad button/axis matching one of the values in the array is pressed.
CaptainJet has quit []
<The_NetZ> abdulsattar: question is, if the array has two items in it, can I reassign just one?
noobgains has quit [Quit: Leaving]
rails426 has joined #ruby
<abdulsattar> You can do Keys[:DOWN] = Keys[:DOWN][0]
<The_NetZ> ah nice, again, sorry for my extreme noobism.
<abdulsattar> It's alright
<The_NetZ> alrighty then, time to wrack my brain some more =_=
tjr9898_ has joined #ruby
tjr9898 has quit [Ping timeout: 240 seconds]
goganchic has quit []
CpuID has quit [Ping timeout: 246 seconds]
<The_NetZ> abdulsattar: don't suppose you know of a big reference of all the ruby 'variable' types and their pros, cons, and usage examples?
dumdedum has joined #ruby
Skaag has joined #ruby
<abdulsattar> http://www.zenspider.com/Languages/Ruby/QuickRef.html#types would be a good start. There are no pros,cons listed there though
<The_NetZ> good enough, thanks.
ndrei has quit [Ping timeout: 264 seconds]
evenix has quit [Remote host closed the connection]
<The_NetZ> hrm. ruby uses # where bash would use $, at least in some cases? I know a small amount of ruby, just trying to learn more :P
etqqkoiflwhb has joined #ruby
evenix has joined #ruby
tuttinator has quit [Quit: Linkinus - http://linkinus.com]
claymore has joined #ruby
Skaag has quit [Ping timeout: 240 seconds]
<omegahm> Is there a way to remove a key from a hash and return the rest of the hash, in a nice way? hash.delete(:key) will return the value of :key, but I just want to chain on and return the rest of the hash.
kitak_ has quit [Remote host closed the connection]
momigi has joined #ruby
dcfedde has quit [Remote host closed the connection]
james_d_h has joined #ruby
dcfedde has joined #ruby
makara has joined #ruby
evenix has quit [Ping timeout: 240 seconds]
yacks has quit [Quit: Leaving]
ndrei has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
_justin has quit [Quit: _justin]
derek_c has quit [Quit: Leaving]
bricker`LA has quit [Ping timeout: 246 seconds]
LiohAu has joined #ruby
james_d_h has quit [Ping timeout: 240 seconds]
NovapaX has joined #ruby
momigi has quit [Ping timeout: 240 seconds]
lyanchih has quit [Quit: lyanchih]
kitak has joined #ruby
felixflores has joined #ruby
_justin has joined #ruby
m1lt0n_ has joined #ruby
bricker`LA has joined #ruby
felixflores has quit [Ping timeout: 240 seconds]
kate_r has joined #ruby
sigurding has joined #ruby
Atww has joined #ruby
ephemerian has joined #ruby
postmodern has joined #ruby
<The_NetZ> ok, lets say we have a class Family with a class variable @@last_name and an instance variable @first_name; if the mother, an instance of family, marries another man, and takes on his @@last_name, this is passed to her children's @@last_name, since they are all instances of the same family class, but their @first_name remains the same due to they being separate per instance of the class?
Atw has quit [Ping timeout: 246 seconds]
<tobiasvl> don't use @@variables
<tobiasvl> that design means that if you create another Family, they have the same @@last_name …
h0lyalg0rithm has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest505 has quit [Changing host]
Guest505 has joined #ruby
Guest505 is now known as Nightmare
<tobiasvl> oh, no – the Family instances are supposed to be people? what kind of design is this
<The_NetZ> tobiasvl: yeah, I've read that bit too, I'm just making sure I do understand properly
yacks has joined #ruby
<havenwood> The_NetZ: Pretend @@class_variables just don't exist. $global_variables too for that matter other than ones that already exist that you might use.
<The_NetZ> otherwise everyone would share the same surname, lol.
<havenwood> omegahm: nothing pretty
<omegahm> havenwood: No, that's what I thought :(
<The_NetZ> and I assume that one should not use @@class_variables unless absolutely needed, yes?
<havenwood> omegahm: `hash.tap { |h| h.delete :key }` or the laborious `hash.reject! { |k, _| k == :key }`
<omegahm> Rails has hash.except(:key), but this isn't Rails
<tobiasvl> you'll never need them The_NetZ
<tobiasvl> NEVER
<The_NetZ> never say never :P
olivier_bK1 has joined #ruby
skaflem has joined #ruby
mansi has joined #ruby
ephemerian has quit [Quit: Leaving.]
dcfedde has quit [Remote host closed the connection]
nathansoz has joined #ruby
speakingcode has joined #ruby
Xiti` has joined #ruby
dcfedde has joined #ruby
nisstyre_ has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
werdnativ has quit [Quit: werdnativ]
andikr has joined #ruby
deadlock has quit [Quit: fuck off]
mansi has quit [Ping timeout: 241 seconds]
The_NetZ has quit [Ping timeout: 264 seconds]
The_NetZ has joined #ruby
<shevy> never
tyranjoff is now known as tyranja
abdulsattar is now known as never
Xiti has quit [Ping timeout: 240 seconds]
never is now known as abdulsattar
nathansoz has quit [Ping timeout: 264 seconds]
OdNairy has joined #ruby
<havenwood> omegahm: though i suppose if one ever went that way better to use `delete_if` than `reject!` so you don't go and chain a `nil`
ephemerian has joined #ruby
<havenwood> but meh
ahawkins has joined #ruby
<omegahm> havenwood: Two lines, non-chained it is :)
<havenwood> omegahm: :)
<The_NetZ> shevy: hehe, we meet again
<shevy> damn
<shevy> die!
roolo has quit [Quit: Leaving...]
<shevy> do we have anything in ruby that can compete with apache in terms of feature set?
<shevy> like also has MultiViews available
<shevy> and rewrite capability
speakingcode has quit [Ping timeout: 240 seconds]
mourest has joined #ruby
<The_NetZ> also, can someone explain a bit to me how to use my irbrc?
Salve has joined #ruby
proxie has quit []
<havenwood> The_NetZ: Use Pry.
razibog has joined #ruby
_justin has quit [Quit: _justin]
<The_NetZ> havenwood: pry being?
<The_NetZ> sorry, but I'm working on fixing a gradle issue
<havenwood> The_NetZ: An alternative to irb. A very nice tool to explore Ruby with. Just `gem install pry pry-doc` then use it instead of irb: http://pryrepl.org/
lyanchih has joined #ruby
<The_NetZ> hmm. interesting.
<havenwood> The_NetZ: Then you have .pryrc files instead of .irbrc.
Salve has quit [Ping timeout: 246 seconds]
bal has quit [Ping timeout: 246 seconds]
samuel02 has joined #ruby
nari has quit [Ping timeout: 264 seconds]
olivier_bK1 has quit [Quit: Quitte]
bal has joined #ruby
einarj has joined #ruby
coderhs has joined #ruby
olivier_bK has joined #ruby
mengu has quit [Remote host closed the connection]
<havenwood> shevy: rack middleware for rewrite: https://github.com/jtrupiano/rack-rewrite#readme
coderhs has quit [Client Quit]
leonidlm has joined #ruby
<havenwood> shevy: i don't see how MultiViews are applicable, or you mean like serving up PHP with a Ruby webserver? :O
<olivier_bK> hy all
<havenwood> hey
kitak has quit [Remote host closed the connection]
dcfedde has quit [Remote host closed the connection]
dcfedde has joined #ruby
jespada has joined #ruby
kitak has joined #ruby
nath_schwarz has joined #ruby
kitak has quit [Remote host closed the connection]
<apeiros> 09:15 havenwood: omegahm: though i suppose if one ever went that way better to use `delete_if` than `reject!` so you don't go and chain a `nil`
<apeiros> ^ huh, what?
kitak has joined #ruby
<apeiros> ah
<apeiros> reject!
<apeiros> d'uh
tils`` is now known as tils
<omegahm> :)
<apeiros> in my defense - it's still early in the morning
<omegahm> I love how every problem in the world can be solved with two simple characters. Colon End-Parenthesis
<The_NetZ> hehe
<popl> omegahm: can it?
<havenwood> apeiros: in my defense, it's too late at night!
<The_NetZ> :)
<popl> in my defense, I'm an idiot!
<popl> :)
<omegahm> popl: Or multiple, if you want Homer ≈(_8^(|)
<apeiros> popl: that's almost as good as the chewbacca defense!
<popl> laugh and the world laughs with you
claymore has quit [Ping timeout: 246 seconds]
<apeiros> does that apply to my evil laughter too?
<apeiros> I ask because I wouldn't want that. it'd destroy the moment :(
Alina-malina has joined #ruby
<The_NetZ> ಠ_ಠ
<The_NetZ> ^best unicode emote ever
* apeiros prefers tableflip
claymore has joined #ruby
<The_NetZ> lol
<The_NetZ> man, gnome is screwing me over =_=
<The_NetZ> time to revert to xfce4 and put this behind me XD
mourest has quit [Remote host closed the connection]
<The_NetZ> oh well
<omegahm> The_NetZ: I use LoD in my bash to signal an non-zero exit value
<omegahm> I love it
<popl> What do you do when you're feeling down?
<omegahm> Also, d(^_^)b from the good old bash.org days
<The_NetZ> lol
lyanchih has quit [Quit: lyanchih]
lyanchih has joined #ruby
diegoviola has quit [Read error: Connection reset by peer]
Skaag has joined #ruby
mengu has joined #ruby
timonv has joined #ruby
<The_NetZ> omegahm: heh, that's a good trick, lol. I should figure that out for zsh :P
Squarepy has joined #ruby
alexju has quit [Remote host closed the connection]
<The_NetZ> yeah, screw it, xfce4 is light and full featured, and is really easy on my crappy bandwith; pluss it'll probably tear ass far better than gnome does on my gpu :P
obs has joined #ruby
<popl> xmonad is fun
timonv has quit [Remote host closed the connection]
bal has quit [Quit: bal]
Skaag has quit [Ping timeout: 240 seconds]
dcfedde has quit [Remote host closed the connection]
<abdulsattar> xmonad is fun but I face a *lot* of problems setting it up and then a lot more using it
<popl> like what?
dcfedde has joined #ruby
<abdulsattar> Fullscreen stuff, it won't launch gnome's gksudo
cbreeze has joined #ruby
<abdulsattar> Constantly "this program has crashed" etc.
quatron has quit [Ping timeout: 246 seconds]
jamto11 has joined #ruby
<abdulsattar> Don't get me wrong though, I manage to use it and love it, but still it's a pain in the ass sometimes
bal has joined #ruby
Squarepy has quit [Quit: Leaving]
sk87 has joined #ruby
<omegahm> The_NetZ: I do something like this: https://gist.github.com/omegahm/9524688
AlexRussia has joined #ruby
sensen has joined #ruby
foredoomed has joined #ruby
Lewix has quit [Remote host closed the connection]
jamto11 has quit [Ping timeout: 240 seconds]
felixflores has joined #ruby
elaptics`away is now known as elaptics
francisfish has joined #ruby
guilleiguaran has quit [Quit: Connection closed for inactivity]
nvrch has joined #ruby
Azulinho has joined #ruby
Zunonia has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
yasushi has joined #ruby
<The_NetZ> omegahm: oh nice, I'm sure I could work that in
kayloos has quit [Remote host closed the connection]
felixflores has quit [Ping timeout: 246 seconds]
jeddie has joined #ruby
gaussblurinc has joined #ruby
kayloos has joined #ruby
_justin has joined #ruby
Azulinho has quit [Ping timeout: 240 seconds]
fijimunkii has quit [Ping timeout: 246 seconds]
Gadgetoid has quit [Ping timeout: 264 seconds]
yubrew has joined #ruby
Zunonia has joined #ruby
Mongey has joined #ruby
toastynerd has joined #ruby
<The_NetZ> yeah, this is much better.
<apeiros> btw. popl - please pull before writing further tests. there has been a global change (TableData -> Tabledata)
<The_NetZ> fuck alotta gnome-shell, they ruined it
<omegahm> The_NetZ: You got it to work?
kayloos has quit [Ping timeout: 240 seconds]
<omegahm> or are you just seeing ಠ_ಠ all over the place now?
_bart has joined #ruby
<The_NetZ> omegahm: no, lol. I'm not fiddling with it right now, I'm using zprezto, which is a pretty laberinthine set of zsh modules and such
<The_NetZ> dammit, gdm requires gnome-shell =_=
Gadgetoid has joined #ruby
kukyakya has quit [Remote host closed the connection]
* The_NetZ reallly doesn't wanna switch display managers
yubrew has quit [Ping timeout: 264 seconds]
klaut has quit [Remote host closed the connection]
nathansoz has joined #ruby
mansi has joined #ruby
dcfedde has quit [Remote host closed the connection]
toastynerd has quit [Ping timeout: 240 seconds]
OdNairy has quit []
dcfedde has joined #ruby
kukyakya has joined #ruby
Mongey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
razibog has quit [Quit: Leaving.]
nathansoz has quit [Ping timeout: 246 seconds]
mansi has quit [Ping timeout: 264 seconds]
Gadgetoid has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
fella5s has joined #ruby
Gadgetoid has joined #ruby
razibog has joined #ruby
arietis has joined #ruby
tjr9898 has joined #ruby
Salve has joined #ruby
bricker`LA has quit [Ping timeout: 264 seconds]
aspiers has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
bricker`LA has joined #ruby
tjr9898_ has quit [Ping timeout: 240 seconds]
ikaros has joined #ruby
AlexRussia has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
AlexRussia has joined #ruby
Salve has quit [Ping timeout: 246 seconds]
<jmaister> ಠ ‿ ಠ
jarg7 has quit [Ping timeout: 245 seconds]
razibog has quit [Ping timeout: 264 seconds]
koell has joined #ruby
sski has quit [Remote host closed the connection]
banister has joined #ruby
weems has quit [Read error: Connection reset by peer]
sski has joined #ruby
<Macaveli> When I do -> 38/10 it returns 3 instead of 3,8
jeddie has quit [Read error: Connection reset by peer]
<havenwood> Macaveli: try `38.fdiv 10` or `38 / 10.0` etc
vlad_starkov has quit [Remote host closed the connection]
dcfedde has quit [Remote host closed the connection]
dcfedde has joined #ruby
sski has quit [Ping timeout: 246 seconds]
ndrei has joined #ruby
jollyy has joined #ruby
<Hanmac> or require "mathn" but that might be dirty
<havenwood> >> 38/10r.to_f
<eval-in> havenwood => 3.8 (https://eval.in/119347)
<The_NetZ> whee, xfce
yasushi has quit [Remote host closed the connection]
mehlah has joined #ruby
gnagno has joined #ruby
<gnagno> hello all
vlad_starkov has joined #ruby
<havenwood> gnagno: hey
toastynerd has joined #ruby
newbie1r has joined #ruby
AlSquire has joined #ruby
obs has quit [Quit: Saliendo]
<newbie1r> Hello, what's a good GUI designer for Ruby on Linux
hermanmunster has quit [Remote host closed the connection]
<gnagno> I am developing a small gem that should have an executable file in the bin directory of the gem.... when I install it with I can execute it only with bundle exec .... can I install it so that I don't need bundle exec ?
<jmaister> Macaveli: Integer division returns an integer by default, so you have to cast at least one of the values to a decimal value to get a decimal result
flagg0204 has quit [Ping timeout: 252 seconds]
Mongey has joined #ruby
kayloos has joined #ruby
hermanmunster has joined #ruby
<Macaveli> havenwood, jmaister fdic works
<Hanmac> havenwood: i heard SOPA is back again ... again ... (it does respawn more often than ruby1.8)
<certainty> i doubt that
<havenwood> Hanmac: kill it with fire!
not_a_guest has quit [Quit: Connection closed for inactivity]
<jmaister> Macaveli: Yeah, I just explained why it works like that
razibog has joined #ruby
DaniG2k has joined #ruby
toastynerd has quit [Ping timeout: 240 seconds]
<jmaister> Macaveli: Just look at the source of fdiv to see what I mean http://apidock.com/ruby/Fixnum/fdiv
hermanmunster has quit [Ping timeout: 240 seconds]
Mongey has quit [Ping timeout: 264 seconds]
lolmaus_ has joined #ruby
lolmaus has quit [Ping timeout: 246 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
bricker`LA has quit [Ping timeout: 240 seconds]
<apeiros> jmaister: note that decimal != float
<jmaister> apeiros: True, but float is decimal
bricker`LA has joined #ruby
<apeiros> jmaister: no
<The_NetZ> Hanmac: 2.1.1 here :P
<apeiros> it's not, and it's important to understand it isn't.
<apeiros> it's the source of all those "why isn't 0.1 + 0.2 == 0.3?!?" confusions
obs has joined #ruby
<apeiros> >> 0.1 + 0.2 == 0.3
<eval-in> apeiros => false (https://eval.in/119350)
<Hanmac> The_NetZ: not important for me, i already use 2.2.0dev
crome has quit [Quit: leaving]
<The_NetZ> apeiros: because we work in 8bit code there is no perfect way to represent .1 in it, correct?
lkba has quit [Ping timeout: 264 seconds]
thomasxie has joined #ruby
timonv has joined #ruby
<apeiros> The_NetZ: almost. because float doesn't use decimal represent the values, it uses binary. that's why it can't represent 0.1, 0.2 and 0.3 exactly.
Advocation has joined #ruby
coderhut has joined #ruby
<The_NetZ> now if only homo sapiens had 3 fingers and a thumb :P
camilasan has quit [Remote host closed the connection]
Skaag has joined #ruby
<havenwood> >> 0.1r
<eval-in> havenwood => (1/10) (https://eval.in/119351)
ghazi2 has quit [Ping timeout: 240 seconds]
<apeiros> >> 0.1d
<eval-in> apeiros => /tmp/execpad-3495f35c507d/source-3495f35c507d:2: syntax error, unexpected tIDENTIFIER, expecting keyword_end (https://eval.in/119352)
razibog has quit [Quit: Leaving.]
<apeiros> that would have been nice :(
mengu has quit [Remote host closed the connection]
<certainty> :)
camilasan has joined #ruby
<apeiros> in my toylanguage, 0.1.class => Decimal, 0.1e.class # => Float
camilasan has quit [Remote host closed the connection]
camilasa_ has joined #ruby
<jmaister> >> 0.1.to_f + 0.2.to_f
<eval-in> jmaister => 0.30000000000000004 (https://eval.in/119353)
<apeiros> (0.1e is short for 0.1e0)
<apeiros> jmaister: 0.1.to_f is redundant
<apeiros> 0.1 already is a float
<jmaister> ja
<certainty> (real? -2.5+0.0i) ;=> #t
andrewlio has joined #ruby
claymore has quit [Ping timeout: 246 seconds]
klaut has joined #ruby
crome has joined #ruby
TMM has joined #ruby
quatron has joined #ruby
dcfedde has quit [Remote host closed the connection]
rdark has joined #ruby
<havenwood> gnagno: make sure your Ruby bin dir in in your path
Skaag has quit [Ping timeout: 240 seconds]
wald0 has quit [Quit: Lost terminal]
<havenwood> gnagno: which os?
dcfedde has joined #ruby
Azulinho has joined #ruby
claymore has joined #ruby
Zespre has quit [Quit: leaving]
<apeiros> why TF does `bundle update gitted_gem` sometimes not update to the latest rev? (╯°□°)╯︵ ┻━┻
spinx^ has quit [Ping timeout: 264 seconds]
malkomalko has joined #ruby
lyanchih has quit [Quit: lyanchih]
grzywacz has joined #ruby
malkomalko has quit [Remote host closed the connection]
sski has joined #ruby
felixflores has joined #ruby
workmad3 has joined #ruby
sk87 has joined #ruby
Azulinho has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
blackmesa has joined #ruby
pfg has joined #ruby
<The_NetZ> anyone know know where I can find the documentation on those magical rb_something_neat c code?
sski has quit [Ping timeout: 240 seconds]
<popl> ruby-doc.org?
<popl> What do you mean?
felixflores has quit [Ping timeout: 264 seconds]
Zespre has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
<The_NetZ> popl: I can't seem to find information on the c/c++ code for ruby, as in, doxygen for the c source files
<popl> oh
Skaag has joined #ruby
<popl> I don't know.
fgo_ has quit [Remote host closed the connection]
arietis has quit [Quit: Computer has gone to sleep.]
zeeraw has joined #ruby
<The_NetZ> nvm, think I found it
<popl> where?
<The_NetZ> under /usr/share/doc/ruby/, in the ruby-docs package >.>
Galgorth has quit []
bluenemo has joined #ruby
<popl> neat
pu22l3r_ has joined #ruby
<The_NetZ> ok bender XD
obs has quit [Quit: Saliendo]
nathansoz has joined #ruby
mansi has joined #ruby
dcfedde has quit [Remote host closed the connection]
pu22l3r has quit [Ping timeout: 240 seconds]
aaronmcadam has joined #ruby
lyanchih has joined #ruby
aaronmcadam has quit [Remote host closed the connection]
dcfedde has joined #ruby
aaronmcadam has joined #ruby
francisfish has quit [Remote host closed the connection]
YamakasY has joined #ruby
yfeldblum has quit [Remote host closed the connection]
nathansoz has quit [Ping timeout: 264 seconds]
mansi has quit [Ping timeout: 240 seconds]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Azulinho has joined #ruby
<The_NetZ> oh hey, that's cool... ri --server
dapz has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
The_NetZ has quit [Quit: leaving]
jollyy has quit [Quit: jollyy]
Salve has joined #ruby
chipotle has quit [Quit: cya]
Mongey has joined #ruby
arietis has joined #ruby
quatron has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ndrei has quit [Ping timeout: 240 seconds]
flagg0204 has joined #ruby
koell has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
Salve has quit [Ping timeout: 240 seconds]
jollyy has joined #ruby
ndrei has joined #ruby
drx_ has quit [Remote host closed the connection]
obs has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
dcfedde has quit [Remote host closed the connection]
dcfedde has joined #ruby
amskah has quit [Quit: Leaving]
coderhut has quit [Quit: Page closed]
jprovazn has quit [Quit: Leaving]
havenwood has quit []
jollyy has quit [Quit: jollyy]
dhanush has joined #ruby
<dhanush> Hi. I have ruby 1.9.3 pre installed. Now when I install rake, it installs ruby 1.8 over 1.9.3 as the default installation. Can I prevent this somehow?
<workmad3> dhanush: 1.9.3 pre? any reason you're using an ancient pre-release version? :/
postmodern has quit [Quit: Leaving]
jds_ has joined #ruby
Zunonia has quit [Quit: Computer has gone to sleep.]
thomasxie has left #ruby [#ruby]
<dhanush> workmad3: ruby --version -> ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
Deele has joined #ruby
<dhanush> workmad3: Im not really sure. I needed ruby>=1.9.2 as a dependency. So this was available.
fgo_ has joined #ruby
blackmesa has joined #ruby
quatron has joined #ruby
sdouglas has joined #ruby
perlsyntax has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
dcfedde has quit [Remote host closed the connection]
Azulinho has quit [Ping timeout: 240 seconds]
Mongey is now known as Mongey-away
claymore has quit [Ping timeout: 246 seconds]
dcfedde has joined #ruby
yubrew has joined #ruby
<Hanmac> dhanush: ubuntu or debian system?
jamto11 has joined #ruby
<dhanush> Hanmac: Linux Mint 13.
<Hanmac> dhanush: use "update-alternatives --config gem"
Azulinho has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
blackmesa has quit [Ping timeout: 240 seconds]
jlebrech has joined #ruby
seich- has quit [Ping timeout: 240 seconds]
kitak has quit [Remote host closed the connection]
claymore has joined #ruby
<dhanush> Hanmac: I think you mean --config ruby ?
compleatang has quit [Read error: No route to host]
<Hanmac> no, there is a --config for gem too
<dhanush> Hanmac: Yes there is. But I want the default ruby to be version 1.9.3
seich- has joined #ruby
<Hanmac> you need both
<dhanush> Hanmac: Oh. great!
yubrew has quit [Ping timeout: 240 seconds]
jamto11 has quit [Ping timeout: 246 seconds]
mgomezch_ has quit [Ping timeout: 265 seconds]
mourest has joined #ruby
drx_ has joined #ruby
evenix has joined #ruby
nari has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx__ has joined #ruby
Mongey-away has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drx_ has joined #ruby
quatron has quit [Ping timeout: 246 seconds]
AlexRussia has quit [Excess Flood]
lkba has joined #ruby
compleatang has joined #ruby
evenix has quit [Ping timeout: 240 seconds]
ixti has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
sensen has quit [Quit: leaving]
drx_ has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
nowthatsamatt has quit [Quit: nowthatsamatt]
drx_ has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
drx_ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
glebm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phansch has quit [Quit: WeeChat 0.4.2]
dcfedde has quit [Remote host closed the connection]
drx_ has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
drx_ has joined #ruby
dcfedde has joined #ruby
doodlehaus has joined #ruby
jprovazn has joined #ruby
jlebrech has quit [Read error: Connection reset by peer]
cbreeze has quit [Ping timeout: 246 seconds]
drx__ has joined #ruby
kennym has joined #ruby
razibog has joined #ruby
mostlybadfly has joined #ruby
jlebrech has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
drx__ has quit [Read error: Connection reset by peer]
drx__ has joined #ruby
jkamenik has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
rails426 has quit [Ping timeout: 240 seconds]
drx__ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
lyanchih has quit [Ping timeout: 240 seconds]
zeeraw has joined #ruby
camilasa_ has quit [Remote host closed the connection]
drx_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
drx_ has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
francisfish has quit [Remote host closed the connection]
Salve has joined #ruby
drx__ has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
camilasan has joined #ruby
Mongey is now known as Mongey-away
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
codeitagile has joined #ruby
Mongey-away has quit [Client Quit]
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
drx___ has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
kayloos has quit [Remote host closed the connection]
Mongey has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
drx_ has quit [Ping timeout: 264 seconds]
abdulsattar has quit [Ping timeout: 264 seconds]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
Salve has quit [Ping timeout: 241 seconds]
drx_ has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasa_ has quit [Read error: Connection reset by peer]
drx_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
drx_ has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
fijimunkii has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
razibog has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
drx__ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
drx__ has quit [Read error: Connection reset by peer]
camilasa_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
drx_ has quit [Read error: Connection reset by peer]
camilasa_ has quit [Read error: Connection reset by peer]
dcfedde has quit [Remote host closed the connection]
drx_ has joined #ruby
camilasan has joined #ruby
Zaratustra has quit [Remote host closed the connection]
camilasan has quit [Read error: Connection reset by peer]
<dhanush> rake install is erroring out on too many connection resets. Is there a way I can force it to retry?
dcfedde has joined #ruby
camilasan has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
drx_ has quit [Read error: Connection reset by peer]
camilasan has quit [Read error: Connection reset by peer]
SCommette has joined #ruby
drx_ has joined #ruby
camilasan has joined #ruby
Skaag has quit [Ping timeout: 240 seconds]
camilasan has quit [Read error: Connection reset by peer]
<lolmaus_> How do i map a hash?
camilasan has joined #ruby
<apeiros> hash.map
_justin has quit [Ping timeout: 264 seconds]
camilasan has quit [Read error: Connection reset by peer]
drx_ has quit [Read error: Connection reset by peer]
<apeiros> lolmaus_: hash.map { …code… } # just like any other Enumerable
drx_ has joined #ruby
camilasan has joined #ruby
banister has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<lolmaus_> apeiros: oh, i've been looking for `map` method in Hash while it's actually in Enumerable. Thx.
camilasan has quit [Read error: Connection reset by peer]
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
camilasan has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
camilasan has quit [Read error: Connection reset by peer]
<lolmaus_> apeiros: can you please expand "...code..." in your example? I don't understand how to return key-value pairs.
camilasa_ has joined #ruby
<apeiros> [key, value]
camilasa_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
<lolmaus_> apeiros: thx
<apeiros> you can always only return a single object
camilasan has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
timonv has quit [Remote host closed the connection]
camilasan has quit [Read error: Connection reset by peer]
drx__ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
<lolmaus_> apeiros: that would return an array of arrays. I need to return a modified hash.
camilasan has joined #ruby
timonv has joined #ruby
timonv has quit [Remote host closed the connection]
camilasan has quit [Read error: Connection reset by peer]
timonv has joined #ruby
ndrei has joined #ruby
camilasan has joined #ruby
vlad_starkov has joined #ruby
<apeiros> lolmaus_: map always returns an array
<gaussblurinc> how to make regex from string: '.txt|.m'?
drx__ has quit [Read error: Connection reset by peer]
<apeiros> if you want a hash, you have to convert it back
camilasan has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
<lolmaus_> apeiros: so there's not way to directly map a hash to a hash in Ruby?
<apeiros> lolmaus_: a) (ruby 2.0+) hash.map { … }.to_h b) (ruby 1.8.7+) Hash[hash.map { … }]
camilasan has joined #ruby
<lolmaus_> apeiros: thx
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
drx__ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
zeeraw has joined #ruby
<_bart> Howdy
drx_ has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
camilasan has joined #ruby
_justin has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
linojon has joined #ruby
yubrew has joined #ruby
dblessing has joined #ruby
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasa_ has quit [Remote host closed the connection]
camilasan has joined #ruby
drx__ has joined #ruby
nvrch has quit [Quit: nvrch]
perlsyntax has quit [Quit: Textual IRC Client: www.textualapp.com]
ndrei has quit [Ping timeout: 264 seconds]
larissa has joined #ruby
drx___ has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 240 seconds]
grzywacz has quit [Ping timeout: 240 seconds]
SCommette has quit [Quit: SCommette]
drx_ has quit [Ping timeout: 264 seconds]
grayWolf has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
dcfedde has quit [Remote host closed the connection]
drx_ has quit [Read error: Connection reset by peer]
dcfedde has joined #ruby
jollyy has joined #ruby
drx_ has joined #ruby
<lolmaus_> apeiros: no Array#to_h in 2.0.0. :(
<apeiros> oh, is it 2.1 only? :(
<lolmaus_> Yep
<apeiros> I thought it had been added in 2.0 already. sorry.
sigurding has quit [Quit: sigurding]
ndrei has joined #ruby
<lolmaus_> apeiros: why there is no method to directly map a hash to a hash? :(
drx__ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
<lolmaus_> I think it's very basic and common functionality
quatron has joined #ruby
doodlehaus has quit [Remote host closed the connection]
Skaag has joined #ruby
<apeiros> lolmaus_: I don't know why there isn't one. but it's trivial to add one.
drx_ has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
<apeiros> lolmaus_: class Hash; def map_pairs(&block); Hash[map(&block)]; end; def map_pairs!(&block); replace(map_pairs(&block)); end; ned
drx__ has quit [Ping timeout: 246 seconds]
browndawg has joined #ruby
yjmsf20 has joined #ruby
Advocation has quit [Quit: Advocation]
grayWolf is now known as Speed
drx__ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx__ has quit [Read error: Connection reset by peer]
pu22l3r_ has quit [Remote host closed the connection]
drx_ has joined #ruby
<lolmaus_> apeiros: compiling Ruby 2.1.1 ^_^
<apeiros> lolmaus_: hf :)
ndrei has quit [Ping timeout: 240 seconds]
drx__ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
mengu has quit [Remote host closed the connection]
<krz> how do i check if any of the elements in array 1 are in array 2?
<krz> or whats a good way?
lxsameer has quit [Quit: Leaving]
timonv has quit [Remote host closed the connection]
<apeiros> ary1 & ary2 # => intersection
<krz> (a - b).empty? doesnt do too well
<krz> ah
ndrei has joined #ruby
timonv has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
gberger has quit [Ping timeout: 246 seconds]
drx_ has joined #ruby
SonicX has quit [Read error: Connection reset by peer]
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
nathansoz has joined #ruby
sk87 has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
_tpavel has joined #ruby
mansi has joined #ruby
drx_ has joined #ruby
timonv has quit [Ping timeout: 264 seconds]
codeitagile has quit [Remote host closed the connection]
foooobear has joined #ruby
Advocation has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
dcfedde has quit [Remote host closed the connection]
cantonic has quit [Quit: cantonic]
dcfedde has joined #ruby
eka has joined #ruby
nathansoz has quit [Ping timeout: 240 seconds]
drx__ has joined #ruby
phutch1ns has joined #ruby
_bart has quit [Ping timeout: 240 seconds]
drx_ has quit [Read error: Connection reset by peer]
mansi has quit [Ping timeout: 240 seconds]
shaileshg has quit [Quit: Connection closed for inactivity]
drx_ has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
mark_locklear has joined #ruby
drx__ has joined #ruby
perlsyntax has joined #ruby
<apeiros> lolmaus_: https://gist.github.com/apeiros/9527275 (same thing as before, but now under my account)
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<lolmaus_> apeiros: you should include map_pairs definition
drx___ has joined #ruby
drx_ has quit [Write error: Connection reset by peer]
aryaching has joined #ruby
<apeiros> lolmaus_: ?
<apeiros> line 18-20
Adrao has quit [Ping timeout: 252 seconds]
<lolmaus_> Oh right
<apeiros> I tried all non-bang methods
<lolmaus_> apeiros: this should be included in Ruby.
Salve has joined #ruby
drx_ has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
drx__ has quit [Read error: Connection reset by peer]
yacks has quit [Remote host closed the connection]
<apeiros> lolmaus_: write on the ML and ask, and/or add a bug ticket on redmine
ixti has quit [Quit: WeeChat 0.4.3]
drx_ has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
ixti has joined #ruby
drx_ has joined #ruby
nowthatsamatt has joined #ruby
RaCx has quit [Client Quit]
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
banister has joined #ruby
bawNg has joined #ruby
Salve has quit [Ping timeout: 240 seconds]
Mongey is now known as Mongey-away
<bawNg> igrigorik never uses IRC does he?
Mongey-away has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drx_ has quit [Read error: Connection reset by peer]
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
drx_ has joined #ruby
etqqkoiflwhb has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
jollyy has quit [Quit: jollyy]
drx_ has quit [Read error: Connection reset by peer]
<apeiros> bawNg: haven't seen him in #ruby or #ruby-lang
drx_ has joined #ruby
<apeiros> but might just be that he uses a nick I don't know
<bawNg> apeiros: I've just discovered a MAJOR issue with em-http-request
<bawNg> I'm going to have to write my own HTTP client from scratch now
<apeiros> bawNg: github issue, mail, twitter
jollyy has joined #ruby
_bart has joined #ruby
<bawNg> A single HTTP request using em-http-request slows down the entire EventMachine reactor by 86 times, forever
<apeiros> "my wheel went flat, I'll have to build a car on my own now"?
<apeiros> that sounds awful
drx_ has quit [Read error: Connection reset by peer]
<bawNg> apeiros: This is a serious performance issue, and debugging the massive gem will take too long, it'll be faster to use the same http parser and just implement my own light weight http client
hermanmunster has joined #ruby
drx_ has joined #ruby
<bawNg> what is more worrying though, is how such a major issue has gone unnoticed for so long, this is something used in massive production applications
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
klue has joined #ruby
Mongey has joined #ruby
Mongey has quit [Client Quit]
<shevy> has anyone compared the speed of 2.1.x and 1.9.x ?
<apeiros> bawNg: it may well be that its occurrence is coincidental
<apeiros> shevy: I bet someone has, and that someone is on google.
dcfedde has quit [Remote host closed the connection]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
RaCx has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
nowthatsamatt has quit [Quit: nowthatsamatt]
dcfedde has joined #ruby
drx_ has joined #ruby
<shevy> nah
<bawNg> apeiros: How so?
popl has quit [Ping timeout: 264 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drx_ has quit [Read error: Connection reset by peer]
<apeiros> bawNg: I don't know. But it'd explain why it went unnoticed. Because it's not exhibited in all cases.
drx_ has joined #ruby
<apeiros> *might
<bawNg> I was profiling my code to figure out what part of http requests was having such a major performance impact on my application, and a minimal test case which makes a single em-http-request and then just samples the tick rate, and the result is extremely clear
<apeiros> bawNg: even if you go with writing your own client, I'd still file the ticket.
<Hanmac> apeiros: "ask google" like that? https://i.chzbgr.com/maxW500/8096161536/hAB9227EF/
monkegjinni has joined #ruby
<bawNg> apeiros: Although it slows the reactor down by ~86 times, not everyone would notice it, I'm sampling around 950 ticks per second so that my sampling does not cause overhead, those ~950 ticks drop to 11 after a single em-http-request has been made
drx__ has joined #ruby
RaCx has quit [Ping timeout: 240 seconds]
<bawNg> That means the reactor runs at ~2315 ticks instead of 200 000
<bawNg> My application sends and receives up to 5000 UDP packets a second, and needs to be able to scale up well, so this kind of peformance issue is very noticable
<shevy> valua:new().type("string").len(3,5)("test string!")
timonv has joined #ruby
<shevy> guess which language this is ^^^
drx_ has quit [Ping timeout: 246 seconds]
ebetancourt has joined #ruby
yubrew has joined #ruby
drx_ has joined #ruby
<Hanmac> shevy: is "valua" correct or should that be "value" ?
<shevy> Hanmac hehe
<shevy> the name gives a hint to the language used
<shevy> validate lua
drx__ has quit [Ping timeout: 246 seconds]
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
Rix has quit [Ping timeout: 252 seconds]
<lolmaus_> apeiros: wham! https://bugs.ruby-lang.org/issues/9635 I'm sorry i didn't mention your gist. I've asked for a `key => value` iteration style instead of `[key, value]` because i think it's more natural for hashes.
<apeiros> lolmaus_: which will be why it will get slammed down
<apeiros> nobody wants new syntax for a *single* use case
<lolmaus_> :(
dhanush has left #ruby ["Zzz.."]
<apeiros> at least it'd be the reason why I'd vote against it
drx_ has quit [Read error: Connection reset by peer]
drx__ has joined #ruby
cbreeze has joined #ruby
danshultz has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
<shevy> don't let apeiros vote!
tvw has quit [Ping timeout: 246 seconds]
<shevy> let's vote on @@@variables
<shevy> +1
drx__ has quit [Read error: Connection reset by peer]
danshultz has quit [Remote host closed the connection]
drx_ has joined #ruby
browndawg has quit [Ping timeout: 265 seconds]
SCommette has joined #ruby
<apeiros> I want §vars
agjacome has joined #ruby
<tobiasvl> ¤vars
monkegjinni has quit [Remote host closed the connection]
drx_ has quit [Read error: Connection reset by peer]
<apeiros> who'd want currency variables? o0
<Hanmac> shevy what about @$vars ? ;P
drx_ has joined #ruby
abdulsattar has joined #ruby
<shevy> hmm
<apeiros> I also want @{code} to silence errors, like our great inspiration, php!
<shevy> Hanmac not sure if this can work?
<shevy> I mean the parser must understand @@ at least
<matti> PHP all the things!
<matti> ;s
<shevy> and the various ${1} ones
rmorello has joined #ruby
* matti puts some PHP in shevy's coffee
Mongey has joined #ruby
sigurding has joined #ruby
<shevy> hey
<shevy> I actually liked some parts of PHP
drx_ has quit [Read error: Connection reset by peer]
<shevy> the web focus was a good thing
Rober9393 has joined #ruby
<tobiasvl> that error handling is so whack
<lolmaus_> In Javascript, you can limit variable scope by putting a piece of code into a self-invoked function. E. g.: `var foo = "foo"; function() { var foo = "bar"; console.log(foo); }(); console.log(foo);` would print "bar" and "foo". Is there a way to limit the scope in Ruby?
<tobiasvl> @fopen('http://example.com/not-existing-file', 'r');
drx_ has joined #ruby
yasushi has joined #ruby
<matti> shevy: You are either crazy or possessed by Zend Daemon.
<matti> Quick! Exorcise shevy!
<shevy> matti no, it was rather nice, you could output stuff on the web really easily
<apeiros> lolmaus_: rubys local variables are already local
<apeiros> so you don't need such tricks
<shevy> what is the usual route for newcomer to ruby to do the same ... hmmmmmm learn rails!
<tobiasvl> scream.enabled
<matti> shevy: Next thing you will metion CGI or SSI ;s
<shevy> well .cgi error reporting is not on par with .php :(
<matti> "shevy: I loved writing SSIs in shell"
<shevy> "Internal Server Error" never told me much
<lolmaus_> apeiros: i think i should learn about closures.
drx__ has joined #ruby
<lolmaus_> apeiros: in my feature request i wasn't asking for new syntax. What i asked uses existing syntax and can be implemented in a few lines of Ruby.
drx_ has quit [Read error: Connection reset by peer]
<apeiros> lolmaus_: `hashy_map { |key, value| key.upcase => value.reverse }` is not valid existing syntax
<matti> shevy: PHP error reporting page often costed people server - especially when it revealed too much information to naughty people ;] But this is not an issue with PHP in its own right ;]
dcfedde has quit [Remote host closed the connection]
<apeiros> lolmaus_: `hashy_map { |key, value| {key.upcase => value.reverse} }` would be, but it's quite a bit less efficient than [a,b]
monkegjinni has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
<lolmaus_> apeiros: i see. :(
drx_ has joined #ruby
dcfedde has joined #ruby
jamto11 has joined #ruby
<shevy> matti well you can always say the same about ruby in .cgi, just the opposite - because you need to log at the server log, and you had no real alternative to the direct display. there is some addon by a japanese hacker but it's not on par with what php offered
<shevy> *to look
browndawg has joined #ruby
<matti> ;p
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
mikecmpbll is now known as mikecmpbll`lunch
<matti> shevy: I called Ruby Inquistion to exorcise you.
<matti> shevy: Stay put.
failshell has joined #ruby
klue has quit [Ping timeout: 240 seconds]
<shevy> the ruby inquisition is busy with mruby
<certainty> exercise shevy?
<shevy> no :(
<shevy> I prefer exorcise
<shevy> exercise sounds like torture
<bawNg> apeiros: I reported the major issue, lets hope someone can solve it fairly soon... https://github.com/igrigorik/em-http-request/issues/266
<matti> shevy: A friendly video-tutorial will prepare you for whats to come: https://www.youtube.com/watch?v=Tym0MObFpTI
<shevy> haha
drx__ has joined #ruby
mansi has joined #ruby
<shevy> the monty python crew
Cope__ is now known as Cope
<shevy> the only thing ever good to come out of the UK
<shevy> and fish and chips
<shevy> (hahahaha)
<matti> Off
workmad3 has joined #ruby
<shevy> or fish and chimps
* matti pokes shevy with a pointy stick
jamto11 has quit [Ping timeout: 240 seconds]
nowthatsamatt has joined #ruby
failshel_ has joined #ruby
<shevy> matti some people complained that others only refer to monty python
<matti> shevy: Did they?
<shevy> and not about anything else like little britain or ... mr. president or whatever the name was
<shevy> yeah
drx___ has joined #ruby
<matti> shevy: We'll send Ruby Inquisition after them too, no worries.
<shevy> but monty python is like 100x more times funnier even than the others, even if they are good
drx__ has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
drx_ has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
tvw has joined #ruby
felixflores has joined #ruby
davedev24 has joined #ruby
<apeiros> lolmaus_: our proxy is atm a bit broken, can't view it :(
<apeiros> {k => v} vs. [k,v] is a 3x difference btw.
drx_ has joined #ruby
<apeiros> in an empty map
<matti> shevy: "Computer says no"
<shevy> matti man I am not so fast
<shevy> matti I still watch the spanish inquisition
mourest has quit [Ping timeout: 246 seconds]
<matti> shevy: You see, its the PHP. Too slow ;p
failshell has quit [Ping timeout: 264 seconds]
jprovazn is now known as jprovazn_afk
Mongey has quit [Read error: Connection reset by peer]
drx__ has joined #ruby
paulfm has joined #ruby
Mongey has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
tharindu has quit [Quit: Leaving...]
fannye has joined #ruby
camilasan has quit [Remote host closed the connection]
drx___ has quit [Ping timeout: 268 seconds]
camilasan has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
drx___ has joined #ruby
Azulinho has quit [Ping timeout: 268 seconds]
stringoO has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
felixflores has quit [Ping timeout: 264 seconds]
glebm has joined #ruby
camilasan has joined #ruby
Speed has quit [Ping timeout: 246 seconds]
drx_ has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
vlad_starkov has joined #ruby
ebetancourt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nomenkun_ has joined #ruby
<matti> ROTFL
<matti> Ooops, wrong channel.
drx_ has joined #ruby
mjs2600 has joined #ruby
nomenkun has quit [Ping timeout: 241 seconds]
drx_ has quit [Read error: Connection reset by peer]
mansi has quit [Remote host closed the connection]
drx_ has joined #ruby
tjr9898 has quit [Remote host closed the connection]
drx___ has quit [Read error: Connection reset by peer]
mansi has joined #ruby
nathansoz has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
ikaros has quit [Quit: Ex-Chat]
ndrei has joined #ruby
drx_ has joined #ruby
chris_thomson has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drx__ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
ikaros has joined #ruby
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
Salve has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
dcfedde has quit [Remote host closed the connection]
drx_ has joined #ruby
nathansoz has quit [Ping timeout: 264 seconds]
<shevy> lol
<shevy> "A gemified version of Syck from Ruby's stdlib. Syck has been removed from Ruby's stdlib, and this gem is meant to bridge the gap for people that haven't updated their YAML yet."
dcfedde has joined #ruby
<gaussblurinc> hm, general question about ruby and all.. should I fork project for pull requests on github?
<shevy> dunno
<shevy> I use people's github only for reporting issues :>
drx_ has quit [Read error: Connection reset by peer]
nomenkun_ has quit [Ping timeout: 240 seconds]
freezey has joined #ruby
mikecmpbll`lunch is now known as mikecmpbll
drx_ has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
adkron has joined #ruby
yfeldblum has joined #ruby
sk87 has joined #ruby
<tobiasvl> gaussblurinc: yes, a pull request pulls in a fork
yakko has quit [Ping timeout: 264 seconds]
<shevy> wow that gem works
nvrch has joined #ruby
<shevy> I may finally be able to use ruby 2.1.1
<tobiasvl> gaussblurinc: you make a fork, preferable make a feature branch, commit to that and then create a pull request for your fork's feature branch
drx_ has quit [Read error: Connection reset by peer]
<tobiasvl> gaussblurinc: then the main repo owner merges inn your branch if accepted
kayloos has joined #ruby
<apeiros> shevy: um… I told you months ago to use that to port your yaml data…
felixflores has joined #ruby
drx_ has joined #ruby
<shevy> I can't port the yaml dataset unfortunately :(
<apeiros> you can set your yamler to syck, load the data, change the yamler to psych and dump the data -> bam, yaml converted from syck to psych
dideler_work has joined #ruby
<apeiros> why not?
<shevy> I explained that a few hundred times, it is not possible for me to switch to UTF* for several reasons
felixflores has quit [Remote host closed the connection]
<shevy> I can however autogenerate valid yaml
snath has quit [Ping timeout: 240 seconds]
foredoomed has quit [Remote host closed the connection]
drx_ has quit [Read error: Connection reset by peer]
<shevy> but this means I can switch now!
<shevy> I did not know there was a syck gem
drx_ has joined #ruby
fijimunkii has quit [Ping timeout: 240 seconds]
<shevy> so I can locally still use syck, and for all my gems I can use psych as the yaml will be valid finally
yfeldblum has quit [Ping timeout: 241 seconds]
<shevy> apeiros did you really suggest this already? :D
drx_ has quit [Read error: Connection reset by peer]
<apeiros> shevy: yes.
scttnlsn has quit [Ping timeout: 246 seconds]
<apeiros> shevy: for some reason I think your "several reasons" are "I don't want to"
agarie has joined #ruby
drx_ has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<shevy> no, it is not possible
francisfish has joined #ruby
pdimitrov has joined #ruby
<shevy> but now I don't have to anymore!
<shevy> and all my new yaml files will be valid
<shevy> \o/
drx__ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
IceDragon has joined #ruby
<shevy> ruby 2.1.1p76 (2014-02-24 revision 45161) [i686-linux]
<shevy> \o/
<shevy> \o~
yacks has joined #ruby
<shevy> \o_
<shevy> \o/
<shevy> matti dance with me!
tkuchiki has quit [Ping timeout: 240 seconds]
* certainty is dancing tango with shevy
<certainty> ole
dik_dak has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
<apeiros> shevy: they actually won't be valid. they'll just be syck compatible.
<shevy> can you dance certainty?
<apeiros> (well, they may be valid - not all of syck was broken)
drx_ has joined #ruby
<certainty> shevy: sure!
<shevy> apeiros hmm
<shevy> I will find out soon!
zz_jrhorn424 is now known as jrhorn424
<certainty> not tango though
<shevy> tango is dancing with a stick in the a..
<certainty> arm?
francisfish has quit [Ping timeout: 240 seconds]
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
Xiti` has quit [Quit: Leaving]
scttnlsn has joined #ruby
drx__ has joined #ruby
chris_thomson has quit [Quit: Zzz...]
drx_ has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
lw has joined #ruby
nomenkun has quit [Remote host closed the connection]
drx__ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
<certainty> i think shevy has "several reasons" not to dance with me :)
armyriad has quit [Ping timeout: 264 seconds]
etqqkoiflwhb has joined #ruby
dkamioka has joined #ruby
banister has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
<apeiros> tango? with a stick in the a…? you've never danced tango.
jlebrech has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
<certainty> last time i danced was at my wedding
* apeiros didn't dance at his wedding :(
acrussell has joined #ruby
grzywacz has joined #ruby
dcfedde has quit [Remote host closed the connection]
drx_ has quit [Read error: Connection reset by peer]
drx__ has joined #ruby
Skaag has quit [Ping timeout: 246 seconds]
dcfedde has joined #ruby
doodlehaus has joined #ruby
drx_ has joined #ruby
drx___ has joined #ruby
jollyy has quit [Quit: jollyy]
etqqkoiflwhb has quit [Ping timeout: 292 seconds]
Vovko has joined #ruby
larsam has quit [Read error: Connection reset by peer]
drx___ has quit [Read error: Connection reset by peer]
mgberlin has joined #ruby
drx___ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
AlexRussia has quit [Remote host closed the connection]
makara has quit [Excess Flood]
drx__ has quit [Ping timeout: 315 seconds]
Advocation has quit [Quit: Advocation]
drx___ has quit [Read error: Connection reset by peer]
fridim__ has quit [Ping timeout: 265 seconds]
drx_ has joined #ruby
cover has joined #ruby
m4n1f3st0 has joined #ruby
gr33n7007h has quit [Read error: Operation timed out]
mjs2600 has quit [Write error: Broken pipe]
phantomtiger has joined #ruby
jlebrech has joined #ruby
makara has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
codabrink has joined #ruby
renklaf has joined #ruby
zachallett has joined #ruby
blandflakes has joined #ruby
razibog has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
fgo_ has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
CreativeEmbassy has joined #ruby
jetblack has joined #ruby
drx_ has joined #ruby
foredoomed has joined #ruby
felixflores has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx__ has joined #ruby
sambao21 has joined #ruby
SCommette has quit [Quit: SCommette]
DouweM has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
gberger has joined #ruby
gberger has quit [Read error: Connection reset by peer]
kevind has joined #ruby
pu22l3r has joined #ruby
pu22l3r has quit [Remote host closed the connection]
gnagno has quit [Ping timeout: 246 seconds]
pu22l3r has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
mlpinit has joined #ruby
drx_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gaussblurinc> if I have a gem, that I want to contributed, how to provide in require path to git repo, not to a gem for tests?
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
<gaussblurinc> to local git repo, not to an installed gem
<tobiasvl> gaussblurinc: cd into the local git repo and do gem install
<tobiasvl> gem will search the local dir before checking for online gems
ffranz has joined #ruby
<matti> shevy: I only do Twist.
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
<gaussblurinc> so, I will replace gem, correct?
zeeraw has joined #ruby
<tobiasvl> well you might want to uninstall the central gem first
sigurding has joined #ruby
vpretzel_ is now known as vpretzel
drx_ has quit [Read error: Connection reset by peer]
drx__ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<gaussblurinc> tobiasvl: ok, sudo gem install gemname?
jlast has joined #ruby
<gaussblurinc> tobiasvl: for local installation
Shidash has joined #ruby
<tobiasvl> sure. or drop the sudo or do gem install --user-install to install it locally
IceyEC has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
<tobiasvl> that is, in ~/.gem
relix has joined #ruby
obs has quit [Quit: Konversation terminated!]
obs has joined #ruby
drx_ has joined #ruby
yacks has quit [Ping timeout: 255 seconds]
drx__ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
tjr9898 has joined #ruby
Advocation has joined #ruby
tjr9898 has quit [Remote host closed the connection]
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tjr9898 has joined #ruby
mlpinit has quit [Remote host closed the connection]
Skaag has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
m4n1f3st0 has joined #ruby
drx_ has joined #ruby
npearson has joined #ruby
failshell has joined #ruby
sailias has joined #ruby
aryaching has joined #ruby
kaliya has joined #ruby
cpruitt has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
jamto11 has joined #ruby
BeingUntoDeath has joined #ruby
BeingUntoDeath has quit [Client Quit]
maximski has joined #ruby
nomenkun has joined #ruby
BeingUntoDeath has joined #ruby
failshel_ has quit [Ping timeout: 240 seconds]
drx__ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
npearson has quit [Read error: No route to host]
npearson_ has joined #ruby
Kneferilis has quit [Read error: Connection reset by peer]
Skaag has quit [Ping timeout: 264 seconds]
drx__ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
yubrew has joined #ruby
gregf has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
albedoa has joined #ruby
claymore has quit [Ping timeout: 268 seconds]
drx_ has joined #ruby
mlpinit has joined #ruby
jamto11_ has joined #ruby
alexju has joined #ruby
mjs2600 has joined #ruby
nathansoz has joined #ruby
drx__ has joined #ruby
mjs2600 has quit [Remote host closed the connection]
drx_ has quit [Read error: Connection reset by peer]
philcrissman has joined #ruby
freezey has quit [Remote host closed the connection]
freerobby has joined #ruby
claymore has joined #ruby
whitedawg has joined #ruby
drx_ has joined #ruby
evenix has joined #ruby
camilasan has quit [Remote host closed the connection]
thomasxie has joined #ruby
camilasan has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
AlexRussia has joined #ruby
spinx^ has joined #ruby
blackmesa has joined #ruby
drx_ has joined #ruby
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nomenkun_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
nathansoz has quit [Ping timeout: 240 seconds]
<dkamioka> hey guys, so about 2.1.1... I read about a new Garbage collector thing... anyone can point me some studies about this new GC? Things like, performance tests, and so on...
camilasan has joined #ruby
Azulinho has joined #ruby
m4n1f3st0 has joined #ruby
drx__ has quit [Ping timeout: 240 seconds]
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
lxsameer has quit [Quit: Leaving]
fveillette has quit [Ping timeout: 240 seconds]
arubin has joined #ruby
nomenkun has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
mary5030 has joined #ruby
Mongey has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
camilasan has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
fveillette has joined #ruby
mary5030 has joined #ruby
camilasan has joined #ruby
drx__ has joined #ruby
_justin has quit [Ping timeout: 240 seconds]
camilasan has quit [Read error: Connection reset by peer]
mjs2600 has joined #ruby
failshel_ has joined #ruby
sigurding has quit [Read error: Connection reset by peer]
mjs2600 has quit [Remote host closed the connection]
camilasan has joined #ruby
sigurding has joined #ruby
freezey has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
mengu has quit [Ping timeout: 246 seconds]
camilasan has joined #ruby
drx___ has joined #ruby
apeiros has quit [Remote host closed the connection]
mavcunha has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
Avahey_ has quit [Quit: Connection closed for inactivity]
camilasan has joined #ruby
apeiros has joined #ruby
drx_ has quit [Ping timeout: 255 seconds]
jollyy has joined #ruby
mr_rich101 has quit [Ping timeout: 240 seconds]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
camilasan has quit [Write error: Connection reset by peer]
failshell has quit [Ping timeout: 241 seconds]
Lulzon has quit [Ping timeout: 252 seconds]
camilasan has joined #ruby
drx_ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
camilasan has quit [Read error: Connection reset by peer]
mjs2600 has joined #ruby
mavcunha has quit [Client Quit]
camilasan has joined #ruby
adam12 has quit [Ping timeout: 252 seconds]
drx__ has quit [Ping timeout: 264 seconds]
camilasan has quit [Read error: Connection reset by peer]
twiceaday has quit [Ping timeout: 240 seconds]
drx_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
drx__ has joined #ruby
mr_rich101 has joined #ruby
adam_ has joined #ruby
twiceaday has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
fannye has quit [Read error: Connection reset by peer]
Lulzon has joined #ruby
camilasan has joined #ruby
thomasxie has left #ruby [#ruby]
camilasan has quit [Read error: Connection reset by peer]
freezey_ has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
mlpinit has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
dkamioka has quit [Remote host closed the connection]
camilasan has quit [Read error: Connection reset by peer]
mlpinit has joined #ruby
mansi has joined #ruby
mengu has quit [Read error: No route to host]
camilasan has joined #ruby
jobewan has joined #ruby
mengu has joined #ruby
mlpinit has quit [Remote host closed the connection]
camilasan has quit [Read error: Connection reset by peer]
freezey has quit [Ping timeout: 240 seconds]
drx_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
drx_ has joined #ruby
CorySimmons has joined #ruby
CorySimmons has quit [Max SendQ exceeded]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
camilasan has quit [Read error: Connection reset by peer]
apeiros has quit [Ping timeout: 264 seconds]
klue has joined #ruby
klue has quit [Changing host]
klue has joined #ruby
camilasan has joined #ruby
CorySimmons has joined #ruby
rayners has joined #ruby
aryaching_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
drx__ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
nomenkun_ has quit [Ping timeout: 264 seconds]
yacks has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
drx__ has quit [Read error: Connection reset by peer]
momigi has joined #ruby
mlpinit has joined #ruby
drx_ has joined #ruby
xcv has joined #ruby
camilasan has joined #ruby
failshel_ has quit []
Xiti has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
makara has quit [Ping timeout: 240 seconds]
ctp has joined #ruby
ij has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
camilasan has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
camilasan has joined #ruby
cantonic has joined #ruby
fannye has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
drx_ has quit [Read error: Connection reset by peer]
camilasa_ has quit [Read error: Connection reset by peer]
drx__ has joined #ruby
sk87 has joined #ruby
camilasan has joined #ruby
lw has quit [Quit: s]
camilasan has quit [Read error: Connection reset by peer]
jds_ has quit [Quit: Connection closed for inactivity]
camilasan has joined #ruby
m4n1f3st0 has quit [Read error: Connection reset by peer]
mtlatif__ has quit [Quit: Connection closed for inactivity]
camilasan has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
camilasan has joined #ruby
m4n1f3st0 has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
paulfm has quit [Read error: Connection reset by peer]
paulfm has joined #ruby
rudisimo has joined #ruby
camilasan has joined #ruby
drx__ has quit [Ping timeout: 255 seconds]
claymore has quit [Ping timeout: 240 seconds]
camilasan has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
camilasan has joined #ruby
lmickh has joined #ruby
drx__ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
drx_ has quit [Read error: Connection reset by peer]
gnagno has joined #ruby
peterellisjones has joined #ruby
camilasan has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
claymore has joined #ruby
drx_ has joined #ruby
DrShoggoth has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
quatron has quit [Ping timeout: 246 seconds]
camilasan has joined #ruby
Kneferilis has joined #ruby
mjs2600 has quit [Remote host closed the connection]
camilasan has quit [Read error: Connection reset by peer]
lupnix has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
drx_ has joined #ruby
<lupnix> Having some issues with thread connections staying open and using up all of the connections to my database in rails, any suggestions on resources to solve this?
camilasan has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
himsin has quit [Quit: himsin]
jamto11_ has quit []
ndrei has quit [Ping timeout: 264 seconds]
camilasa_ has quit [Read error: Connection reset by peer]
<tobiasvl> lupnix: maybe #rubyonrails is a good resource
<lupnix> ok will hop over there, thanks
camilasan has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx__ has joined #ruby
<tobiasvl> np and good luck
camilasan has quit [Read error: Connection reset by peer]
CorySimmons has quit [Quit: Bye!]
camilasan has joined #ruby
lupnix has quit [Client Quit]
ndrei has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
crystal77 has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
jamto11 has quit []
nomenkun has quit [Ping timeout: 240 seconds]
camilasan has quit [Read error: Connection reset by peer]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
camilasan has joined #ruby
drx_ has joined #ruby
drager has quit [Changing host]
drager has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
rococo has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
drx_ has quit [Read error: Connection reset by peer]
drx__ has joined #ruby
_zxq9_ has joined #ruby
northfurr has joined #ruby
drx__ has quit [Read error: Connection reset by peer]
gigetoo_ has joined #ruby
zxq9 has quit [Write error: Broken pipe]
jlebrech has quit [Write error: Broken pipe]
krz has quit [Write error: Broken pipe]
spinx^_ has joined #ruby
vlad_starkov has joined #ruby
Mongey has joined #ruby
camilasa_ has joined #ruby
anarang has quit [Quit: Leaving]
camilasa_ has quit [Read error: Connection reset by peer]
tagrudev has quit [Ping timeout: 246 seconds]
dkamioka has joined #ruby
camilasan has joined #ruby
drx_ has joined #ruby
jprovazn_afk is now known as jprovazn
camilasan has quit [Read error: Connection reset by peer]
DrShoggoth has quit [Quit: Leaving]
ndrei has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
camilasan has joined #ruby
aces1up has joined #ruby
drx___ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
larissa has quit [Read error: Connection reset by peer]
DrShoggoth has joined #ruby
nomenkun has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
agjacome_ has joined #ruby
drx_ has joined #ruby
shaunbak_ has joined #ruby
ga1j1n has joined #ruby
ce_afk is now known as cescalante
toastynerd has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
ga1j1n has quit [Remote host closed the connection]
drx_ has joined #ruby
hobodave has joined #ruby
drx___ has joined #ruby
mengu has quit [Remote host closed the connection]
adsisco has joined #ruby
ga1j1n has joined #ruby
sparrovv has joined #ruby
nateberkopec has quit [Excess Flood]
drx___ has quit [Read error: Connection reset by peer]
aboudreault_ has joined #ruby
nateberkopec has joined #ruby
bluenemo has quit [Excess Flood]
drx___ has joined #ruby
Gooder has quit [Excess Flood]
camt has quit [Remote host closed the connection]
flagg0204 has quit [Excess Flood]
TMM has quit [Excess Flood]
drx_ has quit [Read error: Connection reset by peer]
TigerWolf has quit [Excess Flood]
flagg0204 has joined #ruby
aboudreault has quit [Excess Flood]
aboudreault_ is now known as aboudreault
aboudreault has quit [Changing host]
aboudreault has joined #ruby
olivier_bK has quit [Excess Flood]
nateberkopec has quit [Client Quit]
adam_ has quit [Excess Flood]
bluenemo has joined #ruby
mehlah has quit [Excess Flood]
olivier_bK has joined #ruby
mehlah_ has joined #ruby
npearson has joined #ruby
Sthebig has quit [Excess Flood]
mehlah_ is now known as mehlah
Sthebig has joined #ruby
Sthebig has quit [Changing host]
Sthebig has joined #ruby
TMM has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
drx has joined #ruby
ga1j1n has quit [Read error: Connection reset by peer]
hermanmunster has quit [Remote host closed the connection]
ga1j1n has joined #ruby
npearson_ has quit [Ping timeout: 240 seconds]
mjs2600 has joined #ruby
dkamioka has quit [Remote host closed the connection]
hermanmunster has joined #ruby
aryaching has joined #ruby
drx has quit [Read error: Connection reset by peer]
mjs2600 has quit [Remote host closed the connection]
spinx^ has quit [Write error: Broken pipe]
gigetoo has quit [Write error: Broken pipe]
gigetoo_ is now known as gigetoo
obs_ has joined #ruby
drx has joined #ruby
thesheff17 has joined #ruby
duggiefresh has joined #ruby
mjs2600 has joined #ruby
ndrei has joined #ruby
xerxas has joined #ruby
aryaching_ has quit [Write error: Broken pipe]
Mon_Ouie has quit [Ping timeout: 771 seconds]
obs has quit [Ping timeout: 255 seconds]
aganov has quit [Ping timeout: 771 seconds]
agjacome has quit [Remote host closed the connection]
paolooo has joined #ruby
foredoomed has quit [Remote host closed the connection]
geggam has joined #ruby
arturaz has joined #ruby
drx has quit [Read error: Connection reset by peer]
adam_ has joined #ruby
razibog has quit [Quit: Leaving.]
drx has joined #ruby
Celm has joined #ruby
nateberkopec has joined #ruby
drx has quit [Read error: Connection reset by peer]
toastynerd has quit [Remote host closed the connection]
hermanmunster has quit [Ping timeout: 255 seconds]
aces1up9939 has quit [Ping timeout: 268 seconds]
geopet has joined #ruby
drx has joined #ruby
nathansoz has joined #ruby
tvw has quit []
drx has quit [Read error: Connection reset by peer]
camt has joined #ruby
richardc has joined #ruby
drx has joined #ruby
richardc has quit [Client Quit]
nateberkopec has quit [Client Quit]
spider-mario has joined #ruby
drx has quit [Read error: Connection reset by peer]
drx has joined #ruby
mjs2600 has quit [Remote host closed the connection]
bal has quit [Quit: bal]
nathansoz has quit [Ping timeout: 240 seconds]
foooobear has quit [Ping timeout: 240 seconds]
drx has quit [Read error: Connection reset by peer]
ehc has joined #ruby
drx has joined #ruby
ga1j1n has quit [Remote host closed the connection]
tjr9898 has quit [Remote host closed the connection]
fijimunkii has joined #ruby
toastynerd has joined #ruby
drx_ has joined #ruby
yfeldblum has joined #ruby
newbie1r has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
bal has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
lw has joined #ruby
monkegjinni has quit [Remote host closed the connection]
rippa has joined #ruby
drx has quit [Ping timeout: 240 seconds]
bahar has quit [Ping timeout: 240 seconds]
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
RaCx has joined #ruby
npearson has quit [Ping timeout: 255 seconds]
saarinen has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx has joined #ruby
RaCx has quit [Client Quit]
ndrei has quit [Ping timeout: 255 seconds]
guilleiguaran has joined #ruby
canton7-mac has joined #ruby
drx has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 255 seconds]
drx has joined #ruby
francisfish has joined #ruby
toastynerd has quit [Remote host closed the connection]
npearson has joined #ruby
Takumo has quit [Ping timeout: 265 seconds]
kayloos_ has joined #ruby
Speed has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
drx_ has joined #ruby
albedoa has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
francisfish has quit [Read error: Connection reset by peer]
freezey_ has quit [Remote host closed the connection]
francisfish has joined #ruby
Hamburglr has joined #ruby
adkron_ has joined #ruby
mgberlin has quit [Remote host closed the connection]
mark_locklear has quit [Ping timeout: 240 seconds]
Hamburglr has quit [Client Quit]
drx_ has quit [Read error: Connection reset by peer]
drx___ has joined #ruby
drx has quit [Read error: Connection reset by peer]
snath has joined #ruby
tyranja is now known as tyranjovka
adkron has quit [Ping timeout: 240 seconds]
rainmanjam has joined #ruby
kayloos has quit [Ping timeout: 264 seconds]
adkron_ is now known as adkron
Takumo has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
iceden has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
Solnse has joined #ruby
drx has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
albedoa has joined #ruby
danman has joined #ruby
cbreeze has quit [Ping timeout: 240 seconds]
drx has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
mengu has quit [Client Quit]
saarinen has quit [Quit: saarinen]
drx has joined #ruby
npearson_ has joined #ruby
grzywacz has quit [Ping timeout: 255 seconds]
drx has quit [Read error: Connection reset by peer]
aces1up has quit [Ping timeout: 255 seconds]
drx has joined #ruby
drx_ has quit [Ping timeout: 264 seconds]
npearson has quit [Ping timeout: 240 seconds]
ga1j1n has joined #ruby
drx has quit [Read error: Connection reset by peer]
xuisce has joined #ruby
mikepack has joined #ruby
drx has joined #ruby
duggiefresh has quit [Read error: Connection reset by peer]
duggiefresh has joined #ruby
xuisce has left #ruby [#ruby]
drx has quit [Read error: Connection reset by peer]
pu22l3r_ has joined #ruby
axl_ has joined #ruby
drx has joined #ruby
tjr9898 has joined #ruby
ndrei has joined #ruby
<shevy> so cool
<shevy> ruby 2.1.1p76 \o/
drx has quit [Read error: Connection reset by peer]
quatron has joined #ruby
drx has joined #ruby
terrellt has joined #ruby
bahar has joined #ruby
ij has quit [Ping timeout: 255 seconds]
pu22l3r has quit [Ping timeout: 240 seconds]
esteban_ has joined #ruby
esteban_ is now known as estebanrules
drx has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
estebanrules has quit [Client Quit]
mark_locklear has joined #ruby
newbie1r has joined #ruby
tylersmith has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx has joined #ruby
m1lt0n_ has quit [Quit: leaving]
yasushi has quit [Remote host closed the connection]
larsam has joined #ruby
nomenkun_ has joined #ruby
cantonic has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
jamto11 has joined #ruby
drx has quit [Read error: Connection reset by peer]
cantonic has joined #ruby
paolooo has quit [Ping timeout: 245 seconds]
Justinas has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
nomenkun has quit [Ping timeout: 264 seconds]
drx_ has quit [Read error: Connection reset by peer]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
drx has joined #ruby
sigurding has quit [Quit: sigurding]
mikepack has quit []
aalmenar has joined #ruby
ereslibre has joined #ruby
aalmenar has quit [Changing host]
ereslibre has joined #ruby
aalmenar has joined #ruby
ereslibre has quit [Changing host]
blasius has joined #ruby
<Justinas> Hello guys. I wanna write a method in ruby which would return a pointer to array, but i am getting different object_id's. any suggestions why?
drx_ has joined #ruby
sigurding has joined #ruby
<DouweM> Justinas: what problem are you trying to solve and what have you tried?
<banister> Justinas a *pointer* to an array?
<banister> Justinas ruby doesnt have pointers
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
npearson_ has quit [Remote host closed the connection]
npearson has joined #ruby
AlexRussia has quit [Remote host closed the connection]
drx has quit [Ping timeout: 240 seconds]
aspires has joined #ruby
AlexRussia has joined #ruby
<tobiasvl> Justinas: please show us your code at http://gist.github.com
ndrei has joined #ruby
mgberlin has joined #ruby
drx has joined #ruby
danman has quit [Quit: danman]
mikepack has joined #ruby
bean has joined #ruby
drx has quit [Read error: Connection reset by peer]
npearson_ has joined #ruby
npearson has quit [Read error: No route to host]
drx has joined #ruby
gizmore has joined #ruby
chipotle has joined #ruby
<Justinas> i am getting different objet_id's of location array and
hobodave has quit [Quit: Computer has gone to sleep.]
<Justinas> altitude method
<Justinas> but i want them to return same
drx_ has quit [Ping timeout: 240 seconds]
mgberlin has quit [Remote host closed the connection]
arietis has joined #ruby
<DouweM> I have no idea what you're doing
<DouweM> could you show the code where you run into this problem?
cescalante is now known as ce_afk
<DouweM> if it's a problem at all
drx has quit [Read error: Connection reset by peer]
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drx has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Justinas> hold on, ill write everything
phansch has joined #ruby
phantasm66 has joined #ruby
drx has quit [Read error: Connection reset by peer]
drx has joined #ruby
paulfm has quit []
mgberlin has joined #ruby
Lewix has joined #ruby
ij has joined #ruby
mikepack has quit [Remote host closed the connection]
coreyfinley has joined #ruby
drx has quit [Read error: Connection reset by peer]
m4n1f3st0 has joined #ruby
drx has joined #ruby
<Justinas> https://gist.github.com/anonymous/769f0ed8ba8bd45c6886 if I can help you understand my problem more clearly, let me know
juarlex has joined #ruby
drx has quit [Read error: Connection reset by peer]
drx has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
ferr has joined #ruby
<tobiasvl> well for one, you are aware that var=+1 just sets var to 1?
shaunbak_ has quit [Remote host closed the connection]
<tobiasvl> you probably mean +=1
smathieu has joined #ruby
<tobiasvl> which adds one to the current value
ferr has quit [Client Quit]
ga1j1n has quit [Remote host closed the connection]
drx has quit [Read error: Connection reset by peer]
ga1j1n has joined #ruby
<DouweM> also, you're probably not looking for @altitude but altitude, the method
drx has joined #ruby
abdulsattar has quit [Ping timeout: 264 seconds]
_bart has quit [Ping timeout: 240 seconds]
<Justinas> =+1 is jut ok for the test
<Justinas> i want it to be set for 1 if its not
newbie1r has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<tobiasvl> Justinas: yeah i see the tests now. cool
<tobiasvl> as long as you're aware of it ;)
tharindu_ has joined #ruby
lw has quit [Quit: s]
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drx_ has joined #ruby
drx has quit [Read error: Connection reset by peer]
bal has quit [Quit: bal]
<Justinas> anyway, deleting the "@ changes nothing". when I am trying to print object_id, I get "3" which for me is wierd
yarou has joined #ruby
IceDragon_ has joined #ruby
<DouweM> you see why deleting the @ would definitely make a difference?
Skaag has joined #ruby
camilasan has quit []
IceDragon has quit [Disconnected by services]
IceDragon_ is now known as IceDragon
<DouweM> why are you bothering with object_id anyway?
drx_ has quit [Read error: Connection reset by peer]
<Justinas> as long as object_id's of altitude and location isnt the same i am working with different objects
drx has joined #ruby
<Justinas> isnt I?
bahar has quit [Ping timeout: 264 seconds]
axl_ has quit [Quit: axl_]
<DouweM> altitude and location would never be the same, as the one is an array and the other is a value within that array
ndrei has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<DouweM> and you're currently working with some new @altitude, which is not the same thing as the altitude method, and thus not the same thing as @location[2]
<DouweM> And notice that your flap_up and flap_down methods currently both increment
fraterlaetus has joined #ruby
tylersmith has quit [Remote host closed the connection]
toastynerd has joined #ruby
drx has quit [Read error: Connection reset by peer]
drx has joined #ruby
hobodave has joined #ruby
hobodave has quit [Client Quit]
hobodave has joined #ruby
<Justinas> even if i changed @altitude to altitude in flap_up method I keep getting 0 in my tests
m4n1f3st0 has joined #ruby
hobodave has quit [Client Quit]
<DouweM> Justinas: you see why changing @altitude to altitude would be the solution? at least in theory, if not in practice, apparently
drx_ has joined #ruby
drx has quit [Read error: Connection reset by peer]
<DouweM> if it's not actually working, that's another issue, but the @ definitely needs to go
nathansoz has joined #ruby
andrewhl has joined #ruby
hobodave has joined #ruby
Skaag has quit [Ping timeout: 255 seconds]
bradhe has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
<Justinas> I mean ok, I'am surely thinking java-like what is probably bad but as I can imagine @ sets the variable available to class methods, and @@ makes it static. isnt it?
mjs2600 has joined #ruby
drx has joined #ruby
mjs2600 has quit [Remote host closed the connection]
<DouweM> that's kind of right, but in this case you'd be working with an @altitude that's completely unrelated to the altitude method
hobodave has quit [Client Quit]
<DouweM> and thus completely unrelated to @location[2]
<DouweM> you'd just be setting a new @altitude variable that wouldn't affect @location[2] at all
hobodave has joined #ruby
<DouweM> so it makes sense that bird.altitude would still be 0
hobodave has quit [Client Quit]
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
hobodave has joined #ruby
sigurding has quit [Read error: Connection reset by peer]
jeregrine has joined #ruby
drx_ has joined #ruby
sigurding has joined #ruby
maximski has quit []
tjr9898 has quit [Remote host closed the connection]
markisonfire has joined #ruby
RaCx has joined #ruby
hobodave has quit [Client Quit]
Vivekananda has joined #ruby
hobodave has joined #ruby
<Justinas> ok, thank you very much. Gonna be trying to figure out whats more stops this code from working
hobodave has quit [Client Quit]
dkamioka has joined #ruby
axl_ has joined #ruby
nathansoz has quit [Ping timeout: 255 seconds]
drx___ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
<DouweM> you know where to find us if you have any other issues
<shevy> >> RUBY_VERSION
<eval-in> shevy => "2.1.0" (https://eval.in/119626)
werdnativ has joined #ruby
<shevy> haha! you stupid bot! I am in the future!
drx has quit [Ping timeout: 240 seconds]
<DouweM> :')
tjr9898 has joined #ruby
<shevy> RUBY_VERSION # => "2.1.1"
maletor has joined #ruby
<shevy> though only in minor future
Justinas has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
drx___ has quit [Read error: Connection reset by peer]
_bart has joined #ruby
drx has joined #ruby
<DouweM> shevy: what's it like in the future?
arturaz has quit [Ping timeout: 255 seconds]
Skaag has joined #ruby
jespada has quit [Quit: Leaving]
thesheff17 has quit [Ping timeout: 264 seconds]
<shevy> DouweM lots of warnings
<shevy> not really sure if 2.1.1 is so much faster
<shevy> and I have to modify case when menus now with duplicates :(
<shevy> menu.rb:1573: warning: duplicated when clause is ignored
drx has quit [Read error: Connection reset by peer]
<shevy> about 100 warnings like that still to go! 50 done...
gaussblurinc has quit [Quit: Leaving.]
drx has joined #ruby
yfeldblum has joined #ruby
goleldar has joined #ruby
bean has joined #ruby
Azulinho has quit [Ping timeout: 241 seconds]
drx has quit [Read error: Connection reset by peer]
drx has joined #ruby
beanHolez has joined #ruby
drx has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
tylersmith has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
drx_ has quit [Read error: Connection reset by peer]
coreyfinley has quit [Remote host closed the connection]
drx has joined #ruby
Celm has quit [Ping timeout: 241 seconds]
jlebrech has joined #ruby
paulfm has joined #ruby
weaksauce has quit [Quit: Linkinus - http://linkinus.com]
drx has quit [Read error: Connection reset by peer]
blasius has quit []
<shevy> biggest problem is that this is super boring
drx has joined #ruby
aryaching_ has joined #ruby
yarou has quit [Remote host closed the connection]
drx has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
billy_ran_away has joined #ruby
aryaching has quit [Ping timeout: 255 seconds]
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
himsin has joined #ruby
himsin has quit [Client Quit]
RaCx has quit [Quit: Computer has gone to sleep.]
kevind_ has joined #ruby
drx has joined #ruby
<billy_ran_away> Anyone know an elegant way to determine what timezone is closest to midnight right now?
TMM has quit [Quit: Ex-Chat]
Lewix has quit [Remote host closed the connection]
zachallett has quit [Remote host closed the connection]
timonv has quit [Read error: Connection reset by peer]
timonv has joined #ruby
GaryOak_ has joined #ruby
wallerdev has joined #ruby
drx has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
claymore has quit [Quit: Leaving]
drx has joined #ruby
_tpavel has quit [Quit: Leaving]
<AlexRussia> where i possible get help by json and transifex?
Ziarkaen has joined #ruby
kevind has quit [Ping timeout: 240 seconds]
kevind_ is now known as kevind
drx_ has quit [Ping timeout: 264 seconds]
thesheff17 has joined #ruby
<shevy> billy_ran_away hmm no idea... but if you find out, make a gem please :)
<billy_ran_away> hahaha
drx has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
<AlexRussia> shevy: what you know abotu json?
timonv has quit [Remote host closed the connection]
<AlexRussia> about*
<shevy> Timezone.closest_to_midnight? # "New Zealand"
<shevy> AlexRussia no idea, I use mostly yaml, not json
<shevy> I think web guys use json a lot more often
timonv has joined #ruby
<AlexRussia> shevy: idk, i get error on transifex: 'OrderedDict' object has no attribute 'encode'
mgberlin has quit [Remote host closed the connection]
<shevy> cool
<AlexRussia> yah
<shevy> sounds like a shitty gem!
x1337807x has joined #ruby
<DouweM> I know JSON, I don't know transifex
drx_ has quit [Read error: Connection reset by peer]
<AlexRussia> shevy: transifex.com bro
<AlexRussia> DouweM: but maybe is simple error?
<AlexRussia> DouweM: 'OrderedDict' object has no attribute 'encode'
<AlexRussia> DouweM: what is object?
<AlexRussia> DouweM: in json?
drx has joined #ruby
<DouweM> AlexRussia: can you give us your code?
xuisce has joined #ruby
<AlexRussia> DouweM: yah, is open source ;)
<DouweM> the code you get the error with
<shevy> lol
<AlexRussia> DouweM: you say, json file?
<xuisce> shevy: hello
<xuisce> :)
<shevy> AlexRussia - Give us ruby code, so we can reproduce the error you have!
<xuisce> I'm going to start Ruby today D:
<xuisce> :D
<DouweM> AlexRussia: where do you see this error?
<shevy> xuisce did you not say this 10 days ago ...
<DouweM> xuisce: good for you
<AlexRussia> DouweM: cause i'm not a transifex developer, i get is when uploda file to json
<AlexRussia> upload*
<xuisce> shevy: yeah sorry I've been busy
<xuisce> :P
<shevy> upload file *to* json? to? where is to
drx has quit [Read error: Connection reset by peer]
<DouweM> AlexRussia: then where do you see this error? on transifex?
<AlexRussia> DouweM: upload to transifex
<AlexRussia> DouweM: uhu
drx has joined #ruby
<DouweM> well, then I'd like to see the JSON that triggers that error
<stringoO> If I'm using the to_proc & like this - .map(&:to_s), how to I pass params to the to_s? .map(&:to_s(2)) throws an error
<DouweM> but if you're getting a Ruby error when uploading a file, it sounds like their problem, not yours
<shevy> xuisce well ok... as long as it won't be in 5 days "Hi, I am xuisce, and today I will learn ruby!!!"
<DouweM> stringoO: you can't
<xuisce> haha :)
<DouweM> stringoO: just use a block
<xuisce> shevy: will do
<stringoO> DouweM: thanks!
Rober9393 has quit [Ping timeout: 271 seconds]
<AlexRussia> DouweM: https://gist.github.com/9531950
Spami has joined #ruby
<AlexRussia> DouweM: idk, maybe transifex used ruby, maybe no
<AlexRussia> DouweM: easy i know, on this channal good people ;)
<AlexRussia> channel*
<AlexRussia> just*
drx has quit [Read error: Connection reset by peer]
drx has joined #ruby
timonv has quit [Ping timeout: 264 seconds]
Rober9393 has joined #ruby
<DouweM> if it's not your code and you're not sure they use ruby, what does it have to do with us?
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<BeingUntoDeath> :O
<shevy> lol
iliketurtles has joined #ruby
wallerdev has quit [Quit: wallerdev]
ebwise has joined #ruby
pwh has quit []
drx has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
rickruby has joined #ruby
drx_ has joined #ruby
rickruby has quit [Remote host closed the connection]
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
ndrei has quit [Ping timeout: 255 seconds]
VTLob has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
philcrissman has quit [Remote host closed the connection]
drx has joined #ruby
crantron has quit [Ping timeout: 240 seconds]
b00stfr3ak has quit [Ping timeout: 255 seconds]
y_gick has joined #ruby
Rober9393 has quit [Ping timeout: 264 seconds]
drx has quit [Read error: Connection reset by peer]
drx has joined #ruby
<y_gick> I started learning ruby at the beginning of week... I must say that the book learning ruby is easy to understand
leonidlm has quit [Ping timeout: 240 seconds]
<y_gick> however Lazy Enumerators are very hard to understand
dkamioka has quit [Remote host closed the connection]
tjr9898 has quit [Remote host closed the connection]
<DouweM> you're familiar with the concept?
<y_gick> not so far
jhass|off is now known as jhass
drx has quit [Read error: Connection reset by peer]
albedoa has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
drx has joined #ruby
<AlexRussia> DouweM: You know json ;)
<AlexRussia> DouweM: i dont know some channel for find mans, understand in json
<DouweM> AlexRussia: right, but JSOn is pretty straightforward, and it can be validated using numerous tools
<y_gick> my brain is swimming in the large number of features of ruby
<DouweM> y_gick: :)
Eiam has joined #ruby
Eiam has quit [Client Quit]
<DouweM> y_gick: any specific questions? anything in particular about lazy enumeration you can't wrap your head around?
<AlexRussia> >>"y_gick".times(5)
<eval-in> AlexRussia => undefined method `times' for "y_gick":String (NoMethodError) ... (https://eval.in/119666)
<AlexRussia> So really?
drx has quit [Read error: Connection reset by peer]
<tobiasvl> >> 5.times('y_gick')
<eval-in> tobiasvl => wrong number of arguments (1 for 0) (ArgumentError) ... (https://eval.in/119667)
<AlexRussia> ah
<tobiasvl> eh
<AlexRussia> lool
<tobiasvl> >> 5.times { puts 'y_gick' }
<eval-in> tobiasvl => y_gick ... (https://eval.in/119668)
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<AlexRussia> every forget this XD
<AlexRussia> tobiasvl: cool
drx has joined #ruby
<AlexRussia> tobiasvl: blocks rulez?
Skaag has quit [Ping timeout: 241 seconds]
<tobiasvl> yes
<DouweM> >> "y_gick" * 5
<eval-in> DouweM => "y_gicky_gicky_gicky_gicky_gick" (https://eval.in/119669)
<y_gick> what that's heck
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
ffranz has quit [Ping timeout: 264 seconds]
andikr has quit [Remote host closed the connection]
<AlexRussia> DouweM: but what is Object in json and what say error?
jamto11 has quit [Remote host closed the connection]
<DouweM> AlexRussia: a JSON object is one of those { "key": "value" } things
<DouweM> AlexRussia: the error sounds like an error with the service's code, not with your JSON
<AlexRussia> DouweM: hm,ok
<DouweM> AlexRussia: you can run your JSON through a json validator or parser if you want to be sure it's not you
drx_ has joined #ruby
<AlexRussia> DouweM: where this tool?
<DouweM> AlexRussia: use google :P there's numerous
<y_gick> >> 3.times { puts "lazy" }
<eval-in> y_gick => lazy ... (https://eval.in/119671)
centrx has joined #ruby
<y_gick> ah
<y_gick> ok
drx_ has quit [Read error: Connection reset by peer]
drx___ has joined #ruby
<DouweM> that's not lazy enumeration, if that's what you're wondering
bluenemo has quit [Remote host closed the connection]
<DouweM> it's just a block yielded thrice
timonv has joined #ruby
ffranz has joined #ruby
nateberkopec has joined #ruby
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sigurding has quit [Quit: sigurding]
drx has quit [Ping timeout: 240 seconds]
Eiam has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
drx has joined #ruby
banister has joined #ruby
danshultz has joined #ruby
havenwood has joined #ruby
ffranz has quit [Client Quit]
philcrissman has joined #ruby
sdouglas has joined #ruby
ffranz has joined #ruby
nateberkopec has quit [Client Quit]
weems has joined #ruby
weems has quit [Changing host]
weems has joined #ruby
drx_ has joined #ruby
drx has quit [Read error: Connection reset by peer]
phantasm66 has quit [Quit: *poof*]
abdulsattar has joined #ruby
ga1j1n has quit [Remote host closed the connection]
drx_ has quit [Read error: Connection reset by peer]
drx has joined #ruby
jamto11 has joined #ruby
mercwithamouth has joined #ruby
nateberkopec has joined #ruby
dkamioka has joined #ruby
ferr has joined #ruby
dingus_khan has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
dagobah has joined #ruby
drx_ has joined #ruby
Voodoofish4301 has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
timonv has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
tils has quit [Ping timeout: 246 seconds]
drx_ has quit [Read error: Connection reset by peer]
nisstyre_ has joined #ruby
drx_ has joined #ruby
wallerdev has joined #ruby
drx has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Client Quit]
Es0teric has joined #ruby
mrogne has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
drx has joined #ruby
dingus_khan has quit [Ping timeout: 255 seconds]
ga1j1n has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
dingus_khan has joined #ruby
sk87 has joined #ruby
Shidash has quit [Ping timeout: 255 seconds]
xsdg_ has quit [Ping timeout: 240 seconds]
drx has quit [Read error: Connection reset by peer]
philcrissman has quit [Remote host closed the connection]
drx has joined #ruby
m4n1f3st0 has joined #ruby
jaimef has quit [Excess Flood]
blackmes1 has joined #ruby
Lewix has joined #ruby
drx_ has joined #ruby
YamakasY has quit [Ping timeout: 240 seconds]
dagobah has quit [Quit: Leaving...]
sambao21 has joined #ruby
blackmes1 has quit [Client Quit]
blackmesa has quit [Ping timeout: 264 seconds]
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
drx has quit [Ping timeout: 255 seconds]
mikee has quit [Remote host closed the connection]
drx_ has quit [Read error: Connection reset by peer]
ga1j1n has quit [Remote host closed the connection]
drx has joined #ruby
<shevy> but with a lazy attitude!
ga1j1n has joined #ruby
saarinen has quit [Quit: saarinen]
nathansoz has joined #ruby
jaimef has joined #ruby
drx_ has joined #ruby
claymore has joined #ruby
drx___ has joined #ruby
kaliya has quit [Quit: Lost terminal]
drx has quit [Ping timeout: 264 seconds]
RaCx has joined #ruby
nathansoz has quit [Ping timeout: 255 seconds]
drx has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
yarou has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
saarinen has joined #ruby
drx_ has quit [Ping timeout: 264 seconds]
crystal77 has joined #ruby
_justin has joined #ruby
drx has quit [Read error: Connection reset by peer]
drx has joined #ruby
mjs2600 has joined #ruby
ce_afk is now known as cescalante
mikepack has quit [Remote host closed the connection]
albedoa has joined #ruby
drx_ has joined #ruby
drx has quit [Read error: Connection reset by peer]
pabloh has joined #ruby
mrogne has left #ruby [#ruby]
nvrch has quit [Quit: nvrch]
maletor has quit [Quit: Computer has gone to sleep.]
klaut has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 264 seconds]
drx has joined #ruby
drx has quit [Read error: Connection reset by peer]
drx has joined #ruby
mark_locklear has quit [Ping timeout: 240 seconds]
drx_ has quit [Ping timeout: 240 seconds]
DaniG2k has quit [Quit: leaving]
maletor has joined #ruby
pdimitrov has quit [Ping timeout: 255 seconds]
drx has quit [Read error: Connection reset by peer]
drx has joined #ruby
timonv has joined #ruby
bahar has joined #ruby
lw has joined #ruby
drx has quit [Read error: Connection reset by peer]
drx has joined #ruby
Lewix has quit [Remote host closed the connection]
Hobogrammer has quit [Quit: さようなら]
doodlehaus has quit [Remote host closed the connection]
abdulsattar has quit [Ping timeout: 255 seconds]
drx_ has joined #ruby
drx has quit [Read error: Connection reset by peer]
rezzack has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx has joined #ruby
rootshift has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
sparrovv has quit [Remote host closed the connection]
Mongey_ has joined #ruby
jlast has quit [Remote host closed the connection]
crystal77 has quit [Quit: Computer has gone to sleep.]
acrussell has quit [Quit: Leaving.]
drx_ has joined #ruby
drx has quit [Read error: Connection reset by peer]
jlast has joined #ruby
timonv has quit [Remote host closed the connection]
rococo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momigi has quit [Remote host closed the connection]
banister has quit [Ping timeout: 240 seconds]
Mongey has quit [Ping timeout: 255 seconds]
alexju has quit [Remote host closed the connection]
drx has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
banister has joined #ruby
anoldhacker has joined #ruby
zachallett has joined #ruby
<anoldhacker> Wondering if there is a target date for 2.1.2…
shaunbaker has joined #ruby
beanHolez has quit [Remote host closed the connection]
shaunbak_ has joined #ruby
drx_ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<centrx> anoldhacker, 2.1.1 was only two weeks ago, so probably not
<havenwood> anoldhacker: what are you wanting in 2.1.2?
<anoldhacker> A pony.
<havenwood> ahh
jack_rabbit has joined #ruby
<xuisce> hey havenwood
<havenwood> xuisce: hey
<anoldhacker> But the question is about the Hash#reject regression.
drx___ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
<anoldhacker> I'm setting up default policy for new projects, and trying to avoid churn.
<xuisce> hey there
<havenwood> anoldhacker: Well, it is a regression that is becoming the default, so fix the code!
drx has quit [Ping timeout: 240 seconds]
<havenwood> anoldhacker: only a regression because it was meant for 2.2.0
<anoldhacker> My solution to fixing Rails is not popular.
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
felixflores has left #ruby [#ruby]
<BeingUntoDeath> noob question: i can't find the answer online, only examples. what's the difference between keyword_end and $end?
<BeingUntoDeath> i keep getting error messages that need one or the other.
drx___ has quit [Read error: Connection reset by peer]
<anoldhacker> $end if end of file, I believe.
<anoldhacker> s/if/is/
drx has joined #ruby
lw has quit [Quit: s]
<BeingUntoDeath> so you actually put $end at the end? not just end?
<anoldhacker> No
<BeingUntoDeath> ...right.
shaunbaker has quit [Ping timeout: 264 seconds]
<havenwood> anoldhacker: it looks like it has been (or at least is being) fixed by Rails: https://github.com/rails/rails/pull/14198
<anoldhacker> $end is the tokenizers representation of the end of file.
<BeingUntoDeath> i don't get it.
<BeingUntoDeath> okay.
<BeingUntoDeath> what's keyword_end then?
momigi has joined #ruby
acrussell has joined #ruby
<anoldhacker> As in if-else-end, begin-end.
Skaag has joined #ruby
<BeingUntoDeath> ahh.
drx_ has joined #ruby
rmorello has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<anoldhacker> Again, these are tokenizer concepts.
canton7-mac has quit [Remote host closed the connection]
<havenwood> Unhappy parser is unhappy.
drx_ has quit [Read error: Connection reset by peer]
sigurding has joined #ruby
<anoldhacker> yep
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
drx_ has joined #ruby
<certainty> Happy unparser is happy
_justin has quit [Quit: _justin]
zeeraw has joined #ruby
rickruby has joined #ruby
rmorello has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
shaunbak_ has quit [Remote host closed the connection]
drx___ has joined #ruby
mark_locklear has joined #ruby
<shevy> Unparser Happy is unhappy
lkba has joined #ruby
shaunbaker has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
drx___ has joined #ruby
invinceable has joined #ruby
<shevy> havenwood btw to your earlier answer, I meant that URL rewriting for instance something like: "www.foobar.com/index" to become "www.foobar.com/index.cgi"; is that possible without apache i.e. only in ruby + rack or perhaps unicorn/puma/thin? I know that this is possible in apache, no idea without apache
hrrz has joined #ruby
drx_ has quit [Ping timeout: 264 seconds]
drx_ has joined #ruby
yfeldblum has joined #ruby
<hrrz> hi, i have array of strings and i want to keep the longest string of matched ones
abdulsattar has joined #ruby
tjr9898 has joined #ruby
<hrrz> to extract "sigmond freud" and "hello world" from the above
drx_ has quit [Read error: Connection reset by peer]
<sigurding> may anyone here explain why I always get those exceptions: 76: [BUG] Segmentation fault at 0x0007f90ce94000
<sigurding> ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]
<havenwood> shevy: Rack::Rewrite seems like it would do that well!
einarj has quit [Remote host closed the connection]
<shevy> ok
drx___ has quit [Ping timeout: 264 seconds]
shaunbaker has quit [Ping timeout: 264 seconds]
<shevy> sigurding could be a faulty instruction perhaps
Shidash has joined #ruby
elaptics is now known as elaptics`away
<shevy> I had that a few times in regards to libc
nathansoz has joined #ruby
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pel_daniel has joined #ruby
<havenwood> shevy: That way it's Rack middleware that can work with Rails/Sinatra/etc and Unicorn/Puma/Thin etc.
<sigurding> shevy: I am starting the app, get this error. Do nothing start it again, it works without any issues
<shevy> havenwood ok!
<shevy> sigurding cool :)
<shevy> a heisenbug!
<shevy> if you watch it, it disappears
<shevy> but if you don't watch it, it jumps out of the shadow like a kobold!
<sigurding> shevy: no it's not cool :)
drx_ has joined #ruby
sdouglas has quit [Remote host closed the connection]
<havenwood> sigurding: Show a Gist of the full error log?
hrrz has quit [Quit: Page closed]
<sigurding> haven, k wait a sec
glebm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
dumdedum has quit [Ping timeout: 264 seconds]
pu22l3r_ has quit [Remote host closed the connection]
ga1j1n has quit [Write error: Broken pipe]
drx has quit [Write error: Connection reset by peer]
* certainty parsed that as haven can wait
danshultz has quit [Write error: Broken pipe]
pu22l3r has joined #ruby
razrunelord has joined #ruby
jonnyro has joined #ruby
<sigurding> havenwood: hmpf
<jonnyro> Can i fuzzy compare Hashes?
drx_ has quit [Read error: Connection reset by peer]
drx has joined #ruby
Vivekananda has quit [Excess Flood]
claymore has quit [Excess Flood]
perlsyntax has quit [Quit: Textual IRC Client: www.textualapp.com]
<jonnyro> for example, compare just on of several keys?
<sigurding> now it works constantly. It always occurs, when I change something in one of my files
ffranz has quit [Excess Flood]
<sigurding> I need to try to make a change, wait a sec
ebwise has quit [Excess Flood]
claymore has joined #ruby
blackmesa has joined #ruby
ffranz has joined #ruby
kpshek has joined #ruby
ebwise has joined #ruby
<jonnyro> { :name=> "joseph", :age => 25 } ~= { :age => 25 }
<jonnyro> something like that
jollyy has quit [Quit: jollyy]
drx_ has joined #ruby
cntrx has joined #ruby
<certainty> not out of the box
adam_ has quit [Excess Flood]
adam_ has joined #ruby
<havenwood> jonnyro: {aim: true, free_will: false, other: nil}.values_at(:free_will, :aim) == {aim: false, free_will: false}.values_at(:free_will, :aim) #=> false
<BeingUntoDeath> it keeps expecting one or the other.. i get error messages saying that one is unexpected and the other is expected. so i try and add or take away "ends" and i get variations of those errors.
<BeingUntoDeath> i'm new to programming.
<BeingUntoDeath> any idea what the problem could be?
<BeingUntoDeath> so if its expected keyword_end... i need to make some if-then statement?
<BeingUntoDeath> :(
cntrx has quit [Client Quit]
Vivekananda has joined #ruby
camt has quit [Remote host closed the connection]
centrx has quit [Remote host closed the connection]
<havenwood> BeingUntoDeath: It helps to use nice indentation to see where you missed an `end`.
<jonnyro> havenwood: interesting, will read up on the values_at syntax
<havenwood> BeingUntoDeath: Have code you can paste to a gist.github.com?
carraroj has joined #ruby
rickruby has quit [Remote host closed the connection]
jrhorn424 is now known as zz_jrhorn424
centrx has joined #ruby
drx___ has joined #ruby
<shevy> BeingUntoDeath in ruby you must look very carefully at the syntax you use
nanoyak has joined #ruby
nanoyak has quit [Client Quit]
drx has quit [Ping timeout: 240 seconds]
rickruby has joined #ruby
duggiefresh has quit [Read error: Connection reset by peer]
jlebrech has quit [Quit: Konversation terminated!]
echevemaster has joined #ruby
duggiefresh has joined #ruby
<centrx> Or in any programming language
drx has joined #ruby
<abdulsattar> except in Perl ...
CaptainJet has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
peterellisjones has quit [Quit: Leaving.]
Squarepy has joined #ruby
drx_ has quit [Ping timeout: 240 seconds]
andrewhl has quit [Quit: andrewhl]
camt has joined #ruby
goleldar has quit []
jlast has quit [Remote host closed the connection]
timonv has joined #ruby
drx has quit [Read error: Connection reset by peer]
drx has joined #ruby
philcrissman has joined #ruby
<shevy> haha
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
drx has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
drx has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CorySimmons has joined #ruby
b00stfr3ak has quit [Read error: Connection reset by peer]
zpinter has joined #ruby
smathieu has quit [Remote host closed the connection]
<sigurding> havenwood: could be a memory issue, or something?
Skaag has quit [Ping timeout: 240 seconds]
drx_ has joined #ruby
smathieu has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
sambao21 has quit [Read error: Connection reset by peer]
drx_ has quit [Read error: Connection reset by peer]
drx___ has joined #ruby
Skaag has joined #ruby
browndawg1 has joined #ruby
browndawg has quit [Read error: No route to host]
sambao21 has joined #ruby
zorak has joined #ruby
drx has quit [Ping timeout: 264 seconds]
drx___ has quit [Read error: Connection reset by peer]
CorySimmons has quit [Client Quit]
obs_ has quit [Quit: Konversation terminated!]
drx has joined #ruby
nomenkun_ has quit [Ping timeout: 240 seconds]
olivier_bK has quit [Ping timeout: 240 seconds]
andy4thehuynh has joined #ruby
rootshift has joined #ruby
wallerdev has quit [Quit: wallerdev]
kaspergrubbe has quit [Remote host closed the connection]
drx_ has joined #ruby
pabloh has quit [Quit: Saliendo]
Shidash has quit [Ping timeout: 240 seconds]
Speed has joined #ruby
dingus_khan has quit []
greenrose has joined #ruby
wallerdev has joined #ruby
armyriad has joined #ruby
bean has joined #ruby
drx___ has joined #ruby
browndawg1 has left #ruby [#ruby]
afex has joined #ruby
Ziarkaen has quit [Ping timeout: 240 seconds]
drx has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
Suit_Of_Sables has joined #ruby
cpruitt has quit [Quit: cpruitt]
CaptainJet has quit []
mercwithamouth has quit [Ping timeout: 264 seconds]
<havenwood> sigurding: maybe related to this one?: https://bugs.ruby-lang.org/issues/9594
<Suit_Of_Sables> can a substring be the entire string? Meaning, could you consider "the" to be a substring of "the"? or does it have to be a "proper" substring like a proper subset?
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
drx has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
<havenwood> sigurding: can you use byebug instead of debugger?
Lewix has joined #ruby
drx_ has quit [Ping timeout: 264 seconds]
<havenwood> Suit_Of_Sables: `"the" == "the"`, in confused what you mean?
<abdulsattar> Suit_Of_Sables: Yes it can. http://en.wikipedia.org/wiki/Substring#Substring
saarinen has quit [Quit: saarinen]
drx has quit [Read error: Connection reset by peer]
codabrink has quit [Ping timeout: 240 seconds]
aaronmcadam has quit [Ping timeout: 240 seconds]
drx has joined #ruby
<havenwood> s/in/i'm
<havenwood> Suit_Of_Sables: oh, i see, nvm
rococo has joined #ruby
sigurding has quit [Quit: sigurding]
<abdulsattar> T = t1...tn, then T' = T(i+1) .. T(m+i) where 0<=i and m+i<=n. That means T == T' when i=0.
drx has quit [Read error: Connection reset by peer]
<abdulsattar> Cool question, why do you ask anyway?
drx has joined #ruby
codabrink has joined #ruby
Shidash has joined #ruby
drx has quit [Read error: Connection reset by peer]
andy4thehuynh has quit [Remote host closed the connection]
jlast has joined #ruby
drx has joined #ruby
cpruitt has joined #ruby
saarinen has joined #ruby
CaptainJet has joined #ruby
ktosiek has joined #ruby
juarlex has quit [Remote host closed the connection]
drx has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
drx_ has joined #ruby
nifty has joined #ruby
_justin has joined #ruby
Hanmac1 has joined #ruby
drx has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
drx_ has quit [Read error: Connection reset by peer]
teddyp1cker has joined #ruby
ringaring has joined #ruby
bahar has quit [Ping timeout: 264 seconds]
jetblack has quit [Ping timeout: 240 seconds]
kevind has quit [Quit: kevind]
drx has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
Azulinho has joined #ruby
smathieu has quit [Remote host closed the connection]
drx has joined #ruby
kevind has joined #ruby
pr0ggie has quit [Read error: Connection reset by peer]
juarlex has joined #ruby
smathieu has joined #ruby
Kovensky has quit [Excess Flood]
jwest has quit [Quit: WeeChat 0.4.1]
drx_ has joined #ruby
ndrei has quit [Ping timeout: 242 seconds]
crystal77 has joined #ruby
Macaveli has joined #ruby
Kovensky has joined #ruby
anoldhacker has left #ruby [#ruby]
nisstyre_ has quit [Quit: WeeChat 0.4.3]
drx_ has quit [Read error: Connection reset by peer]
juarlex has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
drx_ has joined #ruby
bradhe has joined #ruby
shinobi_one has joined #ruby
varzanov has joined #ruby
drx has quit [Ping timeout: 240 seconds]
drx_ has quit [Read error: Connection reset by peer]
rafaelcgo has joined #ruby
ringaring has quit [Quit: Leaving]
Gadgetoid has quit [Ping timeout: 264 seconds]
drx has joined #ruby
p8952 has joined #ruby
ga1j1n has joined #ruby
Azulinho has quit [Ping timeout: 264 seconds]
drx_ has joined #ruby
drx has quit [Read error: Connection reset by peer]
rafaelcgo has quit [Client Quit]
stardiviner has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
arietis has quit [Quit: Computer has gone to sleep.]
drx_ has quit [Read error: Connection reset by peer]
varzanov has quit [K-Lined]
RaCx_ has joined #ruby
drx has joined #ruby
jwest has joined #ruby
rooom has joined #ruby
RaCx has quit [Ping timeout: 240 seconds]
RaCx_ is now known as RaCx
Gadgetoid has joined #ruby
drx has quit [Read error: Connection reset by peer]
drx has joined #ruby
Salve has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
lw has joined #ruby
drx has quit [Read error: Connection reset by peer]
Salve has joined #ruby
drx has joined #ruby
stardiviner has quit [Changing host]
stardiviner has joined #ruby
glebm has joined #ruby
DrShoggoth has quit [Quit: Leaving]
kenneth has joined #ruby
sputnik13 has joined #ruby
Hanmac has joined #ruby
Advocation has quit [Quit: Advocation]
drx has quit [Read error: Connection reset by peer]
rickruby has quit [Remote host closed the connection]
drx has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Advocation has joined #ruby
Hanmac1 has quit [Ping timeout: 241 seconds]
Mongey_ has quit [Ping timeout: 270 seconds]
ga1j1n has quit [Remote host closed the connection]
j0xf has joined #ruby
Ziarkaen has joined #ruby
drx_ has joined #ruby
drx has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 240 seconds]
albedoa has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Advocation has quit [Client Quit]
phantomtiger has quit [Quit: phantomtiger]
j0xf has left #ruby [#ruby]
koell has joined #ruby
spyderman4g63 has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx has joined #ruby
juarlex has joined #ruby
hrrz has joined #ruby
tonni has quit [Read error: Connection reset by peer]
rdark has quit [Quit: leaving]
tonni_ has joined #ruby
<xuisce> shinobi_one: hey
ctp has quit [Read error: Connection reset by peer]
ctp has joined #ruby
maletor has joined #ruby
danshultz has joined #ruby
xm has quit [Read error: Connection reset by peer]
<hrrz> hi, i'm trying to write a simple algorithm to extract longest strings out of array dependings on its content (example: http://pastebin.com/tQ7q4vJG )
xm has joined #ruby
drx_ has joined #ruby
drx has quit [Read error: Connection reset by peer]
y_gick has quit [Quit: WeeChat 0.4.3]
skinny_much has quit [Ping timeout: 264 seconds]
renklaf has quit [Remote host closed the connection]
drx has joined #ruby
ga1j1n has joined #ruby
<apeiros> hrrz: and what's your question?
RaCx has quit [Quit: Computer has gone to sleep.]
linduxed has quit [Ping timeout: 265 seconds]
Afal_ has quit [Ping timeout: 265 seconds]
<hrrz> how to write it? given an array of unsorted data
<apeiros> hrrz: um, this is essentially "please write it for me". we don't do that.
<hrrz> not at all
skinny_much has joined #ruby
<hrrz> just a hint
drx has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
Afal has joined #ruby
b00stfr3ak has joined #ruby
drx has joined #ruby
mjs2600 has quit [Remote host closed the connection]
<apeiros> store your current results in a hash, replace if a longer one comes along
<apeiros> hm, though, can't leverage hash's capabilities.
<apeiros> trie then.
mercwithamouth has joined #ruby
drx_ has quit [Ping timeout: 264 seconds]
sk87 has joined #ruby
linduxed has joined #ruby
michaeldeol has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<apeiros> hrrz: google for the trie datastructure
tjr9898 has quit [Remote host closed the connection]
drx_ has joined #ruby
toastynerd has quit [Remote host closed the connection]
sputnik1_ has joined #ruby
m4n1f3st0 has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx___ has joined #ruby
drx has quit [Ping timeout: 240 seconds]
bahar has joined #ruby
vlad_sta_ has joined #ruby
tharindu_ has quit [Quit: Leaving...]
gnagno has quit [Ping timeout: 267 seconds]
<hrrz> apeiros: thanks man
tjr9898_ has joined #ruby
vlad_starkov has quit [Read error: No route to host]
drx___ has quit [Read error: Connection reset by peer]
drx has joined #ruby
Rix has joined #ruby
cloud|nix has joined #ruby
drx has quit [Read error: Connection reset by peer]
drx has joined #ruby
kaspergrubbe has joined #ruby
oso|away is now known as oso96_2000
vlad_sta_ has quit [Remote host closed the connection]
albedoa has joined #ruby
atmosx has joined #ruby
YamakasY has joined #ruby
Lewix has quit [Remote host closed the connection]
cloud|nix has quit [Client Quit]
drx_ has joined #ruby
drx has quit [Read error: Connection reset by peer]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
polydius has joined #ruby
polydius has quit [Max SendQ exceeded]
drx_ has quit [Read error: Connection reset by peer]
polydius has joined #ruby
polydius has quit [Max SendQ exceeded]
robbyoconnor has joined #ruby
larissa has joined #ruby
drx has joined #ruby
rootshift has joined #ruby
DrShoggoth has joined #ruby
drx has quit [Read error: Connection reset by peer]
polydius has joined #ruby
polydius has quit [Max SendQ exceeded]
axsuul has quit [Ping timeout: 264 seconds]
nari has quit [Ping timeout: 240 seconds]
whitedawg has quit [Quit: Leaving.]
drx has joined #ruby
gigetoo has quit [Remote host closed the connection]
polydius has joined #ruby
gigetoo has joined #ruby
drx has quit [Read error: Connection reset by peer]
bradhe has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
sambao21 has joined #ruby
drx has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
reuben has joined #ruby
timonv has joined #ruby
tvw has joined #ruby
aaronmcadam has joined #ruby
geopet has quit []
echevemaster has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
phat4life has joined #ruby
albedoa has quit [Read error: No route to host]
havenwood has quit [Remote host closed the connection]
<phat4life> anyone here use faraday with mockweb?
polydius has quit [Client Quit]
drx_ has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
drx has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
hrrz has quit [Ping timeout: 245 seconds]
<apeiros> hrrz: you can alternatively trade space complexity with time complexity. If you sort it, it'll be O(nlogn) in time, but only O(n) (or O(1) in additionally required space)
drx_ has quit [Read error: Connection reset by peer]
drx has joined #ruby
Gadgetoid has quit [Ping timeout: 264 seconds]
fraterla_ has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
drx has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
echevemaster has joined #ruby
drx has joined #ruby
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
fraterla_ has quit [Remote host closed the connection]
chipotle has quit [Ping timeout: 240 seconds]
havenwood has quit [Ping timeout: 264 seconds]
fraterla_ has joined #ruby
ga1j1n has quit [Remote host closed the connection]
drx_ has joined #ruby
glebm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drx has quit [Read error: Connection reset by peer]
fraterlaetus has quit [Ping timeout: 255 seconds]
<slash_nick> apeiros: so...pack it all into a trie and return only the paths that do not have child nodes?
sputnik1_ has joined #ruby
<apeiros> slash_nick: pssssh, don't ruin his fun
YamakasY has quit [Ping timeout: 264 seconds]
drx_ has quit [Read error: Connection reset by peer]
<apeiros> slash_nick: I didn't trie to implement it, but along that way was my thought, yes
<slash_nick> s/ruin/steal/...
RaCx_ has joined #ruby
drx has joined #ruby
<apeiros> oh, *try
<apeiros> unintended pun
fraterlaetus has joined #ruby
polydius has joined #ruby
<slash_nick> so you haven't tried?
<apeiros> indeed
<apeiros> :)
aspires has quit []
<apeiros> I did the other one, as it's only ~60 chars of code
<apeiros> and no dependency
chipotle has joined #ruby
<apeiros> all you need is 2 additional variables
<apeiros> well, 1 if you count the result variable as given.
drx has quit [Read error: Connection reset by peer]
fraterl__ has joined #ruby
Gadgetoid has joined #ruby
drx has joined #ruby
reuben has quit [Quit: Page closed]
xcv has quit [Remote host closed the connection]
fraterla_ has quit [Ping timeout: 240 seconds]
xcv has joined #ruby
RaCx has quit [Ping timeout: 240 seconds]
RaCx_ is now known as RaCx
Lewix has joined #ruby
drx has quit [Read error: Connection reset by peer]
sigurding has joined #ruby
drx has joined #ruby
mikepack has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fraterlaetus has quit [Ping timeout: 240 seconds]
mikepack has quit [Remote host closed the connection]
fraterl__ has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
drx_ has joined #ruby
drx has quit [Read error: Connection reset by peer]
tjr9898_ has quit [Remote host closed the connection]
kennym has quit [Ping timeout: 268 seconds]
fraterlaetus has joined #ruby
deadlock has joined #ruby
m4n1f3st0 has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
m4n1f3st0 has joined #ruby
danshultz has joined #ruby
drx has joined #ruby
chipotle has quit [Ping timeout: 255 seconds]
Spami has quit [Quit: This computer has gone to sleep]
superscott[8] has joined #ruby
andy4thehuynh has joined #ruby
mehlah has quit [Quit: Leaving...]
kennym has joined #ruby
drx has quit [Read error: Connection reset by peer]
lw has quit [Quit: s]
drx has joined #ruby
fraterlaetus has quit [Read error: Connection reset by peer]
polydius has quit [Quit: EOF]
m8 has joined #ruby
drx_ has quit [Ping timeout: 240 seconds]
fraterlaetus has joined #ruby
mjs2600 has joined #ruby
ikaros has quit [Quit: Ex-Chat]
robbyoconnor has quit [Read error: Connection reset by peer]
ahawkins has quit [Quit: leaving]
drx has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
tjr9898 has joined #ruby
<shevy> "syck has been removed, psych is used instead"
<shevy> hmm
<shevy> anyone knows what triggers this message exactly?
robbyoconnor has joined #ruby
<shevy> lib/yaml.rb: when 'syck' then warn "syck has been removed, psych is used instead"
<shevy> found it!
danshultz has quit [Ping timeout: 255 seconds]
drx_ has quit [Read error: Connection reset by peer]
mjs2600 has quit [Remote host closed the connection]
drx has joined #ruby
havenwood has joined #ruby
Spami has joined #ruby
andy4thehuynh has quit [Ping timeout: 264 seconds]
bradhe has quit [Remote host closed the connection]
drx has quit [Read error: Connection reset by peer]
fraterlaetus has quit [Remote host closed the connection]
drx has joined #ruby
Patchou has joined #ruby
fraterlaetus has joined #ruby
jackneill has joined #ruby
SonicX has joined #ruby
mjs2600 has joined #ruby
drx_ has joined #ruby
Salve has quit [Remote host closed the connection]
geopet has joined #ruby
Salve has joined #ruby
Salve has quit [Read error: Connection reset by peer]
echevemaster has quit [Ping timeout: 240 seconds]
Salve has joined #ruby
roolo has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
Tamae has quit [Ping timeout: 246 seconds]
RubNoob has joined #ruby
drx_ has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
diegoviola has joined #ruby
jetblack has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
drx_ has quit [Read error: Connection reset by peer]
echevemaster has joined #ruby
drx has quit [Ping timeout: 264 seconds]
drx_ has joined #ruby
klue has quit [Ping timeout: 255 seconds]
ferr has quit [Ping timeout: 240 seconds]
norm has joined #ruby
maletor has joined #ruby
aspires has joined #ruby
mercwithamouth has quit [Ping timeout: 241 seconds]
koell has quit [Quit: So say we all!]
klue has joined #ruby
klue has joined #ruby
klue has quit [Changing host]
robbyoconnor has quit [Remote host closed the connection]
timonv has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
chipotle has joined #ruby
chipotle_ has joined #ruby
Macaveli has quit [Quit: Leaving]
toastynerd has joined #ruby
sigurding has quit [Quit: sigurding]
stardiviner has quit [Remote host closed the connection]
jetblack has quit [Ping timeout: 240 seconds]
gstamp has quit [Ping timeout: 256 seconds]
nanoyak has joined #ruby
jetblack has joined #ruby
chipotle has quit [Ping timeout: 240 seconds]
YamakasY has joined #ruby
ni291187 has joined #ruby
ni291187 has left #ruby [#ruby]
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
jkamenik has quit [Quit: Leaving.]
<shevy> hmmm
cescalante is now known as ce_afk
ce_afk is now known as cescalante
<shevy> is there a way for failsafe loading of a gem, without begin/rescue ?
bahar has quit [Ping timeout: 240 seconds]
<apeiros> don't think so
LiohAu has quit [Quit: LiohAu]
LiohAu has joined #ruby
bricker`LA has quit [Ping timeout: 246 seconds]
bahar has joined #ruby
SonicX has quit [Remote host closed the connection]
dapz has joined #ruby
xaq has joined #ruby
Ziarkaen has quit [Ping timeout: 269 seconds]
bradhe has joined #ruby
pushpak has joined #ruby
<shevy> hmm
Lewix has quit [Remote host closed the connection]
LiohAu has quit [Ping timeout: 240 seconds]
<pipework> Well, not without using a rescue.
<pipework> You could use a method with a rescue, it doesn't explicitly have a begin.
ferr has joined #ruby
NicholasFlamel has joined #ruby
dapz has quit [Ping timeout: 255 seconds]
ferr has quit [Client Quit]
cescalante is now known as ce_afk
aaronmcadam has quit [Quit: Leaving...]
tharindu has joined #ruby
newbie1r has joined #ruby
xcv_ has joined #ruby
mehlah has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
xaq has quit [Remote host closed the connection]
xcv has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
saarinen has quit [Quit: saarinen]
tharindu has quit [Ping timeout: 240 seconds]
adkron has quit [Ping timeout: 240 seconds]
jetblack has quit [Ping timeout: 264 seconds]
mgberlin has joined #ruby
<newbie1r> ruby people, I would like to know whether there is a GUI designer/ide for linux/kde integrated apps.
yfeldblum has joined #ruby
phantomtiger has joined #ruby
danshultz has joined #ruby
andy4thehuynh has joined #ruby
kirun has joined #ruby
acrussell has quit [Quit: Leaving.]
jlast has quit [Remote host closed the connection]
sdouglas has joined #ruby
alvaro_o has joined #ruby
Lewix has joined #ruby
<shevy> pipework hmm it's interesting that ruby most often uses a require statement
<shevy> rarely load() as well ... that's about it
<shevy> why does python have import?
<pipework> shevy: Well, what do you mean by 'failsafe'?
kennym has quit [Ping timeout: 240 seconds]
fannye has quit [Remote host closed the connection]
jlast has joined #ruby
rickruby has joined #ruby
kennym has joined #ruby
<shevy> if a gem is installed then require 'name' would work
<shevy> but if the gem is not installed, and one tries to require it, an error happens
ce_afk is now known as cescalante
saarinen has joined #ruby
<shevy> cannot load such file -- ack (LoadError)
glebm has joined #ruby
<shevy> hmm
<shevy> a try_require would be nice but I have the feeling that at the core/stdlib level nothing new will be added
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nanoyak has quit [Read error: Connection reset by peer]
phat4life has quit [Ping timeout: 265 seconds]
<crome> shevy: or bundle stuff
nanoyak has joined #ruby
phat4life has joined #ruby
pfg has joined #ruby
<shevy> bundle?
rooom has quit [K-Lined]
makerops has joined #ruby
<makerops> hi, how can i pass an array to a shell command in ruby?
ferr has joined #ruby
Advocation has joined #ruby
<apeiros> makerops: shell commands don't take arrays
<ehc> I'm parsing a date time string, but I want to export it using a different timezone. Is there a way to modify the timezone on the time object?
<makerops> and I want tobe able to call: yum install a
popl has joined #ruby
sigurding has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
carraroj has quit [Quit: Konversation terminated!]
andy4thehuynh has quit []
<centrx> makerops, Try system("yum", "install", *array)
robbyoconnor has joined #ruby
crystal77 has joined #ruby
saarinen has quit [Quit: saarinen]
xaq has joined #ruby
NorrinRadd has joined #ruby
juarlex has quit [Remote host closed the connection]
RaCx has quit [Quit: Computer has gone to sleep.]
blooberr____ has joined #ruby
NorrinRadd has quit [Client Quit]
pwh has joined #ruby
pwh has quit [Remote host closed the connection]
Norrin has quit [Excess Flood]
nolic has quit [Ping timeout: 245 seconds]
agjacome_ has quit [Remote host closed the connection]
Norrin has joined #ruby
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
Eiam has left #ruby ["╯°□°)╯︵ǝpouǝǝɹɟ"]
Eiam has joined #ruby
popl has quit [Quit: Touch the frog.]
NorrinRadd has joined #ruby
Hobogrammer has joined #ruby
havenwood has quit []
<makerops> centrx, thanks
tjr9898 has quit [Remote host closed the connection]
workmad3 has joined #ruby
m4n1f3st0 has joined #ruby
toastynerd has quit [Remote host closed the connection]
mgberlin has quit [Remote host closed the connection]
b00stfr3ak has quit [Ping timeout: 255 seconds]
aaronmcadam has joined #ruby
RaCx has joined #ruby
spider-mario has quit [Remote host closed the connection]
tjr9898_ has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
<shevy> this is a key quote IMO:
<shevy> "When I stepped back Python no longer seemed relevant to the web, at least not the part of the web that interested me."
toastynerd has joined #ruby
sterlingcalder has joined #ruby
einarj has joined #ruby
cover has quit [Remote host closed the connection]
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
Advocation has quit [Quit: Advocation]
rails426 has joined #ruby
<centrx> He keeps repeating this 10,000 hour canard
nifty has quit [Ping timeout: 240 seconds]
Atrumx has joined #ruby
wallerdev has quit [Quit: wallerdev]
<centrx> "what a boring read. how many freakin words for you to say you switched from python to javascript ?"
kennym has left #ruby [#ruby]
ndrei has joined #ruby
mikepack_ has joined #ruby
<atmosx> centrx: imho blog-posts are supposed to be kinda verbose
<atmosx> I have the feeling I'm doing something utterly stupid.. hm
<centrx> Omit needless words.
NorrinRadd has quit [Ping timeout: 240 seconds]
ebwise has quit [Ping timeout: 264 seconds]
mikepack has quit [Ping timeout: 255 seconds]
phat4life has quit [Read error: Connection reset by peer]
phat4life1 has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
phat4life has joined #ruby
phat4life1 has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby
gXen has joined #ruby
rurban__ has quit [Ping timeout: 245 seconds]
diegoviola has quit [Quit: WeeChat 0.4.3]
agjacome has joined #ruby
nomadic has quit [Ping timeout: 240 seconds]
<atmosx> I'm writing this program and I'm using Greek, maybe I should just use locale/el.yml hmm
ebwise has joined #ruby
<atmosx> but then again I don't really care about english at this point
klaut has joined #ruby
gXen has left #ruby [#ruby]
jollyy has joined #ruby
sterlingcalder has quit [Read error: Connection reset by peer]
Azulinho has joined #ruby
sski has joined #ruby
xaq has quit [Remote host closed the connection]
nanoyak has joined #ruby
<shevy> atmosx well use english :-)
MJBrune has quit [Read error: Connection reset by peer]
zachallett has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
timonv has quit [Remote host closed the connection]
MJBrune has joined #ruby
MJBrune has joined #ruby
MJBrune has quit [Changing host]
kaspergrubbe has quit []
nomadic has joined #ruby
vlad_starkov has joined #ruby
vpretzel has quit [Quit: Adios!]
timonv has joined #ruby
<centrx> "I'm sorry dude. Maybe my upvote will make up for it."
not_a_guest has joined #ruby
pietr0 has joined #ruby
montyboy_ has joined #ruby
Shidash has quit [Quit: Leaving.]
Shidash1 has joined #ruby
skaflem has quit [Quit: Leaving]
RaCx has quit [Quit: Computer has gone to sleep.]
Hanmac has quit [Ping timeout: 255 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
YamakasY has quit [Remote host closed the connection]
ga1j1n has joined #ruby
sdouglas has quit [Read error: Connection reset by peer]
tfitts has quit []
sdouglas has joined #ruby
jprovazn has quit [Quit: Odcházím]
tfitts has joined #ruby
timonv_ has joined #ruby
jaimef has quit [Excess Flood]
axl_ has quit [Quit: axl_]
jackneill has quit [Remote host closed the connection]
jaimef has joined #ruby
timonv has quit [Ping timeout: 255 seconds]
NorrinRadd has joined #ruby
mehlah has quit [Quit: Leaving...]
Skaag has quit [Ping timeout: 240 seconds]
axl_ has joined #ruby
saarinen has joined #ruby
axl_ has quit [Client Quit]
Shidash1 has quit [Ping timeout: 240 seconds]
Shidash has joined #ruby
_bart has quit [Ping timeout: 240 seconds]
marcdel has quit [Ping timeout: 264 seconds]
makerops has left #ruby ["Leaving"]
nomadic has quit [Ping timeout: 241 seconds]
Hobogrammer_ has joined #ruby
wallerdev has joined #ruby
tharindu has joined #ruby
yfeldblum has quit [Remote host closed the connection]
zigomir has joined #ruby
Hanmac has joined #ruby
mattmcclure has joined #ruby
rails426 has quit [Ping timeout: 255 seconds]
Hobogrammer has quit [Ping timeout: 240 seconds]
nomadic has joined #ruby
Hanmac1 has quit [Ping timeout: 255 seconds]
pu22l3r has quit [Ping timeout: 255 seconds]
RaCx has joined #ruby
rails426 has joined #ruby
<sigurding> anyone here using ruby-install?
marcdel has joined #ruby
tharindu has quit [Ping timeout: 255 seconds]
GaryOak_ has joined #ruby
mikepack_ has quit [Remote host closed the connection]
paulfm has quit []
mansi has quit [Remote host closed the connection]
mikepack has joined #ruby
evenix has quit [Remote host closed the connection]
chrisseaton has joined #ruby
mansi has joined #ruby
evenix has joined #ruby
timonv_ has quit [Remote host closed the connection]
timonv has joined #ruby
IceyEC has quit [Quit: IceyEC]
rurban has joined #ruby
<madhatter> Is there a way to dynamically add the local gem installation directory to the $PATH depending on the actual ruby version? I don't want to update everytime I update to a new version.
<sigurding> is there a way to automatically load and install the required gems of a project?
<atmosx> madhatter: rvm uses gemsets, you might wanna use it.
stringoO has quit [Quit: stringoO]
<shevy> sigurding can you do --user-install for your gems?
<atmosx> madhatter: supports a file called '.ruby-version' which deals with this exact issue: Has a specific gemset (usually defined by a Gemfile) for every project. Mix tmuxinator and autotest and you have a perfect cli-IDE
<madhatter> atmosx: I used those. But at the moment I try to stick with the latest version coming from the OS
<shevy> I think there is a way to get the dependencies of a gem at runtime as well
slash_nick is now known as slash_kick
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
philcrissman has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 240 seconds]
<sigurding> shevy: honestly I thought bundler would do it for me
duggiefresh has quit [Remote host closed the connection]
evenix has quit [Ping timeout: 241 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
mark_locklear has quit [Ping timeout: 264 seconds]
timonv has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
duggiefresh has joined #ruby
monkegjinni has joined #ruby
Renich has joined #ruby
mjs2600 has quit [Ping timeout: 255 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
<atmosx> madhatter: you'd probaly will have to write your own implementation as it appears to be a little too specific what you need there
YamakasY_ has joined #ruby
CreativeEmbassy has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<shevy> sigurding hehe
postmodern has joined #ruby
<sigurding> I had a terrible day with ruby 2.1.1 today
gregf has quit [Quit: WeeChat 0.4.3]
<sigurding> I am not sure if it is me, who's the problem, or my ruby install
<sigurding> but I always get those [BUG] Segmentation fault at 0x00000000000000
mansi has quit [Read error: Connection reset by peer]
<atmosx> sigurding: what os?
mansi has joined #ruby
mlpinit has quit [Remote host closed the connection]
<sigurding> atmosx: osx
rickruby has quit [Remote host closed the connection]
<atmosx> sigurding: rvm?
<sigurding> 10.9.2
Rix has quit [Ping timeout: 240 seconds]
<sigurding> nope, installed via ruby-install
<atmosx> I use rvm on osx...
<atmosx> and works fine
Notte has joined #ruby
xuisce has quit []
<sigurding> mh perhaps I should try that
<atmosx> not using 2.1.1 though...
<sigurding> but?
<sigurding> 2.0?
sambao21 has quit [Quit: Computer has gone to sleep.]
<phat4life> what is the use case for: module def class < self end end
<shevy> phat4life ewwww
<phat4life> i see that in code bases all the time
<shevy> is what you posted valid code?
<atmosx> sigurding: yes 2.1.0 and 2.0.0 and 1.9.3 depending on the proejct
<phat4life> idk, i did it on one line
<shevy> >> module def class < self end end
<eval-in> shevy => /tmp/execpad-bce80789a72a/source-bce80789a72a:2: syntax error, unexpected '<', expecting ';' or '\n' ... (https://eval.in/119820)
<phat4life> yeah that
<shevy> it's not valid!
lw has joined #ruby
<phat4life> ah, let me try again
<centrx> INVALID CODE DETECTED
Shidash has quit [Ping timeout: 255 seconds]
<shevy> but to answer your question
<shevy> phat4life it is often done to make several class methods
<sigurding> atmosx: seems a hard journey, to get a running ruby environment
<shevy> though your def confuses me there
<phat4life> hold on, let me try in irb
<shevy> >> module Foo; class << self; def yo; puts 'hi from yo()'; end; end; Foo.yo
<eval-in> shevy => /tmp/execpad-c8a031ddb2ea/source-c8a031ddb2ea:7: syntax error, unexpected end-of-input, expecting keyword_end (https://eval.in/119821)
<shevy> damn it
<shevy> >> module Foo; class << self; def yo; puts 'hi from yo()'; end; end; end; Foo.yo
<eval-in> shevy => hi from yo() ... (https://eval.in/119822)
<shevy> possibly when you want to use more than one class method, and aliases inside that
<phat4life> i think that is it
sambao21 has joined #ruby
<phat4life> what is that << operator
<shevy> >> module Foo; class << self; def yo; puts 'hi from yo()'; end; alias yops yo; end; end; Foo.yops
<eval-in> shevy => hi from yo() ... (https://eval.in/119823)
erikruthven has joined #ruby
<shevy> hey
<shevy> you have not used << in ruby phat4life ?
<atmosx> sigurding: not really.
yfeldblum has joined #ruby
<phat4life> for pushing stuff into an array
rudisimo has quit []
<atmosx> sigurding: you just need to recompile ruby (or rubies) and gems
<sigurding> atmosx: so for rvm just: \curl -sSL https://get.rvm.io | bash -s stable?
<phat4life> i don't konw what it does when you do class << self
<atmosx> sigurding: yeah, you use bash?
<sigurding> for development?
<centrx> phat4life, class << self opens up the singleton class for access
<sigurding> or installation?
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<atmosx> sigurding: no, as a shell
<sigurding> atmosx: I am using terminal, that's bash I guess?
<madhatter> atmosx: Ok. Not a big deal, but I thought this might be a common problem and there would be a solution in ruby or gem iteself.
Jetchisel has joined #ruby
<atmosx> sigurding: yeap. Just the run the command then. When it's finnished read the comments you'll see on the termianl and if you have any question feel free to ask
<sigurding> atmosx: great, thanks!
<phat4life> awww i see
pagioss has quit [Remote host closed the connection]
<atmosx> madhatter: no one I know (except me on a serveR) uses system's ruby for anything
kate_r has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tyranjovka has left #ruby ["WeeChat 0.3.9.2"]
mehlah has joined #ruby
<atmosx> madhatter: so this kind of things are sorted in a arguable way by ruby managers (rvm, rbenv, etc)
erikruthven has quit [Client Quit]
RaCx has joined #ruby
<sigurding> atmosx: ok installing 2.1.0 now
<atmosx> sigurding: good luck :-)
mehlah has quit [Client Quit]
lw has quit [Quit: s]
mjs2600 has joined #ruby
zachallett has joined #ruby
Skaag has joined #ruby
mjs2600 has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
mjs2600 has joined #ruby
monkegjinni has joined #ruby
fraterla_ has joined #ruby
george2|chakra has joined #ruby
fraterla_ has quit [Client Quit]
Hanmac has quit [Ping timeout: 264 seconds]
george2 has quit [Ping timeout: 252 seconds]
fraterla_ has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
YamakasY_ has quit [Remote host closed the connection]
fraterlaetus has quit [Ping timeout: 240 seconds]
teddyp1cker has quit [Remote host closed the connection]
vedic has joined #ruby
fraterlaetus has joined #ruby
monkegjinni has quit [Ping timeout: 255 seconds]
<vedic> How to upgrade ruby (I am running 1.8.7) ? I have redmine installed on this server.
Hanmac has joined #ruby
saarinen has quit [Quit: saarinen]
nolic has joined #ruby
<atmosx> vedic: what operating system?
Shidash has joined #ruby
<vedic> I think I should run at 1.9.3
nomadic has quit [Ping timeout: 255 seconds]
mansi has quit [Remote host closed the connection]
aryaching_ has quit [Ping timeout: 240 seconds]
<vedic> atmosx: Ubuntu 12.04 LTS
Hobogrammer_ has quit [Ping timeout: 240 seconds]
<atmosx> vedic: I'm positive that ubuntu has 1.9.3 version instead of 1.8.7 which is osbolete
mansi has joined #ruby
<atmosx> obsolete
<atmosx> vedic: but you could try using system-wide or single-user rvm and run redmine using rvm's ruby
m4n1f3st0 has joined #ruby
mansi has quit [Read error: Connection reset by peer]
juarlex has joined #ruby
fraterla_ has quit [Ping timeout: 240 seconds]
<vedic> atmosx: I have checked. It is 1.8.7 and I think due to that I am finding problems
<atmosx> vedic: can you upgrade the entire system?
<atmosx> kernel etc?
mansi has joined #ruby
mansi has quit [Remote host closed the connection]
chrisseaton has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
shaunbaker has joined #ruby
nomadic has joined #ruby
_HolyCow has quit [Quit: Leaving.]
m4n1f3st0 has quit [Client Quit]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby
npearson_ has quit [Remote host closed the connection]
rootshift has joined #ruby
phat4life has quit [Quit: Leaving.]
freerobby has quit [Read error: Connection reset by peer]
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
freerobby has joined #ruby
<madhatter> atmosx: I had other issues with rvm. That's why I tried to get rid of it. I liked the idea of rvm though.
mansi has quit [Ping timeout: 240 seconds]
m4n1f3st0 has joined #ruby
<vedic> atmosx: Yea, I can upgrade system wide Ruby
sputnik1_ has joined #ruby
<atmosx> vedic: then use that I guess
<atmosx> madhatter: I'm so much used to it that I don't know how to live without it
m8 has quit [Quit: Sto andando via]
<madhatter> atmosx: Sometimes I get errors like this when I try to build something which uses bundler: ..../rubygems/dependency.rb:296:in `to_specs': Could not find 'bundler' (>= 0)
nomadic has quit [Ping timeout: 240 seconds]
<madhatter> Bundler is installed in the gemset for the used ruby version
saarinen has joined #ruby
<atmosx> madhatter: inside tmux?
sailias has quit [Ping timeout: 240 seconds]
freerobby has quit [Client Quit]
mansi has joined #ruby
<atmosx> madhatter: you should try someting like: rvm use ruby-2.1.0 && rvm gemset use rails
<atmosx> madhatter: the example is for rails etc.
<atmosx> madhatter: you can adjust it
philcrissman has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
<madhatter> atmosx: I have to call makepkg with sudo. I think that is messing things up
<atmosx> madhatter: sudo yes
freerobby has joined #ruby
<atmosx> madhatter: uses differet paths
Hanmac has quit [Ping timeout: 240 seconds]
<madhatter> But 'sudo echo $PATH' contains the correct path
xaq has joined #ruby
<atmosx> madhatter: you're using specific gemsets?
<atmosx> madhatter: maybe sudo is using your defualt rvm configuration/ruby-vesion
<atmosx> version
thesheff17 has quit [Ping timeout: 264 seconds]
Hobogrammer has joined #ruby
jonnyro has quit [Quit: leaving]
Lewix has quit [Remote host closed the connection]
tjr9898_ has quit [Remote host closed the connection]
YamakasY has joined #ruby
weaksauce has joined #ruby
<madhatter> No specific gemsets at the moment.
<madhatter> sudo which bundle points to the same as which bundle
<sigurding> atmosx: seems to work with rvm and 2.1.0
<atmosx> sigurding: awesome
shaunbaker has quit []
Hanmac has joined #ruby
bradhe has quit [Remote host closed the connection]
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<atmosx> madhatter: hm, I'm of ideas but I had some troubles with sudo before... I can't recall specifics though
bradhe has joined #ruby
fijimunkii has quit [Ping timeout: 264 seconds]
carraroj has joined #ruby
CpuID has quit [Read error: Connection reset by peer]
RaCx_ has joined #ruby
YamakasY has quit [Ping timeout: 240 seconds]
<sigurding> atmosx: is there a way to call method only if it exists?
RaCx has quit [Ping timeout: 255 seconds]
RaCx_ is now known as RaCx
Hanmac1 has joined #ruby
<atmosx> sigurding: I'd for begin/rescue/end
newbie1r has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
toastynerd has quit []
<atmosx> sigurding: but you could also write another method to handle the error.
<sigurding> atmosx: so no way of doing object.methods.contains...?
<abdulsattar> sigurding: object#respond_to? :method tells you if it responds to that method
Notte has quit []
virtualize has joined #ruby
YamakasY has joined #ruby
<atmosx> 'Hello'.respond_to?('downcase') => true
Hanmac has quit [Ping timeout: 255 seconds]
kennym has joined #ruby
<abdulsattar> > 'Hello'.respond_to?('downcase')
<abdulsattar> >> 'Hello'.respond_to?('downcase')
zigomir has quit [Ping timeout: 240 seconds]
<abdulsattar> Where's this eval_in bot?
<atmosx> abdulsattar: no idea, hehe
carraroj has quit [Client Quit]
DrShoggoth has quit [Quit: Leaving]
<centrx> >> "Are you there?" && "I'm here!"
<eval-in> centrx => "I'm here!" (https://eval.in/119862)
zachallett has quit [Remote host closed the connection]
<madhatter> atmosx: Thank you. If I'm in the mood I will try to figure it out tomorrow
zachallett has joined #ruby
<abdulsattar> >> "Are you partial to goodlooking people?" && "Yes, I am!"
<eval-in> abdulsattar => "Yes, I am!" (https://eval.in/119863)
mjs2600 has quit [Remote host closed the connection]
<atmosx> madhatter: good luck with that :-)
Renich has quit [Quit: Renich]
jollyy has quit [Ping timeout: 264 seconds]
mjs2600 has joined #ruby
doodlehaus has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
b00stfr3ak has quit [Ping timeout: 255 seconds]
CpuID has joined #ruby
CpuID has joined #ruby
CpuID has quit [Changing host]
tharindu has joined #ruby
mp___ has joined #ruby
<centrx> >> "Do you like cookies?".gsub(/Do|you |ike | |\?/, { "you " => "I ", "ike " => "ove ", "?" => "!" })
<eval-in> centrx => "I love cookies!" (https://eval.in/119864)
sputnik1_ has joined #ruby
<mp___> In Ruby 2.1, is there any (notable) performance benefit to using string literals 'like this' instead of "like this"?
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
<centrx> mp___, No
zachallett has quit [Ping timeout: 240 seconds]
<mp___> centrx: ta
<mp___> running rubocop over a big project - picking which rules we will actually follow
<shevy> mp___ in 'foo' ruby will never have to interprete
zB0hs has joined #ruby
<mp___> yep
<mp___> but .. does that actually end up in faster execution? or is ruby smart enough to realise that "foo" will also never interpet?
<shevy> hmm
Elico has joined #ruby
<centrx> mp___, It may be Less Than 1% faster
bradhe has quit [Remote host closed the connection]
<shevy> hehe
<abdulsattar> mp___: Ruby is interpreted, so since it'll always do things at runtime, I guess it'll check at runtime
Lewix has joined #ruby
kpshek has quit []
tharindu has quit [Ping timeout: 240 seconds]
<centrx> mp___, But even that Less Than 1% faster is not consistent in testing here
npearson has joined #ruby
<centrx> mp___, sometimes it is less than 1% slower
Hanmac1 has quit [Ping timeout: 240 seconds]
<centrx> So meaningless
bradhe has joined #ruby
<mp___> centrx: yep
<shevy> mp___ what will you do now
<mp___> abdulsattar: it's interpreted, but I assumed that'd get dealt with in the initial AST pass
<mp___> shevy: tell rubocop to ignore it :)
ndrei has quit [Ping timeout: 240 seconds]
<shevy> robocop?
bradhe has quit [Remote host closed the connection]
Elico has quit [Read error: Connection reset by peer]
<centrx> rubocop
_HolyCow has joined #ruby
rickruby has joined #ruby
blizzow has joined #ruby
bradhe has joined #ruby
<mp___> thanks all
mp___ has left #ruby ["Leaving..."]
<atmosx> youtube is down?!
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
rayners has quit [Ping timeout: 255 seconds]
Tomasso has joined #ruby
ga1j1n has quit [Remote host closed the connection]
dblessing has quit [Quit: dblessing]
vedic has quit [Quit: Leaving.]
<blizzow> I'm trying to run this script. It keeps dying out with "undefined method `elements' for nil:NilClass" I think it's from around line 512. Does anyone here see what's wrong? http://pastie.org/8917171
saarinen has quit [Quit: saarinen]
einarj has quit [Remote host closed the connection]
<centrx> blizzow, There is no instance of "elements" in that pastie
jlast has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
geopet has quit []
<centrx> blizzow, Also you should separate the configuration into a configuration file; and use object-oriented code.
fraterlaetus has quit []
npearson has quit [Ping timeout: 240 seconds]
<blizzow> centrx: I just downloaded the script from the nagios plugins site. It doesn't work out of the box and seems to have some bugs, I figured someone here might have a quick fix. I know nearly nothing of ruby.
<pipework> Use configuration blocks too!
<centrx> blizzow, Post the error backtrace
h4mz1d has joined #ruby
ndrei has joined #ruby
_HolyCow has quit [Quit: Leaving.]
bradhe has joined #ruby
kpshek has joined #ruby
linojon has quit [Quit: linojon]
sputnik1_ has joined #ruby
endash_ has joined #ruby
VTLob has quit [Quit: VTLob]
Elico has joined #ruby
samuel02 has quit [Remote host closed the connection]
gstamp has joined #ruby
Vovko has quit []
vlad_starkov has quit [Remote host closed the connection]
<blizzow> centrx: Is this what you mean? Exception `OpenSSL::SSL::SSLError' at /usr/lib/ruby/1.9.1/openssl/buffering.rb:174 - read would block
<blizzow> Error occured while trying to retrieve CloudWatch metrics statistics: undefined method `elements' for nil:NilClass
<blizzow> Exception `NoMethodError' at /var/lib/gems/1.9.1/gems/amazon-ec2-0.9.17/lib/AWS.rb:348 - undefined method `elements' for nil:NilClass
momigi has quit [Remote host closed the connection]
<centrx> blizzow, Well, that's not really complete, but yes
crucify_me has joined #ruby
geggam has quit [Remote host closed the connection]
momigi has joined #ruby
<centrx> blizzow, Really I would look for another plug-in that does what you want
<DouweM> the exception is being caught on line 523
<abdulsattar> blizzow: Where did you get the line number 512 from? It's commented out in your pastie
pipework has left #ruby [#ruby]
<DouweM> so it does happen in 514, but that's just a call to line 47
michaeldeol has joined #ruby
<abdulsattar> >> /[[:word]]/ === 'षहय़फ़थऩप'
<eval-in> abdulsattar => false (https://eval.in/119872)
mansi has quit [Remote host closed the connection]
<blizzow> centrx: I just grepeed for "CloudWatch metrics" (because it was in the error) on the file and it seemed to be around there. centrx, I haven't found any other plugin that would do the same or similar.
nfk has quit [Quit: yawn]
TheCleanGame has joined #ruby
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mary5030 has quit [Remote host closed the connection]
mansi has joined #ruby
Lewix has quit [Remote host closed the connection]
newbie1r has joined #ruby
sputnik1_ has joined #ruby
superscott[8] has quit [Quit: superscott[8]]
centrx has left #ruby [#ruby]
saarinen has joined #ruby
pipework has joined #ruby
centrx has joined #ruby
mansi_ has joined #ruby
momigi has quit [Ping timeout: 255 seconds]
mansi has quit [Read error: Connection reset by peer]
<crucify_me> hi line 10 is the body of the method using price, so does line 25 use the stock ruby method, <=>, or the <=> defined in this prog? http://pastie.org/8917193
Hanmac has joined #ruby
Lewix has joined #ruby
<DouweM> crucify_me: line 25 calls <=> on a.year, which is an integer
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DouweM> so it'll call the integer's <=>, not your Painting <=>, which will be used when comparing paintings
<DouweM> same goes for line 20—your own <=> isn't used anywhere in this example
duggiefr_ has joined #ruby
kpshek has quit []
<crucify_me> DouweM: thanks hold on somethings odd...
_justin has quit [Ping timeout: 240 seconds]
<DouweM> cheap paintings you've got there, btw :)
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chris_thomson has joined #ruby
<abdulsattar> crucify_me: Never seen that style of writing ruby block parameters before, did you see it somewhere?
<DouweM> yeah, the args on the next line is weird
<pipework> abdulsattar: Those weren't block parameters.
<crucify_me> its a book example abdulsattar
<pipework> Oh you mean L24?
<abdulsattar> pipework: yes,
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
_justin has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
yubrew has quit [Remote host closed the connection]
duggiefresh has quit [Ping timeout: 240 seconds]
crystal77 has quit [Quit: Computer has gone to sleep.]
<abdulsattar> crucify_me: But I like the style, makes the parameters more visible
cpruitt has quit [Quit: cpruitt]
<crucify_me> both price and year come in as arguments when three paintings are initialized on l. 14 - 16.
sigurding has quit [Quit: sigurding]
sputnik1_ has joined #ruby
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework> I don't like the style. A whole line for block parameters?
cpruitt has joined #ruby
<crucify_me> confused here. why isn't the <=> defined in the prog. used anywhere DouweM
<DouweM> crucify_me: because you're never comparing paintings
<DouweM> just their years and prices
h4mz1d has quit [Ping timeout: 240 seconds]
glebm has quit [Ping timeout: 240 seconds]
<DouweM> you need to actually call picasso <=> rembrandt to use your custom Painting#<=> method
RaCx has joined #ruby
<abdulsattar> yes, line 20 could just be a <=> b
ndrei has quit [Ping timeout: 264 seconds]
<crucify_me> DouweM: what is the lesson taught in this prog then?
<pipework> Well, you can use comparable now.
freggles has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 264 seconds]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
glebm has joined #ruby
not_a_guest is now known as rakm
<abdulsattar> crucify_me: The lesson taught in that prog is you can define < or > for any class you create.
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
olivier_bK has joined #ruby
<crucify_me> abdulsattar: but it goes on not to use the method defined....weird.
<DouweM> that is weird
kennym1 has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<DouweM> sure you've copied it correctly? :)
<crucify_me> DouweM: book elsewhere. will check DouweM abdulsattar pipework thanks!
rococo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_zxq9_ has quit [Quit: Konversation terminated!]
maletor has joined #ruby
hermanmunster has joined #ruby
kennym has quit [Ping timeout: 240 seconds]
mercwithamouth has joined #ruby
saarinen has quit [Quit: saarinen]
Tomasso has quit [Ping timeout: 240 seconds]
rootshift has joined #ruby
axsuul has joined #ruby
axsuul has quit [Max SendQ exceeded]
zxq9 has joined #ruby
monkegjinni has joined #ruby
axsuul has joined #ruby
<crucify_me> DouweM: et al. , anyone ever read sandi metz book practical OO design in ruby?
_justin has quit [Quit: _justin]
axsuul has quit [Max SendQ exceeded]
saarinen has joined #ruby
<pipework> crucify_me: No one, ever.
<pipework> It's a good book.
<crucify_me> pipework I read the well-grounded rubyist, took a year off to learn rails (never learned it) now back with pure ruby.
<pipework> good man.
evenix has joined #ruby
<crucify_me> pipework: I wonder if the metz book is over my head. I don't get much oop.
jhass is now known as jhass|off
flagg0204 has quit [Ping timeout: 264 seconds]
<pipework> crucify_me: It's easy
vlad_sta_ has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<crucify_me> pipework: like above <=> example, I'm not one to mis-type an entire custom designed <=>. so I guess I have a lot of questions about it.
axsuul has joined #ruby
ndrei has joined #ruby
axsuul has quit [Max SendQ exceeded]
cpruitt has quit [Quit: cpruitt]
<crucify_me> but thanks ^
mr_blue has joined #ruby
axsuul has joined #ruby
<mr_blue> hi all
axsuul has quit [Max SendQ exceeded]
RaCx has quit [Quit: Computer has gone to sleep.]
<mr_blue> is youtube down ?
rickruby has quit [Remote host closed the connection]
<pipework> IS this the best channel for figuring that out?
olivier_bK has quit [Ping timeout: 255 seconds]
jhass|off is now known as jhass
dkamioka_ has joined #ruby
axsuul has joined #ruby
<hermanmunster> mr_blue: write a heroku app to tell us if youtube is down
<mr_blue> pipework: i watch sometime ruby conferences on youtube so ...
<crucify_me> pipework: et al. one last question if you have time. b*nagy told me ruby was a transferable skill whereas rails was not. that gelled with me and I wonder what other people say about such a comment...
<mr_blue> so youtube and ruby are related !
axsuul has quit [Max SendQ exceeded]
samuel02 has joined #ruby
mjs2600 has quit [Remote host closed the connection]
chipotle_ has quit [Quit: cya]
<pipework> crucify_me: Egh, it's transferrable in that you might have learned more than rails while working with rails.
<pipework> Like http things, middleware, etc.
rmorello has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<mr_blue> hermanmunster: write a heroku app to tell you when it's better no keep it close
dkamioka has quit [Ping timeout: 240 seconds]
<crucify_me> pipework: yeah I got flustered, I'm just going to treat ruby as a long-term hobby. thanks
zachallett has joined #ruby
<pipework> crucify_me: It totally is worth it! I love ruby.
<crucify_me> pipework: excellent thanks for the encouragement. !!
<pipework> Cheers. :D
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<DouweM> I learned a lot of Ruby from reading the Rails core
<crucify_me> I found rails bloody tough DouweM. I was using the hartl tutorial .. felt like a blind bat.
evenix has quit [Remote host closed the connection]
sparrovv has joined #ruby
chipotle has joined #ruby
claymore has quit [Quit: Leaving]
evenix has joined #ruby
timonv has joined #ruby
zachallett has quit [Remote host closed the connection]
mr_blue has quit [Quit: leaving]
jobewan has quit [Quit: Leaving]
zachallett has joined #ruby
gregf has joined #ruby
samuel02 has quit [Ping timeout: 240 seconds]
crystal77 has joined #ruby
Tomasso has joined #ruby
robbyoconnor has quit [Ping timeout: 240 seconds]
TigerWolf has joined #ruby
chipotle has quit [Client Quit]
<abdulsattar> crucify_me: Do you know HTML, CSS?
foredoomed has joined #ruby
<DouweM> crucify_me: what in particular did you find hard?
evenix has quit [Ping timeout: 255 seconds]
<DouweM> crucify_me: did you have any previous experience with MVC?
yfeldblu_ has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
crystal77 has quit [Client Quit]
cescalante is now known as ce_afk
yfeldblum has quit [Ping timeout: 240 seconds]
TheCleanGame has left #ruby [#ruby]
rainmanjam has quit [Remote host closed the connection]
larissa has quit [Quit: Leaving]
zachallett has quit [Ping timeout: 255 seconds]
tharindu_ has joined #ruby
<crucify_me> abdulsattar: DouweM I have no programming experience. I went through the well-grounded rubyist book and could get most things to work. the rails was sort of overwhelming. the comment about learning pure ruby by b*nagy was interested and I think I'm going to master ruby first.
<crucify_me> interesting*
<DouweM> yeah, with no programming experience I definitely wouldn't dive into Rails immediately
<DouweM> Ruby is great, and so is this channel if you need help :P
ktosiek has quit [Ping timeout: 255 seconds]
<shevy> die!
Elico has quit [Ping timeout: 240 seconds]
<DouweM> yo shevs
<crucify_me> I even looked at padrino but there was little community it seems ! many thanks DouweM abdulsattar
mlpinit has joined #ruby
bradhe has quit [Remote host closed the connection]
<abdulsattar> crucify_me: I think it'll help you if you get into web development
<abdulsattar> go through codeacademy once and then sinatra and then rails
foredoomed has quit [Ping timeout: 264 seconds]
<crucify_me> abdulsattar: codeacademy for ruby?
kevind has quit [Quit: kevind]
byprdct has joined #ruby
<abdulsattar> Not for Ruby, for web development, the HTML, CSS & JS part
<crucify_me> ok abdulsattar thanks
<abdulsattar> good luck!
<shevy> crucify_me, well I would expect that, sinatra is not that large, and padrino builds on top of sinatra
ephemerian has quit [Quit: Leaving.]
<shevy> some frameworks seem to die slowly like ramaze
blackmesa has joined #ruby
<crucify_me> abdulsattar: thanks. ... shevy
<shevy> I also think there used to be well over 600 people on #RubyOnRails, nowadays it is in the range of 300 to 400
<crucify_me> shevy: why
<abdulsattar> so, Rails is dying?
jollyy has joined #ruby
ga1j1n has joined #ruby
tharindu_ has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
<Soulcutter> not particularly as far as I can tell
kevind has joined #ruby
<shevy> crucify_me not sure; rails probably had a hype phase, then it declined, so the current ratio may seem more realistic
<byprdct> hi everyone. I've been told by a few people lately that ruby isn't a good programming language for what apps are being built for now e.g. concurrency apps etc. is ruby still ok to learn or should I be learning something else?
<abdulsattar> Yeah, I don't think there's any framework that can match rails
endash_ has quit [Quit: endash_]
ner0x has joined #ruby
<crucify_me> shevy: do you use rails for work?
<shevy> crucify_me for ramaze, no idea, perhaps other interests or foci - I also think rack kinda took away a lot from the webframeworks in ruby, suddenly people need significantly less from a webframework because rack provides a lot now
<abdulsattar> byprdct: Haskell is what you should learn
Elico has joined #ruby
montyboy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<abdulsattar> It's the language from the future
<shevy> crucify_me not quite yet but it's on my todo list; the last month I was mostly hacking away just on postgresql and displaying this in old school .cgi alone
<byprdct> why do you say that adbulsattar
<crome> crucify_me: rails is extremely difficult to grasp if you don't understand whats going on under the hood
<DouweM> byprdct: MRI, the main Ruby interpreter, has a global interpreter lock and therefore its use of threads is very limited. But that's a limitation in MRI, not Ruby. You can use another interpreter like JRuby that doesn't have a GIL and does have full threads
<Soulcutter> byprdct: "apps being built for now" is incredibly vague. "concurrency apps" what does this even mean?
ga1j1n has quit [Remote host closed the connection]
<shevy> abdulsattar can you explain in simple terms to byprdct what a monad is
<crome> its a pretty badly leaking abstraction
freerobby has quit [Quit: Leaving.]
yubrew has joined #ruby
<abdulsattar> shevy: monads are just monoids in the category of endofunctors
<shevy> hey
monkegji_ has joined #ruby
<shevy> someone else here said that before
<crucify_me> crome: good call I sensed that throughout.
<shevy> byprdct there you go! you now know enough about haskell
wgosling has joined #ruby
wgosling has quit [Client Quit]
<abdulsattar> byprdct: Anyway, Ruby is still a good language
mansi_ has quit [Quit: Leaving...]
monkegjinni has quit [Read error: Connection reset by peer]
andrewlio has quit [Quit: Leaving.]
rococo has joined #ruby
<byprdct> DouweM so programming in Ruby and using JRuby as the interpreter will allow us to implement apps similar to the way node.js handles concurrency
<abdulsattar> It'll teach you some pretty good stuff, then you should wait till a very good language comes
<abdulsattar> or Go gets better
fgo has joined #ruby
<abdulsattar> or people start using Haskell more
<Soulcutter> well, node.js is single-threaded
ga1j1n has joined #ruby
<crome> Soulcutter: if you do nitpicking then do it properly. node.js itself is not single-threaded, its the javascript execution thats sequential
<byprdct> sorry I'm new to programming I know I probably have some stupid questions I just want to make sure I don't spend the next year learning something that will be hard to find a job for
<Soulcutter> crome: I was waiting for that :)
funburn has joined #ruby
<byprdct> I love ruby though what Ive read so far
<abdulsattar> seriously, this is the mindset I have, Haskell is a good language without very good tools, Go is not a groundbreakingly good language with some very good tools, Ruby too is a good language with a lot of very good tools
<byprdct> hearing about JRuby is definitely an pickup
kirun has quit [Quit: Client exiting]
<DouweM> :)
<crucify_me> well I hated all the testing the capybara rspec cucumber in rails. I spent more time on that stuff than comprehending mvc.
<byprdct> Thanks DouweM
<DouweM> crucify_me: it's very, very good to learn
<slash_kick> byprdct: have you seen torquebox?
<DouweM> crucify_me: testing is intricate to any large application
<byprdct> I haven't, what is it slash_kick
yubrew has quit [Ping timeout: 240 seconds]
<slash_kick> byprdct: http://torquebox.org/
<crucify_me> DouweM: thanks ..keeping an open mind.
<crome> crucify_me: you might skip cucumber though
<DouweM> crucify_me: it can seem overwhelming if you're not used to it, it definitely was to me coming from iOS/Mac development where testing is pretty much nonextistent, but testing is so, so incredibly useful
<DouweM> yeah, cucumber can be skipped
<crucify_me> yeah crome if I want human language I'll read Faulkner.
<DouweM> :)
<newbie1r> hi, Aptana doesn't launch my ruby programs. It just says 'terminated' in the comments box. I extracted the aptana files to my user folder. Geany works fine. Do I have to do anything speacial in aptana like specifying any paths?
<crome> crucify_me: the good thing about rails is it becomes second nature with time, convention over configuration does wonders if you get used to said convention
ga1j1n has quit [Remote host closed the connection]
<crucify_me> crome: gratzie DouweM I gotta go more drama later.
adsisco has quit [Ping timeout: 240 seconds]
ga1j1n has joined #ruby
<crome> have fun
<crome> or luck
<crome> or both
<crome> or a beer
james_d_h has joined #ruby
<DouweM> both from me
sparrovv has quit [Remote host closed the connection]
<DouweM> damn I could go for a beer right now
vlad_starkov has joined #ruby
<crucify_me> !!
<crome> yeah, Im actually wondering why Im not drinking one at the moment
adsisco has joined #ruby
montyboy_ has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
byprdct has quit [Ping timeout: 264 seconds]
<DouweM> I know why I'm not, none left in the fridge :(
<DouweM> Also it's 12:12am an I'm going to bed in a minute
bradhe has quit [Remote host closed the connection]
ebwise has quit [Quit: Leaving]
TheCleanGame has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
rootshift has joined #ruby
crucify_me has quit []
_bart has joined #ruby
ConstantineXVI has quit [Ping timeout: 240 seconds]
RohanRNS has quit [Ping timeout: 240 seconds]
jeregrine has quit [Quit: Connection closed for inactivity]
byprdct has joined #ruby
<byprdct> sorry got kicked off
phantomtiger has quit [Quit: phantomtiger]
crucify_me has joined #ruby
snath has quit [Ping timeout: 255 seconds]
maZtah has joined #ruby
Nightmare has quit [Ping timeout: 240 seconds]
kenndel_ has joined #ruby
pipework has quit [Ping timeout: 240 seconds]
monkegji_ has quit [Ping timeout: 240 seconds]
Patchou has quit [Ping timeout: 240 seconds]
RohanRNS has joined #ruby
Patchou has joined #ruby
kenndel has quit [Ping timeout: 240 seconds]
crucify_me has quit [Client Quit]
ConstantineXVI has joined #ruby
vlad_starkov has quit [Ping timeout: 255 seconds]
AlexRussia has quit [Ping timeout: 240 seconds]
AlexRussia has joined #ruby
unholycrab has quit [Changing host]
unholycrab has joined #ruby
james_d_h has quit [Ping timeout: 255 seconds]
lkba has quit [Ping timeout: 255 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mercwithamouth has quit [Ping timeout: 240 seconds]
<shevy> yeah
<shevy> let's kick byprdct again!
<byprdct> ha ha
<byprdct> no my internet went down
<byprdct> :)
pipework has joined #ruby
<byprdct> shevy you know haskell too?
<shevy> byprdct some years ago I worked with haskell briefly
Klumben has quit [Ping timeout: 240 seconds]
<shevy> but there is nothing that haskell can offer that ruby can not fulfil
<byprdct> ok
<byprdct> what about Scala
Nightmare has joined #ruby
<byprdct> same
<shevy> is that the java one?
<DouweM> They're both Turing complete, so obviously both can do whatever :P
<Soulcutter> scala is a jvm language
NorrinRadd has quit [Quit: Deuces!]
Nightmare is now known as Guest22355
<shevy> k
unholycrab is now known as computer
<abdulsattar> byprdct: I mentioned Haskell as a joke, don't take it seriously
<shevy> byprdct I am java free so there goes scala
<byprdct> yeha
<Soulcutter> I dabbled in scala and found it to be very complex
<pipework> shevy: poor shevy. Can't even JVM.
<DouweM> For uni I had to build a web app using Haskell. That was not exactly fun
workmad3 has quit [Ping timeout: 264 seconds]
<byprdct> ok :) adulsattar
_lynX has joined #ruby
<shevy> pipework yeah, I would have to have java for it, that is not possible
<pipework> Well, you'd need the JVM and it probably has some java in it.
<Soulcutter> it's definitely powerful, but it's not necessarily optimized for developer happiness the way ruby is
<byprdct> This torque box uses Jboss, isn't that the same
<byprdct> Java
TheCleanGame has left #ruby [#ruby]
<shevy> well it has a capital J in it
<byprdct> lol
<abdulsattar> lol
<Soulcutter> if you want great scala information you should probably ask #scala
<byprdct> nah all I needed was confirmation which I got
<byprdct> I'm learning ruby
<shevy> byprdct I think the only thing I regret is that I did not start with C before ruby
<byprdct> how so?
<shevy> I mean, I know the basics but the pointers confused me and then it got boring
jamto11 has quit [Remote host closed the connection]
atmosx has quit [Quit: Lost in trance]
jamto11 has joined #ruby
<shevy> byprdct dunno. I am not a programmer for one, I use ruby only as the glue for everything computer-related
<Soulcutter> you'll likely program in multiple languages in your career, so I wouldn't sweat picking the "right one"
dapz has joined #ruby
<shevy> byprdct but man, think what you could do with C _and_ ruby
<byprdct> desktop apps
m4n1f3st0 has joined #ruby
Klumben has joined #ruby
<shevy> and now, C seems way too difficult or boring compared to ruby
<DouweM> what would you want to do with C?
<shevy> everything!
jamto11 has quit [Remote host closed the connection]
<shevy> a new language!
<shinobi_one> C++ maybe, but C?
<DouweM> If you don't have to work on embedded systems or low level language implementation, there's not really a point
<shevy> well I am already too old for that but 15 years ago!
m4n1f3st_ has joined #ruby
<shevy> DouweM but ruby is written in C
<DouweM> I know it because of the Pebble smartwatch and I already knew the basics because of Objective-C, but I haven't found any use for it otherwise
<DouweM> shevy: right. low level language implementation
<shevy> shinobi_one I can't see the huge difference between C or C++ really
<abdulsattar> shevy: Watch out for Rust, people say it could be the new C or C++
monkegjinni has joined #ruby
<shevy> Rust looks all the same
teddyp1cker has joined #ruby
<DouweM> shevy: OOP is a big one
<shevy> DouweM well, that depends on the OOP ... we have ... gtk in C!!!
<shevy> :D
itamaryu has joined #ruby
<shevy> let me try to find the old example...
<itamaryu> Hi guys, I need your help and ideas. I'm trying to reach to the affiliate field and I'm looking for a way to send the user from my website to the affiliate page (which is not mine), when the user complete the conversion I want to be notified. Is there a way to do that without being relay on the affiliate page ?
<shevy> watch this DouweM
<shevy> window = gtk_window_new(GTK_WINDOW_TOPLEVEL
<shevy> this makes a new window!
<DouweM> shevy: that's hardly OOP :P
<shevy> an object! In C gtk!!!
<DouweM> shevy: that's just structs
<shevy> Gtk.Window.New LOOK
yasushi has joined #ruby
<shevy> well, ruby has @ivars as structs :)
<DouweM> shevy: but yeah, you can do a lot of OOP like stuff with structs, that's how Pebble OS works as well
<shevy> DouweM, now watch this:
doodlehaus has joined #ruby
<shevy> gtk_misc_set_alignment(GTK_MISC(label), 1.0, 0.5)
<shevy> CAN YOU FEEL IT?
charliesome has joined #ruby
computer is now known as unholycrab
<DouweM> haha
<shevy> this is an alignment inside of a widget
roolo has quit [Quit: Linkinus - http://linkinus.com]
<shevy> one thing I liked in C++ was the <<
<shevy> cout << "bla" << endl; or something like that
m4n1f3st0 has quit [Ping timeout: 240 seconds]
<DouweM> I've never written C++
<shevy> in C I had to use printf or sprintf, I forgot, but it was no fun at all :(
<abdulsattar> itamaryu: so, you want the affiliate page which is not yours to notify you when a successful conversion occurs?
<shevy> DouweM I also wanted to try out erlang more seriously but the syntax threw me off
Lewix has quit [Remote host closed the connection]
<pipework> It's a simple language.
Fin1te has joined #ruby
yfeldblu_ has quit [Ping timeout: 240 seconds]
<shevy> pipework don't take away the mystery :(
<abdulsattar> shevy: what's your opinion on Go?
<shevy> abdulsattar dunno... it seemed cleaner than C though, some people here like it, like bnagy
mikepack_ has joined #ruby
<shevy> pipework I loved the idea of distributed objects all over the place, it's like biological cells in a multicellular organism
<abdulsattar> yeah, but python and ruby people flocking to it makes little sense, Go is not that expressive, is it?
teddyp1cker has quit [Ping timeout: 264 seconds]
<shevy> well
<DouweM> shevy: You've quickly become one of my favorite people in this chat, but I don't even know your name or anything else about you. So I ask you, who is shevy?
<shevy> I know of one guy on #ruby who learned Go
<shevy> the reason he gave was that he had a head-start (advantage) back then because barely anyone else used Go yet
<Soulcutter> DouweM: Who is anyone?
whomp has quit [Quit: leaving]
<shevy> I dunno if he still uses Go
yfeldblum has joined #ruby
AlexRussia has quit [Quit: Konversation terminated!Good bye!]
rails426 has quit [Ping timeout: 255 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> DouweM I am on a search for myself as well :P the nick was from a MUD I played in the 1990s, it kinda stayed
abdulsattar has quit [Quit: going to bed now]
<DouweM> :)
saarinen has quit [Quit: saarinen]
<shevy> I have been very lazy for a long time, using gems since only at about 2 years and still not having found an ideal fit
<shevy> especially documentation is hard
mikepack has quit [Ping timeout: 240 seconds]
wigg has joined #ruby
mikepack_ has quit [Ping timeout: 255 seconds]
<shevy> DouweM but I am finally using ruby 2.1.1!
<Soulcutter> shevy: what MUD? I started programming in earnest because of MUDs
weeems has joined #ruby
<Soulcutter> I was on a lot of LPMuds back in the day
Skaag_ has joined #ruby
ctp_ has joined #ruby
smathieu_ has joined #ruby
dapz has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
werdnativ_ has joined #ruby
<shevy> Soulcutter a LPC MUD it used to be. I loved the object handling (in general); sword->move(find_player("bla")); , it was PaderMUD back then, renamed to Xyllomer, then kinda died when some admin made idiotic decisions
klue_ has joined #ruby
lkba has joined #ruby
philcris_ has joined #ruby
<DouweM> shevy: still on Ruby 1.9.3 here (A)
yarou_ has joined #ruby
YamakasY_ has joined #ruby
lw has joined #ruby
<shevy> and of course I also tried to write a MUD in ruby, but I stepped on my own toes... ruby offers a damn lot, it can confuse when you need to pick features or decide on things
itamaryu has left #ruby [#ruby]
yfeldblu_ has joined #ruby
eka_ has joined #ruby
grayWolf has joined #ruby
<shevy> DouweM I would be as well but tenderlove actually made a syck gem, I did not know that until today
xaq_ has joined #ruby
pietr0_ has joined #ruby
kayloos has joined #ruby
<shevy> and it works! so my invalid yaml files now work... I can then generate valid yaml files for my gems... and upload these \o/ but not today
<DouweM> haha
endash_ has joined #ruby
<DouweM> what invalid yaml do you have?
<shevy> Soulcutter you know LPC a bit right?
<shevy> DouweM well, none of it is in UTF-8 :(
<Soulcutter> shevy: RoD here http://www.rod.org/
razrunelord has quit [Ping timeout: 264 seconds]
<Soulcutter> yeah, I did a lot of LPC
nowthatsamatt_ has joined #ruby
<shevy> I used yaml files for my whole system, as config, and also added a lot of comments, including german characters
Yamakas__ has joined #ruby
<shevy> Soulcutter cool
fgo_ has joined #ruby
Skaag has quit [Disconnected by services]
<shevy> Soulcutter question - would you, if you write a MUD in ruby, use method_missing() ? :)
terrellt_ has joined #ruby
spyderma_ has joined #ruby
george2 has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<Soulcutter> o_O well, maybe...
<Soulcutter> that might actually be a fun project to try
snath has joined #ruby
<bnagy> use only method_missing
Xiti` has joined #ruby
Dreamer3__ has joined #ruby
polydius has joined #ruby
polydius has quit [Max SendQ exceeded]
<bnagy> refuse to define any methods on any objects - dispatch everything to the toplevel
codabrin_ has joined #ruby
Nicholas_ has joined #ruby
nolic_ has joined #ruby
<bnagy> and then pass explicit self
ndrei_ has joined #ruby
<DouweM> Am I the only one here who was born after the heyday of MUDs and never got to play any?
polydius has joined #ruby
polydius has quit [Max SendQ exceeded]
weems has quit [Write error: Connection reset by peer]
<Soulcutter> bnagy: I'm going to say that's going to get unweildy fast!
<shevy> Soulcutter there are so many things that one has to consider... I was thinking that I would just end up simulating LPC anyway
<crome> DouweM: nope
kevind has quit [Quit: kevind]
<toretore> anyone want to assist me in some thread-safe-making? https://gist.github.com/toretore/ea720d7cd8f2c268d4e0
<shevy> but in LPC, a 0 is false, and function calls on an object always work, in ruby not
<DouweM> crome: high five
polydius has joined #ruby
<Soulcutter> DouweM: mudders are pretty rare
polydius has quit [Max SendQ exceeded]
Afal_ has joined #ruby
<toretore> i know there's a deadlock there, i'm just curious how people solve it
george2|chakra has quit [Read error: Connection reset by peer]
camt has quit [Read error: Connection reset by peer]
polydius has joined #ruby
<shevy> sword->query_length(); # works, returns length in cm if it was defined
polydius has quit [Max SendQ exceeded]
<shevy> sword->query_lenght(); # typo, will return 0 by default
polydius has joined #ruby
<bnagy> well LPC was basically trying to make C more OO so non-hardcore programmers could use it
<shevy> :)
greenrose1 has joined #ruby
YamakasY_ has quit [Ping timeout: 240 seconds]
<bnagy> I mean, the only qualification to get wizzed was time, not programming ability
weeems is now known as weems
weems has quit [Changing host]
weems has joined #ruby
<bnagy> on most muds anyway
<shevy> DouweM I think they were strong in the 1990 to 1999; then came the rise of graphical games, also the browser games etc...
<crome> toretore: in << you lock the mutex and then in scanner again
<shevy> yeah bnagy
Guest22355 has quit [Changing host]
Guest22355 has joined #ruby
polydius has quit [Remote host closed the connection]
polydius has joined #ruby
<toretore> crome: you mean release the lock in between?
ce_afk is now known as cescalante
<toretore> oh, you were just pointing out the deadlock
radic has quit [Ping timeout: 240 seconds]
drPoggs has quit [Ping timeout: 240 seconds]
dmarr has quit [Ping timeout: 240 seconds]
sparrovv has joined #ruby
_HolyCow has joined #ruby
<bnagy> toretore: what am I missing? There are no threads in this code
lmickh has quit [Read error: Connection reset by peer]
IceDragon has quit [Ping timeout: 240 seconds]
mjmac has quit [Ping timeout: 240 seconds]
<shevy> Soulcutter when I started with ruby, some folks wanted to create a MUD; FaerieMUD. ged is on #ruby sometimes, the creator... Aria also used to be there, but seems to have disappeared a few years ago
IceDragon has joined #ruby
<toretore> i know where the deadlock is, i'm just curious to know what best practice is
byprdct_ has joined #ruby
<crome> oh, okay
Gadgetoid has quit [Read error: Network is unreachable]
rakm has quit [Ping timeout: 240 seconds]
Klumben has quit [Ping timeout: 240 seconds]
zpinter has quit [Ping timeout: 240 seconds]
culturelabs_ has quit [Ping timeout: 240 seconds]
<toretore> i can make several locks, but it seems messy
Lewix has joined #ruby
_lynX has quit [Ping timeout: 240 seconds]
JarJarBinks has quit [Ping timeout: 240 seconds]
Afal has quit [Write error: Broken pipe]
pietr0 has quit [Write error: Connection reset by peer]
pietr0_ is now known as pietr0
<bnagy> shevy: I played kind of a lot from like 89 to 96 I guess
nolic has quit [Write error: Broken pipe]
endash has quit [Write error: Connection reset by peer]
ndrei has quit [Write error: Broken pipe]
Dreamer3 has quit [Write error: Connection reset by peer]
Guest22355 is now known as Nightmare
yfeldblum has quit [Ping timeout: 321 seconds]
byprdct has quit [Ping timeout: 321 seconds]
fgo has quit [Ping timeout: 321 seconds]
YamakasY has quit [Ping timeout: 321 seconds]
philcrissman has quit [Ping timeout: 321 seconds]
NicholasFlamel has quit [Ping timeout: 321 seconds]
klue has quit [Ping timeout: 321 seconds]
smathieu has quit [Ping timeout: 321 seconds]
greenrose has quit [Ping timeout: 321 seconds]
codabrink has quit [Ping timeout: 321 seconds]
yarou has quit [Ping timeout: 321 seconds]
terrellt has quit [Ping timeout: 321 seconds]
werdnativ has quit [Ping timeout: 321 seconds]
kayloos_ has quit [Ping timeout: 321 seconds]
nowthatsamatt has quit [Ping timeout: 321 seconds]
_maes_ has quit [Ping timeout: 321 seconds]
nowthatsamatt_ is now known as nowthatsamatt
camt has joined #ruby
werdnativ_ is now known as werdnativ
<DouweM> shevy: I was born in 94, so that's before my time :)
<bnagy> after that they seemed to definitely be in decline
_lynX has joined #ruby
xaq has quit [Ping timeout: 242 seconds]
zpinter has joined #ruby
ctp has quit [Ping timeout: 242 seconds]
Speed has quit [Ping timeout: 242 seconds]
spyderman4g63 has quit [Ping timeout: 242 seconds]
Xiti has quit [Ping timeout: 242 seconds]
eka has quit [Ping timeout: 242 seconds]
grayWolf is now known as Speed
radic has joined #ruby
<bnagy> toretore: best practice for what, though. I don't see your threading model
<shevy> bnagy cool! I started a few years later, from 1994 to 1999
culturelabs_ has joined #ruby
JarJarBinks has joined #ruby
mjmac has joined #ruby
drPoggs has joined #ruby
<shevy> DouweM I guess you missed the old MUDs
wigg has quit [Remote host closed the connection]
<bnagy> like using your own mutex internal to an object is not really threading
ConstantineXVI has quit [Ping timeout: 240 seconds]
Azulinho has quit [Ping timeout: 240 seconds]
ga1j1n has quit [Remote host closed the connection]
<shevy> DouweM but at least you ... uhm... saw the rise of facebook! \o/
fgo_ has quit [Remote host closed the connection]
rakm has joined #ruby
<DouweM> hah
habanany has joined #ruby
<crome> shevy: haha, it was mean
endash_ is now known as endash
klaut has quit [Ping timeout: 240 seconds]
Azulinho has joined #ruby
JBreit has joined #ruby
ConstantineXVI has joined #ruby
<crome> although I guess it can be regarded as a multi-user dungeon
weems has quit [Ping timeout: 240 seconds]
Klumben has joined #ruby
weeems has joined #ruby
ga1j1n has joined #ruby
drjblouse__ has quit [Ping timeout: 240 seconds]
Atw has joined #ruby
<shevy> crome hehe, well to be honest... I don't really know what the young people do these days :(
terrellt_ is now known as terrellt
<shevy> I see them all with smartphones of course, constantly shuffling music
halkeye has joined #ruby
<shevy> but it reminds me more of zombies than people
fgo has joined #ruby
habanany has quit [Client Quit]
axsuul has joined #ruby
<shevy> and facebook I have no idea what it is
<DouweM> shevy: how old are you?
<crome> with an important difference though
ga1j1n has quit [Remote host closed the connection]
kayloos has quit [Remote host closed the connection]
<crome> it is legal to beat zombies with pipes
<DouweM> lol
<shevy> DouweM I reached the age where it is no longer polite to ask ;)
Yamakas__ has quit [Remote host closed the connection]
dmarr has joined #ruby
m4n1f3st_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
Hanmac1 has joined #ruby
<DouweM> goes to show that I'm one of those kids ou complain about :P
Gadgetoid has joined #ruby
drjblouse__ has joined #ruby
<shevy> dunno
<shevy> depends on what you do of course
<DouweM> asking impolite questions, for one
Squarepy has quit [Quit: Leaving]
<shevy> nah I do that all the time myself
Billy2 has quit [Ping timeout: 245 seconds]
<shevy> but the young ones scare me :\
Squarepy has joined #ruby
bricker`LA has joined #ruby
<DouweM> haha
Hanmac has quit [Ping timeout: 240 seconds]
monkegjinni has quit [Remote host closed the connection]
xcv_ has quit [Remote host closed the connection]
polydius has quit [Quit: EOF]
bricker`LA has quit [Client Quit]
monkegjinni has joined #ruby
Afal_ is now known as Afal
Mongey_ has joined #ruby
<csmrfx> here everybody seems to have their nose in their device at times
banister has quit [Client Quit]
<crome> I broke the screen of mine recently
<shevy> lol
<shevy> DouweM crome scares me the most
<DouweM> lol
<DouweM> csmrfx: who needs actual friends when you have irc
<crome> considering how I have been around for maybe 2 days, I take it as a compliment
<csmrfx> DouweM: I suspect most are doing SoMe and texting etc
tharindu_ has joined #ruby
<DouweM> what's SoMe?
<shevy> DouweM a big problem that I have noticed in around the people of my age are that they have almost all transformed into family-folks; they hang out with their kids and spend time very differently now altogether
<DouweM> ah right
<csmrfx> DouweM: hehe, think hard
<DouweM> :P didn't interpret it as an abbreviation
<DouweM> csmrfx: but yeah, probably
<crome> shevy: now thats proper scary shit
TheCleanGame has joined #ruby
<DouweM> shevy: yeah that's legitimately terrifying
<shevy> crome yeah, it kind of happened rather abruptly
Billy2 has joined #ruby
yubrew has joined #ruby
banister has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
eka_ has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<shevy> like in about 3 or 4 years, I can single-handedly count +6 new kids in my closer friends group
<crome> last time I found myself in that situation I changed countries, lacking better ideas
<crome> it worked like a charm
<DouweM> shevy: but it definitely also depends on the person. Like, one of my co-founders is 58yo and he's as active as me and our other partner
<csmrfx> sounds like you are not that old then, shevy
<shevy> it's the scary age past 30, be wary of that DouweM
<DouweM> shevy: he doesn't have any kids though
monkegjinni has quit [Ping timeout: 264 seconds]
<DouweM> shevy: that's still 10 years off, luckily :)
<shevy> kids totally change things
doodlehaus has quit []
<shevy> DouweM yeah, those were the best times
<DouweM> Yeah. My other co-founder is 33 with 3 kids and he has less of a social life than the 58yo one
<shevy> hehehe
Hanmac has joined #ruby
<DouweM> Note to self: Hold off on having kids as long as possile