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]
<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 /?
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]
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
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]
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?
<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?
<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 …
<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: 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
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
<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]
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.]
<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.
<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
<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]
<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?
<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.
<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]
<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]
<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]
<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
<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
<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?
<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?
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
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]
<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
<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?
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?
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
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]
<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
<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>
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
<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