RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has joined #ruby-lang
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tectonic has joined #ruby-lang
phrozen77 has quit [Ping timeout: 260 seconds]
heftig has quit [Ping timeout: 260 seconds]
heftig has joined #ruby-lang
phrozen77 has joined #ruby-lang
imkmf_ has quit [Ping timeout: 272 seconds]
TristanBomb has joined #ruby-lang
<TristanBomb>
Hi
<TristanBomb>
So I've been trying to install Gosu and it tells me that it can't find JRuby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<TristanBomb>
which is odd, considering the website is telling me it doesn't even work with JRuby
TristanBomb has quit [Client Quit]
ruby-lang760 has joined #ruby-lang
yfeldblum has joined #ruby-lang
nertzy2 has joined #ruby-lang
ruby-lang760 has quit [Ping timeout: 246 seconds]
bahar has joined #ruby-lang
|jemc| has quit [Ping timeout: 244 seconds]
unlikely_monkey has quit [Remote host closed the connection]
torrieri has quit [Quit: Leaving...]
migbar has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
unlikel__ has joined #ruby-lang
xcyclist has joined #ruby-lang
<xcyclist>
So, if I have a ruby require statement that works, but I cannot see something that is in the successfully required file, what is the category of thing I look into in order to access said thing?
iliketurtles has quit [Quit: zzzzz…..]
nathanstitt has quit [Quit: I growing sleepy]
nathanstitt has joined #ruby-lang
<darix>
xcyclist: huh?
<zenspider>
xcyclist: your text editor?
<darix>
xcyclist: $LOADED_FEATURES might help
<xcyclist>
Ok. I'll look at that. Thank you.
unlikel__ has quit [Remote host closed the connection]
djbkd has quit [Quit: My people need me...]
amsi has quit [Quit: Leaving]
skammer4 has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emmesswhy has joined #ruby-lang
RobertBirnie has joined #ruby-lang
skammer4 has quit [Ping timeout: 246 seconds]
yugui_zzz is now known as yugui
havenwood has quit []
hahuang65 has quit [Ping timeout: 244 seconds]
migbar has joined #ruby-lang
makepkgnotwar has joined #ruby-lang
tkuchiki has joined #ruby-lang
SuMo_D has joined #ruby-lang
justinmburrous has joined #ruby-lang
migbar has quit [Ping timeout: 260 seconds]
torrieri has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
snsei has joined #ruby-lang
wallerdev has joined #ruby-lang
iliketurtles has joined #ruby-lang
dagda1 has quit [Ping timeout: 260 seconds]
dagda1 has joined #ruby-lang
snsei has quit [Ping timeout: 250 seconds]
houhoulis has joined #ruby-lang
|jemc| has joined #ruby-lang
nisstyre has quit [Quit: WeeChat 1.0]
wallerdev has quit [Quit: wallerdev]
brixen has quit [Ping timeout: 245 seconds]
nirix has quit [Ping timeout: 272 seconds]
Gate has quit [Ping timeout: 272 seconds]
hplar_ has quit [Ping timeout: 260 seconds]
nirix has joined #ruby-lang
Gate has joined #ruby-lang
Gate has joined #ruby-lang
hplar_ has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
emmesswhy has quit [Quit: This computer has gone to sleep]
mistym has joined #ruby-lang
torrieri has joined #ruby-lang
robbyoconnor has joined #ruby-lang
robbyoconnor is now known as Guest6749
justinmburrous has quit [Remote host closed the connection]
ledestin has joined #ruby-lang
justinmb_ has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
migbar has joined #ruby-lang
<TTilus>
oh dear, sudo gem install bdb throws "/usr/include/ruby-1.9.1/ruby/ruby.h:909:30: error: format not a string literal and no format arguments [-Werror=format-security]"
rue|w has quit [Read error: Connection reset by peer]
rue|w has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
migbar has quit [Ping timeout: 258 seconds]
postmodern has quit [Quit: Leaving]
mkaesz has joined #ruby-lang
<yorickpeterse>
GPG key expired
<yorickpeterse>
spent a fucking hour rescueing our password repo
<yorickpeterse>
because apparently dotgpg is too stupid to understand my co-worker's setup of having more than 1 secret key
<yorickpeterse>
"durr I'll just use this random one"
mskaesz has joined #ruby-lang
mkaesz has quit [Read error: No route to host]
GBrawl_ has quit [Quit: Computer has gone to sleep.]
skade has quit [Quit: Computer has gone to sleep.]
GBrawl_ has joined #ruby-lang
GBrawl__ has joined #ruby-lang
GBrawl_ has quit [Read error: Connection reset by peer]
pskosinski has joined #ruby-lang
GBrawl__ has quit [Quit: Computer has gone to sleep.]
clauswitt has joined #ruby-lang
emrox has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benlovell has quit [Ping timeout: 250 seconds]
emrox has joined #ruby-lang
x0f has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x0f_ has quit [Ping timeout: 258 seconds]
allomov has joined #ruby-lang
pskosinski has quit [Remote host closed the connection]
shubhamgoyal has quit [Remote host closed the connection]
Suchit has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
justinmburrous has joined #ruby-lang
shubhamg_ has joined #ruby-lang
nonmadden has quit [Remote host closed the connection]
ledestin has quit [Read error: Connection reset by peer]
shubhamgoyal has quit [Ping timeout: 260 seconds]
ledestin has joined #ruby-lang
shubhamg_ has quit [Ping timeout: 246 seconds]
sarkyniin has joined #ruby-lang
skammer4 has joined #ruby-lang
whippythellama has quit [Quit: whippythellama]
whippythellama has joined #ruby-lang
migbar has joined #ruby-lang
benlovell has joined #ruby-lang
chussenot has quit [Quit: chussenot]
jonathan_alban has joined #ruby-lang
migbar has quit [Ping timeout: 246 seconds]
ldnunes has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
stef_204 has joined #ruby-lang
Suchit has quit [Read error: Connection reset by peer]
Suchit_ has joined #ruby-lang
Suchit_ has quit [Read error: Connection reset by peer]
Suchit_ has joined #ruby-lang
hellangel7 has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 260 seconds]
justinmburrous has joined #ruby-lang
migbar has joined #ruby-lang
GBrawl__ has joined #ruby-lang
skammer4 has quit [Ping timeout: 260 seconds]
skammer4 has joined #ruby-lang
nonmadden has joined #ruby-lang
chussenot has joined #ruby-lang
charliesome has quit [Quit: zzz]
charliesome has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
mskaesz has quit [Read error: Connection reset by peer]
nemec has joined #ruby-lang
koderok has joined #ruby-lang
mkaesz has joined #ruby-lang
koderok has quit [Client Quit]
GBrawl__ has quit [Quit: Computer has gone to sleep.]
justinmburrous has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby-lang
dabradley has quit [Ping timeout: 244 seconds]
tkuchiki has quit [Remote host closed the connection]
GBrawl__ has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
skade has joined #ruby-lang
look has joined #ruby-lang
dabradley has joined #ruby-lang
look is now known as lookbehindyou
lookbehindyou has quit [Remote host closed the connection]
skammer4 has quit [Ping timeout: 260 seconds]
GBrawl__ has quit [Quit: Computer has gone to sleep.]
GBrawl___ has joined #ruby-lang
yfeldblum has joined #ruby-lang
banister has joined #ruby-lang
yfeldblum has quit [Ping timeout: 246 seconds]
klmlfl has joined #ruby-lang
jgpawletko has joined #ruby-lang
skammer4 has joined #ruby-lang
nofxx_ has joined #ruby-lang
Phrogz_ has joined #ruby-lang
robbyoconnor has joined #ruby-lang
robbyoconnor is now known as Guest82239
[spoiler] has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justinmburrous has joined #ruby-lang
miqui has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
GBrawl___ has quit [Quit: Computer has gone to sleep.]
pskosinski has joined #ruby-lang
Phrogz_ has quit [Remote host closed the connection]
yugui_zzz is now known as yugui
Phrogz_ has joined #ruby-lang
Phrogz_ has joined #ruby-lang
yugui is now known as yugui_zzz
thomasxie has quit [Quit: Leaving.]
klmlfl has quit [Remote host closed the connection]
GBrawl____ has joined #ruby-lang
jonathan_alban has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest82239 has quit [Quit: Konversation terminated!]
Guest82239 has joined #ruby-lang
Guest82239 has quit [Client Quit]
skammer4 has quit [Ping timeout: 260 seconds]
yugui_zzz is now known as yugui
GBrawl____ has quit [Quit: Computer has gone to sleep.]
nonmadden has quit [Remote host closed the connection]
yugui is now known as yugui_zzz
oleo has joined #ruby-lang
malconis has joined #ruby-lang
momomomomo has joined #ruby-lang
Guest93636 is now known as `micro
bradcliffe has joined #ruby-lang
koderok has joined #ruby-lang
koderok has quit [Client Quit]
yugui_zzz is now known as yugui
justinmburrous has quit [Remote host closed the connection]
Phrogz_ has quit [Remote host closed the connection]
skammer4 has joined #ruby-lang
momomomomo_ has joined #ruby-lang
momomomomo has quit [Ping timeout: 260 seconds]
momomomomo_ is now known as momomomomo
<yorickpeterse>
"Secret should be something secure, like "da1807925179eca09ae97893e1568ab3". The value you provided, "hunter2-secret-token", is shorter than the minimum length of 30 characte
<yorickpeterse>
rs"
<yorickpeterse>
LAME
<yorickpeterse>
stupid best practises, just let me use hunter2 already during development
<eval-in_>
yorickpeterse => bignum too big to convert into `long' (RangeError) ... (https://eval.in/200720)
<yorickpeterse>
pffft
<yorickpeterse>
Rubby doesn't even numbers
yugui_zzz is now known as yugui
rue|w has quit [Remote host closed the connection]
hellangel7 has joined #ruby-lang
allomov has quit [Remote host closed the connection]
<yorickpeterse>
cout: In all seriousness, if you ever see me pasting actual credentials in here it probably means I'm doing some really messed up drugs
Iskarlar has quit [Ping timeout: 272 seconds]
sarkyniin has quit [Ping timeout: 272 seconds]
chussenot has quit [Quit: chussenot]
sarkyniin has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
<apeiros>
holy fuck. ary.dup.reject! { true } is 680x slower(!) than ary.dup.reject! { false }. unexpected. (for an array with 260k entries)
<cout>
yorickpeterse: do you do that often?
kgrz has joined #ruby-lang
ta_ has quit [Remote host closed the connection]
<yorickpeterse>
apeiros: eh well yeah, because the latter doesn't do anything
<yorickpeterse>
cout: No
<apeiros>
yorickpeterse: that depends on the implementation
<yorickpeterse>
I've literally never done drugs
<apeiros>
yorickpeterse: not even alcohol or cigarettes?
<yorickpeterse>
apeiros: at most it would allocate an array, but that's not really a big deal if size is already pre-determined
<yorickpeterse>
err wait, which is not the case
* Hanmac
only consume sugar ;P
<yorickpeterse>
also yes, of course I drink at times :P
<yorickpeterse>
and no, I don't smoke never have either
<yorickpeterse>
I did have space cake at age 8 at some party of one of my sisters
<yorickpeterse>
I guess that counts as drugs?
kgrz has quit [Ping timeout: 258 seconds]
chussenot has joined #ruby-lang
<apeiros>
yorickpeterse: anyway, I think the implementation is rather inefficient if the difference is that large
justinmburrous has joined #ruby-lang
<apeiros>
I assume it basically performs 260k memcpy's with a range of i..-1
<apeiros>
(where i = current item)
<yorickpeterse>
depends on how it handles resizing
<Hanmac>
apeiros: say i have [*0..50][1..-2][1..-2][1..-2][1..-2] hm how many data does have the arrays created? ... if i understand correct the smaller arrays does share the data with the big array ... ne?
<apeiros>
ah yes, during resizes there might be additional memcpy's
<apeiros>
-'
<yorickpeterse>
Hanmac: that will created at least 4 arrays
<apeiros>
big_array.dup.reject! { true } vs big_array.dup.select! { false }
<yorickpeterse>
oh derp
<yorickpeterse>
lemme see
<apeiros>
the latter is indeed ~600x faster than the former
<apeiros>
for precisely the reason you stated. reject deletes from self. select starts with a new array and adds elements.
<Hanmac>
hey what do you other guys think about a doc-bot? like that does turn "!doc Array#count" into http://ruby-doc.org/core-2.1.3/Array.html#method-i-count ? the author of evalin says its a nice idea but not wat the bot is for
<yorickpeterse>
Hanmac: I think we've had or still have something like that
<apeiros>
but I bet reject! could be made far more performant with a less naive implementation. however, that adds lots of complexity.
<centrx>
MORE BOTS!
<yorickpeterse>
!quickref
<yorickpeterse>
or whatever it was
<apeiros>
Hanmac: would be nice. helpa might do that.
<centrx>
WE DEMAND MORE BOTS!
benanne has quit [Quit: kbai]
nathanstitt has joined #ruby-lang
<yorickpeterse>
apeiros: ok so this benchmark is now eating my CPU
Suchit_ has quit [Quit: Computer has gone to sleep.]
<canton7>
steal #git's bot :)
<apeiros>
yupp. took ~11s per run on my machine
<apeiros>
since your array is 4x as big, I'd expect your machine to take at least a minute for your benchmark :)
<Hanmac>
apeiros: hm but you are right ... arrays should also have a way to shrink when needed ...
<apeiros>
Hanmac: one common way is if your array falls below half capacity
<apeiros>
i.e. the inverse of growing
<Hanmac>
yeah that was my idea too
<Hanmac>
hm i think i might do a ticket request for that ... if others do like that too
<yorickpeterse>
apeiros: haha yeah wow, this is a big difference
<Hanmac>
yorickpeterse: if you are interested i wrote a script that does show the installed gems in a dot graph ... my script has many config options but its still not finish yet ,P
yfeldblum has quit [Ping timeout: 272 seconds]
<cout>
hanmac: cinch makes writing ruby bots a cinch!
<yorickpeterse>
Hanmac: Yes I got that part, but I'm not sure how it's related to the above
<yorickpeterse>
unless I missed something, lemme see
<Hanmac>
that you think its a small thing and you are finish fast ... and after month you are still writing on it ;P
<yorickpeterse>
ooh right
<yorickpeterse>
heh
kwd_ has quit [Quit: kwd_]
<Hanmac>
and i wanted to make some adverticing because i liked my "small" gemtree script
bradcliffe has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistym has joined #ruby-lang
<yorickpeterse>
Does it scan deps recursively?
thagomizer has joined #ruby-lang
<Hanmac>
yes and if you want the development dependencies too ... without parameter it does show all installed gems in a tree
shubhamgoyal has quit [Remote host closed the connection]
marcwright has quit [Remote host closed the connection]
<Hanmac>
the only gems are not shown are the ones that does not depend anything and are itself are not depended from anything like bigdecimal
shubhamgoyal has joined #ruby-lang
<yorickpeterse>
I think RubyGems has some API to resolve deps, or at least reverse dependencies
<yorickpeterse>
though it doesn't build a graph, it just returns a list
SuMo_D has joined #ruby-lang
<Hanmac>
yeah there was ruby-graphiz which has gem2tree ... that was my inspiration because gem2tree seems to be broken for my ruby ... and i added more interesting stuff ...
nonmadden has joined #ruby-lang
<Hanmac>
for example: it does show when a dependecy is unessaray like A does require B, and C does require A and B ... means the connection C->B might not be needed
banister has quit [Read error: Connection reset by peer]
banister_ has joined #ruby-lang
shubhamgoyal has quit [Ping timeout: 272 seconds]
<Hanmac>
ah isnt that nice colorful? ;P the blue connections are the unessaray i did talked about
<Hanmac>
the dotted nodes like rdoc are default gems ... the ones shipped with ruby itself
<Hanmac>
the dashed nodes are ones that can be safe removed with "gem cleanup"
Phrogz_ has joined #ruby-lang
stef_204 has joined #ruby-lang
<Hanmac>
the dashed connections means that this a dependency that is not satificed with the newest version of a gem ... means it does need an older version and imo means that the parent gem does need to be updated to support the newer version ... (like the connection from "mails" to "mime-types")
AKASkip has quit [Ping timeout: 250 seconds]
symm- has quit [Ping timeout: 245 seconds]
|jemc| has joined #ruby-lang
Phrogz_ has quit [Ping timeout: 246 seconds]
<yorickpeterse>
class Belgium < Dubai
<yorickpeterse>
wat
<yorickpeterse>
Legacy Rails apps, ugh
<DefV>
I assume those are singleton classes yorickpeterse ?
<DefV>
cause I don't see you having 2 Dubai's
<yorickpeterse>
Nope
<centrx>
There can only be one Belgium
<yorickpeterse>
So this is our one and only remaining 1.8 app
<yorickpeterse>
Hopefully it's gone in a few months
t4nk282 has joined #ruby-lang
<yorickpeterse>
app is....4 years old or so
<yorickpeterse>
acquired quite a bit of technical debt, cruft, etc
<yorickpeterse>
So yay Monorails
<yorickpeterse>
well it's not really a monorail anymore for a while
<yorickpeterse>
just old
<t4nk282>
Say, if I would have made a Ruby on Rails application to add to my hypothetical website, would it be able to run on another computer, without Ruby?
<yorickpeterse>
t4nk282: No?
<yorickpeterse>
You need Ruby to run Rails
<Hanmac>
yorickpeterse: hm how do you like my little gemtree script so far? i tryed to make it also informative ... like which gems should be updated or something ... (i also tried to make it shown where are newer versions awayable on rubygems but that did not worked yet)
<t4nk282>
Then, why am I learning Ruby, believing I can create awesome webapps with it?
Phrogz_ has joined #ruby-lang
Phrogz_ has joined #ruby-lang
<yorickpeterse>
Hanmac: I just took a quick look at it to see if it worked, didn't really look at the code
<yorickpeterse>
t4nk282: because you can?
<yorickpeterse>
Rails is built using Ruby, to ease the whole process
<surrounder>
'I wanna deploy my Zend PHP application framework thingy, can I run it on a server without PHP' ?
<t4nk282>
yorickpeterse: How would it run for others, who don't have Ruby installed?
<surrounder>
host it somewhere where there is ruby ?
skammer4 has quit [Ping timeout: 272 seconds]
<yorickpeterse>
t4nk282: whether you use Python, PHP, Ruby or something else, if it's not pre-compiled users will have to have the language and other dependencies installed in order to run it themselves
bradcliffe has joined #ruby-lang
<yorickpeterse>
It's worth noting: users visiting your website _don't_ need to have it installed of course
<yorickpeterse>
They just need a browser
<t4nk282>
Oh, wait! Can I compile it for them?
<yorickpeterse>
No
<yorickpeterse>
Ruby isn't a compiled language
<Hanmac>
ruby = interpreted language ... so there is no compiler you could use like in C or java
seank__ has joined #ruby-lang
<t4nk282>
Figured so much. Seemed strange to me too.
<t4nk282>
Do all browses have Ruby compatibility?
Phrogz_ has quit [Ping timeout: 258 seconds]
bradcliffe has quit [Client Quit]
<t4nk282>
Man, I'm a dumb bread. It runs off the server, right?
<Hanmac>
t4nk282: no the browser will not know if the website on the server does run ruby or php
<yorickpeterse>
t4nk282: browsers do not need to run Ruby, Ruby runs on the server; so yes
<yorickpeterse>
e.g. github runs on Ruby, but you can still use it without having Ruby installed yourself
havenwood has quit [Remote host closed the connection]
<t4nk282>
Fantastic! Now I'll only have to learn myself some RoR. Is Twitter for Zombies recommended?
havenwood has joined #ruby-lang
seank_ has quit [Ping timeout: 272 seconds]
<t4nk282>
yorickpeterse: That's nice to know. My IT teacher is a big fan of GitHub, but does not fully believe in Ruby.
<yorickpeterse>
Twitter for Zombies?
<yorickpeterse>
oh lemme guess, said teacher uses Java? :P
bradcliffe has joined #ruby-lang
<t4nk282>
No, said teacher uses BASIC.
<yorickpeterse>
dayum
bradcliffe has quit [Client Quit]
havenwood has quit [Remote host closed the connection]
<Hanmac>
better than java or C# ;P
<yorickpeterse>
eehh, I'd rather have Java I think
<t4nk282>
Still, he is quite badass. He once threw a large, old TV screen from the top of an apartment block.
yfeldblum has joined #ruby-lang
yugui_zzz is now known as yugui
bradcliffe has joined #ruby-lang
<|jemc|>
and then cleaned it up afterward?
<yorickpeterse>
t4nk282: that just means he has issues
<workmad3>
is recursion allowed in BASIC yet?
<yorickpeterse>
Unless he was helping an old lady get rid of her old shitty TV
lewix has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 245 seconds]
bradcliffe has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
tharindu has quit [Ping timeout: 272 seconds]
dorei has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
nonmadden has quit [Quit: Leaving...]
shinnya has quit [Ping timeout: 260 seconds]
t4nk874 has joined #ruby-lang
stef_204 has joined #ruby-lang
<t4nk874>
Should names of classes always be capitalized, and the names of methods not?
<yorickpeterse>
t4nk874: class names are in the form FooBar, method names in the form foo_bar
<t4nk874>
Superb, thanks.
<yorickpeterse>
Class/module names _must_ start with a capital, method names have no requirements (snake_case is just the universally accepted standard)
iliketurtles has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jbardin has joined #ruby-lang
dangerousdave has joined #ruby-lang
bradcliffe has joined #ruby-lang
torrieri has joined #ruby-lang
chussenot has quit [Read error: Connection reset by peer]
chussenot has joined #ruby-lang
snsei has joined #ruby-lang
sepp2k has joined #ruby-lang
nonmadden has joined #ruby-lang
FiXato has quit [Quit: Quit my IRC client. I'll probably be back soon after a restart of it.]
ItSANgo has quit [Quit: Leaving...]
araujo has joined #ruby-lang
FiXato has joined #ruby-lang
michaeldeol has joined #ruby-lang
justinmburrous has joined #ruby-lang
tsou has joined #ruby-lang
nonmadden has quit [Ping timeout: 272 seconds]
gianlucadv has quit [Ping timeout: 272 seconds]
emmesswhy has joined #ruby-lang
kgrz has joined #ruby-lang
imkmf has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Phrogz_ has joined #ruby-lang
dangerousdave has joined #ruby-lang
dangerousdave has quit [Client Quit]
emmesswhy has quit [Client Quit]
manveru has quit [Ping timeout: 260 seconds]
kgrz has quit [Ping timeout: 272 seconds]
emmesswhy has joined #ruby-lang
manveru has joined #ruby-lang
Phrogz_ has quit [Ping timeout: 245 seconds]
__butch__ has joined #ruby-lang
Guest29221 has quit [Read error: Connection reset by peer]
Guest29221 has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
lcdhoffman has quit [Quit: lcdhoffman]
lcdhoffman has joined #ruby-lang
ht_ has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
pr0ton_ has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
tectonic has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
MichD is now known as michd
miqui has quit [Read error: Connection reset by peer]
tbuehlmann has quit [Remote host closed the connection]
stef_204 has joined #ruby-lang
stef_204 is now known as stef204
t4nk874 has quit [Ping timeout: 246 seconds]
stef204 is now known as stef_204
necro has joined #ruby-lang
migbar_ has quit [Remote host closed the connection]
migbar has joined #ruby-lang
bradcliffe has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<necro>
Can someone help me figure out why I am getting this error message? I'm not sure if each is the right method to be using, what I am attempting to do is alter the value of the hash, to convert it from fahrenheit to celsius.
klmlfl has quit [Remote host closed the connection]
chussenot has joined #ruby-lang
<zenspider_>
necro: don't focus on your tutorial yet. just learn hashes and enumerable for now
Guest4240 has quit [Ping timeout: 272 seconds]
fusillicode has quit [Ping timeout: 250 seconds]
<necro>
alright, will do - I was looking at the page you sent and it helped me solve my problem right away tho! I will take your suggestion and learn those before continuing, thank you.
<zenspider_>
necro: 2 spaces per indent. no tabs. use attr_accessor :x and then remove all @'s. (use self.x = x to assign in initialize). don't use .values[0] as that means you miss the point of hashes
<zenspider_>
I'd go further and ask why you're using a hash at all
<necro>
wow thats all great thank you again, I am using a hash because the tutorial told me to make my method accept an options hash
workmad3 has joined #ruby-lang
<necro>
I'm not sure where to implement attr_accessor, I understand its function tho
yugui_zzz is now known as yugui
<zenspider_>
it's a class method, so you call it inside the class block but outside of the def blocks
<zenspider_>
usually goes at the top, so it is obvious
Phrogz_ has joined #ruby-lang
<necro>
and then the x's throughout go from @x to :x ?
<zenspider_>
no : just x
<zenspider_>
they'll be method calls (implied self.) instead of direct ivar accesses
Phrogz_ has quit [Ping timeout: 260 seconds]
zenspider_ is now known as zenspider
__butch__ has quit [Quit: Leaving.]
FiXato has quit [Quit: brb]
memocool has joined #ruby-lang
chussenot has quit [Quit: chussenot]
cmhobbs has quit [Remote host closed the connection]
FiXato has joined #ruby-lang
skammer has joined #ruby-lang
yugui is now known as yugui_zzz
FiXato is now known as Guest82957
skammer4 has quit [Ping timeout: 246 seconds]
snoopybbt has joined #ruby-lang
lewix has quit [Remote host closed the connection]
nofxx_ has joined #ruby-lang
memocool has quit [Ping timeout: 244 seconds]
sepp2k has quit [Read error: Connection reset by peer]
memocool has joined #ruby-lang
hellangel7 has quit [Remote host closed the connection]
pr0ton_ has quit [Quit: pr0ton_]
workmad3 has quit [Ping timeout: 272 seconds]
iliketurtles has quit [Quit: zzzzz…..]
lcdhoffman has quit [Quit: lcdhoffman]
lcdhoffman has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
lcdhoffman has quit [Ping timeout: 260 seconds]
pr0ton_ has joined #ruby-lang
chouhoulis has quit [Ping timeout: 272 seconds]
iliketurtles has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
torrieri has quit [Quit: Leaving...]
RobertBirnie has joined #ruby-lang
Phrogz_ has joined #ruby-lang
Phrogz_ has quit [Ping timeout: 245 seconds]
t_ has quit [Ping timeout: 245 seconds]
Guest82957 has quit [Quit: Quit my IRC client. I'll probably be back soon after a restart of it.]
FiXato has joined #ruby-lang
tdy has quit [Ping timeout: 250 seconds]
pr0ton_ has quit [Quit: pr0ton_]
jdecuirm has joined #ruby-lang
danijoo has quit [Quit: Leaving...]
justinmburrous has joined #ruby-lang
danijoo has joined #ruby-lang
nathanstitt has joined #ruby-lang
emmesswhy has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
pskosinski has quit [Remote host closed the connection]
<bnagy>
has anyone got openssl socket connections working with ECDHE certs?
apeiros has joined #ruby-lang
<bnagy>
I mean personally, as in 'do you have code, right now' not 'please teach me how to read docs'
<bnagy>
I'm getting no cipher match at the very start of the handshake
<bnagy>
and the docs are kind of laughable
<zenspider>
I thought drbrain and zzak did a thorough pass on ssl
<zenspider>
drbrain might have code for that tho
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
<bnagy>
normally I'd look for test code, but I can't find that in the regular source tree, but I might just not know where to look
<bnagy>
so I'm reading the cfiles instead, which are o_0
<zenspider>
I can answer the test part... sec
<zenspider>
yeah. it's just in test/openssl
tdy has joined #ruby-lang
<zenspider>
not sure where this part would be
<zenspider>
I'm happily fairly ignorant of openssl
<zenspider>
gah. those tests are... not good.
<bnagy>
OH there, ok I'm an idiot, ext has a test dir but I didn't look in $root/test
<zenspider>
if you do find where it should be and there isn't one for that type, please send in a patch to ruby-core
<bnagy>
test_ssl_session.rb looks potentially useful at least