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
L4mppu has joined #ruby
statarb3 has quit [Ping timeout: 252 seconds]
workmad3 has quit [Ping timeout: 260 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
gommo has quit [Remote host closed the connection]
Zolo has quit [Read error: Connection reset by peer]
hbpoison has quit [Ping timeout: 256 seconds]
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
gommo has joined #ruby
hbpoison has joined #ruby
Zolo has joined #ruby
philipd has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
dEPy has quit []
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
Zolo has joined #ruby
mikepack has quit [Remote host closed the connection]
Zolo has quit [Read error: Connection reset by peer]
woolite64_ has quit [Quit: Leaving]
jonathanwallace has quit [Quit: WeeChat 0.3.9.2]
gommo has quit [Ping timeout: 256 seconds]
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
ckrailo has joined #ruby
codezombie has quit [Read error: Connection reset by peer]
codezombie13 has joined #ruby
kirun has quit [Quit: Client exiting]
m8 has quit [Quit: Sto andando via]
codezombie13 has quit [Client Quit]
chrishough has quit [Quit: chrishough]
codezombie has joined #ruby
Zolo_ has joined #ruby
Zolo_ has quit [Read error: Connection reset by peer]
Zolo_ has joined #ruby
bean has joined #ruby
Zolo_ has quit [Read error: Connection reset by peer]
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
julian-delphiki has quit [Ping timeout: 246 seconds]
HecAtic has joined #ruby
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
hbpoison has quit [Ping timeout: 256 seconds]
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
hbpoison has joined #ruby
pitzips has joined #ruby
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
emergion has joined #ruby
ahammond has quit [Quit: ahammond]
tylersmith has quit [Quit: tylersmith]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
dawkirst has quit [Ping timeout: 248 seconds]
Xeago has joined #ruby
vickaita has joined #ruby
douglarek_ has quit [Remote host closed the connection]
froy has quit [Quit: kablam!]
jpfuentes2 has joined #ruby
froy has joined #ruby
eAlchemist has joined #ruby
tjbiddle has joined #ruby
mrsolo has quit [Quit: Leaving]
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
hbpoison has quit [Ping timeout: 245 seconds]
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
Stilo has joined #ruby
Tricon has quit [Quit: Leaving...]
eAlchemist has quit [Remote host closed the connection]
emergion has quit [Quit: Computer has gone to sleep.]
lethjakman has quit [Ping timeout: 260 seconds]
jclarke has joined #ruby
chrishough has joined #ruby
chrishough has quit [Client Quit]
hbpoison has joined #ruby
d34th4ck3r has quit [Ping timeout: 252 seconds]
Zolo_ has joined #ruby
Zolo_ has quit [Read error: Connection reset by peer]
pepper_chico has quit [Quit: Computer has gone to sleep.]
pitzips has quit [Ping timeout: 256 seconds]
justsee has quit [Ping timeout: 245 seconds]
banjara has quit [Quit: Leaving.]
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
elux has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
ctrinh has quit [Quit: ctrinh]
SilverKey has joined #ruby
stkowski has quit [Quit: stkowski]
dawkirst has joined #ruby
L4mppu has quit [Quit: Leaving]
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
randomor has quit [Remote host closed the connection]
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
Zolo has joined #ruby
Zolo has quit [Remote host closed the connection]
Zolo has joined #ruby
c0rn has quit [Ping timeout: 252 seconds]
Tricon has joined #ruby
fugetsu has joined #ruby
jbueza has quit [Quit: Leaving.]
Zolo has quit [Ping timeout: 252 seconds]
maletor has joined #ruby
tjbiddle_ has joined #ruby
hbpoison has quit [Ping timeout: 245 seconds]
maletor has quit [Max SendQ exceeded]
tjbiddle_ has quit [Client Quit]
tommyvyo has quit [Quit:]
maletor has joined #ruby
subbyyy has joined #ruby
julian-delphiki has joined #ruby
hbpoison has joined #ruby
Assurbanipal has quit [Remote host closed the connection]
tommyvyo has joined #ruby
tjbiddle has quit [Ping timeout: 245 seconds]
bean has quit [Ping timeout: 246 seconds]
beneggett has quit [Quit: Computer has gone to sleep.]
hbpoison has quit [Ping timeout: 252 seconds]
beneggett has joined #ruby
elux has quit [Quit: Leaving...]
tommyvyo has quit [Quit:]
hbpoison has joined #ruby
lancepantz_ has quit [Remote host closed the connection]
HecAtic has quit [Quit: HecAtic]
lancepantz_ has joined #ruby
lancepantz_ is now known as lancepantz
mahmoudimus has joined #ruby
the_jeebster has quit [Quit: Leaving.]
mahmoudimus has quit [Client Quit]
mmitchell has joined #ruby
tspike has quit [Quit: leaving]
bricker`work is now known as bricker`away
v0yager has quit [Remote host closed the connection]
aajjbb has quit [Remote host closed the connection]
predator217 has joined #ruby
mmitchell has quit [Remote host closed the connection]
FullTiltProspect has joined #ruby
FullTiltProspect has quit [Client Quit]
WhereIsMySpoon has joined #ruby
KellyLSB is now known as KellyLSB_missing
h4mz1d has joined #ruby
ndboost has joined #ruby
ndboost has quit [Remote host closed the connection]
predator117 has quit [Ping timeout: 260 seconds]
WhereIsMySpoon has quit [Read error: Connection reset by peer]
malnek has joined #ruby
Myconix has joined #ruby
WhereIsMySpoon has joined #ruby
nfisher has joined #ruby
NiteRain has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
fugetsu has quit [Quit: WeeChat 0.4.0]
banisterfiend has joined #ruby
twoism_ has quit [Remote host closed the connection]
hbpoison has quit [Ping timeout: 264 seconds]
FullTiltProspect has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
FullTiltProspect has quit [Client Quit]
WhereIsMySpoon has quit [Changing host]
WhereIsMySpoon has joined #ruby
Marverick has joined #ruby
FullTiltProspect has joined #ruby
Marverick has left #ruby [#ruby]
hbpoison has joined #ruby
Mattix has joined #ruby
icole has joined #ruby
generalissimo has quit [Remote host closed the connection]
Voodoofish430 has quit [Quit: Leaving.]
s00pcan has quit [Quit: leaving]
s00pcan has joined #ruby
<malnek> where would you guys start when it comes to dipping toes on gui? Google gives a lot of choices, but makes it hard to choose. Is shoes fully compatible with ruby?
eka has quit [Quit: Computer has gone to sleep.]
<nga4> rubyfx is pretty vanilla
FullTiltProspect has quit [Quit: FullTiltProspect]
gommo has joined #ruby
moos3 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
vickaita has quit [Ping timeout: 252 seconds]
sailias has joined #ruby
<nga4> *fxruby
dustint has joined #ruby
icole has quit [Ping timeout: 264 seconds]
ZeiP has left #ruby [#ruby]
kornnflake is now known as kornnflake_zzz
<malnek> thanks, will give it a look. How does that compare qt?
<nga4> I can't really say, I never really used it much
felixjet has quit [Read error: Connection reset by peer]
hbpoison has quit [Ping timeout: 252 seconds]
<nga4> 90% of what I gets asked for is rails and the last 10% is command line applications
huoxito has quit [Ping timeout: 245 seconds]
felixjet has joined #ruby
AlSquirikou has joined #ruby
<malnek> ah i see
<nga4> its not like java or c++ where you need to use swing to make something meaningful
staafl_alt has joined #ruby
AlSquirrel has quit [Read error: Connection reset by peer]
marcgg has joined #ruby
hbpoison has joined #ruby
dawkirst has quit [Ping timeout: 252 seconds]
huoxito has joined #ruby
<malnek> good good, i just want to keep it simple, just starting out here and have a very simple program in mind
marcgg_ has quit [Ping timeout: 240 seconds]
staafl has quit [Ping timeout: 258 seconds]
h4mz1d has quit [Ping timeout: 245 seconds]
kofno has joined #ruby
KellyLSB_missing is now known as KellyLSB
jeffreybaird has quit [Quit: jeffreybaird]
daniel_- has quit [Quit: WeeChat 0.4.0]
ndngvr has joined #ruby
brianpWins has quit [Quit: brianpWins]
KellyLSB is now known as KellyLSB_missing
huoxito has quit [Ping timeout: 245 seconds]
nfisher has quit [Quit: Good-bye all!]
ddd_ has quit [Quit: Lost terminal]
rickmasta has joined #ruby
<Spooner> nga4 malnek, fxruby is long since abandoned and doesn't work any more. For shoes, use the green_shoes gem. wxruby is ok too.
samphippen has quit [Quit: Computer has gone to sleep.]
ckrailo has quit [Quit: Computer has gone to sleep.]
etcetera has quit []
jeffreybaird has joined #ruby
apok has quit [Quit: apok]
jeffreybaird has quit [Client Quit]
marcdel has quit []
KellyLSB_missing is now known as KellyLSB
dawkirst has joined #ruby
yacks has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
Jortuny has quit [Quit: bye]
vickaita has joined #ruby
yacks has quit [Remote host closed the connection]
Taseus has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
freeayu has joined #ruby
eAlchemi_ has joined #ruby
pepper_chico has joined #ruby
dhruvasagar has joined #ruby
vickaita has quit [Ping timeout: 256 seconds]
vickaita has joined #ruby
philipd has quit [Quit: Computer has gone to sleep.]
phinfonet has quit [Remote host closed the connection]
yshh has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
ephemerian has quit [Quit: Leaving.]
banjara has joined #ruby
vickaita has quit [Read error: Operation timed out]
Takehiro has joined #ruby
bricker`LA has joined #ruby
cburyta has quit [Remote host closed the connection]
eAlchemi_ has quit [Ping timeout: 245 seconds]
Spooner has quit [Quit: Leaving]
binaryplease has joined #ruby
joebew has quit [Read error: Connection reset by peer]
banjara has quit [Ping timeout: 260 seconds]
yashshah has quit [Read error: Connection reset by peer]
joebew has joined #ruby
yashshah has joined #ruby
KellyLSB is now known as KellyLSB_missing
binaryplease has quit [Client Quit]
veer has quit [Ping timeout: 245 seconds]
niklasb has quit [Ping timeout: 245 seconds]
adkron has joined #ruby
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
generalissimo has joined #ruby
sandGorgon has joined #ruby
ckrailo has joined #ruby
Virunga has quit [Remote host closed the connection]
icole has joined #ruby
bradhe has quit [Remote host closed the connection]
markisonfire has quit [Quit: markisonfire]
pepper_chico has quit [Quit: Computer has gone to sleep.]
randomor has joined #ruby
charliesome has joined #ruby
megha has quit [Quit: WeeChat 0.4.0]
kofno has quit [Remote host closed the connection]
chendo_ has quit [Ping timeout: 256 seconds]
toekutr has joined #ruby
tommyvyo has joined #ruby
chessguy has quit [Remote host closed the connection]
chendo_ has joined #ruby
alienvenom has quit [Ping timeout: 260 seconds]
icole has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 255 seconds]
dawkirst has quit [Ping timeout: 245 seconds]
pepper_chico has joined #ruby
dhruvasagar has joined #ruby
xardas has quit [Ping timeout: 260 seconds]
tenmilestereo has quit [Quit: Leaving]
alx- has joined #ruby
danneu has joined #ruby
mfridh has quit [Ping timeout: 256 seconds]
kofno has joined #ruby
Astral_ has joined #ruby
icole has joined #ruby
pepper_chico has quit [Quit: Computer has gone to sleep.]
veer has joined #ruby
dawkirst has joined #ruby
Astralum has quit [Ping timeout: 264 seconds]
ttt_ has joined #ruby
dmiller2 has joined #ruby
nazty has quit [Read error: Connection reset by peer]
nazty has joined #ruby
chendo_ has quit [Ping timeout: 255 seconds]
ttt_ has quit [Remote host closed the connection]
hbpoison has quit [Ping timeout: 255 seconds]
sambio has joined #ruby
huoxito has joined #ruby
ctrinh has joined #ruby
hbpoison has joined #ruby
chendo_ has joined #ruby
ctrinh has quit [Client Quit]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
Brainix has quit [Quit: Brainix]
bean has joined #ruby
Stilo has joined #ruby
hbpoison has quit [Remote host closed the connection]
hbpoison has joined #ruby
julian-delphiki has quit [Ping timeout: 276 seconds]
<shevy> malnek ruby-gnome
<shevy> malnek, unfortunately HTML5 kind of killed most of ruby GUIs :(
Hanmac1 has joined #ruby
aeontech has joined #ruby
<pskosinski> HTML 5 killed Ruby GUIs? How, why?
Hanmac has quit [Ping timeout: 276 seconds]
Xeago has quit [Remote host closed the connection]
bonhoeffer has joined #ruby
dawkirst has quit [Read error: Operation timed out]
joofsh has joined #ruby
<shevy> pskosinski they made it super easy to do apps, see like the latest windows release
<shevy> everyone has been appified
<shevy> the mobile sector played a big role on that
bonhoeffer has quit [Client Quit]
<shevy> and there were never too many developers to write bindings
IrishGringo has quit [Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307023931]]
icole has quit [Remote host closed the connection]
<shevy> unity from ubuntu looks like an app store
aed has joined #ruby
bigoldrock has joined #ruby
tylersmith has joined #ruby
hbpoison has quit [Ping timeout: 255 seconds]
hbpoison has joined #ruby
vickaita has joined #ruby
foredoomed has joined #ruby
kofno has quit [Remote host closed the connection]
dawkirst has joined #ruby
dustint has quit [Ping timeout: 248 seconds]
marcdel has joined #ruby
foredoomed has left #ruby [#ruby]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
hbpoison has quit [Ping timeout: 245 seconds]
Tricon has joined #ruby
sailias has quit [Quit: Leaving.]
Myconix has quit [Ping timeout: 264 seconds]
beneggett has quit [Quit: Computer has gone to sleep.]
vickaita has quit [Ping timeout: 264 seconds]
hbpoison has joined #ruby
sambio has quit []
joebew has quit [Ping timeout: 276 seconds]
roadt has joined #ruby
foredoomed has joined #ruby
Ontolog_ has quit [Remote host closed the connection]
v0n has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
randomor has quit [Remote host closed the connection]
<pskosinski> Schoes looks awesome… need to try
<pskosinski> Shoes *
beneggett has joined #ruby
hbpoison has quit [Ping timeout: 245 seconds]
bradhe has joined #ruby
hbpoison has joined #ruby
<shevy> but the author of shoes abandoned ruby
douglarek has joined #ruby
codezombie has quit [Quit: Linkinus - http://linkinus.com]
bradhe has quit [Ping timeout: 260 seconds]
danslo has quit [Quit: danslo]
vickaita has joined #ruby
bradleyprice has joined #ruby
hbpoison has quit [Ping timeout: 256 seconds]
luckyruby has quit [Remote host closed the connection]
dallasm has joined #ruby
SilverKey has quit [Quit: "Sleep now."]
bradhe has joined #ruby
hbpoison has joined #ruby
nga4 has quit []
AlSquirikou has quit [Read error: Connection reset by peer]
AlSquirikou has joined #ruby
statarb3 has joined #ruby
ahammond has joined #ruby
araujo has quit [Quit: Leaving]
foredoomed has left #ruby [#ruby]
mercy|Om has joined #ruby
rcj_ has quit [Ping timeout: 240 seconds]
<mercy|Om> hi all, does anyone know why require 'prime' is failing for me
willw00 has quit [Ping timeout: 256 seconds]
willw00 has joined #ruby
<mercy|Om> i'm using ruby 1.8.7 on osx, maybe it needs to be installed?
rcj_ has joined #ruby
<shevy> mercy|Om it does not work on my 1.8.x
<shevy> prime is not included in stdlib, I am quite sure
<shevy> did you install an add on?
<mercy|Om> no i was just assuming prime was included, i guess i'll need to find it and install it though
kpshek has joined #ruby
<mercy|Om> ah "Note: In Ruby 1.8.7, you must require 'mathn' instead of require 'prime'"
<shevy> ah
<shevy> yeah mathn is a big math module with lots of things
<shevy> require 'mathn'"
<shevy> primes = Prime.new
<shevy> primes.each {|x| puts x; break if x > 150 }
ryanf has quit [Ping timeout: 245 seconds]
<shevy> well perhaps not lots of things
<shevy> but it has class Prime :D
kpshek has quit [Client Quit]
atmosx has joined #ruby
xpen has quit [Remote host closed the connection]
hbpoison has quit [Ping timeout: 240 seconds]
xpen has joined #ruby
hbpoison has joined #ruby
foredoomed has joined #ruby
kpshek has joined #ruby
zehrizzatti has quit [Quit: Leaving...]
<shevy> core_dyn_x86/risc_x86.h:143:3: error: PIC register clobbered by '%ebx' in 'asm'
<shevy> hmmm
<shevy> is C really a fun language?
<otters> yep
bigmac has joined #ruby
<atmosx> fun?
<atmosx> by what means?
rickmasta has quit [Quit: Leaving...]
<atmosx> shevy: do you understnad it when you read the code in C?
kpshek has quit [Ping timeout: 245 seconds]
<shevy> atmosx hmm
<shevy> atmosx I dont know assembler :(
<pskosinski> shevy: Abandoned Ruby?
<shevy> atmosx with C code, it depends. simple code yeah, code I wrote on my own yeah, but code written by C gurus? no chance...
<shevy> pskosinski yeah, _why left ruby
<pskosinski> sheerun: For PHP? :(
<pskosinski> sorry, shevy
<shevy> no, just his web persona is gone
<shevy> perhaps he uses ruby for personal stuff
huoxito has quit [Quit: Leaving]
Takehiro has quit [Remote host closed the connection]
atmosx has quit [Quit: And so the story goes…]
bradhe has quit [Remote host closed the connection]
KellyLSB_missing is now known as KellyLSB
sayan has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
IrishGringo has joined #ruby
agjacome has quit [Quit: leaving]
tish has joined #ruby
yashshah has quit [Read error: Connection reset by peer]
yashshah_ has joined #ruby
xpen has quit [Ping timeout: 245 seconds]
mockra has quit [Remote host closed the connection]
karthikselva has joined #ruby
endzyme has joined #ruby
ryanf has joined #ruby
Takehiro has joined #ruby
endzyme has quit [Ping timeout: 245 seconds]
dawkirst has quit [Read error: Operation timed out]
zehrizzatti has joined #ruby
joofsh has quit [Remote host closed the connection]
slyv has quit [Quit: Textual IRC Client: www.textualapp.com]
s00pcan_ has joined #ruby
kofno has joined #ruby
s00pcan_ has quit [Client Quit]
hbpoison has quit [Ping timeout: 264 seconds]
s00pcan_ has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
hbpoison has joined #ruby
three18ti has quit [Ping timeout: 272 seconds]
three18t- has joined #ruby
dhruvasagar has joined #ruby
dawkirst has joined #ruby
aknagi has quit [Remote host closed the connection]
ckrailo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
rickmasta has joined #ruby
bradhe has joined #ruby
radic has joined #ruby
hbpoison has quit [Ping timeout: 252 seconds]
kofno has quit [Ping timeout: 245 seconds]
hbpoison has joined #ruby
aedornm has quit [Quit: Leaving]
alienvenom has joined #ruby
radic_ has quit [Ping timeout: 256 seconds]
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby
alta has quit [Quit: ZNC - http://znc.in]
<shevy> question
<shevy> with load I can load file, again and again
<shevy> with require, the same file that was loaded, can not be loaded again
<shevy> why is that distinction so?
banister_ has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
bradhe has quit [Ping timeout: 264 seconds]
oxez has joined #ruby
s00pcan has quit [Quit: Lost terminal]
s00pcan_ has quit [Quit: Lost terminal]
hasimo-t has joined #ruby
<ryanf> shevy: that is the purpose of require
hbpoison has quit [Ping timeout: 264 seconds]
s00pcan has joined #ruby
<shevy> hmm
hbpoison has joined #ruby
hogeo has joined #ruby
<X-Jester> shevy: i'll give you my humble opinion
s00pcan has quit [Client Quit]
s00pcan has joined #ruby
cableray has joined #ruby
<X-Jester> shevy: 1. if you write five classes, all of which require, say, the 'json' gem, you only need that library included once. it's good practice to ensure that any one of your five classes can load correctly, so it's a good idea that each one of them require json, but it's a waste to load the json gem five times. require ensures it's only loaded once.
vickaita has quit [Ping timeout: 264 seconds]
<X-Jester> shevy: we did the same thing with preprocessor macros in C and C++
<shevy> ok let me try to digest that information first, my brain is already a bit in offline modus at this time
<shevy> aha ok
<shevy> so this is because constant loading and loading of files would be a waste of resources?
rocket has joined #ruby
rocket_ has joined #ruby
nigelb has joined #ruby
<X-Jester> right - it's wasteful (and may even somehow produce weird errors or behaviors) to re-define the same classes, modules, or constants <n> number of times
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> ok, that makes a lot of sense, thanks X-Jester
<X-Jester> welcome
dawkirst has quit [Read error: Operation timed out]
Quebert has quit [Ping timeout: 245 seconds]
rocket has quit [Ping timeout: 264 seconds]
Takehiro has quit [Remote host closed the connection]
<nigelb> Hi, I'm trying to debug an error I get via jekyll. I get this error when I run jekyll http://hastebin.com/pebuxigime.vhdl
<nigelb> I've narrowed it down to a line that does a map on an array
<nigelb> "categories.map { |c| URI.escape(c) }.join('/')" <-- works perfectly fine with irb, but not with jekyll.
pskosinski has quit [Quit: Red Eclipse, game of racist admins/devs: http://pawelk.pl/racist-red-eclipse-quin-zeroknight-gingerbear/]
blf has joined #ruby
decoponio has joined #ruby
<nigelb> And I've just written a simple .rb file and it works there too.
<nigelb> Does anyone have any pointers to what else is going wrong?
aedornm has joined #ruby
<blf> Anyone know why ruby arrays are so slow to allocate?
uris has quit [Quit: Leaving]
yacks has joined #ruby
<blf> Ah, nevermind, that's just irb
bradhe has joined #ruby
tish has quit [Quit: Leaving.]
tewlz has joined #ruby
Yakko has joined #ruby
dawkirst has joined #ruby
erdos_ has joined #ruby
toekutr has quit [Remote host closed the connection]
<erdos_> hey there
<erdos_> would it be fair to say that ruby's blocks are like little anonymous functions?
ocnam has joined #ruby
<bnagy> ok?
<bnagy> I guess it depends why you would want to say that :)
mercwithamouth has joined #ruby
<erdos_> hehe, learning ruby, making comparisons to other languages that i already know
bradhe has quit [Ping timeout: 255 seconds]
<bnagy> try googling up something like "difference ruby block proc lambda"
<erdos_> oh hehe, i jumped the gun a bit
<erdos_> haven't read up to procs or lambdas yet, but won't make any assumptions until then
<erdos_> thanks :)
mikepack has joined #ruby
<bnagy> imho unless someone is being deliberately 'clever' blocks will always be used as an immediate 'argument'
<bnagy> like collection.each {|item| ...
sandGorgon has quit [Ping timeout: 245 seconds]
<erdos_> gotya
<bnagy> whereas Procs are often assigned to variables and passed around
<bnagy> doubler = Proc.new {|x| x*2}
<erdos_> right
<bnagy> blocks are super duper idiomatic in Ruby, procs not so much
<erdos_> i guess that's why i jumped to make a comparison!
<bnagy> anyway, to me a proc / lambda is more like an 'anonymous function'
<bnagy> but blocks kind of are too
marcdel has quit []
<erdos_> thanks :) that's definitely clarified it for me
<bnagy> np
bradhe has joined #ruby
mockra has joined #ruby
malnek has quit []
yshh has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
mockra has quit [Ping timeout: 256 seconds]
<bnagy> nigelb: I bet your categories array is nested
<bnagy> looks like escape is trying to operate on an array and has shit handling of unexpected input
veer has quit [Ping timeout: 245 seconds]
marcdel has joined #ruby
<bnagy> categories.flat_map might help
bradhe has joined #ruby
dawkirst has quit [Ping timeout: 246 seconds]
<aedorn> Bad boot system ID ... glorious.
bradleyprice has quit [Ping timeout: 276 seconds]
radic has quit [Disconnected by services]
bigoldrock has quit [Ping timeout: 255 seconds]
bradhe has quit [Remote host closed the connection]
radic_ has joined #ruby
bradleyprice has joined #ruby
drale2k has joined #ruby
bigmac has quit [Quit: Leaving]
beneggett has joined #ruby
jclarke has quit [Quit: Leaving...]
jonahR has joined #ruby
aed has quit [Quit: aed]
jrajav has quit [Read error: Connection reset by peer]
hasimo-t has quit [Remote host closed the connection]
dawkirst has joined #ruby
Axsuul has quit [Ping timeout: 256 seconds]
astrostl has quit []
daed has quit [Ping timeout: 252 seconds]
Takehiro has joined #ruby
daed has joined #ruby
erry_ has joined #ruby
decoponio has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
rakm has quit [Ping timeout: 256 seconds]
beneggett has quit [Quit: Computer has gone to sleep.]
erry has quit [Ping timeout: 608 seconds]
ndboost has joined #ruby
IrishGringo has quit [Read error: Operation timed out]
girija has joined #ruby
dawkirst has quit [Ping timeout: 240 seconds]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
<nigelb> bnagy: ha! that gave me the clue to fix it. jekyll slightly changed how to input categories.
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
beneggett has joined #ruby
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
banghouse2 has quit [Remote host closed the connection]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
rakm has quit [Max SendQ exceeded]
karthikselva has quit [Quit: karthikselva]
rakm has joined #ruby
diego_k has quit [Read error: Operation timed out]
rakm has quit [Max SendQ exceeded]
rakm has joined #ruby
decoponio has quit [Quit: AFKing]
vickaita has joined #ruby
bean has quit [Quit: Leaving]
v0n has quit [Ping timeout: 246 seconds]
Taseus has quit [Remote host closed the connection]
DrShoggoth has quit [Ping timeout: 248 seconds]
diegok has joined #ruby
jacky has quit [Excess Flood]
vickaita has quit [Ping timeout: 256 seconds]
dawkirst has joined #ruby
beneggett has quit [Quit: Computer has gone to sleep.]
<marcdel> hi, what's the correct way to include a module from another file? load 'file.rb'?
yashshah_ has quit [Read error: Connection reset by peer]
yashshah- has joined #ruby
ocnam has quit [Quit: Quit: Textual IRC Client: http://www.textualapp.com/]
<bnagy> require or require_relative
gommo has quit [Remote host closed the connection]
gommo has joined #ruby
nga4 has joined #ruby
bradhe has joined #ruby
erdos_ has quit [Read error: Connection reset by peer]
gommo has quit [Ping timeout: 256 seconds]
beneggett has joined #ruby
tommyvyo has quit [Quit:]
Xabarus has joined #ruby
veer has joined #ruby
alx- has quit [Quit: alx-]
bradhe has quit [Ping timeout: 264 seconds]
karthikselva has joined #ruby
guyz has quit [Ping timeout: 258 seconds]
tommyvyo has joined #ruby
xpen has joined #ruby
seich- has quit [Ping timeout: 258 seconds]
TheMoonMaster has quit [Ping timeout: 258 seconds]
brjannc has quit [Ping timeout: 258 seconds]
Liothen has quit [Ping timeout: 258 seconds]
alexhanh has quit [Ping timeout: 258 seconds]
mikekelly has quit [Ping timeout: 245 seconds]
nopper has quit [Ping timeout: 258 seconds]
cheese1756 has quit [Ping timeout: 258 seconds]
aquaman has quit [Ping timeout: 258 seconds]
mikekelly has joined #ruby
brhelwig has joined #ruby
daed has quit [Ping timeout: 264 seconds]
Beoran_ has quit [Ping timeout: 258 seconds]
lewis has joined #ruby
rburton- has joined #ruby
brianpWins has joined #ruby
alexhanh has joined #ruby
statarb3 has quit [Ping timeout: 256 seconds]
digifiv5e has joined #ruby
Beoran_ has joined #ruby
digifiv5e is now known as Guest36030
nopper has joined #ruby
seich- has joined #ruby
brjannc has joined #ruby
karthikselva has quit [Client Quit]
bradleyprice has quit [Remote host closed the connection]
busybox42 has quit [Quit: leaving]
cheese1756 has joined #ruby
BizarreCake has joined #ruby
TheMoonMaster has joined #ruby
ananthakumaran has joined #ruby
tommyvyo has quit [Quit:]
adkron has quit [Ping timeout: 256 seconds]
Asher1 has joined #ruby
palyboy has quit [Ping timeout: 245 seconds]
palyboy has joined #ruby
mavcunha has quit [Ping timeout: 252 seconds]
Gadgetoid has quit [Ping timeout: 245 seconds]
Asher has quit [Read error: Connection reset by peer]
nfisher has joined #ruby
daed has joined #ruby
mavcunha has joined #ruby
v0n has joined #ruby
brhelwig has quit [Remote host closed the connection]
Gadgetoid has joined #ruby
dmiller2 has quit [Ping timeout: 246 seconds]
Asher1 has quit [Client Quit]
Asher has joined #ruby
robustus has quit [Ping timeout: 248 seconds]
robustus has joined #ruby
foredoomed has left #ruby [#ruby]
tommyvyo has joined #ruby
<marcdel> bnagy: cool, thanks.
hbpoison has quit [Ping timeout: 260 seconds]
v0n has quit [Ping timeout: 264 seconds]
hogeo has quit [Remote host closed the connection]
squidBits has joined #ruby
sandGorgon has joined #ruby
busybox42 has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
miso1337 has quit [Quit: afk]
jaygen has joined #ruby
hogeo has joined #ruby
ocnam has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
lewis has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
yshh has quit [Remote host closed the connection]
cableray has quit [Quit: cableray]
lewis has joined #ruby
charlie_ has joined #ruby
Turkishviking has quit [Ping timeout: 240 seconds]
toekutr has joined #ruby
rippa has joined #ruby
ukd1 has joined #ruby
willw00 has quit [Ping timeout: 252 seconds]
jacky- has joined #ruby
girija has quit [Ping timeout: 246 seconds]
rickmasta has quit [Quit: Leaving...]
floyd has joined #ruby
cantonic has joined #ruby
bradhe has joined #ruby
ukd1 has quit [Remote host closed the connection]
ukd1 has joined #ruby
bradhe has quit [Remote host closed the connection]
BizarreCake has joined #ruby
bradhe has joined #ruby
tylersmith has quit [Quit: tylersmith]
DrShoggoth has joined #ruby
dawkirst has quit [Ping timeout: 252 seconds]
generalissimo has quit [Read error: Connection reset by peer]
tomzx_mac has quit [Ping timeout: 245 seconds]
hbpoison has joined #ruby
DrShoggoth has quit [Max SendQ exceeded]
swingha has joined #ruby
hogeo_ has joined #ruby
DrShoggoth has joined #ruby
bradhe has quit [Ping timeout: 255 seconds]
mercwithamouth has quit [Ping timeout: 245 seconds]
tommyvyo has quit [Quit:]
icole has joined #ruby
hogeo has quit [Ping timeout: 245 seconds]
hbpoison has quit [Ping timeout: 264 seconds]
hbpoison has joined #ruby
rezzack has quit [Quit: Leaving.]
mercy|Om has quit [Quit: I'm out! http://i.imgur.com/VrQfFcO.gif]
fire has joined #ruby
Opettaja has joined #ruby
arturaz has joined #ruby
Yakko has quit [Ping timeout: 246 seconds]
icole has quit [Remote host closed the connection]
hbpoison has quit [Remote host closed the connection]
apoch632 has quit [Remote host closed the connection]
hbpoison has joined #ruby
atno__ has joined #ruby
dawkirst has joined #ruby
end_guy has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
end_guy has joined #ruby
atno has quit [Ping timeout: 252 seconds]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
mikepack has quit [Remote host closed the connection]
veer has quit [Ping timeout: 245 seconds]
floyd has quit [Quit: Leaving.]
Yakko has joined #ruby
tommyvyo has joined #ruby
dhruvasagar has quit [Ping timeout: 246 seconds]
icole has joined #ruby
dhruvasagar has joined #ruby
tommyvyo has quit [Quit:]
tommyvyo has joined #ruby
roadt has quit [Ping timeout: 264 seconds]
Astral_ has quit [Read error: Connection reset by peer]
tommyvyo has quit [Client Quit]
ndboost has quit [Remote host closed the connection]
Astral_ has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
spider-mario has joined #ruby
nfisher has quit [Quit: Good-bye all!]
nfisher has joined #ruby
danneu has quit [Ping timeout: 252 seconds]
miso1337 has joined #ruby
ukd1 has quit [Quit: Leaving...]
hemanth has joined #ruby
nfisher has quit [Ping timeout: 256 seconds]
ner0x has quit [Quit: Leaving]
zehrizzatti has quit [Quit: Linkinus - http://linkinus.com]
ryanf has quit [Ping timeout: 248 seconds]
tommyvyo has joined #ruby
yashshah- has quit [Read error: Connection reset by peer]
yashshah- has joined #ruby
tommyvyo has quit [Client Quit]
nigelb has quit [Remote host closed the connection]
ryanf has joined #ruby
trautwein has quit [Read error: Connection reset by peer]
Yakko has quit [Remote host closed the connection]
pencilcheck has quit [Remote host closed the connection]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
Takehiro has quit [Remote host closed the connection]
emergion has joined #ruby
hogeo_ has quit [Remote host closed the connection]
ukd1 has joined #ruby
hbpoison has quit [Ping timeout: 255 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
codecop has joined #ruby
S3kx has quit [Ping timeout: 264 seconds]
bradhe has joined #ruby
nfisher has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
ryanf has quit [Ping timeout: 240 seconds]
codecop has quit [Remote host closed the connection]
lethjakman has joined #ruby
divout has joined #ruby
codecop has joined #ruby
bradhe has quit [Ping timeout: 248 seconds]
shock_one has joined #ruby
ukd1 has quit [Remote host closed the connection]
ryanf has joined #ruby
dawkirst has quit [Ping timeout: 255 seconds]
nfisher has quit [Ping timeout: 256 seconds]
ocnam has quit [Quit: Quit: Textual IRC Client: http://www.textualapp.com/]
swingha has quit [Quit: WeeChat 0.4.0]
justsee has joined #ruby
justsee has joined #ruby
drale2k has quit [Quit: Leaving...]
dawkirst has joined #ruby
soukihei has quit [Ping timeout: 264 seconds]
rburton- has quit [Quit: Linkinus - http://linkinus.com]
decoponio has joined #ruby
soukihei has joined #ruby
Zolo has joined #ruby
arietis has joined #ruby
miso1337 has quit [Quit: afk]
sfoobar has joined #ruby
sfoobar has quit [Read error: Connection reset by peer]
sfoobar has joined #ruby
notdone has joined #ruby
nfisher has joined #ruby
<notdone> I'm using madeleine and I'm getting "Sanity check failed for file IO"
<notdone> what could be wrong?
hbpoison has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
dopie has joined #ruby
<dopie> hello all
<notdone> !help
<dopie> How do i tell an number that it can go into the negative rane
<dopie> ?
<dopie> like -1 -2 -3 -4
<dopie> and so on
<bnagy> they all can
hashmal has joined #ruby
<bnagy> >> a=1; a - 3
<eval-in> bnagy => -2 (http://eval.in/12825)
dEPy has joined #ruby
razibog has joined #ruby
nfisher has quit [Ping timeout: 240 seconds]
akashj87 has joined #ruby
dawkirst has quit [Ping timeout: 260 seconds]
hemanth has quit [Quit: This computer has gone to sleep]
atyz has joined #ruby
<dopie> where can i post my code?
Morkel has joined #ruby
justsee has quit [Quit: Leaving...]
<bnagy> pastie.org etc
<dopie> my first little program
* notdone still ain't done
<bnagy> ok, your indenting pains me, but what's not working?
<notdone> help a bit?
<dopie> nothing it works :0
<bnagy> flawless victory. My work here is done.
<dopie> im going to have a question in abit when it comes to DRY techniques
<bnagy> notdone: I don't know what a madeleine is, but I'm guessing a sanity check failed
jimeh has joined #ruby
* bnagy taps his nose wisely
akashj87 has quit [Ping timeout: 245 seconds]
<notdone> bnagy: yes,
<notdone> thing is I'm new to ruby
hemanth has joined #ruby
<dopie> notdone: welcome to the boat dont grab a paddle use your hand!
subbyyy has quit [Ping timeout: 256 seconds]
<notdone> it says
<notdone> block (2 levels) in file_check': Sanity check failed for file IO (RuntimeError)
drale2k has joined #ruby
picca3 has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
<bnagy> yeah, but without seeing that code it would just be guessing to try and work out what's wrong
jacky- is now known as jacky
jacky has quit [Changing host]
jacky has joined #ruby
Takehiro has joined #ruby
<bnagy> basically, in that function ( file_check ) there will be something like raise "Sanity check failed....
havenwood has joined #ruby
ryanf has quit [Ping timeout: 256 seconds]
<bnagy> so it will be like unless @widget_frobbed; raise "blah"
<bnagy> need to see the code to see what their sanity check conditions are
dhruvasagar has joined #ruby
<dopie> bnagy: ok here goes here is the code http://pastie.org/6571272#20 basically blam and woot are defined but they basically do the samething except blam takes -10 hp and woot takes -25 hp.... all the text and what not are the same.... is there DRY way of doing this?
Hanmac1 is now known as Hanmac
lkba has joined #ruby
rexamophone has joined #ruby
<notdone> this is from sanity.rb from madeleine gem
<bnagy> dopie: sure. def apply_damage amount, then copy the code in, and replace the numbers ( 10 and 25 ) with amount
<bnagy> then woot would just be apply_damage 10
<dopie> ahhhhhh ok
<dopie> FINISH HIM
dawkirst has joined #ruby
<bnagy> notdone: ok, so it thinks that it didn't write to the file correctly
<bnagy> are you on windows?
<notdone> mac
Zolo has quit [Remote host closed the connection]
<MrZYX> dopie: also check if @health <= 0, since it can happen that you don't hit zero exactly
rexamophone has left #ruby [#ruby]
arturaz has quit [Ping timeout: 256 seconds]
<notdone> bnagy: it works perfectly with ruby 1.9.3 but not with 2.0.0-p0
<dopie> btw is >= or => ?
Takehiro has quit [Read error: Connection reset by peer]
<bnagy> notdone: heh. Tiny detail you might have mentioned :)
Zolo has joined #ruby
<bnagy> guess you need to fix it and submit a pull request to the gem author
<notdone> okay
<notdone> bnagy: lost in windows
<bnagy> I haven't started playing with 2.0 yet
<bnagy> I'm guessing some mode stuff might have changed, or maybe they improved Tempfile, which I usually avoid
* notdone is just getting started
<bnagy> imho you might want to stay on 1.9 latest if you're not happy debugging and fixing gem errors yourself
<bnagy> cause I bet a lot of stuff will break
picca3 has quit [Quit: Leaving...]
Takehiro has joined #ruby
<notdone> bnagy: ah, thanks for the help though
<bnagy> europe should be up by now, someone will be along that knows 2.0 at some point
<bnagy> they might know the answer offhand'
luckyruby has joined #ruby
miso1337 has joined #ruby
hemanth has quit [Quit: This computer has gone to sleep]
<notdone> great. I think I'll just hang in
<dopie> would i call @apply_damage like that?
picca3 has joined #ruby
dawkirst has quit [Ping timeout: 264 seconds]
mahmoudimus has joined #ruby
<bnagy> dopie: no apply_damage would be a method. def apply_damage amount; blah blah; end
Matip has joined #ruby
<dopie> ok
lethjakman has quit [Ping timeout: 252 seconds]
atno__ has quit [Remote host closed the connection]
markisonfire has joined #ruby
pyrac has joined #ruby
senayar has joined #ruby
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
<Hanmac> @damage could be a variable too, because it might be a good way first collect the reciving damage in a variable, and then apply it later
<dopie> fuck
<dopie> now im lost
<dopie> hahahaha
oposomme has joined #ruby
Mattix has quit [Ping timeout: 256 seconds]
marcdel has quit []
picca3 has quit [Quit: Linkinus - http://linkinus.com]
atno has joined #ruby
picca3 has joined #ruby
shock_one has quit [Remote host closed the connection]
icole has quit [Remote host closed the connection]
icole has joined #ruby
Morkel has quit [Quit: Morkel]
<oposomme> hi, I would like to know what is the method return the biggest integer greater than or equal to the float given, in brief the oposite of .floor ?
<bnagy> .ceil?
dawkirst has joined #ruby
<oposomme> .ceil does the same thing
<oposomme> than .foor
<dopie> Is there anyway for me not to repeat the text?
<bnagy> >> 3.2.ceil
<eval-in> bnagy => 4 (http://eval.in/12826)
<dopie> like the if else stuff?
<bnagy> oposomme: I guess I don't understand your question then
icole has quit [Ping timeout: 252 seconds]
<bnagy> dopie: yeah, all that goes in apply_damage, so you only need it once
<oposomme> >> (33/15).ceil
<eval-in> oposomme => 2 (http://eval.in/12827)
Zolo has quit [Remote host closed the connection]
<oposomme> I would like 3
<bnagy> well that would be floor
<oposomme> >> (33/15).floor
<eval-in> oposomme => 2 (http://eval.in/12828)
<bnagy> oposomme: that's because you're using integer dividion
<oposomme> bnagy: ok
<bnagy> >> (33/15.0).ceil
<eval-in> bnagy => 3 (http://eval.in/12829)
<oposomme> bnagy: thx
<bnagy> or, if you're using variables, use to_f on one of them
<bnagy> if any are floats it will flip to float division
eka has joined #ruby
io_syl has quit [Ping timeout: 256 seconds]
drale2k has quit [Ping timeout: 245 seconds]
<dEPy> anyone can explain callcc abit?
<dopie> I get a blam undefined method
justsee has joined #ruby
io_syl has joined #ruby
L4mppu has joined #ruby
<bnagy> dopie: uh yeah that's basically all wrong
lewis has quit [Remote host closed the connection]
<dopie> hum...
<dopie> dont a define blam?
Zolo has joined #ruby
<dopie> ok
sepp2k has joined #ruby
<dopie> #?@!
Astral_ has quit [Read error: Connection reset by peer]
Astral_ has joined #ruby
<bnagy> blah gist screwed up my indenting as well :(
<bnagy> you should use 2 space indenting for Ruby or people will cry like little girls
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<dopie> so no tabbing?
<bnagy> well feel free to use tabs imho, people can always set their own tab width
<havenwood> soft tabs (no tabs), 2-space indentation ftw
<bnagy> just that it pastes like crap
staafl_alt has quit [Quit: Leaving]
<bnagy> dopie: so do you understand what I'm doing with that snippet?
sfoobar has quit [Quit: Leaving.]
Astral_ has quit [Read error: Connection reset by peer]
ananthakumaran has quit [Ping timeout: 256 seconds]
<dopie> youre setting apply_damage(number) to amount
eka has quit [Quit: Computer has gone to sleep.]
<dopie> so i dont need parenthesis?
<dopie> for parameters?
picca3 has quit [Quit: Linkinus - http://linkinus.com]
<bnagy> not for method definitions, it's kind of considered old-style to do so now
<dopie> SWEET... ok so i was doing it right old styl
<dopie> ok
<dopie> cool
<dopie> :)
<bnagy> general feeling is to only use parentheses where the parser requires them or where it really adds to readability
ananthakumaran has joined #ruby
<bnagy> like imho it's nicer to use them than to rely on how tightly things bind - just because you know doesn't mean whoever is reading the code will
<dopie> ok so apply_damage has 10
nfisher has joined #ruby
workmad3 has joined #ruby
freeayu has quit [Remote host closed the connection]
<dopie> FREAKING AWESOME
yashshah- has quit [Read error: Connection reset by peer]
yashshah__ has joined #ruby
<dopie> dry dry dry dry
<dopie> thanks bnagy
nfisher has quit [Ping timeout: 264 seconds]
Mon_Ouie has quit [Ping timeout: 252 seconds]
<bnagy> dopie: you can just apply_damage 25, 'blammed'
Mon_Ouie has joined #ruby
<MrZYX> and @health -= amount is perfectly fine
<bnagy> actually if you run with the linter ( ruby -wc ) it will tell you about a lot of mistakes like that
artofraw has joined #ruby
<dopie> Ok here is a question why am i setting only @name and @health to global?? how come blam and woot can pass the information down???
<MrZYX> @health and @name are the state of the object, amount is a message, you need it to do something and that's it (that's at least the way I think about it)
havenwood has quit [Read error: Connection reset by peer]
<dopie> got it
<dopie> ok ..
<bnagy> @ivars aren't global, btw, they're a "property" (barf) of the item they're defined in
samphippen has joined #ruby
<bnagy> like those would not be visible to code running "outside" those Player instances
<dopie> so the player class is only set to know @name and @health
<bnagy> basically a method ( def xyz ) is a thing that the object can do
<bnagy> and @ivar is a property that the object has
jgrevich has quit [Remote host closed the connection]
<bnagy> usually @ivars are to do with how you implement stuff, whereas methods make up your "API"
<dopie> K im using the pragmatic studios tuts which are awesome
<dopie> so im just trying to hammer these things in...
<dopie> before i got Ultra Music Festival down here in Miami
<bnagy> so @ivars are your business, methods are the actions other objects can ask your object to perform
<MrZYX> hm I prefer messages over actions, since methods have return values. You ask an object something, that can be an action or you just want to know something about it.
<bnagy> yeah but 'messages' is a pretty loaded term
<bnagy> cause it leads into a programming approach / pattern ( actor )
<bnagy> having said that, we still use send as a way to generically dispatch to methods, so the terminology is just all over the place :)
<MrZYX> :)
luckyruby has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 252 seconds]
jaygen_ has joined #ruby
jaygen has quit [Read error: Operation timed out]
freeayu has joined #ruby
atyz has quit [Quit: Leaving...]
<dopie> yay
ryanf has joined #ruby
<dopie> i'm happy
backjlack has joined #ruby
<bnagy> \o/
Astralum has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
drale2k has joined #ruby
gommo has joined #ruby
ryanf has quit [Ping timeout: 276 seconds]
codecop has quit [Remote host closed the connection]
sfoobar has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
decoponio has quit [Quit: Leaving...]
samphippen has joined #ruby
Zolo has quit [Remote host closed the connection]
gommo has quit [Ping timeout: 256 seconds]
<dopie> whats the difference from "blammed" and 'blammed'
Zolo has joined #ruby
brianpWins has quit [Quit: brianpWins]
<MrZYX> dopie: bar = "baz"; "foo #{bar}" #=> foo baz; 'foo #{bar}' #=> foo #{bar}
<apeiros_> also "\n" is a newline, '\n' is a backslash followed by the character "n"
<apeiros_> i.e., '\n' == "\\n"
<apeiros_> (in '', only \ and ' can be escaped)
divout has quit [Quit: Leaving.]
answer_42 has joined #ruby
<dopie> MrZYX: ahhhh ok
<dopie> why are hexadecimals appearing after i call the player name
anderse has joined #ruby
<bnagy> that's surprisingly complicated to explain
io_syl has quit [Quit: Computer has gone to sleep.]
<bnagy> basically, that hex number is related to the internal representation of the player object itself.
<bnagy> you tried to output ( puts ) something that isn't actually a String
kofno has joined #ruby
<bnagy> so ruby has to work out how to make it into one
drale2k has quit [Read error: Connection reset by peer]
sepp2k has quit [Remote host closed the connection]
erry_ is now known as erry
joebew has joined #ruby
<dopie> ok, how do i make them from going away
<dopie> i think in 2.0 the hex's go away
<bnagy> don't do puts player1, output something else, or don't output it at all
<dopie> well i called .say_hello on player1 which was where the to_s was
<MrZYX> to_s should return the string, not already print it out
ananthakumaran has quit [Ping timeout: 245 seconds]
kendhia has joined #ruby
Amnesthesia has joined #ruby
dawkirst has quit [Ping timeout: 246 seconds]
jaygen has joined #ruby
ananthakumaran has joined #ruby
statarb3 has joined #ruby
<apeiros_> dopie: in your to_s, don't puts
<apeiros_> to_s should *return* a string, not print one
kofno has quit [Remote host closed the connection]
jaygen_ has quit [Read error: Operation timed out]
ephemerian has joined #ruby
kendhia has quit [Ping timeout: 245 seconds]
nfisher has joined #ruby
akhet has quit [Remote host closed the connection]
maxmanders has joined #ruby
zavier has joined #ruby
vlad_starkov has joined #ruby
sandGorgon has quit [Ping timeout: 245 seconds]
<dopie> apeiros_: tjhank you!!! worked awesome
bashdy has joined #ruby
dawkirst has joined #ruby
nfisher has quit [Ping timeout: 256 seconds]
hbpoison has quit [Ping timeout: 256 seconds]
<epta> How can I define infix operator in ruby?
sonda has joined #ruby
<apeiros_> class Foo; def +(other); …; end; end
eka has joined #ruby
<apeiros_> epta: infix operators are just methods in ruby. with a bit of syntax sugar on the calling site.
sepp2k has joined #ruby
bonhoeffer has joined #ruby
markisonfire has quit [Quit: markisonfire]
<epta> Is there a way to use f(a,b) like a `f` b?
<apeiros_> ?
<apeiros_> don't know what you mean by that
<epta> Is there a way to call f(a,b) like a `f` b?
workmad3 has quit [Ping timeout: 252 seconds]
krainboltgreene has joined #ruby
kendhia has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 0.4.0]
joebew has left #ruby [#ruby]
<apeiros_> eh?
<apeiros_> what sense would that make?
<apeiros_> `` is Kernel#`, so no, you can't
pyrac has quit [Quit: pyrac]
anderse has quit [Quit: anderse]
<MrZYX> I think he thinks + is defined as def +(a,b) and he wants that syntax sugar for abitrary methods
<epta> Forget it
<apeiros_> epta: if you don't explain your question better, then that's exactly what I'll do
m_3 has quit [Ping timeout: 240 seconds]
notdone has quit [Quit: Page closed]
m_3 has joined #ruby
aep has left #ruby ["WeeChat 0.4.0"]
mulinux has joined #ruby
veer has joined #ruby
mengu__ has joined #ruby
Amnesthesia has quit [Remote host closed the connection]
Amnesthesia has joined #ruby
Amnesthesia has quit [Remote host closed the connection]
veer has quit [Ping timeout: 245 seconds]
nyuszika7h has quit [Quit: Here we are, going far to save all that we love - If we give all we've got, we will make it through - Here we are, like a star shining bright on your world - Today, make evil go away!]
timonv has joined #ruby
veer has joined #ruby
m3pow has quit [Ping timeout: 252 seconds]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
elaptics`away is now known as elaptics
swingha has joined #ruby
veer has quit [Ping timeout: 245 seconds]
veer has joined #ruby
kristofers has joined #ruby
sandGorgon has joined #ruby
nyuszika7h has joined #ruby
drale2k has joined #ruby
d34th4ck3r has joined #ruby
TheFuzzball has joined #ruby
gommo has joined #ruby
veer has quit [Ping timeout: 245 seconds]
sayan has quit [Read error: Connection reset by peer]
drale2k has quit [Ping timeout: 248 seconds]
pac1 has joined #ruby
marr has joined #ruby
Banistergalaxy has joined #ruby
adambeynon has joined #ruby
jonahR has quit [Quit: jonahR]
roflmaus has joined #ruby
roflmaus has quit [Client Quit]
xardas has joined #ruby
gommo has quit [Remote host closed the connection]
krainboltgreene has quit [Quit: Computer has gone to sleep.]
sfoobar has quit [Ping timeout: 240 seconds]
yashshah__ has quit [Read error: Connection reset by peer]
nfisher has joined #ruby
yashshah__ has joined #ruby
includex has joined #ruby
miso1337 has quit [Quit: afk]
hbpoison has joined #ruby
<sepp2k> epta: If you want to use f infix, define it as a method on a's class and you can write a.f b
nfisher has quit [Ping timeout: 245 seconds]
<sepp2k> As apeiros_ said, using `` makes no sense as `` already has a meaning in Ruby.
samphippen has quit [Quit: Computer has gone to sleep.]
emergion has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Neomex has joined #ruby
Neomex has quit [Client Quit]
mengu__ has quit [Read error: Operation timed out]
Lemtzas_ has joined #ruby
mengu__ has joined #ruby
miso1337 has joined #ruby
Lemtzas has quit [Ping timeout: 255 seconds]
danneu has joined #ruby
miso1337 has quit [Remote host closed the connection]
cilquirm has joined #ruby
browndawg has joined #ruby
mulinux has quit [Quit: mulinux]
bonhoeffer has quit [Quit: bonhoeffer]
samphippen has joined #ruby
kendhia has quit [Quit: Ex-Chat]
br4ndon has joined #ruby
angusiguess has quit [Ping timeout: 252 seconds]
codecop has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
codecop_ has joined #ruby
codecop_ has quit [Remote host closed the connection]
danneu has quit [Ping timeout: 240 seconds]
zavier has quit [Quit: WeeChat 0.3.8]
psyprus has quit [Ping timeout: 258 seconds]
emergion has joined #ruby
psyprus has joined #ruby
samphippen has joined #ruby
bonhoeffer has joined #ruby
whitedawg has joined #ruby
pavilionXP has joined #ruby
zavier has joined #ruby
elaptics is now known as elaptics`away
m3pow has joined #ruby
s00pcan has quit [Quit: Lost terminal]
nomenkun_ has joined #ruby
hemanth has joined #ruby
s00pcan has joined #ruby
leo2007 has joined #ruby
<leo2007> could someone recommend two things(modes) they can not live without for using emacs for ruby?
<leo2007> other than ruby-mode
nomenkun has quit [Ping timeout: 264 seconds]
Mchl has quit [Ping timeout: 255 seconds]
elaptics`away is now known as elaptics
rocket_ has quit [Ping timeout: 245 seconds]
jsaak has quit [Ping timeout: 255 seconds]
browndawg has quit [Ping timeout: 245 seconds]
dawkirst has quit [Ping timeout: 252 seconds]
<sepp2k> leo2007: Any modes for other file types I might want to edit (yaml-mode, haml-mode etc.). Plus ido-mode.
platzhirsch2 has joined #ruby
<platzhirsch2> What should I use for debugging? ruby -rdebug, Pry, ... ?
hoelzro|away is now known as hoelzro
<dEPy> RubyMine :P
Stilo has joined #ruby
drale2k has joined #ruby
<platzhirsch2> that's a cool name
<leo2007> sepp2k: thanks. how do you debug?
jsaak has joined #ruby
hemanth has quit [Quit: This computer has gone to sleep]
oposomme has quit [Quit: Leaving...]
hemanth has joined #ruby
drale2k has quit [Ping timeout: 255 seconds]
dawkirst has joined #ruby
IrishGringo has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
wmoxam has joined #ruby
m8 has joined #ruby
kpshek has joined #ruby
vickaita has joined #ruby
nfisher has joined #ruby
statarb3 has quit [Quit: Leaving]
vlad_sta_ has joined #ruby
<shevy> by using his mind powers
vlad_starkov has quit [Ping timeout: 248 seconds]
slainer68 has joined #ruby
dawkirst has quit [Ping timeout: 246 seconds]
pavilionXP has quit [Remote host closed the connection]
nfisher has quit [Ping timeout: 252 seconds]
hemanth has quit [Ping timeout: 264 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Read error: Operation timed out]
* sepp2k doesn't need to debug. All his programs are bug-free from the start.
dhruvasagar has joined #ruby
Lemtzas_ has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
vickaita has quit [Ping timeout: 245 seconds]
* apeiros_ doesn't need to debug. He doesn't write code.
Lemtzas has joined #ruby
arturaz has joined #ruby
kpshek has quit []
dawkirst has joined #ruby
<shevy> lies!
<shevy> you write lots of rails code!!!
<shevy> all so that the schoki production can continue to run
atmosx has joined #ruby
arturaz has quit [Remote host closed the connection]
* apeiros_ doesn't need to debug. He outsources that to india.
baba has joined #ruby
fire has quit [Ping timeout: 245 seconds]
vlad_sta_ has quit [Remote host closed the connection]
carraroj has joined #ruby
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
danneu has joined #ruby
d34th4ck3r has quit [Ping timeout: 264 seconds]
answer_42 has quit [Quit: WeeChat 0.4.0]
akemrir has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
niklasb has joined #ruby
swex has quit [Remote host closed the connection]
pyrac has joined #ruby
Proshot has joined #ruby
danneu has quit [Ping timeout: 252 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
Blue_Ice has quit [Write error: Broken pipe]
sailias has joined #ruby
Blue_Ice has joined #ruby
Blue_Ice has joined #ruby
Blue_Ice has quit [Changing host]
hoelzro is now known as hoelzro|away
browndawg has joined #ruby
includex has quit [Quit: Leaving...]
S1kx has joined #ruby
S1kx has joined #ruby
hemanth has quit [Quit: This computer has gone to sleep]
dawkirst has quit [Ping timeout: 276 seconds]
angusiguess has joined #ruby
Virunga has joined #ruby
oposomme has joined #ruby
drale2k has joined #ruby
instinkt has joined #ruby
lkba has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
hbpoison has joined #ruby
d34th4ck3r has joined #ruby
hemanth has joined #ruby
drale2k has quit [Ping timeout: 246 seconds]
BizarreCake has quit [Read error: Connection reset by peer]
dawkirst has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
Spooner has joined #ruby
dhruvasagar has joined #ruby
serhart has joined #ruby
jpfuentes2 has joined #ruby
yashshah__ has quit [Read error: Connection reset by peer]
oposomme has quit [Quit: Leaving...]
yashshah__ has joined #ruby
mewmew has joined #ruby
cyberflux has joined #ruby
browndawg has left #ruby [#ruby]
serhart has quit [Ping timeout: 252 seconds]
s00pcan has quit [Quit: leaving]
s00pcan has joined #ruby
nfisher has joined #ruby
Virunga has quit [Remote host closed the connection]
Xabarus has quit [Remote host closed the connection]
mewmew has quit [Quit: Virca 1.1.20 rus beta 0.1]
s00pcan has quit [Client Quit]
yshh has joined #ruby
s00pcan has joined #ruby
yshh has quit [Read error: Connection reset by peer]
yshh has joined #ruby
nfisher has quit [Client Quit]
jpfuentes2 has quit [Ping timeout: 245 seconds]
nfisher has joined #ruby
apeiros_ has quit []
veer has joined #ruby
blaxter has joined #ruby
Virunga has joined #ruby
Squarepy has joined #ruby
jsaak has quit [Ping timeout: 252 seconds]
Squarepy has quit [Read error: Connection reset by peer]
freeayu has quit [Read error: Connection reset by peer]
kendhia has joined #ruby
Squarepy has joined #ruby
butblack has joined #ruby
Squarepy has quit [Changing host]
Squarepy has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
veer has quit [Ping timeout: 245 seconds]
sambao21 has joined #ruby
Mohan has quit [Ping timeout: 264 seconds]
Squarepy_ has joined #ruby
Squarepy_ has quit [Changing host]
Squarepy_ has joined #ruby
shevy has quit [Ping timeout: 260 seconds]
Squarepy has quit [Ping timeout: 264 seconds]
sambao21 has quit [Client Quit]
cilquirm has quit [Quit: cilquirm]
kendhia has quit [Ping timeout: 245 seconds]
s00pcan is now known as s00pcan_
Mchl has joined #ruby
s00pcan_ is now known as s00pcan
sandGorgon has quit [Ping timeout: 240 seconds]
kalleth has quit [Remote host closed the connection]
akashj87 has joined #ruby
butblack has quit [Ping timeout: 257 seconds]
Mohan has joined #ruby
emergion has joined #ruby
emergion has quit [Read error: Connection reset by peer]
cilquirm has joined #ruby
kalleth has joined #ruby
Squarepy_ is now known as Squarepy
dhruvasagar has quit [Ping timeout: 276 seconds]
dawkirst has quit [Ping timeout: 256 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Takehiro has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
jpfuentes2 has joined #ruby
dhruvasagar has joined #ruby
emergion has joined #ruby
emergion has quit [Client Quit]
shevy has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
kendhia has joined #ruby
Takehiro has quit [Read error: Connection reset by peer]
emergion has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
cilquirm has quit [Quit: cilquirm]
whitedawg has quit [Quit: Leaving.]
emergion has quit [Read error: Connection reset by peer]
mr-rich has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
Xeago has joined #ruby
emergion has joined #ruby
<Xeago> Hanmac: so far windows wanted 2 restarts to finish updating
emergion has quit [Client Quit]
sandGorgon has joined #ruby
sambao21 has joined #ruby
turgu has joined #ruby
dawkirst has joined #ruby
motto has joined #ruby
emergion has joined #ruby
emergion has quit [Read error: Connection reset by peer]
turgu has quit [Remote host closed the connection]
jsaak has joined #ruby
m8 has quit [Ping timeout: 255 seconds]
Takehiro has joined #ruby
Goles has joined #ruby
turgu has joined #ruby
Davey_ has joined #ruby
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
moos3 has joined #ruby
vickaita has joined #ruby
turgu has quit [Client Quit]
girija has joined #ruby
s1n4 has joined #ruby
turgu has joined #ruby
sayan has joined #ruby
subbyyy has joined #ruby
jsaak has quit [Read error: Operation timed out]
eka has joined #ruby
rickmasta has joined #ruby
s1n4 has quit [Client Quit]
s1n4 has joined #ruby
kirun has joined #ruby
wmoxam has quit [Ping timeout: 264 seconds]
emergion has joined #ruby
emergion has quit [Read error: Connection reset by peer]
turgu has quit [Remote host closed the connection]
ddd has joined #ruby
kendhia has quit [Quit: Ex-Chat]
akashj87 has quit [Ping timeout: 264 seconds]
<s00pcan> one time I was playing a game and windows decided to restart because 4am is time for updates. I can't understand how the same default is used for window server
cilquirm has joined #ruby
akemrir has quit [Quit: WeeChat 0.4.0]
jimeh has quit [Quit: Computer has gone to sleep.]
emergion has joined #ruby
emergion has quit [Client Quit]
d34th4ck3r has quit [Ping timeout: 252 seconds]
karthikselva has joined #ruby
karthikselva has left #ruby [#ruby]
emergion has joined #ruby
emergion has quit [Client Quit]
dawkirst has quit [Ping timeout: 260 seconds]
emergion has joined #ruby
emergion has quit [Read error: Connection reset by peer]
v0n has joined #ruby
andrew12 has quit [Ping timeout: 258 seconds]
mattb has quit [Ping timeout: 272 seconds]
cyberflux has left #ruby [#ruby]
emergion has joined #ruby
emergion has quit [Client Quit]
shirokuro11 has joined #ruby
hoelzro|away is now known as hoelzro
shirokuro11 has quit [Remote host closed the connection]
emergion has joined #ruby
emergion has quit [Read error: Connection reset by peer]
dawkirst has joined #ruby
Goles has quit [Quit: Computer has gone to sleep.]
tubbo has left #ruby [#ruby]
sambao21 has quit [Quit: Computer has gone to sleep.]
tonini has joined #ruby
ChristianS has joined #ruby
cilquirm has quit [Quit: cilquirm]
maxmanders has joined #ruby
astrostl has joined #ruby
Goles has joined #ruby
jsaak has joined #ruby
sayan has quit [Read error: Connection reset by peer]
tomzx_mac has joined #ruby
hoelzro is now known as hoelzro|away
carraroj has joined #ruby
joofsh has joined #ruby
emergion has joined #ruby
emergion has quit [Client Quit]
Stilo has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
bluOxigen has joined #ruby
tonini has quit [Remote host closed the connection]
emergion has joined #ruby
emergion has quit [Client Quit]
nfk has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
hbpoison has joined #ruby
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
jsaak has quit [Ping timeout: 276 seconds]
carraroj has quit [Quit: Konversation terminated!]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
hbpoison has quit [Read error: Connection reset by peer]
andrew12 has joined #ruby
andrew12 has quit [Changing host]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
sambao21 has joined #ruby
andrew12 has joined #ruby
andrew12 has quit [Changing host]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
vlad_starkov has joined #ruby
browndawg has joined #ruby
hbpoison has joined #ruby
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
uris has joined #ruby
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has joined #ruby
andrew12 has quit [Changing host]
andrew12 has quit [Excess Flood]
drumsrgr1 has joined #ruby
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
pyrac has quit [Quit: pyrac]
drale2k has joined #ruby
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
hbpoison has quit [Ping timeout: 256 seconds]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
andrew12 has joined #ruby
andrew12 has quit [Excess Flood]
kraljev2 has joined #ruby
<kraljev2> >> Date.new(2012, 10, -10)
drumsrgr1 has quit [Ping timeout: 255 seconds]
<eval-in> kraljev2 => /tmp/execpad-f29f3a3abbb2/source-f29f3a3abbb2:2:in `initialize': wrong number of arguments (3 for 0) (ArgumentError) ... (http://eval.in/12840)
dawkirst has quit [Ping timeout: 245 seconds]
<kraljev2> require 'date'; Date.new(2012, 10, -10)
eldariof has joined #ruby
<kraljev2> >> require 'date'; Date.new(2012, 10, -10)
<eval-in> kraljev2 => #<Date: 2012-10-22 ((2456223j,0s,0n),+0s,2299161j)> (http://eval.in/12841)
<kraljev2> Ok
carraroj has joined #ruby
<kraljev2> so, how can i make date to make negative values in days wrap to previous month
sayan has joined #ruby
<kraljev2> Like this: #<Date: 2012-09-21 ((2456192j,0s,0n),+0s,2299161j)>
carraroj has quit [Client Quit]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
blaxter has quit [Quit: foo]
pcarrier has joined #ruby
<kraljev2> Day: 1, Month: -1, Year: 2013
arietis has joined #ruby
arietis has quit [Client Quit]
<kraljev2> That should be 1st of December 2012
<kraljev2> not the 1st of december of 2013
artofraw has quit [Remote host closed the connection]
nfisher has quit [Ping timeout: 240 seconds]
shirokuro11 has joined #ruby
ananthakumaran1 has joined #ruby
drale2k has quit [Ping timeout: 256 seconds]
yashshah__ has quit [Read error: Connection reset by peer]
<MrZYX> >> require 'date'; Date.new(2012, 10, 1)-10
<eval-in> MrZYX => #<Date: 2012-09-21 ((2456192j,0s,0n),+0s,2299161j)> (http://eval.in/12842)
Eldariof-ru has joined #ruby
yashshah__ has joined #ruby
ananthakumaran has quit [Ping timeout: 252 seconds]
butblack has joined #ruby
jrajav has joined #ruby
Astral_ has joined #ruby
eldariof has quit [Ping timeout: 264 seconds]
ArchBeOS has joined #ruby
pyreal has joined #ruby
joofsh has quit [Remote host closed the connection]
nari has joined #ruby
pyrac has joined #ruby
dawkirst has joined #ruby
etank has quit [Ping timeout: 272 seconds]
Astralum has quit [Ping timeout: 264 seconds]
danneu has joined #ruby
hemanth has quit [Ping timeout: 260 seconds]
hemanth has joined #ruby
angusiguess has quit [Ping timeout: 264 seconds]
Squarepy has quit [Read error: Connection reset by peer]
fschuindt has joined #ruby
Goles has quit [Quit: Out.]
jonahR has joined #ruby
arietis has joined #ruby
dawkirst has quit [Read error: Operation timed out]
WilfredTheGreat has joined #ruby
__Big0__ has joined #ruby
eAlchemi_ has joined #ruby
hbpoison has joined #ruby
__Big0__ has quit [Remote host closed the connection]
<kraljev2> Using ruby time, how can I advance the time for 10 months
hemanth has quit [Quit: This computer has gone to sleep]
himsin has joined #ruby
hemanth has joined #ruby
<kraljev2> Come on...
<kraljev2> nobody knows?
<nyuszika7h> patience is a virtue :)
<nyuszika7h> anyway, nope, I don't know, sorry
hbpoison has quit [Read error: Connection reset by peer]
oposomme has joined #ruby
<atmosx> Build you own mathod
<atmosx> method, who does that.
<atmosx> it's considerably easy.
<nyuszika7h> kraljev2: do you mean set the system clock 10 months forward, or get the current date, add 10 months to it and display it?
<atmosx> if you know how to Time.new works
<kraljev2> really?
<atmosx> kraljev2: yes
bashdy has quit []
<kraljev2> no, because months have different number of days
<MrZYX> kraljev2: (16:17:06) MrZYX: >> require 'date'; Date.new(2012, 10, 1)-10
<MrZYX> (16:17:07) eval-in: MrZYX => #<Date: 2012-09-21 ((2456192j,0s,0n),+0s,2299161j)> (http://eval.in/12842)
<nyuszika7h> I'm looking for a way to send a file line by line through a socket after parsing it, but also replying to a specific message that the other end might send as soon as possible. how could I do that?
Vektur has joined #ruby
<kraljev2> I don't want to use date
hbpoison has joined #ruby
<kraljev2> mrZYX that advances 10 days!
<kraljev2> not 10 months
nfisher has joined #ruby
<atmosx> that's why I said build a method, to avoid conflicts of 31 vs 30 days and so on.
samphippen has quit [Quit: Computer has gone to sleep.]
<kraljev2> and leap years...
<atmosx> but if you're too lazy, I'm double lazy you are.
<atmosx> yeah whatever.
wargasm has joined #ruby
<atmosx> the concept if the same.
<kraljev2> it is not, months have different number of days
shirokuro11 has quit [Remote host closed the connection]
<kraljev2> and Februars too, depending on the year
Eldariof-ru has quit [Remote host closed the connection]
ToApolytoXaos has joined #ruby
bashdy has joined #ruby
<MrZYX> >> require 'date'; Date.new(2012, 10, 10).prev_month(10)
<eval-in> MrZYX => #<Date: 2011-12-10 ((2455906j,0s,0n),+0s,2299161j)> (http://eval.in/12843)
<MrZYX> RTFM
<MrZYX> also aliased to <<
wargasm1 has quit [Ping timeout: 276 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
bradhe has joined #ruby
sayan has quit [Quit: Leaving]
sayan has joined #ruby
eldariof has joined #ruby
dawkirst has joined #ruby
danneu has quit [Ping timeout: 252 seconds]
bradhe has quit [Remote host closed the connection]
<kraljev2> how about prev_hour ?
adkron has joined #ruby
danneu has joined #ruby
pskosinski has joined #ruby
tenmilestereo has joined #ruby
chrisramon has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
nfisher has quit [Ping timeout: 264 seconds]
hbpoison has joined #ruby
jdunck has joined #ruby
butblack has quit [Quit: butblack]
tommyvyo has joined #ruby
<MrZYX> >> Time.now-60*60*4
<eval-in> MrZYX => 2013-03-16 12:58:09 +0100 (http://eval.in/12844)
<kraljev2> but conversion from Date to Time is expensive, no?
<MrZYX> why do you need to use dates?
k3rn3lito has quit [Ping timeout: 264 seconds]
<MrZYX> (and no idea, can't really imagine)
Roa has quit [Ping timeout: 260 seconds]
<kraljev2> i need date to use #prev_month
<MrZYX> >> Time.now.prev_month(10)
<eval-in> MrZYX => /tmp/execpad-a05154d5907c/source-a05154d5907c:2:in `<main>': undefined method `prev_month' for 2013-03-16 16:59:15 +0100:Time (NoMethodError) (http://eval.in/12845)
<MrZYX> hm
<MrZYX> weird, pry does autocomplete that :D
ukd1 has joined #ruby
Beoran__ has joined #ruby
k3rn3lito has joined #ruby
Roa has joined #ruby
Roa has joined #ruby
Roa has quit [Changing host]
<MrZYX> but yeah just call to_date on it
carraroj has joined #ruby
<Xeago> MrZYX: is that with a require date?
dawkirst has quit [Ping timeout: 252 seconds]
<MrZYX> yeah, it completes but still throws a no method in the session too
<MrZYX> >> require 'date'; Time.now.prev_month(10)
<eval-in> MrZYX => /tmp/execpad-909d3aa1f6e0/source-909d3aa1f6e0:2:in `<main>': undefined method `prev_month' for 2013-03-16 17:02:12 +0100:Time (NoMethodError) (http://eval.in/12846)
bluOxigen has quit [Ping timeout: 252 seconds]
hbpoison_ has joined #ruby
Beoran_ has quit [Ping timeout: 245 seconds]
banghouse2 has joined #ruby
glosoli has joined #ruby
leo2007 has left #ruby ["rcirc on GNU Emacs 24.3.1"]
sambao21 has joined #ruby
jsaak has joined #ruby
butblack has joined #ruby
Proshot has quit [Quit: Leaving]
hbpoison has quit [Ping timeout: 264 seconds]
danslo has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
maletor has joined #ruby
xpen has quit [Ping timeout: 246 seconds]
bluOxigen has joined #ruby
nomenkun_ has quit [Remote host closed the connection]
jsaak has quit [Read error: Operation timed out]
xpen has joined #ruby
dawkirst has joined #ruby
nomenkun has joined #ruby
ArchBeOS has quit [Ping timeout: 245 seconds]
Davey_ has quit [Quit: Computer has gone to sleep.]
carraroj has quit [Quit: Konversation terminated!]
blf has quit [Quit: Page closed]
bashdy has quit []
sayan has quit [Read error: Connection reset by peer]
hbpoison has joined #ruby
beiter has joined #ruby
generalissimo has joined #ruby
coder_neo has joined #ruby
hbpoison_ has quit [Ping timeout: 248 seconds]
devilirium has quit [Quit: Lost terminal]
maletor has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
hbpoison has joined #ruby
carraroj has joined #ruby
kevinfagan has joined #ruby
mercwithamouth has joined #ruby
blueOxigen has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
drale2k has joined #ruby
jdunck has quit [Ping timeout: 264 seconds]
drale2k has quit [Client Quit]
wyhaines has joined #ruby
hbpoison has joined #ruby
pyrac has quit [Quit: pyrac]
bluOxigen has quit [Ping timeout: 276 seconds]
wobblini has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
carraroj has quit [Quit: Konversation terminated!]
samphippen has joined #ruby
Bry8Star has quit [Ping timeout: 276 seconds]
glosoli has left #ruby [#ruby]
TheFuzzball has quit [Read error: Connection reset by peer]
goganchic has joined #ruby
kennyvb has quit [Quit: ZNC - http://znc.in]
hbpoison has joined #ruby
LouisRoR has joined #ruby
kennyvb has joined #ruby
Voting has joined #ruby
eAlchemi_ has quit [Remote host closed the connection]
angusiguess has joined #ruby
whitedawg has joined #ruby
eAlchemist has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
fschuindt has quit [Quit: Computer has gone to sleep.]
TheFuzzball has joined #ruby
jsaak has joined #ruby
Bry8Star has joined #ruby
sandGorgon has quit [Ping timeout: 245 seconds]
mavcunha has quit [Quit: Textual IRC Client: www.textualapp.com]
butblack has left #ruby [#ruby]
angusiguess has quit [Ping timeout: 264 seconds]
chrisramon has quit [Quit: chrisramon]
jdunck has joined #ruby
nfisher has joined #ruby
pyrac has joined #ruby
hbpoison has quit [Ping timeout: 245 seconds]
mercwithamouth has quit [Ping timeout: 248 seconds]
aces1up has quit []
matchaw has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
sayan has joined #ruby
dawkirst has quit [Ping timeout: 264 seconds]
JamesLever has joined #ruby
nfisher has quit [Ping timeout: 264 seconds]
<pskosinski> It's not so bad with GUI libraries. GTK+/Qt/Shoes are actively developed.
<JamesLever> pskosinski, sorry, I didn't get what it is about, but you just answered my question
m8 has joined #ruby
generalissimo has quit [Read error: Connection reset by peer]
<JamesLever> Just came in to ask what s up with all the neglected GUI gems
generalissimo has joined #ruby
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
motto has quit [Ping timeout: 245 seconds]
<pskosinski> :)
pcarrier has quit [Ping timeout: 240 seconds]
pepper_chico has joined #ruby
<Hanmac> JamesLever i am working on a wxWidgets binding if that suits you more
<pskosinski> Ah… continuation of what is already made or something new? Because it seems a bit dead…
mercwithamouth has joined #ruby
<pskosinski> Last release from 2009.
<JamesLever> Hanmac, I am having a look at it, thanks
pcarrier has joined #ruby
<Hanmac> JamesLever: its this https://github.com/Hanmac/rwx
Zolo has quit [Remote host closed the connection]
jpfuentes2 has joined #ruby
pepper_chico has quit [Client Quit]
<aspiers> any zeus experts here?
bluOxigen has joined #ruby
moos3 has joined #ruby
<JamesLever> Hanmac, I have to admit, that I have a strict policy only to use established gems and libraries
<Hanmac> James, its like wxRuby ... but the difference is that my stuff is still developed :P
LouisRoR has quit [Ping timeout: 264 seconds]
beiter has quit [Quit: beiter]
demas has joined #ruby
<JamesLever> Or did I just get it wrong? As the stars and forks distracted me
moos3 has quit [Client Quit]
atmosx has quit [Quit: And so the story goes…]
kraljev2 has left #ruby [#ruby]
bradhe has joined #ruby
blueOxigen has quit [Ping timeout: 264 seconds]
veer has joined #ruby
dawkirst has joined #ruby
<Hanmac> https://www.ohloh.net/p/rubywx << this is a statistic from my project: "Up +38 (1900%) from previous 12 months" ... wxRuby itself is dead "Down -3 (100%) from previous 12 months "
AndChat| has joined #ruby
axhlf has joined #ruby
becom33 has joined #ruby
goganchic1 has joined #ruby
<becom33> how can I set a default value to ask() method ?
demas has quit [Remote host closed the connection]
<Morrolan> You wrote code which takes "an estimated 3 years of effort" in a mere month? Impressive, Hanmac. :D
goganchic has quit [Read error: Operation timed out]
<aspiers> yeah, ohloh's estimates suck
demas has joined #ruby
Banistergalaxy has quit [Ping timeout: 252 seconds]
<Hanmac> Morrolan: hm not so, the project is near a year old but i dont have much time ...
<Hanmac> but you can see, i am better than wxRuby ... even when they use an generator :D
carlyle has joined #ruby
<Morrolan> Hanmac - Oh, Februrary 2012, not 2013, apologies. :)
Stilo has joined #ruby
bradhe has quit [Ping timeout: 256 seconds]
butblack has joined #ruby
<Hanmac> its shameful when one alone can write more and better code than an entire team with code generators :Ü
zipace has joined #ruby
<becom33> how can I set a default value to ask() method ?
dawkirst has quit [Read error: Operation timed out]
<Hanmac> becom33 why didnt you try to google before you ask?
jdunck has quit [Quit: Computer has gone to sleep.]
<becom33> I did
agjacome has joined #ruby
<MrZYX> becom33: how would you expect it to work?
bricker`LA has quit [Ping timeout: 256 seconds]
sambao21 has joined #ruby
jacktrick has joined #ruby
s1n4 has quit [Quit: leaving]
<becom33> just the ask("Are you ok ? [Y/n]") YES or yes or y or Y as the default value
<sepp2k> becom33: What ask method? Highline?
goganchic1 has left #ruby [#ruby]
irmbrady has joined #ruby
nari has quit [Ping timeout: 245 seconds]
<becom33> sepp2k, I think yes . but I saw this on a anther code while ago . but I dint have to require anything to use ask() method . I thought maybe its inbuild in ruby
<sepp2k> It's not.
chrisramon has joined #ruby
<becom33> but I didn't have to require any gem to use ask() method
<zipace> hi, i'm wondering if anyone here who has been working with mruby (miniruby) knows whether it has Kernel#load and/or Kernel#require? both seem to be missing, making it kind of difficult to load modules (or anything, really). there is https://github.com/mattn/mruby-require, but it seems outdated, as it doesn't compile
yashshah__ has quit [Read error: Connection reset by peer]
<becom33> hmm :/ Im using thor fm
yashshah__ has joined #ruby
Zolo has joined #ruby
demas has left #ruby [#ruby]
demas has joined #ruby
v0n has quit [Ping timeout: 264 seconds]
<sepp2k> becom33: Thor defines an ask method. Anyway I don't think there is a way to set a default.
<sepp2k> Just check whether the string is empty and set it to "y" if so.
<sepp2k> Or write your own method ask_with_default that wraps ask and does that.
<MrZYX> ask("foo")[/.+/m] || "y"
<becom33> :/ maybe I need to create a common method any thor task(method) can use
jgrevich has joined #ruby
astrostl has quit []
<becom33> sepp2k, btw any idea how can I write a common method any class can use ?
hbpoison has joined #ruby
<sepp2k> becom33: define it in Kernel
demas_ has joined #ruby
<sepp2k> Or define it in a module that you include where you need it.
<becom33> sepp2k, could u explain me how ? I googled couldnt fine it
<sepp2k> Which is less hacky.
demas has quit [Remote host closed the connection]
<sepp2k> becom33: module MyModule; def my_method(bla) bla end end and then include MyModule where you need it.
<becom33> aww u mean like that
<becom33> okey :)
JohnBat26 has joined #ruby
<sepp2k> s/MyModule/Kernel/ if you don't want the include.
jimeh has joined #ruby
<zipace> anyone have an idea about mruby?
<sepp2k> You can also module_function it if you want to be able to call it as MyModule.my_method without including it anywher.
includex has joined #ruby
<sepp2k> +e
dawkirst has joined #ruby
ArchBeOS has joined #ruby
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
aeontech has quit [Quit: aeontech]
rkj has quit [Quit: WeeChat 0.3.8]
danneu1 has joined #ruby
AndChat- has joined #ruby
sandGorgon has joined #ruby
karthikselva has joined #ruby
tommyvyo has quit [Quit:]
lkba has quit [Ping timeout: 240 seconds]
danneu has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
rkj has joined #ruby
rdk has joined #ruby
s00pcan has quit [Quit: leaving]
s00pcan has joined #ruby
m8 has quit [Read error: Connection reset by peer]
yankeefan04 has joined #ruby
colonolGron has joined #ruby
kirun_ has joined #ruby
kirun_ has quit [Remote host closed the connection]
subbyyy has quit [Ping timeout: 245 seconds]
m8 has joined #ruby
senayar has quit [Read error: Operation timed out]
marcdel has joined #ruby
whowantstolivef1 has joined #ruby
karthikselva has quit [Ping timeout: 245 seconds]
ananthakumaran has joined #ruby
motto has joined #ruby
ananthakumaran1 has quit [Read error: Connection reset by peer]
sfoobar has joined #ruby
kirun has quit [Ping timeout: 248 seconds]
nateberkopec has joined #ruby
rdk1 has joined #ruby
rdk has quit [Read error: Connection reset by peer]
pyrac has quit [Quit: pyrac]
otherj has joined #ruby
tish has joined #ruby
nateberkopec has quit [Client Quit]
m8 has quit [Ping timeout: 252 seconds]
nfisher has joined #ruby
veer has quit [Ping timeout: 245 seconds]
dawkirst has quit [Ping timeout: 276 seconds]
coder_neo has quit [Ping timeout: 260 seconds]
blklane has joined #ruby
Eldariof-ru has joined #ruby
yankeefan04 has quit [Ping timeout: 245 seconds]
demas_ has quit [Quit: demas_]
subbyyy has joined #ruby
nfisher has quit [Ping timeout: 245 seconds]
apoch632 has joined #ruby
eldariof has quit [Ping timeout: 245 seconds]
ryanf has joined #ruby
butblack has left #ruby [#ruby]
wmoxam has joined #ruby
ukd1_ has joined #ruby
s00pcan has quit [Quit: leaving]
s00pcan has joined #ruby
sfoobar has left #ruby [#ruby]
carlyle has quit [Remote host closed the connection]
cheese1756 has quit [Changing host]
cheese1756 has joined #ruby
ukd1 has quit [Ping timeout: 245 seconds]
ryanf has quit [Ping timeout: 240 seconds]
<shevy> question
<shevy> project name is called foo
<shevy> module Foo
ryanf has joined #ruby
<shevy> inside Foo, I want to keep a version constant
blklane has left #ruby [#ruby]
<shevy> should I call it: VERSION or Version?
<shevy> Foo::VERSION
<shevy> Foo::Version
dawkirst has joined #ruby
<Hanmac> VERSION is okay
girija has quit [Ping timeout: 256 seconds]
<Hanmac> Version looks more like a version class
jrajav has quit [Quit: I tend to be neutral about apples]
s00pcan has quit [Quit: Lost terminal]
s00pcan has joined #ruby
<shevy> ok
nonotza has joined #ruby
Eldariof93-ru has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
subbyyy has quit [Ping timeout: 276 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
jacktrick has quit [Quit: Leaving]
sambao21 has joined #ruby
d34th4ck3r has joined #ruby
colonolGron has quit [Quit: leaving]
Eldariof-ru has quit [Ping timeout: 252 seconds]
hashmal has quit [Quit: Computer has gone to sleep.]
ryanf has quit [Ping timeout: 255 seconds]
TheFuzzball has quit [Ping timeout: 245 seconds]
butblack has joined #ruby
yankeefan04 has joined #ruby
Takehiro has quit [Remote host closed the connection]
BRMatt has joined #ruby
chrishough has joined #ruby
bwlang has joined #ruby
ryanf has joined #ruby
mityaz has joined #ruby
pyrac has joined #ruby
bluOxigen has quit [Ping timeout: 276 seconds]
IceDragon has joined #ruby
subbyyy has joined #ruby
LiquidInsect has quit [Remote host closed the connection]
browndawg has quit [Quit: Leaving.]
otherj has quit []
adkron has quit [Ping timeout: 260 seconds]
wmoxam has quit [Ping timeout: 245 seconds]
includex has quit [Read error: Connection reset by peer]
bricker`LA has joined #ruby
Harlin has joined #ruby
dawkirst has quit [Ping timeout: 260 seconds]
yankeefan04 has quit [Remote host closed the connection]
sepp2k has quit [Quit: Leaving.]
io_syl has joined #ruby
bluOxigen has joined #ruby
mkillebrew has quit [Read error: Operation timed out]
senayar has joined #ruby
Opettaja has quit [Quit: WeeChat 0.4.0]
<Harlin> created a json obj: some_asc_array.to_json ... now I'd like to take this json object and bring it back to an associative array... dump.to_a does't seem to work here
joofsh has joined #ruby
<IceDragon> JSON.load(dump)
<Harlin> ack... of course... thanks IceDragon
<IceDragon> np
Opettaja has joined #ruby
agjacome has quit [Quit: leaving]
blueOxigen has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
oposomme has quit [Quit: Leaving...]
Nisstyre-laptop has joined #ruby
bluOxigen has joined #ruby
sonda has quit [Remote host closed the connection]
vickaita has quit [Ping timeout: 264 seconds]
blueOxigen has quit [Ping timeout: 245 seconds]
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
dawkirst has joined #ruby
Myconix has joined #ruby
subbyyy has quit [Ping timeout: 264 seconds]
BRMatt has quit [Ping timeout: 264 seconds]
mercy____ has joined #ruby
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
ukd1_ has quit [Remote host closed the connection]
ukd1 has joined #ruby
gyre008 has joined #ruby
pepper_chico has joined #ruby
yankeefan04 has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
gyre008 has quit [Remote host closed the connection]
pkrnj has joined #ruby
gyre007 has joined #ruby
whitedawg has quit [Quit: Leaving.]
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
butblack has left #ruby [#ruby]
ukd1 has quit [Ping timeout: 260 seconds]
astrostl has joined #ruby
nfisher has joined #ruby
joofsh has quit [Read error: Connection reset by peer]
rdk1 has left #ruby [#ruby]
postmodern has quit [Quit: Leaving]
joofsh has joined #ruby
tish has quit [Quit: Leaving.]
sambao21 has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Remote host closed the connection]
markisonfire has joined #ruby
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
nfisher has quit [Ping timeout: 240 seconds]
pepper_chico has joined #ruby
marr has quit [Ping timeout: 252 seconds]
rippa has quit [Ping timeout: 240 seconds]
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
Giorgio has joined #ruby
Giorgio has quit [Remote host closed the connection]
banister_ is now known as banisterfiend
vickaita has joined #ruby
pepper_chico has quit [Quit: Computer has gone to sleep.]
chrishough has quit [Quit: chrishough]
sambao21 has joined #ruby
pcarrier has quit [Ping timeout: 256 seconds]
vickaita has quit [Ping timeout: 256 seconds]
d34th4ck3r has quit [Read error: Connection reset by peer]
subbyyy has joined #ruby
pcarrier has joined #ruby
cantonic has quit [Quit: cantonic]
oposomme has joined #ruby
dhruvasagar has joined #ruby
WilfredTheGreat has quit [Quit: Lost terminal]
joofsh has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
cantonic has joined #ruby
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
bricker`1A has joined #ruby
joofsh has joined #ruby
sam113101 has joined #ruby
thone_ has joined #ruby
blueOxigen has joined #ruby
motto has quit [Read error: Connection reset by peer]
bricker`LA has quit [Ping timeout: 245 seconds]
motto has joined #ruby
panamera has joined #ruby
jetblack has quit [Quit: Changing server]
yankeefa_ has joined #ruby
thone has quit [Ping timeout: 240 seconds]
jetblack has joined #ruby
panamera has quit [Remote host closed the connection]
TheFuzzball has joined #ruby
bluOxigen has quit [Ping timeout: 248 seconds]
yashshah__ has quit [Read error: Connection reset by peer]
yashshah__ has joined #ruby
m8 has joined #ruby
yankeefan04 has quit [Ping timeout: 252 seconds]
JamesLever has quit [Remote host closed the connection]
kirun has joined #ruby
motto has quit [Ping timeout: 264 seconds]
Domon has joined #ruby
adambeynon has joined #ruby
wmoxam has joined #ruby
AndChat- has quit [Quit: Bye]
_br_ has quit [Excess Flood]
lkba has joined #ruby
sepp2k has joined #ruby
apeiros_ has joined #ruby
staafl has joined #ruby
jgrevich_ has joined #ruby
havenwood has joined #ruby
_br_ has joined #ruby
jgrevich has quit [Ping timeout: 248 seconds]
jgrevich_ is now known as jgrevich
workmad3 has quit [Ping timeout: 276 seconds]
_br_ has quit [Excess Flood]
Domon has quit [Ping timeout: 252 seconds]
yankeefa_ has left #ruby [#ruby]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
havenwood has quit [Remote host closed the connection]
_br_ has joined #ruby
hoelzro|away is now known as hoelzro
spider-mario has joined #ruby
_br_ has quit [Excess Flood]
mercwithamouth has quit [Quit: leaving]
becom33 has quit [Ping timeout: 252 seconds]
willw00 has joined #ruby
willw00 has quit [Client Quit]
kornnflake_zzz is now known as kornnflake
jekotia has joined #ruby
angusiguess has joined #ruby
_br_ has joined #ruby
pyrac has quit [Quit: pyrac]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
mercy____ has quit [Quit: mercy____]
generalissimo has quit [Remote host closed the connection]
Guedes0 has joined #ruby
wmoxam has quit [Ping timeout: 276 seconds]
subbyyy has quit [Ping timeout: 264 seconds]
himsin has quit [Remote host closed the connection]
Davey_ has joined #ruby
pyrac has joined #ruby
Tricon has joined #ruby
kornnflake is now known as kornnflake_zzz
himsin has joined #ruby
nonotza_ has joined #ruby
mahmoudimus has joined #ruby
nonotza has quit [Ping timeout: 245 seconds]
nonotza_ is now known as nonotza
vickaita has joined #ruby
becom33 has joined #ruby
imami|afk is now known as banseljaj
sam113101 has quit [Quit: WeeChat 0.3.8]
sam113101 has joined #ruby
floyd has joined #ruby
ArchBeOS has quit [Quit: Leaving]
nfisher has joined #ruby
joofsh has quit [Remote host closed the connection]
<Xeago> apeiros_: oracles op dude
Catbuntu has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
kirun_ has joined #ruby
<apeiros_> ¿que?
kristofers has quit [Read error: Connection reset by peer]
gyre007 has quit [Remote host closed the connection]
carraroj has joined #ruby
oposomme is now known as oposomme|away
kristofers has joined #ruby
kirun has quit [Ping timeout: 264 seconds]
nfisher has quit [Ping timeout: 264 seconds]
bricker`1A is now known as bricker`LA
hbpoison has quit [Ping timeout: 252 seconds]
dhruvasagar has quit [Ping timeout: 264 seconds]
canton7 has quit [Remote host closed the connection]
canton7 has joined #ruby
freeayu has joined #ruby
tjbiddle has joined #ruby
kornnflake_zzz is now known as kornnflake
dhruvasagar has joined #ruby
sandGorgon has quit [Ping timeout: 264 seconds]
oposomme|away has quit [Quit: Leaving...]
cantonic has quit [Quit: cantonic]
casheew has quit [Read error: Connection reset by peer]
yacks has quit [Quit: Leaving]
casheew has joined #ruby
pcarrier has quit [Ping timeout: 256 seconds]
<ToApolytoXaos> greetings everyone. is anyone using netbeans 7.3 for Ruby?
rickmasta has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
freeayu has joined #ruby
rickmasta has joined #ruby
skattyadz has joined #ruby
DrShoggoth has quit [Ping timeout: 245 seconds]
Davey_ has quit [Quit: Computer has gone to sleep.]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
grzywacz has joined #ruby
grzywacz has joined #ruby
kornnflake is now known as kornnflake_zzz
bradhe has joined #ruby
casheew has quit [Read error: Connection reset by peer]
tjbiddle has quit [Quit: tjbiddle]
LouisRoR has joined #ruby
freeayu has quit [Ping timeout: 248 seconds]
pcarrier has joined #ruby
instinkt has quit [Ping timeout: 246 seconds]
freeayu has joined #ruby
ukd1 has joined #ruby
ukd1 has quit [Remote host closed the connection]
casheew has joined #ruby
vickaita has quit [Ping timeout: 256 seconds]
atmosx has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
hbpoison has joined #ruby
slainer68 has quit [Remote host closed the connection]
pskosinski has quit [Ping timeout: 264 seconds]
monkegjinni has joined #ruby
vickaita has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
<apeiros_> Xeago: oh dude, I totally didn't get what you told me :) you're watching MLG?
vlad_starkov has quit [Remote host closed the connection]
<apeiros_> and yes, oracles OP
pskosinski has joined #ruby
<apeiros_> (I thought you were talking DBs…)
bluOxigen has joined #ruby
s1n4 has joined #ruby
blueOxigen has quit [Ping timeout: 257 seconds]
withnale has quit [Ping timeout: 252 seconds]
ukd1 has joined #ruby
ukd1 has quit [Remote host closed the connection]
freeayu__ has joined #ruby
ukd1 has joined #ruby
statarb3 has joined #ruby
Rix has joined #ruby
freeayu has quit [Ping timeout: 246 seconds]
slainer68 has joined #ruby
elux has joined #ruby
ukd1 has quit [Ping timeout: 256 seconds]
<Xeago> no, was laddering
nonotza has quit [Quit: nonotza]
<Xeago> xD
<Xeago> won 5 in a row
<matti> MLG?
<Xeago> with oracles
<Xeago> now atching blue stream
<Xeago> 80minute game
<Xeago> just ended
<Xeago> goswser and bomber
<Xeago> 1-2
slainer68 has quit [Remote host closed the connection]
<Xeago> Day9: bomber seeker missile'd an medivac and boosted it over goswsers units and killed 50 supply worth of units
freeayu__ has quit [Ping timeout: 240 seconds]
markisonfire has quit [Quit: markisonfire]
bradleyprice has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tay1 has joined #ruby
swex has joined #ruby
marr has joined #ruby
stillEPIK has joined #ruby
stillEPIK has quit [Remote host closed the connection]
EPIK has quit [Ping timeout: 252 seconds]
whitedawg has joined #ruby
sayan has quit [Ping timeout: 260 seconds]
tay1 has quit [Remote host closed the connection]
pkrnj has quit [Ping timeout: 245 seconds]
etank has joined #ruby
timonv has quit [Remote host closed the connection]
dawkirst has quit [Ping timeout: 248 seconds]
<atmosx> Hm, ruby says that this line: @db = Sequel.connect('sqlite://metrodatabase.sqlite') is wrong.
mihi has joined #ruby
<atmosx> but it's not :-/
<atmosx> I already use it in a pure ruby script and runs, but through sinatra gives me troubles
apeiros_ has quit [Remote host closed the connection]
<MrZYX> probably it just hangs on this one from a mistake on a previous line, hard to tell without context and the actual error
<atmosx> hm no, I think it's simpler than that.
<atmosx> Gemfile.lock doesn't contain sqlite3, I though that sequel will take care of it
jrajav has joined #ruby
wmoxam has joined #ruby
mihi has left #ruby ["Verlassend"]
earthquake has joined #ruby
nfisher has joined #ruby
megha has joined #ruby
baba has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<sam113101> hey guys
rippa has joined #ruby
cyong has joined #ruby
cyong has quit [Client Quit]
<sam113101> which packages do I need to install before installing rvm? I'm on ubuntu
<MrZYX> install rvm and then run rvm requirements
marcdel has quit []
pskosinski has quit [Ping timeout: 252 seconds]
pyrac has quit [Quit: pyrac]
wmoxam has quit [Ping timeout: 264 seconds]
pskosinski has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
bradleyprice has quit [Read error: Connection reset by peer]
nfisher has quit [Ping timeout: 264 seconds]
_s1n4_ has joined #ruby
dhruvasagar has joined #ruby
s1n4 has quit [Ping timeout: 245 seconds]
dawkirst has joined #ruby
Mattx has joined #ruby
LouisRoR has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby
denken has quit [Quit: leaving]
_s1n4_ is now known as s1n4
wyhaines has quit [Remote host closed the connection]
whitedawg has quit [Quit: Leaving.]
denken has joined #ruby
fantazo has joined #ruby
Matip has quit [Ping timeout: 256 seconds]
<sam113101> thanks
becom33 has quit [Quit: Leaving]
denken has quit [Client Quit]
tay| has joined #ruby
d2dchat has joined #ruby
monkegji_ has joined #ruby
tay| has quit [Read error: Connection reset by peer]
pyrac has joined #ruby
dopie has quit [Quit: Page closed]
monkegjinni has quit [Read error: Connection reset by peer]
slainer68 has joined #ruby
Hanmac has quit [Read error: Connection reset by peer]
<sam113101> did they change irb's prompt?
Hanmac has joined #ruby
<Spooner> sam113101, Don't think so, but you are better off using pry anyway.
<sam113101> what's that
ukd1 has joined #ruby
<Spooner> sam113101, http://pryrepl.org/
workmad3 has quit [Ping timeout: 264 seconds]
chrishough has joined #ruby
chrishough has quit [Client Quit]
tay1 has joined #ruby
br4ndon has joined #ruby
<tay1> is this valid? books = { Life of Pi: "Excellent", The Great Gatsby: "Awesome" }
DrShoggoth has joined #ruby
<tay1> or would it have to be Life_of_Pi ?
yashshah__ has quit [Read error: Connection reset by peer]
<canton7> :"Life of Pi"
<canton7> or just use strings, which might be more sensible
yashshah__ has joined #ruby
ukd1 has quit [Remote host closed the connection]
<Spooner> Yes, they are strings rather than symbols if it matters if they have " " or "_"
mengu__ has quit [Quit: Konversation terminated!]
<tay1> oh
<tay1> so "Life of Pi": "Excellent" would work?
ukd1 has joined #ruby
LouisRoR has joined #ruby
<Spooner> No, you'd have do do "Life of Pi" => "Excellent
<canton7> "Life of Pi" => "Excellent"
<Spooner> : is just for symbols.
<canton7> note that {key: "value"} is shorthand for {:key => "value"}
slainer68 has quit [Ping timeout: 248 seconds]
Davey_ has joined #ruby
sam113101 has quit [Quit: WeeChat 0.3.8]
<Amfy> Couldn't it be that easy to do dns requests as in Node? :(
sam113101 has joined #ruby
skattyadz has quit [Ping timeout: 240 seconds]
denken has joined #ruby
<tay1> oh ok
<Spooner> Amfy, ???
<Amfy> Spooner haven't found anything good for Ruby for making dns requests
<Amfy> and just getting the IP/Hostname back
<MrZYX> `dig +short ....` :P
<Amfy> Instead I get almost what nslookup would say
<Amfy> MrZYX :P :P
ukd1 has quit [Ping timeout: 260 seconds]
hoelzro is now known as hoelzro|away
v0n has joined #ruby
<Amfy> Always if I use such thing, there are a few small issues
skattyadz has joined #ruby
axhlf has quit [Remote host closed the connection]
swingha has quit [Quit: WeeChat 0.4.0]
<Spooner> Amfy, Resolv.new.getaddress("www.google.co.uk")=> "173.194.67.94" - easy as pie.
<Amfy> Spooner but I would need all records of www.google.co.uk, A, AAAA, MX, TXT, etc
<Amfy> (want to build a migration service for dns stuff)
<Spooner> Amfy, There is a getresource in those docs. I am not your own private google.
nga4 has quit []
<Amfy> Spooner ok, sorry
<tay1> how do you check if the value exists? would it be books[title]?
<MrZYX> that would retrieve it, if you just want to know if it's in there do books.has_key? title
<tay1> oh ok
dawkirst has quit [Ping timeout: 248 seconds]
<MrZYX> if you try to retrieve it and it's not there you'll get nil back, might work too for your usecase
ahammond has quit [Quit: ahammond]
Eldariof93-ru has quit []
razibog has quit [Ping timeout: 264 seconds]
bubblehead has joined #ruby
__Big0__ has joined #ruby
monkegji_ has quit [Remote host closed the connection]
BRMatt has joined #ruby
appamatto has quit [Ping timeout: 245 seconds]
floyd has quit [Quit: Leaving.]
generalissimo has joined #ruby
casheew has quit [Read error: Connection reset by peer]
danslo has quit [Quit: danslo]
glosoli has joined #ruby
glosoli has left #ruby [#ruby]
craig552uk has joined #ruby
k610 has joined #ruby
casheew has joined #ruby
xpen has quit [Ping timeout: 264 seconds]
LouisRoR has quit [Ping timeout: 264 seconds]
xpen has joined #ruby
craig552uk has quit [Remote host closed the connection]
Jake232 has joined #ruby
craig552uk has joined #ruby
apoch632 has quit [Quit: Leaving.]
marcdel has joined #ruby
jeffreybaird has joined #ruby
dawkirst has joined #ruby
Catbuntu has quit [Quit: Leaving]
S1kx has quit [Ping timeout: 264 seconds]
bradhe has quit [Remote host closed the connection]
ananthakumaran has quit [Quit: Leaving.]
vickaita has quit [Ping timeout: 245 seconds]
ocnam has joined #ruby
craig552uk has left #ruby [#ruby]
Davey_ has quit [Quit: Computer has gone to sleep.]
joofsh has joined #ruby
irmbrady has quit [Ping timeout: 252 seconds]
vickaita has joined #ruby
s0ber has quit [Read error: Connection reset by peer]
pyrac has quit [Quit: pyrac]
ukd1 has joined #ruby
ToApolytoXaos has quit [Quit: Leaving]
s0ber has joined #ruby
skattyadz has quit [Ping timeout: 248 seconds]
nfisher has joined #ruby
ukd1 has quit [Remote host closed the connection]
ukd1 has joined #ruby
nomenkun has quit [Remote host closed the connection]
skattyadz has joined #ruby
Xeago has quit [Remote host closed the connection]
nfisher has quit [Ping timeout: 246 seconds]
ukd1 has quit [Ping timeout: 256 seconds]
cisco has joined #ruby
pyrac has joined #ruby
Nisstyre-laptop has quit [Ping timeout: 264 seconds]
__Big0__ has quit [Remote host closed the connection]
mikurubeam has joined #ruby
ddd_ has joined #ruby
ddd has quit [Ping timeout: 245 seconds]
brianpWins has joined #ruby
mpfundstein has joined #ruby
mityaz has quit [Quit: See ya!]
squidBits has quit [Quit: squidBits]
Xeago has joined #ruby
bricker`LA is now known as bricker
hackeron has quit [Ping timeout: 276 seconds]
teddyp1cker has joined #ruby
<teddyp1cker> hi all
<teddyp1cker> how i can get a current array element index inside each block ?
eka has joined #ruby
<MrZYX> #each_with_index
Nisstyre-laptop has joined #ruby
hackeron has joined #ruby
pyrac has quit [Quit: pyrac]
Nisstyre-laptop has quit [Read error: Connection reset by peer]
Davey_ has joined #ruby
kirun_ has quit [Quit: Client exiting]
squidBits has joined #ruby
<teddyp1cker> MrZYX: ok, thanks
nari has joined #ruby
TheFuzzball has quit [Ping timeout: 252 seconds]
nomenkun has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 0.4.0]
TheFuzzball has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
atyz has joined #ruby
dawkirst has quit [Ping timeout: 255 seconds]
bradhe has joined #ruby
jdunck has joined #ruby
casheew has quit [Read error: Connection reset by peer]
jdunck has quit [Client Quit]
axhlf has joined #ruby
TheFuzzball has quit [Read error: Connection reset by peer]
nfisher has joined #ruby
frosks has joined #ruby
casheew has joined #ruby
nomenkun has quit [Ping timeout: 245 seconds]
teddyp1cker has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 245 seconds]
huttan has quit [Remote host closed the connection]
skattyadz has quit [Quit: skattyadz]
pcarrier has quit []
axhlf has quit [Ping timeout: 252 seconds]
jeffreybaird has quit [Quit: jeffreybaird]
ukd1 has joined #ruby
drumsrgr1 has joined #ruby
mikurubeam has quit [Ping timeout: 256 seconds]
huttan has joined #ruby
apeiros_ has joined #ruby
chrisramon has quit [Quit: chrisramon]
dawkirst has joined #ruby
ukd1 has quit [Read error: Operation timed out]
br4ndon has quit [Quit: Lorem ipsum dolor sit amet]
veer has joined #ruby
sepp2k has quit [Remote host closed the connection]
kristofers has quit []
atyz has quit [Quit: Leaving...]
nfisher has quit [Ping timeout: 252 seconds]
jeffreybaird has joined #ruby
danslo has joined #ruby
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
mikepack has joined #ruby
DrShoggoth has quit [Ping timeout: 264 seconds]
Dreamer3 has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
Davey_ has quit [Quit: Computer has gone to sleep.]
casheew has quit [Read error: Connection reset by peer]
joofsh has quit [Remote host closed the connection]
Opettaja has quit [Quit: WeeChat 0.4.0]
nfisher has joined #ruby
hashmal has joined #ruby
casheew has joined #ruby
Zolo has quit [Remote host closed the connection]
havenwood has joined #ruby
casheew has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
casheew has joined #ruby
`p has quit [Read error: Connection reset by peer]
jeffreybaird has quit [Quit: jeffreybaird]
drumsrgr1 has quit [Ping timeout: 260 seconds]
instinkt has joined #ruby
tylersmith has joined #ruby
casheew has quit [Read error: Connection reset by peer]
kornnflake_zzz is now known as kornnflake
casheew has joined #ruby
drumsrgr1 has joined #ruby
ryanf has quit [Quit: leaving]
DrShoggoth has joined #ruby
s1n4 has quit [Quit: leaving]
casheew has quit [Read error: Connection reset by peer]
Davey_ has joined #ruby
nfisher has quit [Ping timeout: 256 seconds]
eka has quit [Quit: Computer has gone to sleep.]
ryanf has joined #ruby
banseljaj is now known as imami|afk
alanp_ has quit [Read error: Connection reset by peer]
<otters> what's the Ruby way to make a datatype of key/value pairs where multiple keys map to one value
<apeiros_> I guess the naive way would be to use a hash with sets as keys
<spider-mario> that’s what I’d do
<ryanf> or just use a hash with one entry per key
<apeiros_> beware, though, when you change key, you have to #rehash the Hash
<spider-mario> oops, no
<spider-mario> I misunderstood it
<apeiros_> oh
<apeiros_> meh
<apeiros_> just use a hash :)
<otters> a hash with sets as keys
alanp has joined #ruby
alanp has quit [Read error: Connection reset by peer]
<atmosx> a hash for hash
<apeiros_> no need to go special
<otters> so I wouldn't use Hash#[] for lookup
<ryanf> a hash with sets as keys seems pointless
<apeiros_> x = "hi"; {a: x, b: x}
casheew has joined #ruby
<apeiros_> multiple keys map the same value
<otters> heh
alanp has joined #ruby
yashshah__ has quit [Read error: Connection reset by peer]
<ryanf> yeah, I think that makes way more sense
yashshah__ has joined #ruby
<otters> yeah maybe I'll just subclass Hash and overload []= to insert the auxiliary key/value pair
joofsh has joined #ruby
<apeiros_> o0
<apeiros_> you don't need to do anything special. a hash can do that already.
<apeiros_> unless I misunderstood your question
<otters> well, except I need to update the value of some keys
<otters> maybe I'm doing this in a really terrible way
<otters> I need to store a list of teams indexed by team name and owner name
tommyvyo has quit [Quit:]
<apeiros_> when you change the team object, it'll update for every key
chrisramon has joined #ruby
<otters> right, but if I change the owner name, that key needs to change
<apeiros_> again, no need to do anything special
<apeiros_> yes
<MrZYX> can't you put the Arrays/Sets as values and use #detect?
<MrZYX> or do you need to do a ton of lookups?
<otters> yeah, that's how I'm doing it now
<otters> no, I don't
vickaita has quit [Ping timeout: 240 seconds]
ukd1 has joined #ruby
<otters> this is kind of a pet project, I just want to figure out a way to do it
<MrZYX> I'd even consider putting each item in the array as key and just have the value multiple times in the hash
<otters> that's what we're doing now
casheew has quit [Read error: Connection reset by peer]
<MrZYX> well with detect I meant something like hash.detect {|key, value| value.include? search }.first
casheew has joined #ruby
<otters> right
<otters> that's what I used to be doing
v0n has quit [Read error: Operation timed out]
drale2k has joined #ruby
skattyadz has joined #ruby
spider-mario has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
dawkirst has quit [Ping timeout: 252 seconds]
danneu1 has quit [Ping timeout: 252 seconds]
IceDragon has quit [Ping timeout: 245 seconds]
<lectrick> Anyone know why my version of 1.9.3 doesn't include most of the GC methods listed here http://ruby-doc.org/core-1.9.3/GC.html
casheew has joined #ruby
jamesfung14 has joined #ruby
randomor has joined #ruby
nomenkun has joined #ruby
kornnflake is now known as kornnflake_zzz
etcetera has joined #ruby
rickmasta has quit [Quit: Leaving...]
elaptics is now known as elaptics`away
<lectrick> for example, GC.malloc_allocated_size
<apeiros_> MrZYX: hash.detect {|key, value| value.include? search }.first # this completely defeats the purpose of having a hash in the first place
wargasm has quit [Ping timeout: 240 seconds]
dEPy has quit []
chipotle_ has joined #ruby
nomenkun has quit [Ping timeout: 245 seconds]
vickaita has joined #ruby
bradhe has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
estan has joined #ruby
wargasm has joined #ruby
whowantstolivef1 has quit [Ping timeout: 264 seconds]
dawkirst has joined #ruby
<estan> hi folks. i accidently did a "bundle install" on a freebsd server of mine and entered my password, which resulted in bundler installing a bunch of gems system wide, which was not my intention :/ is there a way to distinguish gems installed by bundler and those that weren't (in my case they come from FreeBSD ports).
<estan> because i'd like to remove them.
<MrZYX> hm
<estan> i'm also afraid that the bundler-installed gems may have overwritten gems installed through FreeBSD ports. but i'll have to deal with that later.
codecop has quit [Read error: Connection reset by peer]
<MrZYX> bundle list | cut -d ' ' -f4 | xargs gem uninstall (completly untested
nfisher has joined #ruby
<MrZYX> one might be able to hack that further up to include the exact versions
justsee has quit [Ping timeout: 245 seconds]
malnek has joined #ruby
<estan> ah. right. i'll experiment some. thanks.
ocnam has quit [Quit: Quit: Textual IRC Client: http://www.textualapp.com/]
kornnflake_zzz is now known as kornnflake
kornnflake is now known as kornnflake_zzz
casheew has quit [Read error: Connection reset by peer]
kornnflake_zzz is now known as kornnflake
casheew has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
TheFuzzball has joined #ruby
hashmal has quit [Quit: Computer has gone to sleep.]
tjbiddle has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
vickaita has quit [Ping timeout: 245 seconds]
tjbiddle_ has joined #ruby
Opettaja has joined #ruby
sambao21 has joined #ruby
casheew has quit [Read error: Connection reset by peer]
nfisher has quit [Ping timeout: 245 seconds]
<malnek> I'm having a small problem getting Qt to work on windows. Ive installed it through "gem install qtbindings" which it claimed was a success. yet i can not make it run, just get a error saying that the module was not found. Ive done a google search and tried a solution that got rated highly on stackoverflow, but i can not make it work. Could anyone have a quick peek at this and point me in (hopefully)
<malnek> the right direction? http://pastebin.com/dyMxmbpb
bradhe has joined #ruby
bradhe has quit [Remote host closed the connection]
casheew has joined #ruby
tjbiddle has quit [Ping timeout: 276 seconds]
tjbiddle_ is now known as tjbiddle
pepper_chico has joined #ruby
slapt has joined #ruby
DrShoggoth has quit [Quit: Leaving]
<slapt> anybody have some direction on a good static site generator for documenting an API? Less blogging, more documents... jekyll/octopress could work, but aren't tuned toward what I want by default
mpfundstein has quit [Remote host closed the connection]
<slapt> (a Javascript API - my REST API is documented with apipie, but it's a pain to extend with custom docs)
<apeiros_> nanoc is another site generator I've heard of
astrostl has quit []
<Paradox> nanoc is ok
<Paradox> but kind of shitty
jlkjl has joined #ruby
Voting has quit [Ping timeout: 260 seconds]
<Paradox> nanoc and jekyll's biggest problems are that you have to use some shitty template engine just to run one that isnt shitty
<Paradox> in jekylls case, its liquid
<Xeago> slapt: look at karmi.github.com/tire/
<Xeago> if you like that
<Xeago> forgot what it was called
<Paradox> one of my favorite tricks is using sinatra and a gem, cant remember which, that saves the pages you generate as HTML
BRMatt has quit [Ping timeout: 252 seconds]
<Paradox> ah yeah
<Paradox> that
<Xeago> rocco/docco other clones
philipd has joined #ruby
philipd has quit [Max SendQ exceeded]
<Xeago> I really like that way of documenting an API
<Xeago> you can focus reading the code
Davey_ has quit [Quit: Computer has gone to sleep.]
ukd1 has quit [Ping timeout: 245 seconds]
<Xeago> and skim the documentation when unsure
hbpoison has quit [Ping timeout: 255 seconds]
nomenkun has joined #ruby
ukd1 has joined #ruby
gtc has quit [Quit: kill -9 gtc]
tommyvyo has joined #ruby
malnek2 has joined #ruby
dallasm has quit [Remote host closed the connection]
<slapt> so the nicest _looking_ of this goes to nanoc - if http://developer.github.com/ is actually written with it. I'm working through tire and sinatra static and rocco options right now. Rocco / docco pointed me to https://github.com/visionmedia/dox for JS
m8 has quit [Quit: Sto andando via]
gtc has joined #ruby
squidBits has quit [Quit: whoops]
<Paradox> oh also
<Paradox> yardoc
tommyvyo has quit [Client Quit]
malnek has quit [Ping timeout: 255 seconds]
malnek2 is now known as malnek
chipotle_ has quit [Quit: cya]
instinkt has quit [Quit: Lost terminal]
<Spooner> Paradox, Jekyll only requires you to use liquid if you want to host it live on Github. Both Jekyll and nanoc are more than happy with HAML/Slim/markdown and all the other standard stuff.
<Paradox> Spooner, ah, cool then
<slapt> Paradox: got that one running for our internal dev team's app documentation. Going to try out nanoc as the first option, appreciate the help guys
<Paradox> i like the sinatra workflow because its simple and flexible
<Spooner> slapt, There is a #nanoc if you get into trouble. I have a nanoc site on github (with markdown and Slim).
LouisRoR has joined #ruby
skattyadz has quit [Quit: skattyadz]
sambao21 has quit [Quit: Computer has gone to sleep.]
<slapt> Spooner: awesome, that's probably the stack I'll set up
<Paradox> Spooner, ooh slim
<Paradox> i love slim
Nisstyre-laptop has joined #ruby
<Paradox> i learned HAML
<slapt> and, btw, Hi, I'm slapt, I've been a developer for a long time, looking forward to spending some more time with you folks. Any crazies in this community I shouldn't listen to?
<Paradox> and was happy but slightly dissatisfied i had to write % everywhere
nomenkun has quit [Ping timeout: 246 seconds]
<Paradox> slapt, nah, from what i've seen #ruby is pretty damn friendlly
<Paradox> #rubyonrails and #ruby-lang can be a little more…sperglordy?
<Spooner> Yeah, it makes more sense to default to tags, since you should mainly be doing layout anyway.
<Paradox> i mean, seriously
<Paradox> for HTML4 HAML made sense
<Paradox> where everything was divs
<Paradox> but HTML5
<Spooner> slapt, Don't follow any links that banisterfiend gives you :D
<Paradox> %html %head %title
<Paradox> versus html head title
<Paradox> thats much better
Dreamer3 has quit [Quit: Computer has gone to sleep.]
<slapt> Spooner: heh, exactly what I needed to know
<Paradox> nah
<Paradox> banister is a great guy
<Paradox> pry is one of the best tool i've ever used
<Spooner> I didn't cast aspersions on his developing skills!
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
<Paradox> lol
appamatto has joined #ruby
sambao21 has joined #ruby