apeiros_ changed the topic of #ruby to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
vlad_starkov has quit [Ping timeout: 255 seconds]
lupine has quit [Excess Flood]
r3d3 has joined #ruby
Davey has joined #ruby
reset has joined #ruby
supergiantrobot_ has quit [Quit: supergiantrobot_]
Sicp has quit [Quit: Leaving]
fschuindt has joined #ruby
sayan has quit [Ping timeout: 252 seconds]
ariedler has quit [Remote host closed the connection]
mahmoudi_ has joined #ruby
mahmoudimus has quit [Ping timeout: 245 seconds]
perun0 has joined #ruby
Yakko has quit [Ping timeout: 248 seconds]
keyvan has joined #ruby
keyvan has quit [Changing host]
keyvan has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
love_color_text has quit [Ping timeout: 252 seconds]
banisterfiend has joined #ruby
rismoney has quit [Read error: Connection reset by peer]
reppard has joined #ruby
<reppard> anyone know how to do this: ("a".."zzz").each{ |i| print i } but in reverse
sambao21 has quit [Quit: Computer has gone to sleep.]
stkowski has quit [Quit: stkowski]
LaPetiteFromage has quit [Quit: LaPetiteFromage]
Ibuprofen has joined #ruby
Skofo has quit [Remote host closed the connection]
nadirvardar has joined #ruby
jonathanwallace has joined #ruby
keyvan has quit [Read error: Connection reset by peer]
<banisterfiend> reppard: reverse_each
nadirvardar has quit [Client Quit]
<reppard> are you serious??
<undersc0re97> reppard: yes
<undersc0re97> enjoy your day
love_color_text has joined #ruby
<reppard> holy crap
<reppard> a year and a half of ruby and i never knew about that
<reppard> thank you
<reppard> haha
davetherat has quit [Remote host closed the connection]
jonathanwallace has quit [Ping timeout: 252 seconds]
davetherat has joined #ruby
arya_ has joined #ruby
BSaboia has quit [Ping timeout: 245 seconds]
dankest has quit [Quit: Leaving...]
r3d3 has quit [Ping timeout: 242 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
arya has quit [Ping timeout: 248 seconds]
r3d3 has joined #ruby
lupine has joined #ruby
chrishough has quit [Quit: chrishough]
rsahae has quit [Quit: rsahae]
kristofers has quit []
hiroyuki_ has quit [Read error: Connection reset by peer]
lupine has quit [Max SendQ exceeded]
arya_ has quit [Ping timeout: 276 seconds]
zeade has quit [Quit: Leaving.]
DonRichie has quit [Read error: Operation timed out]
DonRichie has joined #ruby
rsahae has joined #ruby
arya has joined #ruby
rellin has quit [Ping timeout: 260 seconds]
artofraw has joined #ruby
jeebster has quit [Quit: Leaving.]
codezombie has joined #ruby
huoxito has quit [Quit: Leaving]
rickmasta has quit [Ping timeout: 264 seconds]
Ontolog has quit [Remote host closed the connection]
Ontolog has joined #ruby
Ontolog has quit [Remote host closed the connection]
rburton- has joined #ruby
banjara has quit [Quit: Leaving.]
fschuindt has quit [Read error: Connection reset by peer]
fschuindt has joined #ruby
awarner has quit [Remote host closed the connection]
artofraw has quit [Remote host closed the connection]
eykosioux has joined #ruby
DonRichie has quit [Ping timeout: 248 seconds]
DonRichie has joined #ruby
lupine has joined #ruby
r3d3 has quit [Remote host closed the connection]
lupine has quit [Excess Flood]
thams has quit [Quit: thams]
thernull has quit [Read error: Connection reset by peer]
groktar has quit []
eykosioux has quit [Ping timeout: 245 seconds]
generalissimo has quit [Remote host closed the connection]
wesside has quit [Quit: Computer has gone to sleep.]
bhaarat has quit [Quit: bhaarat]
yours_truly has joined #ruby
yours_truly has quit [Client Quit]
Bry8Star has quit [Remote host closed the connection]
iphands_ has joined #ruby
lupine has joined #ruby
tylersmith has quit [Quit: tylersmith]
soooga has joined #ruby
subbyyy has joined #ruby
Bry8Star has joined #ruby
tomsthumb has quit [Quit: Leaving.]
jnoob22 has joined #ruby
mele- has joined #ruby
chessguy has joined #ruby
lupine has quit [Excess Flood]
Nisstyre-laptop has joined #ruby
rburton- has quit [Ping timeout: 260 seconds]
mele- is now known as rburton-
jonathanwallace has joined #ruby
<Vivekananda> hello
soooga has quit [Max SendQ exceeded]
soooga has joined #ruby
zastern has joined #ruby
<zastern> Once 'return' is called in a method, whether implicit or explicit, that is the end of that method right? Even if there is further code "beneath" the return, inside the method.
<chessguy> zastern: you are correct
rickruby has joined #ruby
pkill has joined #ruby
<zastern> chessguy: thanks!
jeebster has joined #ruby
<chessguy> zastern: no worries. if you have some code you're trying to understand, i'd be happy to help
<zastern> chessguy: I actually do understand it. Just trying to make sure I uh . . . understand the things I understand.
<zastern> Doing codecademy ruby (and it's my first time programming)
<chessguy> nice. feel free to ping me with any questions if i'm around
<zastern> thanks!
wsterlin_ has joined #ruby
Xeago_ is now known as Xeago
wsterling has quit [Ping timeout: 248 seconds]
baphled_ has quit [Ping timeout: 260 seconds]
lupine has joined #ruby
<zastern> I guess i don't totally understand why lambdas and procs are what they are
<pkill> any idea why I always get an error with openssl on Mac OS X 10.8 when installing ruby?
Xeago has quit [Remote host closed the connection]
tomzx_mac has joined #ruby
<pkill> can't recall how i got 1.8.2 installed but it works fine; trying to update to 1.9 or 2.0 errors out with openssl being the cause
<pkill> installing --with-openssl-dir=/opt/local/bin/ fails too
lupine has quit [Max SendQ exceeded]
<pkill> frustrating as hell
<banisterfiend> zastern: what part dont u understand
<sebastianb> pkill: have you tried the --with-openssl option?
<zastern> banisterfiend: the combonation of features I guess
soooga has quit [Ping timeout: 240 seconds]
<zastern> for example from codecademy:
<pkill> sebastianb: --with-openssl or --with-openssl-dir?
<sebastianb> pkill: just --with-openssl
<zastern> Why are lambdas vs procs designed with those specific features
tomzx_mac has quit [Client Quit]
rickmasta has joined #ruby
<zastern> Why not have procs pass back control to the method, and lambas not?
<sebastianb> pkill: if that fails try again with --with-opt-dir=/usr/local
<pkill> hmm, trying it now
<pkill> would you look at that... --with-openssl seems to work just fine so far
<banisterfiend> zastern: because 'lambdas' behave like methods
<pkill> thanks! :D
<zastern> why have one fil in nil for missing vars but not the other one
<sebastianb> :)
<pkill> slow, but looks like it may work
<zastern> banisterfiend: mm ok.
<sebastianb> it should
<banisterfiend> zastern: so a lambda has method-like argument checking and mehtod-like return behaviour
<banisterfiend> that's it
<zastern> mm ok that makes sense
<pkill> oddly enough, homebrew can't install openssl either... so weird
<banisterfiend> zastern: but i dont think i've ever had to use lambdas, i prefer procs
<banisterfiend> zastern: though one reaosn i sometimes use lambdas is beacuse i love the -> syntax :) but aside from that, i'm happy with proc semantics
mfridh has quit [Read error: Connection reset by peer]
kofno has quit [Remote host closed the connection]
<zastern> mm so I guess also why is it victor = Proc.new { return "Batman will win!" } but with a lambda victor = lambda { return "Batman will win!" }
<zastern> why isnt it Lambda.new
<banisterfiend> zastern: it's kind of weird, a lambda is really a kind of Proc
<banisterfiend> it just has a flag set that makes it behave differently
<pkill> hmm died with the same issue sebastianb
<pkill> Error running 'requirements_brew_libs_install openssl sqlite'
kofno has joined #ruby
<pkill> logs show homebrew having an issue installing openssl
momomomomo has quit [Quit: momomomomo]
Voodoofish430 has quit [Quit: Leaving.]
<banisterfiend> zastern: also you can use: proc {} instead of Proc.new { }
<zastern> oh ok.
momomomomo has joined #ruby
<banisterfiend> zastern: one thing u have to watch out for is lambda used with instance_eval
ereslibre has quit [Remote host closed the connection]
ereslibre has joined #ruby
<banisterfiend> i wont work if the lambda has 0 arity
<banisterfiend> so i just use instance_exec for everything now
codezombie has quit [Quit: Linkinus - http://linkinus.com]
security has joined #ruby
dankest has joined #ruby
sambao21 has joined #ruby
tommyvyo has quit [Quit:]
hmarr has quit []
rickruby has quit [Remote host closed the connection]
love_color_text has quit [Remote host closed the connection]
slainer68 has quit [Read error: Connection timed out]
megha has quit [Ping timeout: 276 seconds]
ephemerian has left #ruby [#ruby]
ffranz has quit [Quit: Leaving]
slainer68 has joined #ruby
<sebastianb> pkill: are you installing with brew? or with rvm?
<sebastianb> pkill: I guess it's brew. Maybe try with rvm?
Hanmac has quit [Ping timeout: 246 seconds]
<pkill> trying both
<pkill> rvm install 2.0.0 fails
<pkill> as does brew install openssl
<pkill> and brew install ruby
mahmoudi_ has quit [Quit: Computer has gone to sleep.]
robscomputer_ has quit [Remote host closed the connection]
dankest has quit [Quit: Leaving...]
ereslibre is now known as ereslibre_work
<sebastianb> pkill: try rvm pkg install openssl
freakazoid0223 has quit [Read error: Connection reset by peer]
Nisstyre-laptop has quit [Ping timeout: 276 seconds]
<sebastianb> if that fails I'm out of ideas
<sebastianb> You'll have to ask big G then
<sebastianb> ;)
<pkill> it tries to install openssl and sqlite
<pkill> i already have both though -____-
<pkill> ugh
<pkill> big G? haha
<pkill> seems like rvm just tries to install with brew, and brew is the issue
ereslibre_work has quit [Changing host]
ereslibre_work has joined #ruby
Ontolog has joined #ruby
ereslibre_work is now known as ereslibre
<zastern> banisterfiend: that means nothing to me currently, but hopefully that will change.
ereslibre is now known as ereslibre_work
<sebastianb> pkill: and what reason is brew spitting out when you're trying to install openssl?
<pkill> pastebinning,one sec
gks has joined #ruby
<gks> Hi all. Am I missing something, or is there no sqlite module for Ruby installed by default in OS X (ML)?
<pkill> the suggested link just says to run brew doctor
randomautomator has quit [Ping timeout: 264 seconds]
idkazuma has quit [Remote host closed the connection]
<pkill> so now brew can install openssl-1.0.1c but installing ruby just tries to install openssl again -____-
hogeo has joined #ruby
lupine has joined #ruby
<sebastianb> k
dallasm has joined #ruby
Opettaja has joined #ruby
dallasm has quit [Remote host closed the connection]
benwoody has joined #ruby
<sebastianb> pkill: can you pastebin the result of 'less /Users/your_user_name/Library/Logs/Homebrew/openssl' ?
lupine has quit [Max SendQ exceeded]
rsahae has quit [Quit: rsahae]
<pkill> sure one sec
guns has joined #ruby
ereslibre_work is now known as ereslibre_laptop
ereslibre_laptop is now known as ereslibre_desk
ereslibre_desk is now known as ereslibre_uni
lupine has joined #ruby
<pkill> 01.perl and 02.make live in that folder
<pkill> here's 02.make:
ereslibre_uni is now known as ereslibre_work
reppard_ has joined #ruby
<pkill> and 01.perl:
marcdel has quit []
<sebastianb> (it's probably because of privileges)
groktar has joined #ruby
<groktar> so we decided to switch from a coldfusion shop to a ruby shop at work today
lupine has quit [Max SendQ exceeded]
<groktar> poor, poor coldfusion
gks has quit [Quit: Textual IRC Client: www.textualapp.com]
ereslibre_work has left #ruby [#ruby]
Hanmac has joined #ruby
reppard has quit [Ping timeout: 248 seconds]
lupine has joined #ruby
blacktulip has joined #ruby
pandawarrior has joined #ruby
<sebastianb> pkill: I guess you already know what's the problem ;D
lupine has quit [Max SendQ exceeded]
<pkill> not really! those logs look successful...
<pkill> so confused
eykosioux has joined #ruby
<sebastianb> show me the make one then ;)
blacktul_ has quit [Ping timeout: 255 seconds]
jpfuentes2 has joined #ruby
ereslibre has joined #ruby
stacky has quit [Ping timeout: 255 seconds]
<pkill> am i missing something? why does it complete with 'nothing to be done for all' ?
kenneth has quit [Quit: kenneth]
<sebastianb> pkill: try doing chown -R username:staff /usr/local/etc/openssl
<pkill> yup lol just found that :P
<sebastianb> and by username I mean your username, of course :)
<pkill> Cannot create directory /usr/local/etc/openssl: Permission denied
<pkill> yup, lemme try it
eykosioux has quit [Ping timeout: 255 seconds]
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
pandawarrior has quit [Quit: Leaving.]
<sebastianb> after that try to install openssl again
<pkill> retrying now
agarie has quit [Remote host closed the connection]
<sebastianb> and it should be working now
<pkill> can't believe i was missing that -____-
<pkill> d'oh
<pkill> long day haha
<sebastianb> happens to everyone
<sebastianb> (at some point)
blacktulip has quit [Remote host closed the connection]
<pkill> thanks!
<sebastianb> glad I could help
fschuindt has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
pioz has joined #ruby
rupee has quit [Quit: Leaving]
<pkill> wahoo! worked! :D
<sebastianb> :)
mrwalker has joined #ruby
pkill has quit [Quit: leaving]
pandawarrior has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
zastern has quit [Remote host closed the connection]
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
love_color_text has joined #ruby
mrwalker has quit [Remote host closed the connection]
Mattix has quit [Read error: Connection reset by peer]
Mattix has joined #ruby
lupine has joined #ruby
love_color_text has quit [Read error: Connection reset by peer]
lupine has quit [Max SendQ exceeded]
moos3 has quit [Quit: Computer has gone to sleep.]
mando has joined #ruby
brennanMKE has joined #ruby
<Vivekananda> hey everyone
<Vivekananda> again
<Vivekananda> anyone around
jonathanwallace has quit [Ping timeout: 264 seconds]
brennanMKE has quit [Remote host closed the connection]
mando_ has joined #ruby
<chessguy> hi Vivekananda
johnnyfuchs has joined #ruby
mando has quit [Ping timeout: 245 seconds]
nwertman has quit [Ping timeout: 245 seconds]
nwertman has joined #ruby
jeebster has quit [Quit: Leaving.]
czervik_ has joined #ruby
atno has quit [Remote host closed the connection]
indyrl has joined #ruby
rakl has quit [Quit: sleeping]
lupine has joined #ruby
benlieb has quit [Quit: benlieb]
lupine has quit [Max SendQ exceeded]
mfridh has joined #ruby
Hanmac1 has joined #ruby
benlieb has joined #ruby
baroquebobcat has joined #ruby
Hanmac has quit [Ping timeout: 256 seconds]
kofno has quit [Remote host closed the connection]
etcetera has joined #ruby
pioz has quit [Quit: This computer has gone to sleep]
benlieb has quit [Quit: benlieb]
BSaboia has joined #ruby
<bnagy> oh boy! It's Vivekananda homework time!
<bnagy> what problems can we fix for you today that you're too lazy to work out for yourself?
lupine has joined #ruby
randomautomator has joined #ruby
randomautomator has quit [Remote host closed the connection]
lupine has quit [Max SendQ exceeded]
subbyyy has quit [Ping timeout: 245 seconds]
randomautomator has joined #ruby
Skofo has joined #ruby
<Vivekananda> bnagy: lol well you make it sound like I really am doing nothing about this
<Vivekananda> tell me something
<Vivekananda> how long have you been using ruby. Also how long did you take to learn it. ? :). Just a quick estimate
<Vivekananda> hey chessguy howdy
<fryguy> i started ruby back on january 2nd when I took a new job
<fryguy> learned everything in about 2 weeks
<fryguy> not rocket science
<bnagy> about 8 years I guess, and it took me a week or two to produce my first 'working' thing
<sebastianb> well, it's not so easy for someone without prior programming skills
<bnagy> the difference between me and what I see you doing is that I didn't beg for help every five seconds, I read docs, used irb and debugged my issues
<bnagy> sebastianb: Vivekananda has ( or claims to have ) experience in other languages already
<sebastianb> :D
<sebastianb> Maybe it's html
jdunck has quit [Ping timeout: 252 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
shevy has quit [Ping timeout: 245 seconds]
<Vivekananda> bnagy: a little yes. and not begging please!!. I try to be polite and just that. I am quite okay if you point me to relevant reading (as you did with enumerators)which is sometimes a little roundabout.
icantbecool has joined #ruby
icantbecool has left #ruby [#ruby]
icantbecool has joined #ruby
<bnagy> what you need a strategies for self-sufficiency and a willingness to invest a little more work in gaining understanding
havenwood has joined #ruby
icantbecool has left #ruby [#ruby]
<bnagy> right now you're acting like what's called a Help Vampire
<sebastianb> Vivekananda: buy yourself a book and read it
<sebastianb> eloquent ruby is quite good
<bnagy> I still love the poignant guide :(
benwoody has quit [Remote host closed the connection]
<sebastianb> I don't
<sebastianb> I couldn't read it, tbh
<bnagy> it may be batshit insane, but Dwemthy is the best basic metaprogramming / DSL stuff I've read
<sebastianb> I left it at something around 20th page?
<bnagy> and also the section on introspection is good
benwoody has joined #ruby
banjara has joined #ruby
freakazoid0223 has joined #ruby
<bnagy> but yeah it's pretty nutty
<sebastianb> it's not that it's insane
<sebastianb> it just bored me to death
<sebastianb> well, almost
rpgsimmaster has joined #ruby
lupine has joined #ruby
bhaarat has joined #ruby
ananthakumaran has joined #ruby
radic has quit [Disconnected by services]
<banisterfiend> i loved the poignant guide
radic_ has joined #ruby
lupine has quit [Max SendQ exceeded]
<sebastianb> good for you :)
<sebastianb> I enjoyed Eloquent Ruby much more
<banisterfiend> they're not really comparable
<sebastianb> actually I'm still enjoying it, since I'm still learning
dhruvasagar has quit [Ping timeout: 248 seconds]
soooga has joined #ruby
<sebastianb> banisterfiend: they're two books about learning ruby
<sebastianb> ;)
d11wtq_ios has joined #ruby
<Paradox> yay books
sambio has joined #ruby
<Paradox> i like books
arya_ has joined #ruby
<banisterfiend> sebastianb: the emphasis is different, i didnt read the poignant guide to learn ruby, i read it to get excited about learning ruby
<Paradox> aww
<Paradox> why's new site
<Paradox> :(
<banisterfiend> to actually learn ruby i read a different book :) "the ruby programming language"
banjara has quit [Quit: Leaving.]
<banisterfiend> sebastianb: the poignant guide is more like an infomercial on crack
<sebastianb> ;)
<sebastianb> doesn't matter now, I won't touch it again ;)
<banisterfiend> stop winking at me
<banisterfiend> pls :)
<bnagy> I think I feel the same way about tPG, tbh the only other thing I have read are the rdoc and the source, and other people's code
<d11wtq_ios> yeah I learn best reading other people's code, once you have the language basics down.
<bnagy> and sitting around on IRC helping noobs is surprisingly useful
<sebastianb> banisterfiend: it's a bad habit I know
<sebastianb> I just use it as a default smiley
<bnagy> once every couple of days I guess I refine my understanding of something
<sebastianb> not as actual 'wink'
<d11wtq_ios> and just trying dumb shit to see what happens. I love exporting language that way
shevy has joined #ruby
Opettaja has quit [Read error: Connection reset by peer]
<d11wtq_ios> semi-colon is easier to type than colon :P
<d11wtq_ios> or should that be ;P
arya has quit [Ping timeout: 260 seconds]
senayar has quit []
Opettaja has joined #ruby
<sebastianb> yup, it's faster
Hanmac has joined #ruby
<sebastianb> but, as we could see, banisterfiend feels a little insecure about it
<sebastianb> :D
<Vivekananda> I was trying to go through the rubymonk. you guys think that is okay ?
<banisterfiend> well when someone isn't just being lazy the ';)' emoticon has a specific meaning - i.e an actual wink - and i dont like being winked at by random dudes on an irc channel :)
czervik_ has left #ruby ["Ex-Chat"]
eykosioux has joined #ruby
Hanmac1 has quit [Ping timeout: 245 seconds]
<d11wtq_ios> that's pretty much why I'm hanging out here, naturally.
<banisterfiend> hehe
<bnagy> #rubybearcave
<sebastianb> Vivekananda: it is
iphands_ has quit [Ping timeout: 276 seconds]
<d11wtq_ios> Trying IRC from my iPhone. This is surprisingly pleasant.
c0rn has joined #ruby
<sebastianb> aw hell naw
<sebastianb> ;D
<sebastianb> never again I'm going to irc from any phone
<Paradox> blarg
<d11wtq_ios> I use irssi on my Mac, but this app seems pretty solid.
<sebastianb> I used to use epic + lice years ago
<sebastianb> but now irssi 4 life
<d11wtq_ios> not familiar with those.
<bnagy> epic lice is NOT an appealing name
<sebastianb> the client was named epic
<sebastianb> and lice was just a... patch?
<sebastianb> dunno better word
<d11wtq_ios> yeah irssi is really nice. I'm usually in the terminal all day so I like my IRC there. A fork maybe?
eykosioux has quit [Ping timeout: 264 seconds]
supernullset has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
rickmasta has quit [Quit: Leaving...]
eee19 has quit [Remote host closed the connection]
Arzaga has joined #ruby
rickmasta has joined #ruby
mando_ has quit [Remote host closed the connection]
<fryguy> i use weechat
hiram has joined #ruby
hiram has quit [Client Quit]
Arzaga has quit [Quit: Computer has gone to sleep.]
marcdel has joined #ruby
<rking> Since the thread's already gone off-topic, I might as well make my knee-jerk plug for weechat.
jonahR has quit [Quit: jonahR]
jonahR has joined #ruby
Arzaga has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
akam-it has quit [Ping timeout: 258 seconds]
vlad_starkov has joined #ruby
mercwithamouth has quit [Ping timeout: 246 seconds]
bhaarat has quit [Quit: bhaarat]
thams has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
akam-it has joined #ruby
Opettaja has quit [Quit: WeeChat 0.3.8]
guns has quit [Quit: guns]
rakl has joined #ruby
A124 has quit [Remote host closed the connection]
tzanger has joined #ruby
cantonic has joined #ruby
A124 has joined #ruby
<Vivekananda> fryguy: howdy
momomomomo has quit [Quit: momomomomo]
markalanevans has quit [Ping timeout: 245 seconds]
pandawarrior has quit [Quit: Leaving.]
chris___ has joined #ruby
baroquebobcat has joined #ruby
pkrnj has joined #ruby
Arzaga has quit [Quit: Computer has gone to sleep.]
tealmage has quit [Remote host closed the connection]
hiyakashi has quit [Quit: お前は知りすぎた]
d11wtq_ios has quit [Remote host closed the connection]
c0rn has quit [Quit: Computer has gone to sleep.]
supernullset has quit [Remote host closed the connection]
tk_ has joined #ruby
pandawarrior has joined #ruby
shadoi has joined #ruby
latermuse has joined #ruby
<latermuse> is there a ruby for haskell programmers article?
btaitelb has quit [Quit: btaitelb]
reset has quit [Ping timeout: 245 seconds]
chandankumar has joined #ruby
jpfuentes2 has joined #ruby
mwlang has quit [Quit: mwlang]
tk___ has joined #ruby
tk___ has quit [Client Quit]
btaitelb has joined #ruby
tk_ has quit [Ping timeout: 256 seconds]
rking has quit [Quit: Another attempt at UTF-8 fix on new VPS]
pkill has joined #ruby
lktp has joined #ruby
heliumsocket has joined #ruby
rking has joined #ruby
rking has quit [Client Quit]
Arzaga has joined #ruby
<pandawarrior> any recommendations for a good jenkins resource?
rking has joined #ruby
jgrevich has quit [Ping timeout: 264 seconds]
jgrevich has joined #ruby
Arzaga has quit [Client Quit]
rickruby has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
nfk has joined #ruby
tk_ has joined #ruby
havenwood has quit [Remote host closed the connection]
pkill has quit [Quit: leaving]
browndawg has joined #ruby
reppard_ has quit [Ping timeout: 256 seconds]
momomomomo has joined #ruby
pkill has joined #ruby
MrZYX is now known as MrZYX|off
chxane has joined #ruby
momomomomo has quit [Client Quit]
eykosioux has joined #ruby
lupine has joined #ruby
kevdev has joined #ruby
mmitchell has joined #ruby
Arzaga has joined #ruby
<kevdev> I have a quick question, working with a clients older RoR app, ruby 1.8.7 rails 2.3.6 and I have the following line if( params[:advert_photo] && params[:advert_photo][:uploaded_data] != "" ) @advert.advert_photos << AdvertPhoto.new(params[:advert_photo]) wondering what in the world << means? If anyone could steer me in the right direction I would greatly appreciate it! :)
lupine has quit [Max SendQ exceeded]
soooga has quit [Ping timeout: 276 seconds]
mercwithamouth has joined #ruby
<kevdev> It's causing some YAML parse errors Psych::SyntaxError ((<unknown>): did not find expected node content while parsing a flow node at line 18 column 14):
mmitchell has quit [Remote host closed the connection]
<waxjar> kevdev: It's a method called <<
eykosioux has quit [Ping timeout: 252 seconds]
<waxjar> usually to add an object to a list of some sort
nari has joined #ruby
<kevdev> Hmmm, looks like I'm off to google some more then hehe :) thanks!
jhn has quit [Ping timeout: 248 seconds]
<kevdev> Just making sure it was proper syntax
Davey has joined #ruby
tealmage has joined #ruby
a_a_g has joined #ruby
freakazoid0223 has quit [Ping timeout: 256 seconds]
tjbiddle_ has joined #ruby
dmiller has quit [Quit: WeeChat 0.4.0]
wsterlin_ has quit [Remote host closed the connection]
Arzaga has quit [Quit: Computer has gone to sleep.]
wsterling has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
browndawg has quit [Ping timeout: 245 seconds]
akam-it has quit [Ping timeout: 245 seconds]
tjbiddle has quit [Ping timeout: 248 seconds]
kevdev has quit [Quit: Page closed]
rickruby has quit [Remote host closed the connection]
tjbiddle_ has quit [Ping timeout: 248 seconds]
chandankumar has quit [Ping timeout: 245 seconds]
tealmage has quit [Ping timeout: 256 seconds]
lupine has joined #ruby
mercwithamouth has quit [Ping timeout: 248 seconds]
_maes_ has joined #ruby
decoponio has joined #ruby
lupine has quit [Max SendQ exceeded]
momomomomo has joined #ruby
pandawarrior1 has joined #ruby
pandawarrior1 has quit [Client Quit]
rickruby has joined #ruby
pandawarrior1 has joined #ruby
akam-it has joined #ruby
p4tux has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
pandawarrior1 has quit [Client Quit]
vlad_starkov has joined #ruby
rawng has joined #ruby
pandawarrior1 has joined #ruby
security is now known as megha
etcetera has quit []
reppard has joined #ruby
p4tux has quit [Client Quit]
a_a_g has quit [Quit: This computer has gone to sleep]
p4tux has joined #ruby
vlad_starkov has quit [Ping timeout: 260 seconds]
lupine has joined #ruby
dhodgkin has joined #ruby
end_guy has quit [Ping timeout: 276 seconds]
cantonic has quit [Quit: cantonic]
end_guy has joined #ruby
tzanger has left #ruby [#ruby]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
mahmoudimus has joined #ruby
chandankumar has joined #ruby
lupine has quit [Max SendQ exceeded]
pandawarrior1 has quit [Quit: Leaving.]
kushalkhandelwal has left #ruby [#ruby]
reppard has quit [Ping timeout: 245 seconds]
jhn has joined #ruby
decoponio has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
n1x has joined #ruby
Opettaja has joined #ruby
drale2k has quit [Quit: Leaving...]
drale2k has joined #ruby
lupine has joined #ruby
cads has quit [Ping timeout: 240 seconds]
lupine has quit [Max SendQ exceeded]
randomautomator has quit [Read error: Connection reset by peer]
randomautomator has joined #ruby
pandawarrior1 has joined #ruby
Ontolog has quit [Remote host closed the connection]
latermuse has left #ruby ["www.shartnet.com"]
Gue______ has joined #ruby
pandawarrior1 has quit [Client Quit]
jdunck has joined #ruby
randomautomator has quit [Ping timeout: 256 seconds]
tjbiddle has joined #ruby
dhruvasagar has joined #ruby
jonathanwallace has joined #ruby
tzanger has joined #ruby
dmiller has joined #ruby
robbyoconnor has joined #ruby
lupine has joined #ruby
lupine has quit [Max SendQ exceeded]
rickruby has quit [Ping timeout: 276 seconds]
Arzaga has joined #ruby
robbyoconnor has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
robbyoconnor has joined #ruby
dmiller has quit [Remote host closed the connection]
Apathetic has quit [Ping timeout: 276 seconds]
nixmaniack has joined #ruby
jonathanwallace has quit [Read error: Connection reset by peer]
jonathanwallace has joined #ruby
n1x has quit [Ping timeout: 255 seconds]
rickruby has joined #ruby
tomsthumb has joined #ruby
v0n has joined #ruby
ner0x has quit [Quit: Leaving]
nixmaniack is now known as n1x
Apathetic has joined #ruby
knapper_tech has quit [Ping timeout: 255 seconds]
eykosioux has joined #ruby
enriclluelles has quit [Remote host closed the connection]
devyn has quit [Read error: Connection reset by peer]
chrishunt has quit [Quit: ZzZzZz...]
chrishunt has joined #ruby
momomomomo has joined #ruby
fryguy- has joined #ruby
fryguy has quit [Ping timeout: 276 seconds]
mercwithamouth has joined #ruby
lupine has joined #ruby
eykosioux has quit [Ping timeout: 245 seconds]
lupine has quit [Max SendQ exceeded]
devyn has joined #ruby
Pierre__ has joined #ruby
charliesome has joined #ruby
lupine has joined #ruby
generalissimo has joined #ruby
hamed_r has joined #ruby
rakl has quit [Quit: sleeping]
tealmage has joined #ruby
lupine has quit [Max SendQ exceeded]
undersc0re97 has quit [Read error: Connection reset by peer]
ctr546454 has joined #ruby
tealmage has quit [Ping timeout: 240 seconds]
momomomomo has quit [Quit: momomomomo]
lupine has joined #ruby
undersc0re97 has joined #ruby
undersc0re97 has joined #ruby
undersc0re97 has quit [Changing host]
chris___ has quit [Remote host closed the connection]
jgrevich has quit [Ping timeout: 260 seconds]
chris___ has joined #ruby
jgrevich has joined #ruby
lupine has quit [Max SendQ exceeded]
veinofstars has quit [Quit: veinofstars]
mercwithamouth has quit [Ping timeout: 246 seconds]
wreckimnaked has joined #ruby
ctr546454 has quit [Quit: Linkinus - http://linkinus.com]
browndawg has joined #ruby
ctr546454 has joined #ruby
ctr546454 has quit [Client Quit]
PiCards has joined #ruby
chris___ has quit [Ping timeout: 256 seconds]
PiCards has quit [Client Quit]
Arzaga has quit [Quit: Computer has gone to sleep.]
roz_ has joined #ruby
sayan has joined #ruby
kimteq has quit [Remote host closed the connection]
kushalkhandelwal has joined #ruby
<pandawarrior> wow, just looked at my window to see it's light outside
wsterling has quit [Ping timeout: 245 seconds]
<pandawarrior> love late night, to early am sessions
<pandawarrior> :)
yshh has joined #ruby
<chxane> yeah they are great pandawarrior
yshh has quit [Remote host closed the connection]
Heero has quit [Quit: Leaving]
chrishunt has quit [Quit: ZzZzZz...]
ttt has joined #ruby
undersc0re97 has quit [Quit: Leaving]
t_p has quit [Quit: Computer has gone to sleep.]
kofno has joined #ruby
undersc0re97 has joined #ruby
lupine has joined #ruby
lupine has quit [Max SendQ exceeded]
<pandawarrior> indeed :)
kofno has quit [Ping timeout: 245 seconds]
decoponio has quit [Quit: taking to load reduction]
chessguy has quit [Remote host closed the connection]
lupine has joined #ruby
mercwithamouth has joined #ruby
lupine has quit [Max SendQ exceeded]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
pkill has quit [Ping timeout: 245 seconds]
arya_ has quit [Ping timeout: 256 seconds]
a_a_g has joined #ruby
generalissimo has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 245 seconds]
arya has joined #ruby
pkill has joined #ruby
rawng has quit [Quit: WeeChat 0.4.1-dev]
havenwood has joined #ruby
d11wtq_ios has joined #ruby
mercwithamouth has quit [Ping timeout: 252 seconds]
pkillian has joined #ruby
pkill has quit [Ping timeout: 245 seconds]
robbyoconnor has joined #ruby
jacobbednarz has joined #ruby
akashj87 has joined #ruby
rakl has joined #ruby
jacobbednarz has quit [Read error: Connection reset by peer]
ehaliewicz has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 256 seconds]
ehaliewicz has joined #ruby
pkillian has quit [Ping timeout: 245 seconds]
jekotia has quit [Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344]]
pkill has joined #ruby
Villadelfia has quit [Ping timeout: 245 seconds]
eykosioux has joined #ruby
SeySayux has quit [Ping timeout: 264 seconds]
akashj87 has quit [Ping timeout: 256 seconds]
mercwithamouth has joined #ruby
lupine has joined #ruby
d11wtq_ios has quit [Remote host closed the connection]
wreckimnaked has quit [Ping timeout: 245 seconds]
rsahae has joined #ruby
dhruvasagar has joined #ruby
lupine has quit [Max SendQ exceeded]
eykosioux has quit [Ping timeout: 245 seconds]
jacobbednarz has joined #ruby
jacobbednarz has quit [Read error: Connection reset by peer]
Morkel has joined #ruby
love_color_text has joined #ruby
lupine has joined #ruby
d11wtq_ios has joined #ruby
chris___ has joined #ruby
lupine has quit [Max SendQ exceeded]
jenrzzz has joined #ruby
BSaboia has quit [Remote host closed the connection]
tealmage has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
pkillian has joined #ruby
pkillian has quit [Client Quit]
rickruby has quit [Remote host closed the connection]
gr4yscale has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
pkill_ has joined #ruby
pkill_ has quit [Client Quit]
tealmage has quit [Ping timeout: 245 seconds]
pkill has quit [Quit: leaving]
jacobbednarz has joined #ruby
pkill has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
bradhe has joined #ruby
idkazuma has joined #ruby
jacobbednarz has quit [Read error: Connection reset by peer]
jonahR has quit [Quit: jonahR]
angusiguess has quit [Ping timeout: 240 seconds]
Skofo has quit [Quit: Leaving]
arya has quit [Ping timeout: 255 seconds]
chandankumar has quit [Quit: Leaving]
arya has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
mercwithamouth has joined #ruby
mpereira has quit [Ping timeout: 264 seconds]
reppard has joined #ruby
bradhe has quit [Remote host closed the connection]
chandankumar has joined #ruby
reppard has quit [Ping timeout: 260 seconds]
d11wtq_ios has quit [Remote host closed the connection]
arya has quit [Ping timeout: 240 seconds]
love_color_text has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
rsahae has quit [Quit: rsahae]
n1x has quit [Read error: Operation timed out]
arya has joined #ruby
divout has joined #ruby
<Paradox> NeilSmokeDeGrasseSagan
Hanmac1 has joined #ruby
d11wtq has joined #ruby
BizarreCake has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
mengu has joined #ruby
bricker`LA has joined #ruby
vlad_starkov has joined #ruby
randym_ is now known as randym
thams has quit [Quit: thams]
roz_ has quit [Quit: Leaving]
angusiguess has joined #ruby
jhn has quit [Ping timeout: 256 seconds]
lupine has joined #ruby
lupine has quit [Max SendQ exceeded]
undersc0re97 has quit [Quit: Leaving]
arya has quit [Ping timeout: 252 seconds]
undersc0re97 has joined #ruby
undersc0re97 has quit [Changing host]
undersc0re97 has joined #ruby
lupine has joined #ruby
arya has joined #ruby
lupine has quit [Max SendQ exceeded]
droppedonmyhead has joined #ruby
Gue______ is now known as shellox
angusiguess has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
virtuose has quit [Ping timeout: 256 seconds]
chandankumar has quit [Quit: Leaving]
yacks has quit [Read error: Connection reset by peer]
yacks has joined #ruby
Morkel_ has joined #ruby
groktar has quit []
shellox has quit [Remote host closed the connection]
Hanmac has joined #ruby
Morkel has quit [Ping timeout: 264 seconds]
Morkel_ is now known as Morkel
pkill_ has joined #ruby
Hanmac1 has quit [Ping timeout: 264 seconds]
pkill_ has quit [Client Quit]
Hanmac1 has joined #ruby
tyl has joined #ruby
lupine has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<tyl> guys what does :: mean in "song_type = if song.mp3_type == MP3::Jazz"
pkill has quit [Ping timeout: 245 seconds]
fryguy- has quit [Ping timeout: 246 seconds]
<tyl> i am reading the pick axe book and it doesn't sometimes explain certain things
lupine has quit [Max SendQ exceeded]
Hanmac has quit [Ping timeout: 245 seconds]
fryguy- has joined #ruby
<ericmathison> tyl: :: is a scope resolution operator
dhruvasagar has quit [Ping timeout: 245 seconds]
<tyl> where do i find the definition of :: ? i have been trying to look at the ruby api documents but its not there
<ericmathison> hmm... well it isn't a method so there is no definition
<tyl> is there any place that defines its use?
<ericmathison> but it's pretty simple so i can just explain what is going on here for you if you like
tealmage has joined #ruby
<ericmathison> MP3 is probably a class although it could perhaps be a module
<tyl> MP3::Jazz is likely the JAZZ constant in the MP3 module right?
<ericmathison> right
<tyl> or the jazz method?
banisterfiend has quit [Read error: Connection reset by peer]
<tyl> it seems that :: can be also use to call methods and variables
rickruby has joined #ruby
<mercwithamouth> ok...classes as verbs? bad practice?
<ericmathison> well Jazz is a constant so it is probably a class or module
<mercwithamouth> i'm watching a peepcode and they just made two classes StartEvent and EndEvent
banisterfiend has joined #ruby
<mercwithamouth> that's 'odd' to me???
<tyl> yeah i guess the capital letters gives it away as a constant
<ericmathison> tyl: right
<tyl> or class
<ericmathison> well, strictly speaking, it is a constant which holds the value of a class or module
tealmage has quit [Ping timeout: 246 seconds]
<ericmathison> mercwithamouth: i'm not really sure but classes as verbs do seem odd...
heliumsocket has quit [Quit: heliumsocket]
yshh has joined #ruby
randomautomator has joined #ruby
<mercwithamouth> ericmathison: i almost think they're implementing some pattern i just don't know of but is obvious to them
<mercwithamouth> ahh i see. they just changed it
gr4yscale has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby
<mercwithamouth> StartEvent as an object...then opted to make 'end_event' a method that closes the event.
<mercwithamouth> better
jacobbednarz has joined #ruby
pandawarrior has quit [Quit: Leaving.]
jacobbednarz has quit [Read error: Connection reset by peer]
stacky has joined #ruby
idkazuma has quit [Remote host closed the connection]
rickruby has quit [Ping timeout: 256 seconds]
arya has quit [Ping timeout: 256 seconds]
tootooroo has quit [Quit: Brain.sys has encountered a problem and needs to close. We are sorry for the inconvenience.]
soooga has joined #ruby
SeySayux has joined #ruby
ZachBeta has joined #ruby
Villadelfia has joined #ruby
arya has joined #ruby
eykosioux has joined #ruby
kaffepanna has quit [Quit: leaving]
rickruby has joined #ruby
kaffepanna has joined #ruby
eykosioux has quit [Ping timeout: 248 seconds]
v0n has quit [Ping timeout: 276 seconds]
mengu has quit [Quit: Leaving]
lupine has joined #ruby
tomsthumb has quit [Quit: Leaving.]
mercwithamouth has quit [Ping timeout: 256 seconds]
tjbiddle has quit [Quit: tjbiddle]
randomautomator has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
vlad_starkov has joined #ruby
oneirophren has joined #ruby
lupine has quit [Max SendQ exceeded]
tommyvyo has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
tjbiddle has joined #ruby
tomsthumb has joined #ruby
indyrl has quit [Read error: Connection reset by peer]
tomsthumb has quit [Max SendQ exceeded]
Mon_Ouie has joined #ruby
tomsthumb has joined #ruby
drale2k has quit [Quit: Leaving...]
Hanmac1 is now known as Hanmac
ehaliewicz has quit [Remote host closed the connection]
Ontolog has joined #ruby
arya has quit [Ping timeout: 276 seconds]
inokenty has joined #ruby
inokenty has quit [Max SendQ exceeded]
inokenty has joined #ruby
inokenty has quit [Max SendQ exceeded]
angusiguess has joined #ruby
love_color_text has joined #ruby
arya has joined #ruby
angusiguess has quit [Ping timeout: 240 seconds]
n1x has joined #ruby
h8R has joined #ruby
d11wtq has quit [Quit: Textual IRC Client: www.textualapp.com]
a_a_g has quit [Quit: This computer has gone to sleep]
d11wtq has joined #ruby
n1x has quit [Read error: Connection reset by peer]
eykosioux has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
arya has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
Beoran__ has joined #ruby
arya has joined #ruby
codecop has joined #ruby
cloke has joined #ruby
eykosioux has quit [Ping timeout: 252 seconds]
Ontolog has quit [Remote host closed the connection]
rburton- has quit [Quit: Linkinus - http://linkinus.com]
Beoran_ has quit [Ping timeout: 264 seconds]
dhruvasagar has quit [Ping timeout: 255 seconds]
tommyvyo has quit [Quit:]
cloke has quit [Quit: cloke]
tealmage has joined #ruby
vlad_sta_ has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
dhruvasagar has joined #ruby
Astral__ has joined #ruby
lupine has joined #ruby
tealmage has quit [Ping timeout: 252 seconds]
lupine has quit [Max SendQ exceeded]
drale2k has joined #ruby
Astral_ has quit [Ping timeout: 264 seconds]
TomJ has quit [Quit: TomJ]
dhruvasagar has quit [Ping timeout: 276 seconds]
seich has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
seich- has joined #ruby
rickruby has quit [Remote host closed the connection]
sambio has quit []
swex_ has joined #ruby
Morkel has quit [Quit: Morkel]
jacobbednarz has joined #ruby
jacobbednarz has quit [Read error: Connection reset by peer]
skattyadz has joined #ruby
swex has quit [Ping timeout: 245 seconds]
lupine has joined #ruby
lupine has quit [Max SendQ exceeded]
Zolo has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
lupine has joined #ruby
love_color_text has quit [Read error: Connection reset by peer]
lupine has quit [Max SendQ exceeded]
Catbuntu has joined #ruby
arya has quit []
Spooner has joined #ruby
Xeago has joined #ruby
marcdel has quit []
marcdel has joined #ruby
marcdel has quit [Client Quit]
chip` has joined #ruby
lkba has quit [Ping timeout: 256 seconds]
pmros has joined #ruby
<pmros> hi
chip` has quit [Quit: TA]
kushalkhandelwal has quit [Remote host closed the connection]
kushalkhandelwal has joined #ruby
angusiguess has joined #ruby
<chris___> Hey there
chris___ is now known as codesoda
keymone has joined #ruby
love_color_text has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
Catbuntu has quit [Quit: Leaving]
yann_ck has joined #ruby
<pmros> when ruby (cruby) will be able to compile (and load) bytecode? (like rubinius or jruby)
Opettaja has quit [Read error: Operation timed out]
<Hanmac> pmros when the hell is frozen ;P
Myk267 has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
kushalkhandelwal has quit [Remote host closed the connection]
jean-louis has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
lupine has joined #ruby
lupine has quit [Max SendQ exceeded]
<pmros> lol
Xeago has quit [Remote host closed the connection]
ZachBeta has quit [Read error: Connection reset by peer]
kushalkhandelwal has joined #ruby
<bnagy> eh? it uses bytecode internally
ZachBeta has joined #ruby
perun0 has quit [Quit: Leaving]
perun0 has joined #ruby
<Hanmac> bnagy: yeah but it cant export or inport bytecode
<bnagy> well you can look at RubyVM
yshh has quit [Remote host closed the connection]
<Hanmac> pmros: why does everyone wants bytecode? you cant run it on other machines
<bnagy> wasn't this a thing they were going to add to 2.0? Although tbh I have NFI why
<bnagy> don't really see the point of exporting to bytecode to disk, I must be missing something
shevy has quit [Ping timeout: 255 seconds]
Zolo has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
<pmros> it's faster
<Hanmac> pmros for this we have C-exts
<pmros> hide code
<bnagy> it doesn't hide shit
<bnagy> and it's so close to not faster that it doesn't matter for any real script
<pmros> C-exts is not everything, everywere, you know
yfeldblum has joined #ruby
<vandemar> converting to some intermediate bytecode is usually faster. if a language doesn't compile to bytecode, it usually means it's interpreting some things repeatedly
<Hanmac> pmros i can do 3D rendering with ruby and C-exts ... GPU powerd with more than 200FPS ... beat that ;P
<bnagy> vandemar: YARV already uses bytecode internally, that's not ( as I understand it ) the question
<Hanmac> vandemar: you are halfright, cruby does use bytecode, but not for you
<pmros> I mean you usually don't use C-exts
<Hanmac> pmros: why?
<pmros> it's an specific optimization
<pmros> not regular, daily use
kushalkhandelwal has quit [Remote host closed the connection]
stacky has quit [Ping timeout: 256 seconds]
<pmros> (my english is awful, sorry)
* Hanmac uses C-exts for nearly everything ... opening archives, making Window GUI with Buttons, doing 3D rendering, etc
kushalkhandelwal has joined #ruby
<bnagy> Hanmac: yeah but you're a psychopath
yashshah__ has quit [Ping timeout: 264 seconds]
<vandemar> when you compile code to a bytecode that actually has specs, that opens the door for a bytecode interpreter/vm to be separated and optimized better. jvm and hotspot are great. llvm would be nice. you really think cruby will approach either one?
<bnagy> vandemar: I have no idea, I use jruby exclusively now
<vandemar> it's not bytecode that matters, I'll grant that. it's the kind of bytecode and the interpreter/vm that runs the bytecode that matters
* Hanmac never used jruby because of my gems
tealmage has joined #ruby
<bnagy> but from what I hear they improved YARV again in 2.0, there's no inherent reason they can't get a pretty damn good VM
<bnagy> but the only reason to _save_ bytecode to disk is to skip some lex / parse time, which is nuts
<Fuzai> Could someone help me with a pattern match? I've got a string that has two numbers like "2 2" and i'm trying to pull them in to separate variables, i understand /\d+ \d+/.match("2 2") but how to i put them in separate values?
teddyp1cker has joined #ruby
<bnagy> Hanmac: yeah cext and jruby do not play nicely :( That's why I do so much FFI now :)
<vandemar> /(\d+)\s+(\d+)/
<bnagy> Fuzai: you want scan
<bnagy> >> "2 2 34 56".scan /\d+/
<eval-in> bnagy => ["2", "2", "34", "56"] (http://eval.in/16238)
<Spooner> bnagy, Not really, unless there are an indeterminate number of numbers.
<Fuzai> oh nice ty :)
<Fuzai> there should be two exactly
<vandemar> i'm guessing scan is still faster?
<bnagy> it's definitely imho more readable and saves grouping etc
<Hanmac> bnagy: FFI cant solv all of my problems ... because i can keep my bindings in nice ruby style and i can also play with the GC (so I can choose when objects are deleted or not)
<Spooner> Fuzai, x, y = /(\d+) (\d+)/.match("2 2").captures.map(&:to_i)
<bnagy> Hanmac: well you could manage it all in your c lib, write an FFI wrapper and turn off ruby GC ;)
lupine has joined #ruby
kushalkhandelwal has quit [Remote host closed the connection]
<Hanmac> bnagy yeah but i dont want to turn it of, i prefer to protect only my objects from deleting
<Spooner> Fuzai, But in this case it would be easier to use: x, y = "2 2".split(" ").map(&:to_i)
<bnagy> Hanmac: yeah well like I said before, that's because you're a psychopath :)
yashshah has joined #ruby
<pmros> see you!
pmros has quit [Quit: Konversation terminated!]
<Hanmac> bnagy: yeah but this is good for my gems ;P
tealmage has quit [Ping timeout: 256 seconds]
rakl has quit [Quit: sleeping]
kushalkhandelwal has joined #ruby
<Fuzai> (from, to) = message.content.gsub(/^.+#{trigger['trigger_phrase']}/, '').scan(/\d+/) seems to get the job done for me nicely :)
<bnagy> +1 for avoiding the use of regexp altogether, regexp sux
lupine has quit [Excess Flood]
<bnagy> Fuzai: you probably don't need to bother gsubbing out whatever the trigger thing is, unless it contains numbers
<Fuzai> it can
<Fuzai> it doesn't normally but it can
RagingDave has joined #ruby
MrZYX|off is now known as MrZYX
anderse has joined #ruby
shevy has joined #ruby
kiri has quit [Ping timeout: 276 seconds]
kiri has joined #ruby
<vandemar> hate regex if you want, but pcre is fast. http://pastebin.com/0mP7zPXT
<Fuzai> hate regex because you don't understand it, but it works.
jenrzzz has joined #ruby
pcarrier has joined #ruby
enriclluelles has joined #ruby
callmeivan has quit [Ping timeout: 252 seconds]
havenn_ has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
drale2k has quit [Ping timeout: 255 seconds]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
basex has joined #ruby
<bnagy> vandemar: try creating a Regexp before you enter your loop in the scan benchmark
<bnagy> match automagically caches stuff somehow I think
kushalkhandelwal has quit [Remote host closed the connection]
kushalkhandelwal has joined #ruby
callmeivan has joined #ruby
eykosioux has joined #ruby
rickruby has joined #ruby
lupine has joined #ruby
lupine has quit [Client Quit]
jgrevich has quit [Remote host closed the connection]
security has joined #ruby
kushalkhandelwal has quit [Ping timeout: 245 seconds]
megha has quit [Ping timeout: 245 seconds]
jean-louis has quit [Ping timeout: 252 seconds]
eykosioux has quit [Ping timeout: 245 seconds]
rickruby has quit [Ping timeout: 255 seconds]
shadoi has quit [Quit: Leaving.]
mockra has quit [Remote host closed the connection]
wallclockbuilder has joined #ruby
Villadelfia has quit [Ping timeout: 248 seconds]
SeySayux has quit [Ping timeout: 256 seconds]
Villadelfia has joined #ruby
SeySayux has joined #ruby
robustus has quit [Ping timeout: 248 seconds]
bonty_ssh has joined #ruby
robustus has joined #ruby
drale2k has joined #ruby
angusiguess has joined #ruby
eka has joined #ruby
bonty_ssh has quit [Ping timeout: 245 seconds]
angusiguess has quit [Ping timeout: 256 seconds]
crazed has quit [Ping timeout: 245 seconds]
idkazuma has joined #ruby
pcarrier has quit [Quit: Computer has gone to sleep.]
blacktulip has joined #ruby
polysics has joined #ruby
<polysics> hello!
<polysics> anyone knows what Array#join() calls on its arguments, please?
Myk267 has quit [Quit: Ack! Hans, run! It's the lhurgoyf!]
<polysics> I am seeing different behavior iwth arrays of Nokogiri documents
ehellman has joined #ruby
Myk267 has joined #ruby
<polysics> ie. calling #to_s on them before the join results in the correct result, while simply using #join results in only the node text getting rendered
dhruvasagar has joined #ruby
<polysics> I am running on 2.0 but I guess it is no different from 1.9.3 - at least, it is not reported as such
browndawg has left #ruby [#ruby]
<bnagy> polysics: probably to_str
<bnagy> but I can't see the source right from the rdoc cause it calls rb_ary_join internally and I can't be bothered :)
<bnagy> but in general you should never rely on those implicit conversions, join seems to change every major ruby version, anyway
<polysics> yes, I will to_s args firs
<polysics> *t
<polysics> and no, it's not calling to_s for some weird reason :-)
<polysics> to_s would give the correct results
<bnagy> it's not weird, it's consistent with other stuff
<bnagy> that's why we have to_str and to_s
<polysics> yes, correct
kristofers has joined #ruby
bluOxigen has joined #ruby
<bnagy> it's just that in this case you got a weird result because of how Nokogiri chooses to implement those two methods
hogeo has quit [Remote host closed the connection]
<polysics> but your (and my) reasoning is that if you want arguments in a certain form, you should just be using the correct method yourself
<polysics> correct?
<bnagy> yeah
<polysics> Nokogiri could change, or join could change, or to_str could change :-)
<bnagy> like Array#to_s I think used to call join, that's what I'm thinking of ( I think )
<bnagy> 18>> [1,2,3].to_s
<eval-in> bnagy => "123" (http://eval.in/16255)
<bnagy> 198>> [1,2,3].to_s
<bnagy> 19>> [1,2,3].to_s
<eval-in> bnagy => "[1, 2, 3]" (http://eval.in/16256)
<bnagy> yeah
<polysics> wow
tyl has quit [Ping timeout: 245 seconds]
<bnagy> so I take back my accusations against join
mockra has joined #ruby
sleetdrop has joined #ruby
echevemaster has quit [Quit: Leaving]
yshh has joined #ruby
yshh has quit [Remote host closed the connection]
yshh has joined #ruby
codespectator has joined #ruby
mockra has quit [Ping timeout: 260 seconds]
lupine has joined #ruby
lupine has quit [Max SendQ exceeded]
LnL has quit [Quit: LnL]
virtuose has joined #ruby
LongLiveBacon has joined #ruby
timmow has joined #ruby
LnL has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
bluOxigen has joined #ruby
forlin has joined #ruby
lupine has joined #ruby
lupine has quit [Max SendQ exceeded]
Perceptes has joined #ruby
Perceptes has left #ruby [#ruby]
security is now known as megha
lupine has joined #ruby
swex_ has quit [Remote host closed the connection]
Morkel has joined #ruby
swex has joined #ruby
swex has quit [Remote host closed the connection]
lupine has quit [Max SendQ exceeded]
swex has joined #ruby
atno has joined #ruby
love_color_text has quit [Read error: Connection reset by peer]
codesoda_ has joined #ruby
jgarvey has quit [Quit: Leaving]
codesoda has quit [Ping timeout: 252 seconds]
MrZYX is now known as MrZYX|off
m8 has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
LnL has quit [Quit: LnL]
LnL has joined #ruby
Demux has left #ruby [#ruby]
mockra has joined #ruby
akashj87 has joined #ruby
kenneth has joined #ruby
mockra has quit [Ping timeout: 256 seconds]
stacky has joined #ruby
hamed_r has quit [Quit: Leaving]
angusiguess has joined #ruby
lupine has joined #ruby
Opettaja has joined #ruby
adambeynon has joined #ruby
lupine has quit [Max SendQ exceeded]
angusiguess has quit [Ping timeout: 264 seconds]
JonnieCache_ has joined #ruby
a_a_g has joined #ruby
Opettaja has quit [Quit: WeeChat 0.3.8]
t_p has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
pac1 has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
tyl has joined #ruby
Iszak has joined #ruby
love_color_text has joined #ruby
tealmage has joined #ruby
Rym__ has joined #ruby
eka has joined #ruby
wallcloc_ has joined #ruby
m8 has quit [Read error: Connection reset by peer]
eka has quit [Client Quit]
Rym has quit [Ping timeout: 252 seconds]
Rym__ is now known as Rym
_bart has joined #ruby
eka has joined #ruby
m8 has joined #ruby
timonv has joined #ruby
tealmage has quit [Ping timeout: 248 seconds]
wallclockbuilder has quit [Ping timeout: 252 seconds]
kf8a has joined #ruby
nari has quit [Ping timeout: 248 seconds]
a_a_g has quit [Ping timeout: 256 seconds]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
kseifried has quit [Read error: Connection reset by peer]
kseifried has joined #ruby
kseifried has quit [Changing host]
kseifried has joined #ruby
lktp has quit [Read error: Connection reset by peer]
lktp has joined #ruby
unflores has joined #ruby
mneorr has joined #ruby
m8 has quit [Ping timeout: 252 seconds]
wallclockbuilder has joined #ruby
a_a_g has joined #ruby
echevemaster has joined #ruby
wallcloc_ has quit [Ping timeout: 252 seconds]
idkazuma has quit [Remote host closed the connection]
Neomex has joined #ruby
Neomex has quit [Client Quit]
rezzack has quit [Quit: Leaving.]
lupine has joined #ruby
Neomex has joined #ruby
lupine has quit [Max SendQ exceeded]
wallclockbuilder has quit [Ping timeout: 240 seconds]
Neomex has quit [Client Quit]
idkazuma has joined #ruby
wallclockbuilder has joined #ruby
Anthony9001 has joined #ruby
Dwarf has quit [Ping timeout: 246 seconds]
Opettaja has joined #ruby
<tyl> i can't seem to run gem_server
<tyl> on osx 10.8.3
yann_ck has quit [Quit: Computer has gone to sleep.]
tevio has quit [Read error: Connection reset by peer]
mykeywaslost has joined #ruby
unflores has quit [Quit: unflores]
pandawarrior has joined #ruby
tevio has joined #ruby
lupine has joined #ruby
Morkel has quit [Quit: Morkel]
<Hanmac> tyl its without "_"
mockra has joined #ruby
a_a_g has quit [Read error: Connection reset by peer]
<tyl> command not found
Morkel has joined #ruby
Dwarf has joined #ruby
<tyl> wait nvm
<Hanmac> tyl then it seems "gem" is not installed
lupine has quit [Max SendQ exceeded]
BizarreCake has quit [Ping timeout: 264 seconds]
PragCypher has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
m8 has joined #ruby
JonnieCache_ has quit [Quit: Lost terminal]
lupine has joined #ruby
lupine has quit [Max SendQ exceeded]
m8 has quit [Max SendQ exceeded]
mockra has quit [Ping timeout: 256 seconds]
Anthony9001 has quit [Remote host closed the connection]
Anthony9001 has joined #ruby
Anthony9001 has quit [Changing host]
Anthony9001 has joined #ruby
havenn_ has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
nezumi has quit [Ping timeout: 256 seconds]
wallclockbuilder has quit [Remote host closed the connection]
BizarreCake has joined #ruby
patteh has quit [Quit: leaving]
lupine has joined #ruby
tealmage has joined #ruby
lupine has quit [Max SendQ exceeded]
codesoda_ has quit [Remote host closed the connection]
drale2k has quit [Read error: Connection reset by peer]
Anthony9001 has left #ruby ["Linkinus - http://linkinus.com"]
patteh has joined #ruby
patteh has quit [Client Quit]
patteh has joined #ruby
alup has joined #ruby
patteh has quit [Client Quit]
mykeywaslost has quit [Remote host closed the connection]
patteh has joined #ruby
kofno has joined #ruby
akashj87 has quit [Disconnected by services]
akashj87 has joined #ruby
adambeynon has quit [Quit: Computer has gone to sleep.]
pcarrier has joined #ruby
baphled_ has joined #ruby
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
codespectator has quit [Quit: Computer has gone to sleep.]
JeanMertz has joined #ruby
eykosioux has joined #ruby
btaitelb has quit [Quit: btaitelb]
peta_ has joined #ruby
tenmilestereo has joined #ruby
ZachBeta has quit [Read error: Connection reset by peer]
ZachBeta has joined #ruby
eldariof has joined #ruby
hach has joined #ruby
sepp2k has joined #ruby
avalarion is now known as shreknet
LnL has quit [Quit: LnL]
arya has joined #ruby
LnL has joined #ruby
Al__ has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
neurone-2337 has joined #ruby
LnL has quit [Ping timeout: 245 seconds]
arya has quit [Ping timeout: 248 seconds]
neurone-1337 has quit [Ping timeout: 255 seconds]
anderse has quit [Quit: anderse]
neurone-1337 has joined #ruby
arya has joined #ruby
neurone-2337 has quit [Ping timeout: 240 seconds]
MrZYX|off is now known as MrZYX
arya has quit [Ping timeout: 248 seconds]
nezumi has joined #ruby
emmanuelux has joined #ruby
Opettaja has quit [Ping timeout: 253 seconds]
mockra has joined #ruby
neurone-2337 has joined #ruby
arya has joined #ruby
freeayu has joined #ruby
motto has joined #ruby
vlad_starkov has joined #ruby
neurone-1337 has quit [Ping timeout: 245 seconds]
chessguy has joined #ruby
motto has quit [Max SendQ exceeded]
motto has joined #ruby
mockra has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Ping timeout: 245 seconds]
kf8a has quit [Quit: Computer has gone to sleep.]
motto has quit [Max SendQ exceeded]
love_color_text has quit [Read error: Connection reset by peer]
motto has joined #ruby
ShapeShifter499 has joined #ruby
<ShapeShifter499> Hi all
motto has quit [Max SendQ exceeded]
akashj87 has quit [Ping timeout: 256 seconds]
motto has joined #ruby
Xeago has joined #ruby
motto has quit [Max SendQ exceeded]
schickung has joined #ruby
motto has joined #ruby
Al__ has quit [Quit: Al__]
Axsuul has quit [Ping timeout: 260 seconds]
soooga has quit [Quit: 离开]
motto has quit [Max SendQ exceeded]
motto has joined #ruby
LS\MFT has joined #ruby
tealmage has quit [Remote host closed the connection]
schickung has quit [Client Quit]
browndawg has joined #ruby
schickung has joined #ruby
wallclockbuilder has joined #ruby
wallclockbuilder has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 252 seconds]
backjlack has quit [Remote host closed the connection]
kofno has quit [Remote host closed the connection]
ananthakumaran has quit [Ping timeout: 276 seconds]
backjlack has joined #ruby
motto has quit [Max SendQ exceeded]
motto has joined #ruby
love_color_text has joined #ruby
javiolo has quit [Ping timeout: 264 seconds]
kofno has joined #ruby
eykosioux has quit [Remote host closed the connection]
AlSquire has joined #ruby
eykosioux has joined #ruby
motto has quit [Max SendQ exceeded]
basex has quit [Quit: basex]
motto has joined #ruby
maxmanders has joined #ruby
Xeago has joined #ruby
maxmanders has quit [Client Quit]
AlSquirrel has quit [Ping timeout: 245 seconds]
motto has quit [Max SendQ exceeded]
motto has joined #ruby
Xeago has quit [Remote host closed the connection]
eykosioux has quit [Ping timeout: 245 seconds]
nezumi has quit [Ping timeout: 276 seconds]
motto has quit [Max SendQ exceeded]
motto has joined #ruby
love_color_text has quit [Remote host closed the connection]
kirun has joined #ruby
mneorr has quit [Remote host closed the connection]
pcarrier has quit [Quit: Computer has gone to sleep.]
akashj87 has joined #ruby
LS\MFT has quit [Ping timeout: 255 seconds]
mneorr has joined #ruby
slainer68 has quit [Remote host closed the connection]
pcarrier has joined #ruby
_maes_ has joined #ruby
enriclluelles has quit [Remote host closed the connection]
sambao21 has joined #ruby
PragCypher has quit [Ping timeout: 276 seconds]
ananthakumaran has joined #ruby
tenmilestereo has quit [Quit: Leaving]
madb055 has joined #ruby
PragCypher has joined #ruby
postmodern has quit [Quit: Leaving]
freeayu has quit [Read error: Connection reset by peer]
slainer68 has joined #ruby
LS\MFT has joined #ruby
Al__ has joined #ruby
Al__ has quit [Client Quit]
pioz has joined #ruby
Gost_4832 has joined #ruby
hach has quit [Ping timeout: 260 seconds]
freeayu has joined #ruby
oneirophren has quit [Ping timeout: 245 seconds]
Ankhers has joined #ruby
motto has quit [Max SendQ exceeded]
Gost_4832 has quit []
Gost_4832 has joined #ruby
motto has joined #ruby
stacky has quit [Ping timeout: 245 seconds]
eykosioux has joined #ruby
* Gost_4832 how many free spaces i must have to install backtrack on virtualbox ?
Gost_4832 has quit [Killed (idoru (Spam is off topic on freenode.))]
<marwinism> free spaces?
freeayu has quit [Remote host closed the connection]
<aytch> disk space, I think he means
classix has quit [Ping timeout: 252 seconds]
chandankumar has joined #ruby
classix has joined #ruby
cancel has joined #ruby
<marwinism> Hm, select dynamic images, and set as much as you can afford to make them. But minimum 15gb sounds good.
<cancel> marwinism
<marwinism> cancel
dormousy has quit [Quit: ZNC - http://znc.in]
dormoose has quit [Quit: ZNC - http://znc.in]
Neandre has joined #ruby
hashmal has quit [Quit: Computer has gone to sleep.]
nil1511 has joined #ruby
adambeynon has joined #ruby
mockra has joined #ruby
jenrzzz has quit [Quit: leaving]
mockra has quit [Ping timeout: 256 seconds]
dormousy has joined #ruby
eykosioux has quit [Remote host closed the connection]
nezumi has joined #ruby
eykosioux has joined #ruby
dormoose has joined #ruby
pngl has joined #ruby
pcarrier has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby
cancel has left #ruby [#ruby]
workmad3 has quit [Ping timeout: 252 seconds]
ZachBeta has quit [Quit: Computer has gone to sleep.]
GeissT has joined #ruby
hach has joined #ruby
slainer68 has quit [Remote host closed the connection]
freerobby has joined #ruby
hach has left #ruby [#ruby]
sambao21 has quit [Ping timeout: 276 seconds]
Evixion has joined #ruby
jpfuentes2 has joined #ruby
arya has quit [Ping timeout: 248 seconds]
mneorr has quit [Remote host closed the connection]
pothibo has joined #ruby
Matip has joined #ruby
havenwood has quit [Remote host closed the connection]
pioz has quit [Quit: This computer has gone to sleep]
havenwood has joined #ruby
reppard has joined #ruby
<reppard> How can you write to a file in ruby without echoing to stdout?
justsee has quit [Ping timeout: 264 seconds]
<tobiasvl> File
<reppard> File.open('blah.txt'){|f| line.each do |line| f.puts line end} This fills stdout with the content of the line array
arya has joined #ruby
<reppard> actually now that i think about it, the question is probably, how do i generate a large array out of a range without it going to stdout
<GeissT> reppard: File.open(yourfile, 'w') { |file| file.write("your text") }
<reppard> haha
<tobiasvl> stdout??
Mattix has quit [Ping timeout: 259 seconds]
<reppard> GeissT: thanks, i know how to write to a file
<apeiros> File.write(yourfile, "yourtext")
<ShapeShifter499> um why does this error out? http://pastebin.com/SQnEarAZ
<Morrolan> Lacking one 'end', ShapeShifter499.
<ShapeShifter499> I keep getting calculator.rb:19: syntax error, unexpected $end, expecting keyword_end
mneorr has joined #ruby
<ShapeShifter499> Morrolan, where?
<ShapeShifter499> Morrolan, at eof?
<reppard> set = set.first.match(/^a/) ? set.to_a : set.to_a.reverse
<Morrolan> At the end.
<reppard> that is the line that is flooding stdout
<MrZYX> ShapeShifter499: the class as no matching end
<Morrolan> ShapeShifter499: You've got a function definition and a condition there, but only one 'end'.
<Morrolan> Oh, and the class is lacking an 'end' too.
havenwood has quit [Ping timeout: 252 seconds]
atno has quit [Ping timeout: 256 seconds]
<MrZYX> ShapeShifter499: you should indent your code better
<MrZYX> that makes such stuff more obvious
<ShapeShifter499> add a "end".... like this? http://pastebin.com/zpJN1kax
<MrZYX> one more
<Morrolan> ShapeShifter499: Now you've closed the 'maincalc' function, you still need to close the 'Calculator' class. :)
tzanger has left #ruby [#ruby]
<ShapeShifter499> ok I tested it with "q" but the puts line didn't print... why?
<MrZYX> you never call the maincalc function
<ShapeShifter499> oh I see
<MrZYX> let alone instantiate your calculator class
nezumi has quit [Ping timeout: 245 seconds]
<MrZYX> I'd suggest you just drop the main calc function and class for now
<MrZYX> also if [something == else] will always be true
<ShapeShifter499> in case anyone is wondering, this is my work and what I'm trying to do, https://github.com/ShapeShifter499/calculator
<MrZYX> [] creates a new array
<MrZYX> [foo == bar] will create either [true] or [false], but an array is always considered truthy
maxmanders has joined #ruby
<MrZYX> ShapeShifter499: I also suggest you do git rm --cached *~; echo '*~' > .gitignore; git add .gitignore; git commit -m "ignore backup files" ;)
<reppard> Range.to_a silent anyone?
adamjleonard has joined #ruby
<tobiasvl> silent?
<ShapeShifter499> MrZYX, whoops, didn't know that extra bit was there
<ShapeShifter499> done
<reppard> tobiasvl: as in, no standard out, its a large range and i dont want it printing to stdout
<reppard> just sucks up resources for no good reason
maxmanders has quit [Client Quit]
<tobiasvl> what?
<ShapeShifter499> MrZYX, google search leads me to dropping the brackets on the "if" statement in maincalc
<MrZYX> yup
<tobiasvl> to_a doesn't print anything
<tobiasvl> it just returns the array reppard
<reppard> tobiasvl: make a script that says ("a".."zzzzzzzzz").to_a
<reppard> yeah i know
<reppard> its the return value
<MrZYX> ShapeShifter499: general rule of thumb in ruby: try without brackets first, ruby will complain if it needs them ;P
<reppard> and it goes to stdout
<reppard> i dont want to see the array, i just want it built
<tobiasvl> no
bluOxigen has joined #ruby
<tobiasvl> it doesn't go to stdout
<tobiasvl> what sre you talking about
<tobiasvl> cab i see your code?
<tobiasvl> ugh typos
<reppard> sure
mklappstuhl has quit [Read error: Operation timed out]
<ShapeShifter499> MrZYX, this is me mixing the little python I learned from the online EDX course I tried but bailed out on halfway through
sambao21 has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
Ankhers has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<ShapeShifter499> Ok now I dropped the brackets but now I get : "calculator.rb:14: dynamic constant assignment"
<reppard> if you run that, you will see the arrays returned to stdout
atno has joined #ruby
scrr has quit [Ping timeout: 252 seconds]
<MrZYX> ShapeShifter499: everything that begins with an uppercase letter is a constant
<MrZYX> so UserInput is one, userInput wouldn't be one
ZachBeta has joined #ruby
Czupa has joined #ruby
<reppard> brb, gotta hit the road
<MrZYX> ShapeShifter499: but we like to use user_input for variable names
motto has quit [Read error: Connection timed out]
mrwalker has joined #ruby
adamjleonard has quit [Quit: Leaving...]
pskosinski has joined #ruby
motto has joined #ruby
slainer68 has joined #ruby
mrwalker has quit [Remote host closed the connection]
sambao21 has quit [Ping timeout: 256 seconds]
Rioji has joined #ruby
<tobiasvl> reppard: but ... isn't that just because you print them out
<tobiasvl> puts "Done with #{set}"
<tobiasvl> remove that line and it won't print the set to stdout
<MrZYX> hm it shouldn't
<MrZYX> >> puts "#{('a'..'d')}"
<eval-in> MrZYX => a..d ... (http://eval.in/16276)
scrr has joined #ruby
<ShapeShifter499> MrZYX, oops forgot that
<ShapeShifter499> ok fixed
blueOxigen has joined #ruby
reppard has quit [Ping timeout: 256 seconds]
<tobiasvl> MrZYX: well look at line 12
<tobiasvl> set is an array
<MrZYX> ah, nvm, sorry
ttt has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 260 seconds]
pngl has quit [Quit: Page closed]
atno__ has joined #ruby
mneorr has quit [Remote host closed the connection]
atno has quit [Ping timeout: 245 seconds]
skogis has quit [Ping timeout: 256 seconds]
kunday has joined #ruby
Morkel has quit [Quit: Morkel]
kunday has quit [Client Quit]
tk_ has quit [Quit: ばいばい]
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
polysics has left #ruby [#ruby]
slainer68 has quit [Ping timeout: 252 seconds]
mklappstuhl has joined #ruby
includex has joined #ruby
<ShapeShifter499> MrZYX, thank you for the help
reppard has joined #ruby
<reppard> tobiasvl: any advice?
<MrZYX> (16:13:18) tobiasvl: reppard: but ... isn't that just because you print them out
<MrZYX> (16:13:23) tobiasvl: puts "Done with #{set}"
idkazuma has quit [Remote host closed the connection]
<tobiasvl> reppard: it's printed to stdout because you explicitly prints it to stdout
<reppard> MrZYX: damnit, i thought i changed that
mockra has joined #ruby
<reppard> set should be name
<reppard> haha thanks for seeing what i overlooked
<MrZYX> also something like f.write ((set = set.to_a).first[0] == 'a' ? set : set.reverse).join("\n") is probably faster since it can to more IO at once, which greatly helps when doing threading in ruby (due to the GIL)
mercwithamouth has joined #ruby
reppard has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
mneorr has joined #ruby
reppard has joined #ruby
<reppard> i'm always looking for ways to optimize threding
bonty_ssh has joined #ruby
mockra has quit [Ping timeout: 245 seconds]
<reppard> MrZYX: in your example, why am i joining on newline?
tommyvyo has quit [Client Quit]
sambio has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
pioz has joined #ruby
tommyvyo has joined #ruby
bonty_ssh has quit [Ping timeout: 260 seconds]
MrZYX is now known as MrZYX|off
<reppard> damn tether connection
hmarr has joined #ruby
eykosioux has quit [Remote host closed the connection]
eykosioux has joined #ruby
subbyyy has joined #ruby
backjlack has quit [Remote host closed the connection]
adamjleonard has joined #ruby
angusiguess has joined #ruby
adamjleonard has quit [Client Quit]
<ShapeShifter499> near the bottom, why couldn't I just use "Calculator.maincalc"? is it because I had to start a "new" object? http://pastebin.com/8mXqDkmQ
Rioji has quit [Remote host closed the connection]
backjlack has joined #ruby
freerobby has quit [Quit: Leaving.]
nil1511 has quit [Ping timeout: 255 seconds]
eykosioux has quit [Ping timeout: 248 seconds]
<tobiasvl> yes
<tobiasvl> maincalc is an object method, not a class method
<tobiasvl> so you can't access it through the class
rismoney has joined #ruby
LS\MFT has quit [Quit: Leaving]
uxp_ is now known as uxp
peta_ has quit [Quit: peta_]
<ShapeShifter499> tobiasvl, ah ok thanks
sayan has quit [Read error: Connection reset by peer]
kirun has quit [Ping timeout: 255 seconds]
<tobiasvl> ShapeShifter499: your code is pretty basic so
abstrusenick has joined #ruby
MrZYX|off is now known as MrZYX
<tobiasvl> it's not that easy to see the difference, but consider your calculator's memory variable
<tobiasvl> ypu need to create an object so you have a memory array
<tobiasvl> othervise it could be a class variable, but then all calculators would share the same memory
<tobiasvl> read up on instance variables btw
<tobiasvl> now fun.memory always returns an empty array...
<reppard> MrZYX: I think that goes much faste
<reppard> r
apeiros has quit [Remote host closed the connection]
hach has joined #ruby
eval-in has quit [Remote host closed the connection]
s0ber has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
s0ber has joined #ruby
BombStrike has quit [Quit: ZNC - http://znc.sourceforge.net]
lktp has quit [Quit: This computer has gone to sleep]
<ShapeShifter499> this may take me a while
* ShapeShifter499 needs a break
BombStrike has joined #ruby
<ShapeShifter499> I'll be back after a long nap lol
yeltzooo has quit [Ping timeout: 240 seconds]
pcboy__ has quit [Ping timeout: 264 seconds]
pcboy_ has joined #ruby
cibs has quit [Ping timeout: 256 seconds]
yeltzooo has joined #ruby
tommyvyo has quit [Quit:]
tr4656_ has quit [Ping timeout: 260 seconds]
nateberkopec has joined #ruby
tr4656 has joined #ruby
baroquebobcat has joined #ruby
GeissT has quit [Quit: MillBroChat AdIRC User]
sgkim126l has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
sgkim126l has joined #ruby
Ng|Adonixx8359 has joined #ruby
chrishunt has joined #ruby
timonv has quit [Remote host closed the connection]
<tobiasvl> i recommend picking up a ruby book
<tobiasvl> or reading a guide
Rioji has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
axxT has quit [Ping timeout: 264 seconds]
ARCADIVS has quit [Quit: WeeChat 0.3.8]
<reppard> pickup the pickaxe
Rumsteak has joined #ruby
<Rumsteak> how can I iterate with "index +=2" in Ruby style ?
vlad_starkov has joined #ruby
<reppard> thats the one
<reppard> damnit, i need to upgrade my paperback
chandankumar has quit [Read error: Connection reset by peer]
<Hanmac> if possible you should look for an 2.0 book if possible ;P
PragCypher has quit [Read error: Connection timed out]
eykosioux has joined #ruby
ehaliewicz has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
hach has quit [Ping timeout: 260 seconds]
chandankumar has joined #ruby
eykosioux has quit [Ping timeout: 245 seconds]
LooChao has joined #ruby
reppard has quit [Ping timeout: 276 seconds]
mockra has joined #ruby
etcetera has joined #ruby
ttt has joined #ruby
icrazyhack has quit [Ping timeout: 260 seconds]
mneorr_ has joined #ruby
Tarential has quit [Excess Flood]
Tarential has joined #ruby
codecop has quit [Read error: No route to host]
Roa has quit [Read error: Operation timed out]
t0rc has joined #ruby
mockra has quit [Ping timeout: 264 seconds]
mneorr has quit [Ping timeout: 245 seconds]
lktp has joined #ruby
ttt has quit [Ping timeout: 276 seconds]
hach has joined #ruby
k3rn3lito has quit [Ping timeout: 264 seconds]
<tobiasvl> Rumsteak: step
icrazyhack has joined #ruby
strtok has quit [Ping timeout: 264 seconds]
geggam has joined #ruby
anderse has joined #ruby
Rioji has quit [Ping timeout: 245 seconds]
pcarrier has joined #ruby
sayan has joined #ruby
t0rc has quit [Quit: WeeChat 0.4.0]
freakazoid0223 has joined #ruby
Czupa has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
chandankumar has quit [Quit: Leaving]
generali_ has joined #ruby
ariedler has joined #ruby
etcetera has quit []
dhruvasagar has joined #ruby
anderse has quit [Quit: anderse]
maxmanders has joined #ruby
skattyadz has quit [Ping timeout: 264 seconds]
arya has quit [Ping timeout: 248 seconds]
marcdel has joined #ruby
chandankumar has joined #ruby
strtok has joined #ruby
beneggett has joined #ruby
piggybox has joined #ruby
arya has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
hach has quit [Ping timeout: 264 seconds]
alup has quit [Quit: Leaving]
baphled_ has quit [Ping timeout: 252 seconds]
dveim has joined #ruby
hmarr has quit []
piggybox has left #ruby [#ruby]
codecop has joined #ruby
Akuma has quit [Read error: Connection reset by peer]
Akuma has joined #ruby
maxmanders has joined #ruby
pskosinski has quit [Quit: pskosinski]
etcetera has joined #ruby
maxmanders has quit [Client Quit]
etcetera has quit [Max SendQ exceeded]
etcetera has joined #ruby
sayan has quit [Ping timeout: 276 seconds]
m8 has joined #ruby
timonv has joined #ruby
Yakko has joined #ruby
wreckimnaked has joined #ruby
tjbiddle has joined #ruby
anderse has joined #ruby
motto has quit [Ping timeout: 256 seconds]
blazedd has joined #ruby
<blazedd> Is this channel also for ror?
<MrZYX> blazedd: #rubyonrails
<blazedd> Thanks
havenwood has joined #ruby
tommyvyo has joined #ruby
maxmanders has joined #ruby
g0bl1n has joined #ruby
g0bl1n has quit [Changing host]
g0bl1n has joined #ruby
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
maxmanders has quit [Client Quit]
dveim has left #ruby ["Ex-Chat"]
knapper_tech has joined #ruby
Psycho_gr has joined #ruby
<Psycho_gr> I did sudo gem install bundler and got ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) too many connection resets (http://rubygems.org/gems/bundler-1.3.5.gem) What should I do?
inomataj has joined #ruby
inomataj has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
inomataj has joined #ruby
<mercwithamouth> are there any tools out there that can help me fill out web forms?
momomomomo has joined #ruby
LooChao has quit [Remote host closed the connection]
inomataj has quit [Remote host closed the connection]
akashj87 has quit [Ping timeout: 264 seconds]
eval-in has joined #ruby
momomomomo_ has joined #ruby
sayan has joined #ruby
<sebastianb> keyboard maybe?
momomomomo has quit [Ping timeout: 252 seconds]
momomomomo_ is now known as momomomomo
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<Vivekananda> hey everyone
<Vivekananda> homework time again :)
mockra has joined #ruby
niceguy1234 has joined #ruby
momomomomo has quit [Quit: momomomomo]
nezumi has joined #ruby
jetblack has quit [Quit: leaving]
mockra has quit [Ping timeout: 245 seconds]
cads has joined #ruby
Guedes has joined #ruby
Guedes has quit [Changing host]
Guedes has joined #ruby
rakl has joined #ruby
wargasm1 has quit [Ping timeout: 264 seconds]
beneggett has quit [Quit: Computer has gone to sleep.]
wargasm has joined #ruby
tenmilestereo has joined #ruby
freerobby has joined #ruby
hiyakashi has joined #ruby
atno__ is now known as atno
F1skr has joined #ruby
Ontolog has joined #ruby
pioz has quit [Quit: This computer has gone to sleep]
gyre007 has joined #ruby
aapzak has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby
aapzak has joined #ruby
JeanMertz has quit []
sayan has quit [Ping timeout: 260 seconds]
pandawarrior1 has joined #ruby
yashshah has quit [Remote host closed the connection]
yashshah has joined #ruby
newUser1234 has joined #ruby
k3rn3lito has joined #ruby
Roa has joined #ruby
Roa has quit [Changing host]
Roa has joined #ruby
tevio has quit [Remote host closed the connection]
eykosioux has joined #ruby
mikecmpbll has joined #ruby
rakl has quit [Quit: sleeping]
Psycho_gr has quit [Quit: Leaving]
eykosioux has quit [Ping timeout: 245 seconds]
stkowski has joined #ruby
codespectator has joined #ruby
includex has quit [Quit: Leaving...]
sayan has joined #ruby
apeiros has quit [Remote host closed the connection]
hach has joined #ruby
nezumi has quit [Ping timeout: 260 seconds]
newbie has joined #ruby
newbie is now known as Guest66948
<Guest66948> can you explain this method call .... a_method { a,b} do |f|
<Guest66948> what is f here ?
<banisterfiend> Guest66948: it doesnt make sense
<banisterfiend> Guest66948: that method call is a syntax error
<Guest66948> i'm looking at the view new.html.erb generated by devise
<Guest66948> <%= simple_form_for( parameters here...) do |f| %>
<MrZYX> Guest66948: read up about blocks and block parameters
<injekt> Guest66948: you didn't add the parenthesis to your version
<banisterfiend> Guest66948: probably best to learn ruby a little bit before you start with rails :)
blazedd has quit [Quit: Bye]
<Guest66948> any pointer to a good dumb down of block tutorial? that's the feature i most struggle with with ruby
<injekt> it's pretty basic Ruby, you'll find resources for it in a simple google search or any Ruby book
gunboat has joined #ruby
Opettaja has joined #ruby
yshh has quit [Read error: Connection reset by peer]
gunboat has quit [Read error: Connection reset by peer]
<Guest66948> alright. thanks guys
yshh has joined #ruby
pskosinski has joined #ruby
gunboat has joined #ruby
reppard has joined #ruby
gunboat has quit [Read error: Connection reset by peer]
gunboat has joined #ruby
gyre008 has joined #ruby
gunboat has quit [Read error: Connection reset by peer]
jetblack has joined #ruby
gunboat has joined #ruby
Guest66948 has quit [Quit: irc2go]
maxmanders has joined #ruby
adambeynon has joined #ruby
gunboat has quit [Read error: Connection reset by peer]
gunboat has joined #ruby
gyre007 has quit [Ping timeout: 276 seconds]
gunboat has quit [Read error: Connection reset by peer]
gunboat has joined #ruby
pkrnj has joined #ruby
security has joined #ruby
gunboat has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
gunboat has joined #ruby
cibs has joined #ruby
megha has quit [Ping timeout: 252 seconds]
security is now known as megha
chrishough has joined #ruby
pandawarrior1 has quit [Quit: Leaving.]
gunboat has quit [Read error: Connection reset by peer]
megha has quit [Excess Flood]
teddyp1cker has quit [Remote host closed the connection]
gunboat has joined #ruby
k3rn3lito has quit [Ping timeout: 240 seconds]
Faris has quit [Remote host closed the connection]
Roa has quit [Ping timeout: 264 seconds]
gyre008 has quit [Remote host closed the connection]
gunboat has quit [Read error: Connection reset by peer]
angusiguess has quit [Ping timeout: 256 seconds]
megha has joined #ruby
subbyyy has quit [Ping timeout: 276 seconds]
browndawg has quit [Quit: Leaving.]
PragCypher has joined #ruby
bga-ruby has joined #ruby
freerobby has quit [Quit: Leaving.]
<bga-ruby> I am a ruby noob trying to use mechanize, and I am having problems with an iterator.  I have "agent.page.links_with(:href => /p\-/)".  If I have a simple iterator of {|link| puts link } it displays the links, but if I use an iterator of {|link| puts link.uri} it complains withNoMethodError: undefined method `uri' for #<Array:0x5340b667>
<bga-ruby> If I do link = agent.page.links_with(:href => /p\-/)[1] in jirb and then puts link.uri, it works
hmarr has joined #ruby
blaxter has joined #ruby
motto has joined #ruby
zavier has quit [Quit: WeeChat 0.3.8]
<bga-ruby> why isn't the method found within the iterator?
enriclluelles has joined #ruby
zavier has joined #ruby
m8 has quit [Read error: Operation timed out]
ToApolytoXaos has joined #ruby
browndawg has joined #ruby
motto has quit [Max SendQ exceeded]
maxmanders has quit [Quit: Computer has gone to sleep.]
motto has joined #ruby
lkba has joined #ruby
cloke has joined #ruby
n1x has joined #ruby
gyre007 has joined #ruby
hach has quit [Ping timeout: 256 seconds]
<dhodgkin> #python
etcetera has quit []
* dhodgkin is a retard
<dhodgkin> all can agree :)
mockra has joined #ruby
* bga-ruby doesn't like languages that use whitespace to define blocks.
* dhodgkin either
Politoed has quit [Ping timeout: 245 seconds]
jaysql has joined #ruby
<jaysql> I found a ruby exploit
motto has quit [Max SendQ exceeded]
angusiguess has joined #ruby
motto has joined #ruby
<waxjar> uh oh
Politoed has joined #ruby
<dhodgkin> bga-ruby: def ... end, { ... }, begin .... end, those are how blocks should be defined. agreed?
hach has joined #ruby
reppard has quit [Ping timeout: 252 seconds]
johnnyfuchs has quit [Quit: Leaving.]
<bga-ruby> yes, I agree
<waxjar> i'd rather have whitespace than multiline curly braces, though. i think :P
mockra has quit [Ping timeout: 252 seconds]
<dhodgkin> anywho, apologies for the #python slip up. typo induced disrespect for the chan :(
<Hanmac> jaysql so that is it?
<bga-ruby> You should be able to cut and past a block to anywhere where the block would be legal, and just have it work.
motto has quit [Max SendQ exceeded]
bonty_ssh has joined #ruby
motto has joined #ruby
<dhodgkin> bga-ruby: agreed
<jaysql> I didnt know ruby was so insecure
<Hanmac> jaysql the most "exploits" are from rails people that uses ruby wrong
motto has quit [Max SendQ exceeded]
motto has joined #ruby
v0n has joined #ruby
slainer68 has joined #ruby
motto has quit [Max SendQ exceeded]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
anderse has quit [Quit: anderse]
motto has joined #ruby
rickruby has joined #ruby
mikecmpbll has quit [Quit: Computer has gone to sleep.]
cloke has quit [Quit: cloke]
enriclluelles has quit [Remote host closed the connection]
<jaysql> Not really
enriclluelles has joined #ruby
reppard has joined #ruby
subbyyy has joined #ruby
<Hanmac> they whine about that YAML and Marshal can generate objects ... they whine about that to_sym generate Symbols and they what to change Core Ruby because they are to lazy to change ther own code
<jaysql> Ruby is built to be insecure
Proshot has joined #ruby
bonty_ssh has quit [Ping timeout: 256 seconds]
<ChristianS> jaysql: stop talking nonsense
<ChristianS> jaysql: "insecure" might or might not be true about rails, but it hardly makes sense for programming languages
chandankumar has quit [Quit: Leaving]
<Hanmac> jaysql for sample this: http://bugs.ruby-lang.org/issues/7792 look at this shitty bug the railists does request
<jaysql> hahah
abstrusenick has quit [Quit: abstrusenick]
jdunck has joined #ruby
Ontolog has quit [Remote host closed the connection]
<waxjar> "Make symbols and strings the same thing"
<waxjar> ಠ_ಠ wut
anderse has joined #ruby
<Hanmac> waxjar like i said the railists are some religional fanatics
heliumsocket has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
pkrnj has joined #ruby
<Hanmac> waxjar: or what about this: http://bugs.ruby-lang.org/issues/7797 that HashWithIndifferentAccess should replace the normal Hash ?
gunboat has joined #ruby
workmad3 has joined #ruby
hach has quit [Ping timeout: 240 seconds]
<waxjar> lol
gunboat has quit [Read error: Connection reset by peer]
gunboat has joined #ruby
Xlab has joined #ruby
atno has quit [Remote host closed the connection]
adamjleonard has joined #ruby
gunboat has quit [Read error: Connection reset by peer]
atno has joined #ruby
a_a_g has joined #ruby
gunboat has joined #ruby
chandankumar has joined #ruby
adamjleonard has quit [Client Quit]
lktp has quit [Quit: This computer has gone to sleep]
basex has joined #ruby
g0bl1n has quit [Ping timeout: 264 seconds]
gunboat has quit [Read error: Connection reset by peer]
gunboat has joined #ruby
yashshah has quit [Read error: Connection reset by peer]
gunboat has quit [Read error: Connection reset by peer]
yashshah has joined #ruby
gunboat has joined #ruby
chandankumar has quit [Read error: Connection reset by peer]
gunboat has quit [Read error: Connection reset by peer]
gunboat has joined #ruby
generali_ has quit [Remote host closed the connection]
jdunck has quit [Quit: Computer has gone to sleep.]
br4ndon has joined #ruby
greenarrow has quit [Quit: IRC is just multiplayer notepad]
greenarrow has joined #ruby
brianherman has joined #ruby
<jaysql> nice 'bug' reports
<jaysql> :D
codespectator has quit [Quit: Computer has gone to sleep.]
jaysql is now known as gentoofan
gentoofan is now known as jaysql
gunboat has quit [Ping timeout: 252 seconds]
Spooner has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 255 seconds]
tealmage has joined #ruby
codespectator has joined #ruby
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
one8zero has joined #ruby
Roa has joined #ruby
Roa has quit [Changing host]
Roa has joined #ruby
k3rn3lito has joined #ruby
anderse has quit [Quit: anderse]
iamjarvo has joined #ruby
<Hanmac> jaysql: soo what is your exploit you found?
whowantstolivefo has joined #ruby
<jaysql> remote execution
workmad3 has quit [Ping timeout: 255 seconds]
tealmage has quit [Ping timeout: 256 seconds]
banjara has joined #ruby
BizarreCake has quit [Ping timeout: 240 seconds]
jgrevich has joined #ruby
travnick has joined #ruby
ph^ has joined #ruby
dhruvasagar has joined #ruby
apeiros has joined #ruby
chandankumar has joined #ruby
roz has joined #ruby
hiroyuki has joined #ruby
tomsthumb has quit [Quit: Leaving.]
banjara has quit [Client Quit]
one8zero has left #ruby [#ruby]
ph^_ has joined #ruby
ph^ has quit [Read error: Connection reset by peer]
<havenwood> FUD
<Vivekananda> hey everyone
<Vivekananda> hi havenwood
apeiros has quit [Ping timeout: 245 seconds]
Czupa has joined #ruby
iamjarvo has quit [Quit: Leaving.]
<havenwood> jaysql: pics or it didn't happen :P
<jaysql> i am selling it
sambao21 has quit [Quit: Computer has gone to sleep.]
Opettaja has quit [Quit: WeeChat 0.3.8]
etcetera has joined #ruby
<ChristianS> lol
pothibo has quit [Quit: pothibo]
<havenwood> jaysql: Half price with the purchase of a time machine ticket?
pothibo has joined #ruby
sixEch0_ has joined #ruby
hashmal has joined #ruby
sixEch0_ has left #ruby [#ruby]
pkrnj has quit [Quit: Computer has gone to sleep.]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
drale2k has joined #ruby
apeiros has joined #ruby
ckrailo has joined #ruby
workmad3 has joined #ruby
etcetera has quit []
baroquebobcat has quit [Quit: baroquebobcat]
tylersmith has joined #ruby
Xeago has joined #ruby
apeiros has quit [Remote host closed the connection]
reppard has quit [Ping timeout: 264 seconds]
Yakko is now known as YakkoAFK
ckrailo has quit [Client Quit]
nalaginrut has quit [Ping timeout: 252 seconds]
etcetera has joined #ruby
Dreamer3 has joined #ruby
chandankumar has quit [Quit: Leaving]
ananthakumaran has quit [Quit: Leaving.]
devisequestion has joined #ruby
arya has quit [Ping timeout: 248 seconds]
gyre007 has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 252 seconds]
<devisequestion> hi all, i have a question on devise. Most tutorial on the net show to create a _navigation.erb.html partial for devise navigation menu. In this partial, user_signed_in variable is used, but i couldn't see where it is defined in which controller...
ckrailo has joined #ruby
arya has joined #ruby
choobie has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
deric_skibotn has joined #ruby
_br_ has joined #ruby
tommyvyo has quit [Quit:]
baroquebobcat has quit [Client Quit]
<_br_> Sorry crawling up from under a rock here... what is this ? A BOM? (first line in a file) .. # -*- mode: ruby -*-
<sebastianb> devisequestion: does it have to be defined in the controller if it comes from a gem?
<_br_> emacs...
<_br_> never mind.
workmad3 has joined #ruby
rickruby has quit [Remote host closed the connection]
<devisequestion> i think i found it...it's in the devisegem/lib/devise/helper
_br_ has quit [Quit: leaving]
rickruby has joined #ruby
havenn_ has joined #ruby
m8 has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
havenn_ has quit [Remote host closed the connection]
m8 has quit [Max SendQ exceeded]
motto has quit [Ping timeout: 264 seconds]
m8 has joined #ruby
jdunck has joined #ruby
iamjarvo has joined #ruby
m8 has quit [Max SendQ exceeded]
devisequestion has quit [Quit: irc2go]
hmarr has quit []
browndawg has quit [Quit: Leaving.]
beneggett has joined #ruby
stef_204 has joined #ruby
pioz has joined #ruby
btaitelb has joined #ruby
kimteq has joined #ruby
blaxter has quit [Ping timeout: 260 seconds]
Astral__ has quit [Ping timeout: 276 seconds]
sepp2k has quit [Quit: Leaving.]
mlr has joined #ruby
<Akuma> hello, I'm having some issues with mysql2 on windows, it says it cannot install the gem and it stops after "check for main in -llibmysql... no"
<Akuma> my mysql server is located on a separate machine
mockra has joined #ruby
Roa has quit [Ping timeout: 240 seconds]
KazW has quit [Ping timeout: 245 seconds]
k3rn3lito has quit [Ping timeout: 252 seconds]
etcetera has quit []
Astralum has joined #ruby
roz has quit [Ping timeout: 260 seconds]
mockra has quit [Ping timeout: 256 seconds]
pioz has quit [Quit: This computer has gone to sleep]
mercwithamouth has quit [Ping timeout: 248 seconds]
baphled_ has joined #ruby
tealmage has joined #ruby
chandankumar has joined #ruby
ggordan has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
mneorr_ has quit [Remote host closed the connection]
chandankumar has quit [Remote host closed the connection]
roz has joined #ruby
sayan has quit [Read error: Connection reset by peer]
shadoi has joined #ruby
tealmage has quit [Ping timeout: 256 seconds]
dhruvasagar has quit [Ping timeout: 276 seconds]
generali_ has joined #ruby
mneorr has joined #ruby
javiolo has joined #ruby
mneorr has quit [Remote host closed the connection]
lunarjar has quit [Quit: Bye]
lunarjar has joined #ruby
mercwithamouth has joined #ruby
danneu has joined #ruby
pesto has joined #ruby
tyl has quit [Quit: Computer has gone to sleep.]
pesto has left #ruby [#ruby]
pitzips has joined #ruby
pitzips has quit [Client Quit]
eka has quit [Quit: Computer has gone to sleep.]
sambao21 has joined #ruby
sepp2k has joined #ruby
mahmoudimus has joined #ruby
oneirophren has joined #ruby
oneirophren has quit [Client Quit]
subbyyy has quit [Read error: Connection reset by peer]
basex has quit [Quit: basex]
reset has joined #ruby
schickung_ has joined #ruby
peta_ has joined #ruby
subbyyy has joined #ruby
sambao21 has quit [Ping timeout: 260 seconds]
AlSquire has quit [Quit: This computer has gone to sleep]
schickung has quit [Ping timeout: 256 seconds]
schickung_ is now known as schickung
AlSquire has joined #ruby
sayan has joined #ruby
heliumsocket has quit [Ping timeout: 245 seconds]
undersc0re97 has quit [Quit: Leaving]
jaysql has quit [Quit: a]
undersc0re97 has joined #ruby
undersc0re97 has joined #ruby
undersc0re97 has quit [Changing host]
Ontolog has joined #ruby
oneirophren has joined #ruby
oneirophren has quit [Client Quit]
apeiros has joined #ruby
n1x has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 256 seconds]
hiyakashi has quit [Ping timeout: 245 seconds]
pitzips has joined #ruby
pcarrier has quit [Quit: Computer has gone to sleep.]
ngoldman has joined #ruby
PragCypher has quit [Quit: Leaving]
angusiguess has quit [Ping timeout: 256 seconds]
<Akuma> I managed to install the mysql2 gem, however I cannot seem to get it recognized; webrick tells me that I have to add it to my gem file even though it is already there
jgrevich_ has joined #ruby
ngoldman has left #ruby [#ruby]
apeiros has quit [Ping timeout: 252 seconds]
jgrevich has quit [Ping timeout: 252 seconds]
jgrevich_ is now known as jgrevich
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Neandre has quit [Remote host closed the connection]
brian_000_ has joined #ruby
tobyo has joined #ruby
Spooner has joined #ruby
angusiguess has joined #ruby
jgrevich has quit [Remote host closed the connection]
Roa has joined #ruby
brianherman has quit [Ping timeout: 245 seconds]
oneirophren has joined #ruby
mneorr has joined #ruby
mlr has quit [Quit: Lost terminal]
<danneu> Akuma: youve added it to gemfile, right
basex has joined #ruby
a_a_g has quit [Quit: This computer has gone to sleep]
yfeldblum has joined #ruby
basex has quit [Client Quit]
drale2k has quit [Quit: Leaving...]
forlin has quit [Remote host closed the connection]
chessguy has quit [Remote host closed the connection]
eykosioux has joined #ruby
n1x has joined #ruby
chrishough has quit [Quit: chrishough]
nomenkun has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
sambao21 has joined #ruby
eykosioux has quit [Ping timeout: 256 seconds]
mockra has joined #ruby
bricker`LA has quit [Quit: leaving]
wreckimnaked has quit [Ping timeout: 246 seconds]
Ontolog has quit [Remote host closed the connection]
Arzaga has joined #ruby
sambao21_ has joined #ruby
tenmilestereo has quit [Quit: Leaving]
fir_ed has quit [Quit: Leaving]
mockra has quit [Ping timeout: 248 seconds]
eykosioux has joined #ruby
rakl has joined #ruby
jdolitsky has joined #ruby
wreckimnaked has joined #ruby
perun0 has quit [Ping timeout: 252 seconds]
schickung has quit [Quit: schickung]
DrCode has quit [Remote host closed the connection]
nuttyradiofreek has joined #ruby
pcarrier has joined #ruby
momomomomo has joined #ruby
ehellman has quit []
tommyvyo has joined #ruby
kristofers has quit [Read error: Connection reset by peer]
<Rumsteak> What is the default file encodeing when doing File.read("my_file") in Ruby ?
<MrZYX> your system one iirc
<Rumsteak> ok
kristofers has joined #ruby
DrCode has joined #ruby
Arzaga has quit [Quit: Computer has gone to sleep.]
sambao21 has quit [Quit: Computer has gone to sleep.]
sambao21_ is now known as sambao21
eykosioux has quit [Remote host closed the connection]
tylersmith has quit [Quit: tylersmith]
n1x has quit [Read error: Connection reset by peer]
<Rumsteak> looks like it is utf8 for me (when I do File.read("my_file").encoding)
newUser1234 has quit [Remote host closed the connection]
perun0 has joined #ruby
reset has quit [Quit: Leaving...]
iamjarvo has quit [Quit: Leaving.]
chussenot has joined #ruby
<waxjar> the default encoding in Ruby 2.0 is UTF-8? don't know if that applies to files too
chussenot has quit [Remote host closed the connection]
benlieb has joined #ruby
crassus is now known as Israeli-
<MrZYX> I think so, but for reading stuff in it uses the system encoding by default, only if that's unset it falls back to the internal default
jpfuentes2 has joined #ruby
etcetera has joined #ruby
iamjarvo has joined #ruby
<Rumsteak> "The external encoding defaults to whatever the $LANG environment variable is set to - in my case de_AT.UTF-8"
deric_skibotn has quit [Ping timeout: 264 seconds]
dmiller has joined #ruby
mockra has joined #ruby
nanothief has quit [Read error: Connection reset by peer]
<shevy> Rumsteak haha austria?
kop has quit [Remote host closed the connection]
nanothief has joined #ruby
mockra has quit [Ping timeout: 240 seconds]
slainer68 has quit [Remote host closed the connection]
sambio has quit [Ping timeout: 256 seconds]
oneirophren has quit [Ping timeout: 256 seconds]
etcetera has quit []
chrishunt has quit [Ping timeout: 245 seconds]
<Spooner> I have two files that I'm reading with File.read (in 1.9.3), both have encoding = UTF-8 - both are seemingly identical,but == says they are not. What have I missed?
<tobiasvl> huh?
<tobiasvl> the files?
<banisterfiend> Spooner: sup
<tobiasvl> can't imagine ruby checks the contents of the files when comparing them
<tobiasvl> Spooner: what's your code
chrishunt has joined #ruby
<banisterfiend> File#== just uses Object#==
<banisterfiend> so it compares (effectively) object_id
Czupa has quit [Ping timeout: 245 seconds]
<Spooner> File.read(x) == File.read(y) (both UTF and both identical when I print them out)
<MrZYX> banisterfiend: File.read returns a string
<banisterfiend> MrZYX: yeah i didnt see that bit ;)
<banisterfiend> (that he was using File.read)
Dreamer3 has quit [Quit: Leaving...]
<Spooner> banisterfiend, There is a File.identical?, you know ;) But I want the strings.
dmiller has quit [Remote host closed the connection]
<MrZYX> same .size?
wallclockbuilder has joined #ruby
kirun has joined #ruby
<Rumsteak> shevy: nope, just copy/pasted this encoding from an article
<Spooner> Ah, I found an unprintable character in there. Oops!
wallcloc_ has joined #ruby
<tobiasvl> :)
<tobiasvl> otherwise there are a couple of diffing tools
<Spooner> #ord== 65279 - yeah, that'll do it.
dmiller has joined #ruby
thone has joined #ruby
hach has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
wallclockbuilder has quit [Ping timeout: 248 seconds]
busybox42 has quit [Quit: leaving]
enriclluelles has quit [Read error: Connection reset by peer]
divout has quit [Quit: Leaving.]
thone_ has quit [Ping timeout: 252 seconds]
busybox42 has joined #ruby
sambao21 has joined #ruby
enriclluelles has joined #ruby
enriclluelles has quit [Read error: Connection reset by peer]
nuttyradiofreek has quit [Quit: nuttyradiofreek]
pandawarrior1 has joined #ruby
enriclluelles has joined #ruby
Proshot has quit [Quit: Leaving]
cat-on-mah-keys has joined #ruby
<cat-on-mah-keys> hey yall
<cat-on-mah-keys> I'm running into
<cat-on-mah-keys> /usr/lib/ruby/1.9.1/xmlrpc/create.rb:189:in `conv2value': Bignum is too big! Must be signed 32-bit integer! (RuntimeError)
<cat-on-mah-keys> so i looked at it's source
<shevy> lol
<cat-on-mah-keys> and I want to ENABLE_BIGINT
<shevy> Bignum is too big Smallnum is too small
<shevy> bad user is bad
<cat-on-mah-keys> how would I go about passing that flag to the library from my code?
sambao21 has quit [Quit: Computer has gone to sleep.]
<cat-on-mah-keys> I using using Rubigraph to create edges with these large ID's in Ubigraph,
<cat-on-mah-keys> and it's choking when I pass it values that are too long it seems
mattbl has joined #ruby
<cat-on-mah-keys> I can't really hash the ID's into something shorter because it's expecting an INT
<cat-on-mah-keys> hmmm...'
tomsthumb has joined #ruby
tomsthumb has quit [Max SendQ exceeded]
tomsthumb has joined #ruby
<cat-on-mah-keys> basically my question is how can I set these flags on libraries i'm using
Hobogrammer has joined #ruby
etcetera has joined #ruby
etcetera has quit [Client Quit]
<cat-on-mah-keys> Or, at least - how should I look at this from an Idiomatic ruby perspective?
carloslopes has joined #ruby
reppard has joined #ruby
BSaboia has joined #ruby
eldariof has quit []
mneorr has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
dv_ has quit [Remote host closed the connection]
freerobby has joined #ruby
mockra has joined #ruby
mattbl has quit [Quit: Leaving]
k3rn3lito has joined #ruby
tomsthumb has quit [Quit: Leaving.]
<cat-on-mah-keys> Bam. Found my answer socrates style. http://matt.coneybeare.me/fixing-rflickr-and-xmlrpc-to-handle-bignums/
mattbl has joined #ruby
mattbl has quit [Remote host closed the connection]
newUser1234 has joined #ruby
huoxito has joined #ruby
hach has quit [Ping timeout: 256 seconds]
mockra has quit [Ping timeout: 255 seconds]
btaitelb has quit [Quit: btaitelb]
eykosioux has joined #ruby
kirun has quit [Read error: Operation timed out]
etcetera has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
wesside has joined #ruby
sambao21 has joined #ruby
codecop has quit [Remote host closed the connection]
workmad3 has joined #ruby
eykosioux has quit [Ping timeout: 245 seconds]
btaitelb has joined #ruby
mneorr has joined #ruby
tjbiddle_ has joined #ruby
callmeivan has quit [Remote host closed the connection]
callmeivan has joined #ruby
subbyyy has quit [Read error: Connection reset by peer]
btaitelb has quit [Quit: btaitelb]
arya has quit [Ping timeout: 248 seconds]
subbyyy has joined #ruby
<cat-on-mah-keys> So, I traded one error for another.
<cat-on-mah-keys> /usr/lib/ruby/1.9.1/xmlrpc/client.rb:414:in `call': Call XML not a proper XML-RPC call. error parsing "100000970217396": Numerical result out of range (34) (XMLRPC::FaultException)
<cat-on-mah-keys> Think I'll just sanitize my data. :P
markalanevans has joined #ruby
<MrZYX> sum the digits up, done :P
tjbiddle has quit [Ping timeout: 246 seconds]
tjbiddle_ is now known as tjbiddle
newUser1234 has quit [Remote host closed the connection]
newUser1234 has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
arya has joined #ruby
enriclluelles has quit [Read error: Connection reset by peer]
etcetera has quit []
<cat-on-mah-keys> I figure I'll just add another field on each name/id pair based on index, and then map my edges list against that.
workmad3 has quit [Quit: Lost terminal]
mercwithamouth has quit [Ping timeout: 252 seconds]
enriclluelles has joined #ruby
mercwithamouth has joined #ruby
etcetera has joined #ruby
idkazuma has joined #ruby
reppard has quit [Ping timeout: 252 seconds]
etcetera has quit [Client Quit]
ntzrmtthihu777 has joined #ruby
<ntzrmtthihu777> howdy. anyone here using 2.0?
nezumi has joined #ruby
<undersc0re97> ntzrmtthihu777: yes
<undersc0re97> probably /most/ people are
* Hanmac uses 2.1 ;P
<ntzrmtthihu777> :D anyone willing to help me sort out an issue?
<MrZYX> ntzrmtthihu777: if you have a question just ask it and don't try to find the "right one to answer it" ;)
chessguy has joined #ruby
<ntzrmtthihu777> MrZYX: true XD, I should know that.
pcarrier has quit [Quit: Computer has gone to sleep.]
<ntzrmtthihu777> anyways, attempting to rake the gem rbSFML against 2.0 gives me an error, will try again to get the exact error. it wants me to recompile something with -fPIC, and its not the gem as the rakefile forces that anyways.
dhodgkin has quit [Remote host closed the connection]
ngoldman has joined #ruby
mockra has joined #ruby
carloslopes has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 245 seconds]
travnick has quit [Remote host closed the connection]
undersc0re97 has quit [Remote host closed the connection]
carloslopes has joined #ruby
mockra has quit [Ping timeout: 240 seconds]
slainer68 has joined #ruby
momomomomo has joined #ruby
freerobby has quit [Quit: Leaving.]
wallcloc_ has quit [Remote host closed the connection]
slainer68 has quit [Ping timeout: 245 seconds]
mneorr has quit [Remote host closed the connection]
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
pkill has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 245 seconds]
enriclluelles has quit [Read error: Connection reset by peer]
tommyvyo has quit [Quit:]
enriclluelles has joined #ruby
<ntzrmtthihu777> yeah. attempting to rake rbsfml against 2.0 gives this error : /usr/bin/ld: /usr/local/lib/libruby-static.a(enumerator.o): relocation R_X86_64_PC32 against symbol `rb_enumeratorize_with_size' can not be used when making a shared object; recompile with -fPIC
kirun has joined #ruby
tylersmith has joined #ruby
Akuma has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
tomsthumb has joined #ruby
tomsthumb has quit [Max SendQ exceeded]
tomsthumb has joined #ruby
tomsthumb has quit [Client Quit]
beneggett has quit [Quit: Computer has gone to sleep.]
SCommette has joined #ruby
skattyadz has joined #ruby
mneorr has joined #ruby
LnL has joined #ruby
AtoxIO has joined #ruby
sambio has joined #ruby
newUser1234 has quit [Ping timeout: 252 seconds]
newUser1234 has joined #ruby
<AtoxIO> Hello, ruby1.9.3-p392 FileUtils.touch(file) generates a "No such file or directory" error (Errno::ENOENT)
<AtoxIO> now that shouldn't happen, so, anybody knows why and how to solve?
hackeron has quit [Ping timeout: 240 seconds]
nezumi has quit [Ping timeout: 264 seconds]
<MrZYX> AtoxIO: ensure all leading path components in file exist
<banisterfiend> MrZYX: are you new to ruby btw?
<AtoxIO> MrZYX: I just realized that, gheh
<MrZYX> hm, not sure, what is new? :P
<banisterfiend> MrZYX: how many month/year ? :)
<AtoxIO> MrZYX: seems like somewhere my app is doing a chdir
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
iamjarvo has quit [Quit: Leaving.]
<MrZYX> banisterfiend: my problem is I've no clear point where I started learning ruby
<banisterfiend> MrZYX: how long ago until u got past noob
<ntzrmtthihu777> < still in n00b
<MrZYX> but I'd say around 1 1/2 years, although just private/for fun
mockra has joined #ruby
<MrZYX> being "noob" is again something very vague to me
alanp has quit [Read error: Connection reset by peer]
alanp has joined #ruby
<AtoxIO> interesting, __FILE__ doesn't catch up to chdir, does anybody know a hack?
<banisterfiend> __FILE__ has nothing to do with chdir
<banisterfiend> __FILE__ is the current source file
<MrZYX> you want Dir.pwd
ckrailo has joined #ruby
apeiros has joined #ruby
Rumsteak has quit [Quit: Rumsteak]
carloslopes has quit [Remote host closed the connection]
mneorr has quit [Remote host closed the connection]
<AtoxIO> __FILE__ is a relative path, if you chdir, I'd expect that relative path to update
<MrZYX> >> __FILE__
<eval-in> MrZYX => "/tmp/execpad-80d143f1d634/source-80d143f1d634" (http://eval.in/16293)
<MrZYX> not relative at all
callmeivan_ has joined #ruby
mockra has quit [Ping timeout: 245 seconds]
tealmage has joined #ruby
<AtoxIO> $ ruby test.rb # => test.rb
<AtoxIO> quite relative
<MrZYX> hm
marcdel has quit []
eykosioux has joined #ruby
<AtoxIO> so, how to find __FILE__ after chdir
<MrZYX> anyway, it's a constant, so it can't update
<AtoxIO> Dir.pwd won't help me locate the file
<AtoxIO> I would have to expand the path before the chdir, which seems silly to me
<MrZYX> but probably the best solution
<nmeum> MrZYX: well...you can update constants in ruby unless you #freeze them
<MrZYX> you can do a lot of things in ruby, doesn't mean it's (conceptually) good to do them
callmeivan has quit [Ping timeout: 252 seconds]
callmeivan_ is now known as callmeivan
<waxjar> you can change the object's internals, but not which object is assigned to the constant
<nmeum> MrZYX: sure - I just wanted to point out that it is possible
<waxjar> never mind, ruby probably has some way around that, too :P
<AtoxIO> it's possible to overwrite a constant
<AtoxIO> itll just issue a warning
miskander has joined #ruby
<waxjar> oh wow
chessguy has quit [Remote host closed the connection]
wesside has quit [Quit: Computer has gone to sleep.]
tealmage has quit [Ping timeout: 264 seconds]
<waxjar> never noticed that was just a warning
etcetera has joined #ruby
eykosioux has quit [Ping timeout: 245 seconds]
<AtoxIO> more interesting is `C = 1; def C; 2 end`
<nmeum> >> C = 1 ; def C ; 2 ; end ; C()
<eval-in> nmeum => 2 (http://eval.in/16294)
<AtoxIO> >> C = 1 ; def C ; 2 ; end ; C
<eval-in> AtoxIO => 1 (http://eval.in/16295)
<waxjar> that's not much different from c = 1; def c; 2; end; c, though.
<AtoxIO> works with local variables too, but its more fun with constants
freerobby has quit [Quit: Leaving.]
chilili has joined #ruby
<AtoxIO> anyways, I'm adding FILE = File.expand_path( __FILE __ ) to the top of my script
momomomomo has joined #ruby
<AtoxIO> still quite unexpected
<apeiros> AtoxIO: contants are less fun actually, since there it's never ambigous
mercwithamouth has quit [Ping timeout: 245 seconds]
<apeiros> you can't call a capitalized method without either of a) explicit receiver, b) parens, or c) an argument
bigkevmcd has quit [Read error: Connection reset by peer]
<AtoxIO> apeiros: you sir, are correct
grenierm has left #ruby [#ruby]
roz has quit [Ping timeout: 264 seconds]
undersc0re97 has joined #ruby
undersc0re97 has quit [Changing host]
undersc0re97 has joined #ruby
carloslopes has joined #ruby
roz has joined #ruby
immutable_ has joined #ruby
wesside has joined #ruby
jarin has quit [Quit: WeeChat 0.4.0]
arya has quit [Ping timeout: 248 seconds]
<apeiros> I think it's mainly because :: can also be used for method invocation. due to that, a method would always shadow a nested constant :-/
chessguy has joined #ruby
niceguy1234 has quit [Read error: Connection reset by peer]
arya has joined #ruby
roz has quit [Ping timeout: 252 seconds]
tommyvyo has joined #ruby
undersc0re97 has quit [Quit: Leaving]
chilili has quit [Quit: leaving]
fixl has joined #ruby
undersc0re97 has joined #ruby
undersc0re97 has joined #ruby
undersc0re97 has quit [Changing host]
sambao21 has quit [Quit: Computer has gone to sleep.]
Frodo128 has joined #ruby
mockra has joined #ruby
ngoldman_ has joined #ruby
ngoldman has quit [Ping timeout: 256 seconds]
pcarrier has joined #ruby
marcdel has joined #ruby
mneorr has joined #ruby
sambao21 has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
mockra has quit [Ping timeout: 252 seconds]
wreckimnaked has quit [Ping timeout: 264 seconds]
hach has joined #ruby
justsee has quit [Ping timeout: 248 seconds]
undersc0re97 has quit [Quit: Leaving]
Frodo128 has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
iamjarvo has joined #ruby
dmiller has quit [Remote host closed the connection]
miskander has quit [Quit: miskander]
pkrnj has joined #ruby
tomzx_mac has joined #ruby
Opettaja has joined #ruby
Opettaja has quit [Client Quit]
benlieb has quit [Quit: benlieb]
Opettaja has joined #ruby
iamjarvo has quit [Quit: Leaving.]
iamjarvo has joined #ruby
jekotia has joined #ruby
ngoldman_ has quit [Remote host closed the connection]
reset has joined #ruby
Opettaja has quit [Client Quit]
mneorr has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
Opettaja has joined #ruby
wesside has quit [Quit: Computer has gone to sleep.]
kirun_ has joined #ruby
mercwithamouth has joined #ruby
Opettaja has quit [Client Quit]
Opettaja has joined #ruby
kirun has quit [Ping timeout: 256 seconds]
Iszak has joined #ruby
etcetera has quit []
Opettaja has quit [Client Quit]
Opettaja has joined #ruby
dmiller has joined #ruby
Opettaja has quit [Client Quit]
miskander has joined #ruby
Opettaja has joined #ruby
undersc0re97 has joined #ruby
undersc0re97 has joined #ruby
undersc0re97 has quit [Changing host]
nezumi has joined #ruby
blueOxigen has quit [Ping timeout: 256 seconds]
mockra has joined #ruby
kuzushi__ has joined #ruby
AtoxIO has quit [Remote host closed the connection]
pioz has joined #ruby
pioz has quit [Client Quit]
ckrailo has quit [Quit: Computer has gone to sleep.]
whowantstolivefo has quit [Ping timeout: 245 seconds]
DonRichie has quit [Quit: Verlassend]
cads has quit [Ping timeout: 264 seconds]
kuzushi_ has quit [Ping timeout: 260 seconds]
dmiller has quit [Remote host closed the connection]
mockra has quit [Ping timeout: 264 seconds]
<ntzrmtthihu777> hello, using ruby 1.9.3 and the ruby binding of sfml (now a gem), using example scripts for a template. thing is they require 'path/to/so' relative to the source directory, so how would I use them with the gem instead?
idkazuma has quit [Remote host closed the connection]
eykosioux has joined #ruby
dmiller has joined #ruby
predator217 has quit [Ping timeout: 246 seconds]
hach has quit [Ping timeout: 255 seconds]
predator117 has joined #ruby
idkazuma has joined #ruby
Opettaja has quit [Quit: WeeChat 0.4.0]
eykosioux has quit [Ping timeout: 256 seconds]
dmiller has quit [Ping timeout: 245 seconds]
BSaboia has quit [Read error: Connection reset by peer]
pandawarrior1 has quit [Quit: Leaving.]
heliumsocket has joined #ruby
kseifried has quit [Quit: Leaving]
tdecs has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
emmanuelux has quit [Quit: emmanuelux]
<tomzx_mac> ntzrmtthihu777: use require_relative?
<ntzrmtthihu777> tomzx_mac: yeah, I know about that, I was just hoping to be able to just use the gem so another person using my work would just have to install the gem.
<ntzrmtthihu777> kinda like cpp, when you use include and it knows where the dir to look is already and you don't have to point the path to it.
Xeago has quit [Remote host closed the connection]
<tomzx_mac> you talking about using bundler?
<tomzx_mac> afaik that's the fancy way to deal with dependencies like requiring sfml and other gems
<ntzrmtthihu777> tomzx_mac: hey! I've heard of that... I mean like in the sdl gem's sample code it uses gem 'rubysdl' and such.
skattyadz has quit [Quit: skattyadz]
cmarques has joined #ruby
<tomzx_mac> you can always be unfancy and write in the installer documentation to run gem install X
<tomzx_mac> :P
MrZYX is now known as MrZYX|off
<tomzx_mac> or write a install.sh file that calls gem install
<tomzx_mac> there's various way to accomplish the "automated" install of gems you require for your app
ZachBeta has joined #ruby
LongLiveBacon has quit [Ping timeout: 264 seconds]
<ntzrmtthihu777> tomzx_mac: yeah, I understand that. problem is I have the gem, but I can't get it into the code without using the require 'path/to/so', which may or may not be the same on all systems.
<tomzx_mac> ntzrmtthihu777: have you taken a look @ http://docs.rubygems.org/read/chapter/4 ?
<tomzx_mac> if I'm not mistaken, you should only have to require 'gemname'
<tomzx_mac> without the path
kirun_ has quit [Quit: Client exiting]
niceguy1234 has joined #ruby
mneorr has quit [Remote host closed the connection]
pcarrier has quit [Quit: Computer has gone to sleep.]
jdunck has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ZachBeta has quit [Client Quit]
sayan has quit [Ping timeout: 246 seconds]
jdunck has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
peta_ has left #ruby [#ruby]
peta_ has joined #ruby
jdunck has quit [Client Quit]
RagingDave has quit [Quit: Ex-Chat]
GeissT has joined #ruby
mockra has joined #ruby
carloslopes has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
<ntzrmtthihu777> tomzx_mac: ah, thankya.
nezumi has quit [Ping timeout: 255 seconds]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
Axsuul has joined #ruby
mockra has quit [Ping timeout: 255 seconds]
dmiller has joined #ruby
Apathetic has quit [Read error: Connection reset by peer]
pskosinski has quit [Quit: pskosinski]
<ntzrmtthihu777> tomzx_mac: thank ya, I got it working without relative paths :D
tealmage has joined #ruby
kristofers has quit []
tomzx_mac has quit [Quit: return 0;]
tomzx_mac has joined #ruby
moeSizlak has joined #ruby
moeSizlak has quit [Changing host]
moeSizlak has joined #ruby
dmiller has quit [Ping timeout: 252 seconds]
kuzushi__ is now known as kuzushi
<tomzx_mac> ntzrmtthihu777: :D
SCommette has quit [Quit: SCommette]
<ntzrmtthihu777> now I just gotta get it all working together :D
mneorr has joined #ruby
tealmage has quit [Ping timeout: 264 seconds]
madb055 has quit [Remote host closed the connection]
Opettaja has joined #ruby
madb055 has joined #ruby
mneorr has quit [Ping timeout: 256 seconds]
ToApolytoXaos has quit [Quit: Leaving]
arya has quit []
timmow has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
SCommette has joined #ruby
timonv has quit [Remote host closed the connection]
kofno has quit [Remote host closed the connection]
SCommette has quit [Client Quit]
codesoda has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
postmodern has joined #ruby
robert__ has joined #ruby
mneorr has joined #ruby
robert__ is now known as robert_
baphled_ has quit [Ping timeout: 256 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]