apeiros changed the topic of #ruby to: Ruby 2.1.0; 2.0.0-p353; 1.9.3-p484: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
aryaching has quit []
Ziarkaen has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
Kricir has quit [Remote host closed the connection]
<koell> im not a developer, just would like to get my spotify playlist as textfile :)
<platzhirsch> :o
dvarrui has joined #ruby
<centrx> koell, Paste the full error message
<koell> ok wait
<centrx> In pastie or gist
PLejeck has quit [Changing host]
PLejeck has joined #ruby
PLejeck is now known as nuck
ndrei has quit [Ping timeout: 248 seconds]
tvw has quit [Remote host closed the connection]
Aryasam has joined #ruby
Kricir has joined #ruby
tkuchiki has quit [Remote host closed the connection]
cmedeiros has quit [Ping timeout: 246 seconds]
itadder has quit [Ping timeout: 245 seconds]
mlpinit_ has joined #ruby
<centrx> koell, apt-get install build-essential
mlpinit_ has quit [Client Quit]
<koell> already installed :(
nari has joined #ruby
vlad_starkov has quit [Ping timeout: 272 seconds]
<koell> ok no problem, will try the other solution via php :)
<centrx> apt-get install ruby-dev
<centrx> PHP is an abomination and a scourge on the face of the earth.
angusiguess has joined #ruby
<koell> i know, u r the cool guys in da city :>
<centrx> No, everything is better than PHP
<koell> idts
<lethjakman> ASM > PHP
<centrx> Java, C#, Python, Perl
jonah_k has quit [Remote host closed the connection]
predator217 has joined #ruby
mlpinit has quit [Ping timeout: 252 seconds]
Brolen has joined #ruby
<koell> centrx: great it works now, thank u <3
ktosiek_ has joined #ruby
MrSamuel has quit [Ping timeout: 272 seconds]
ktosiek has quit [Ping timeout: 248 seconds]
<koell> i obey u, u r my goddess <3
<centrx> Thanks...
MrSamuel has joined #ruby
<centrx> Do not ever use PHP again, and you will be blessed.
<platzhirsch> So many hearts, some romantic vibes huh
<koell> yes master
predator117 has quit [Ping timeout: 272 seconds]
joelbrewer has joined #ruby
asmodlol has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
dopie has joined #ruby
<dopie> anyone here ever use JSON and httparty?
<koell> im in love with JSON <3 <3 <3
<yeboot> I prefer YAML
Guest36124 has quit [Ping timeout: 248 seconds]
<yeboot> but JSON is really cool since the majority of web apis are written in it
<dopie> i prefer something i can grasp
<dopie> having a hard time here
<yeboot> dopie yaml is easier than json technically
<yeboot> but json is pretty easy as well
<dopie> yeboot, never even touched it other than today
<koell> yaml is json without brackets
Kricir has quit [Remote host closed the connection]
<dopie> am i missing information
<dopie> to help you guys steer me on what i am supposed to do
jonah_k has joined #ruby
<centrx> Not much usable info in that gist
rootshift has joined #ruby
<dopie> ok
<dopie> i will send then link
dorei has quit [Read error: Connection reset by peer]
VTLob has quit [Quit: VTLob]
<yeboot> dopie it's basically like "key" : <VALUE>
<centrx> Use JSON.decode to get Ruby objects of the JSON
gbt has quit [Quit: Leaving...]
<yeboot> where value can be a number, string, boolean, array, another object, or nothing
dorei has joined #ruby
<dopie> heres my question
mojjojo has quit [Quit: mojjojo]
<dopie> each time i make a request i have to post the cientId and password?
<dopie> clent
<dopie> client
p8952 has quit [K-Lined]
slowcon has joined #ruby
<yeboot> dopie go ahead and require 'json' in irb and use the to_json method for a couple objects
Soliah has quit [Quit: Soliah]
<yeboot> you'll see how json objects can look iwth a lot of examples
<dopie> yeboot, now im even more lost
<dopie> :)
<dopie> i do a to_json on what?
<yeboot> oh dopie just take some objects you've made
[gmi] has quit [Quit: Leaving]
<yeboot> on the interactive console
<dopie> im there
<yeboot> make sure you have the json module loaded
<dopie> im in pry
<yeboot> if you have the gem
<dopie> and ype require 'json'
<dopie> and it says fail
<yeboot> yeah
<dopie> i mena
<dopie> false
<yeboot> wait pry or irb
<yeboot> what's pry
ner0x has quit [Quit: Leaving]
jaimef has quit [Ping timeout: 245 seconds]
mib_mib has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby
<yeboot> ah
<lagweezle> Not just for rails.
mojjojo has joined #ruby
jfelchner has joined #ruby
srji_ has joined #ruby
<def_alec> I second the pry recommends
burlyscudd has quit [Quit: Leaving.]
<yeboot> it's good?
<dopie> its cute
<dopie> :)
cantonic has quit [Quit: cantonic]
tjr9898 has quit [Remote host closed the connection]
srji has quit [Ping timeout: 252 seconds]
<koell> centrx: r u a mistress?
kevind has quit [Quit: kevind]
AlSquirrel has quit [Quit: This computer has gone to sleep]
<dopie> ok
<dopie> so how do i make a search request??
Brolen has quit [Remote host closed the connection]
<centrx> I am a dominatrix
<deepa> php developer_
<deepa> ?*
<centrx> PHP is an abomination and a scourge on the face of the earth.
nowthatsamatt has quit [Quit: nowthatsamatt]
hello_world has joined #ruby
tjr9898 has joined #ruby
lethjakman has quit [Ping timeout: 246 seconds]
sailias has joined #ruby
fgo has joined #ruby
lethjakman has joined #ruby
<dopie> php makes me vomit ike the girl in that movie who wsa possesed
axsuul has quit [Ping timeout: 252 seconds]
nateberkopec has quit [Quit: Leaving...]
<koell> now, im horny :(
baroquebobcat has quit [Ping timeout: 248 seconds]
<dopie> the exorcist
<hello_world> koell: get some sleep
<dopie> :P
razibog has quit [Ping timeout: 264 seconds]
jaimef has joined #ruby
<koell> i wear a chastity device, can't sleep now :(
<slowcon> what up centrx
nanoyak has quit [Quit: Computer has gone to sleep.]
Cooler_ has quit []
<platzhirsch> So Valentins Day came up, is that still a thing? Apparently?
<centrx> Ahoy
<centrx> platzhirsch, Do not Valentine's Day!
zz_karupanerura is now known as karupanerura
msmith_ has quit []
<dopie> platzhirsch, it is if you have a gf or bf or a significant other
Zunonia has joined #ruby
zachallett has quit [Remote host closed the connection]
<platzhirsch> I think you are missing another verb, take some
<dopie> just another day for us men to spend money on their gf
<platzhirsch> dopie: Where are you from?
TwinkleH1od is now known as TwinkleHood
<dopie> im from brasil
<dopie> living in miami
<platzhirsch> It's established in Germany, but I think in USA is has more important role, doesn't it?
<platzhirsch> some use the day for what the industry dictates here in Germany, but it's not too spread
<dorei> valentine's day is a conspiracy of chocolate producers and flower retailers :p
<dopie> yeah it has
shoerain has left #ruby ["WeeChat 0.4.2-dev"]
<dopie> dorei, i agree
<centrx> "Hallmark holiday"
<platzhirsch> dopie: Is no one opposing it in the USA? :P
<dopie> why would they
<dopie> it makes $$$$
<dorei> any one from japan here?
<platzhirsch> No, I mean of course. The crowd does what ever they are told to do, but I mean intellectuals
<dopie> spend $100 dllars on a $1 rose
<yeboot> >fan detected
<dorei> i think at japan at valentine's day, women offer chocolate to all the males @ office
jfoy has joined #ruby
rayners has quit [Ping timeout: 272 seconds]
<dopie> japan women dress up as sluts and go office to office offering happy endings
b00stfr3ak has quit [Quit: leaving]
tselatra has quit [Remote host closed the connection]
<dorei> dopie: I think japanese people are a bit shy to act like that :p
tselatra has joined #ruby
thumpba has quit [Remote host closed the connection]
axsuul has joined #ruby
<platzhirsch> I mean, if you do something nice, like go into the theater or so, what's the harm, but buying flowers and chocolate seems so ridiculous
thumpba has joined #ruby
malkomalko has joined #ruby
snath has quit [Ping timeout: 252 seconds]
malkomalko has quit [Client Quit]
mikepack_ has joined #ruby
thumpba has quit [Ping timeout: 248 seconds]
tselatra has quit [Ping timeout: 260 seconds]
RoxasShadowRS has quit [Quit: Leaving]
Kricir has joined #ruby
starfox21 has quit [Quit: starfox21]
vlad_starkov has joined #ruby
Sawbones has joined #ruby
Hiall has joined #ruby
Aryasam has quit [Ping timeout: 245 seconds]
Sawbones has quit [Client Quit]
fuhgeddaboudit has joined #ruby
senayar has quit [Remote host closed the connection]
mark_locklear has quit [Ping timeout: 252 seconds]
dvarrui has quit [Ping timeout: 260 seconds]
mikepack has quit [Ping timeout: 246 seconds]
mojjojo has quit [Quit: mojjojo]
CaptainJet has quit []
Jdubs has quit [Remote host closed the connection]
mikepack_ has quit [Ping timeout: 245 seconds]
joelbrewer has quit [Ping timeout: 245 seconds]
Sc0rp10n has quit [Remote host closed the connection]
tkuchiki has joined #ruby
MrSamuel has quit [Quit: MrSamuel]
maroloccio has joined #ruby
Bira has quit []
vlad_starkov has quit [Ping timeout: 260 seconds]
burlyscudd has joined #ruby
burlyscudd1 has joined #ruby
burlyscudd has quit [Read error: Connection reset by peer]
CaptainJet has joined #ruby
jonah_k has quit [Remote host closed the connection]
Megtastique has joined #ruby
joelbrewer has joined #ruby
Kricir has quit [Ping timeout: 246 seconds]
burlyscudd1 has quit [Ping timeout: 260 seconds]
rmorello has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
saarinen has quit [Read error: Connection reset by peer]
snath has joined #ruby
top4o has joined #ruby
Vovko has quit [Remote host closed the connection]
lmickh has quit [Ping timeout: 252 seconds]
Hobogrammer has quit [Ping timeout: 252 seconds]
speckle has quit [Read error: Connection reset by peer]
sdelmore has joined #ruby
saarinen has joined #ruby
MindfulMonk has quit [Read error: Operation timed out]
Es0teric has quit [Ping timeout: 260 seconds]
Celm has quit [Remote host closed the connection]
tjr9898 has quit [Remote host closed the connection]
Jdubs has joined #ruby
tjr9898 has joined #ruby
robustus has quit [Ping timeout: 245 seconds]
Es0teric has joined #ruby
agjacome has joined #ruby
bricker`LA has quit [Ping timeout: 246 seconds]
Celm has joined #ruby
razrunelord has quit [Ping timeout: 260 seconds]
robustus has joined #ruby
sparrovv has quit [Remote host closed the connection]
aspires has quit []
sdelmore has quit [Quit: Leaving.]
werdnativ has quit [Ping timeout: 272 seconds]
Kricir has joined #ruby
mansi has joined #ruby
aspires has joined #ruby
Megtastique has quit []
pel_daniel has left #ruby [#ruby]
jmimi has joined #ruby
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
jackal_ has joined #ruby
jizanthapus-work has quit [Read error: Connection reset by peer]
jackal_ is now known as Guest73779
<agent_white> It may be to you, but girls like flowers!
agjacome_ has joined #ruby
<jclrb> Well, umm, my husband is cooking paninis and that's it. I'm making dessert. Makes me sick to hear people wonder what jewelry to get for their wives /this year/
lachesis has left #ruby ["Leaving"]
pietr0 has quit [Quit: pietr0]
<jclrb> But that's because we like any excuse we can get to eat paninis :)
<agent_white> I like that thinkin! :D
<centrx> paninis taste better than rocks
dingus_khan has joined #ruby
<centrx> unless it's rock candy
<agent_white> centrx: Finn from Adventure Time would disagree!
<jclrb> Yeah we generally don't eat bread or pasta, for us it's a nice treat once in a while
pietr0 has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
hello_world has quit [Ping timeout: 245 seconds]
agjacome has quit [Ping timeout: 260 seconds]
<dorei> no bread or pasta? :O
<waxjar> no bread or pasta? :o
centrx has quit [Remote host closed the connection]
<jclrb> no bread or pasta? :o
<agent_white> No bread OR pasta?! o_o
axsuul has joined #ruby
centrx has joined #ruby
axsuul has quit [Max SendQ exceeded]
axsuul has joined #ruby
<jclrb> (ugh do I have to answer that? ^^)
tselatra has joined #ruby
drim has joined #ruby
<jclrb> But we eat plenty of bacon.
top4o has quit [Read error: Connection reset by peer]
<jclrb> (that makes us sound sane, right?)
<waxjar> plenty of bacon? :o
def_alec has left #ruby ["Leaving"]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
mikepack has joined #ruby
pranny has quit [Quit: Leaving.]
bbloom has joined #ruby
Vovko has joined #ruby
lyanchih has joined #ruby
mehlah has joined #ruby
saarinen has quit [Quit: saarinen]
burgess has joined #ruby
pietr0 has quit [Ping timeout: 252 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
i_s has quit [Remote host closed the connection]
<Guest73779> i smell bacon
Guest73779 is now known as godparticlecance
<godparticlecance> anyone used visual ruby / glade before?
<agent_white> jclrb: We'll forget about the pasta nonsense... for now...
<jclrb> well there's always noodles...
<drim> what's the best way to extract text from html (for email for example)
<godparticlecance> my question : what would be better to learn gtk or visual ruby
<centrx> drim, Nokogiri
Vovko has quit [Remote host closed the connection]
<godparticlecance> anyone have advice?
mikepack has quit [Ping timeout: 260 seconds]
S0da has quit [Remote host closed the connection]
veduardo has left #ruby [#ruby]
tjr9898 has quit [Remote host closed the connection]
<godparticlecance> also, can someone suggest what the best intermediate ruby book is
brandon_ has quit [Ping timeout: 252 seconds]
<jclrb> What platform are you making software for godparticlecance
subbyyy has quit [Ping timeout: 245 seconds]
<godparticlecance> i would like cross
<godparticlecance> i use ubuntu but would like my programs to at least be workable on windows as well
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dopie> ugh anyone can help here?
<drim> centrx: I tried loofah but when I use it to extract text (to_text) im getting - !ruby/exception:Nokogiri::XML::SyntaxError
timonv has joined #ruby
lachesis has joined #ruby
<drim> centrx: is there a way to bypass that?
<godparticlecance> centrx i have the ebook of that, the wording is very... complex anything a little more dumbed down
<centrx> drim, I don't know, sounds like a syntax error in your code or in loofah. You can use Nokogiri directly if you want
Pixels has left #ruby ["//TODO: Add quit message."]
Jdubs has quit [Remote host closed the connection]
<drim> centrx: Its not my code, trying to extract text from email body
sdwrage_ has quit [Quit: This computer has gone to sleep]
<centrx> godparticlecance, I don't know, that's the standard recommendation
<agent_white> Oh yeah I'll definitely be adding that in
<agent_white> mt
CpuID has joined #ruby
havenwood has joined #ruby
<waxjar> godparticlecance: i think i learned more from following rubyflow, /r/ruby and this channel than from books when i understood the basics
<centrx> dopie, Is what you have there querying cityId not working?
<dopie> i dno
<dopie> no
<dopie> its not
<dopie> but im pretty sure im doing it wrong
Vovko has joined #ruby
<centrx> dopie, Is it returning an error?
lyanchih has quit [Quit: lyanchih]
timonv has quit [Ping timeout: 246 seconds]
<godparticlecance> waxjar: what is /r/ruby
jack_rabbit has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<dopie> yes
<godparticlecance> is that reddit?
<waxjar> a ruby subreddit: http://reddit.com/r/ruby
<godparticlecance> wow thank you any other suggestions?!
<agent_white> Ruby sub is so dead D:
burgess has quit [Ping timeout: 246 seconds]
dorei has quit []
<godparticlecance> im at that awkward phase where i can make simple stuff very fast and well but i havnt found a way to move forward past simple syntax stuff
dmarr has quit [Remote host closed the connection]
lyanchih has joined #ruby
burgess has joined #ruby
<centrx> godparticlecance, What was complicated about the Pickaxe book?
dingus_khan has quit [Remote host closed the connection]
<godparticlecance> the beginning, i know how all the beginning sytax works already, but the format and the order of which he introduced the stuff scared me away from going forward in it
<godparticlecance> i want to say he introduced blocked and lambdas before operators lol
jefflyne has joined #ruby
bogeyd6 has joined #ruby
jefflyne has quit [Max SendQ exceeded]
starfox21 has joined #ruby
<waxjar> operators in ruby are not so interesting, because they're just methods with some syntax sugar
maroloccio has quit [Ping timeout: 260 seconds]
jefflyne has joined #ruby
sambao21 has joined #ruby
<centrx> and operators are basically the same in every language
<godparticlecance> i agree but in terms of being a totaly newb programmer, if i hadnt read 10000 ruby intro guides already i would have been crosseyed
<centrx> godparticlecance, If you already know the basics, it is good that he started with the intermediate level then
<centrx> godparticlecance, Right, but now you have read 10_000 ruby intro guides...
brandon_ has joined #ruby
werdnativ has joined #ruby
<godparticlecance> yes centrx but the funny thing is that i know how to explain this stuff but not use it practicly
DanBoy has joined #ruby
<centrx> godparticlecance, Have you tried http://rubykoans.com/
lfox has quit [Quit: ZZZzzz…]
dmarr has joined #ruby
lfox has joined #ruby
<godparticlecance> is this similar to monk?
lfox has quit [Max SendQ exceeded]
Wolland has joined #ruby
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
law has joined #ruby
dmarr has quit [Remote host closed the connection]
<law> hey all, I'm following a book's examples of test-driven-design, and I think one of the code examples is bad
<law> why is this http://pastebin.com/eiYPwDvN giving me a NilClass error for '+'?
<centrx> godparticlecance, I guess
mocfive has joined #ruby
vlad_starkov has joined #ruby
shinobi_one has left #ruby [#ruby]
<centrx> law, @score is nil
thomasxie has joined #ruby
<waxjar> law: if you didn't set @score to anything, it's nil and nil (the only instance of NilClass) doesn't have a #+
<law> ok, so do I set @score = 0 at the top of the definition?
<law> how can I make this do what the author intended?
<centrx> How would we know what the author intended?
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<law> I suspect he intended @score to be a counter
bogeyd6 has quit [Ping timeout: 245 seconds]
bogeyd6 has joined #ruby
<waxjar> is there no #initialize?
<godparticlecance> this looks fun centrx thank you so much
<godparticlecance> later yall im gonna play with this
godparticlecance has quit [Quit: Leaving]
dmarr has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<slowcon> yooo centrx
vlad_starkov has quit [Ping timeout: 245 seconds]
<centrx> Ahoy
<Nowaker> law: you may use this code to preinitialize variable if it doesn't exist. @blah ||= 0
figgleberry has quit [Ping timeout: 248 seconds]
<Nowaker> and it won't assign zero to @blah if it stores any number
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
sensen has joined #ruby
dx7 has quit [Remote host closed the connection]
dx7 has joined #ruby
Wolland has quit [Remote host closed the connection]
<slowcon> centrx before you were talking about building a single array? i can't remember your idea
CaptainKnots has quit [Quit: bazinga!]
CaptainKnots has joined #ruby
wioux has joined #ruby
havenwood has quit []
burlyscudd has quit [Ping timeout: 246 seconds]
Wolland has joined #ruby
papito has quit [Ping timeout: 260 seconds]
<centrx> slowcon, Yes, genres << [genre, link_id]
<wioux> i'm writing an extension that's going to receive signals from glib -- is it safe to rb_proc_call within the handler?
Karunamon has quit [Quit: ZNC - http://znc.in]
TK|2 has joined #ruby
dx7 has quit [Ping timeout: 272 seconds]
Lewix has joined #ruby
TK|2 is now known as Karunamon
ultraflash3 has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 252 seconds]
lethjakman has quit [Ping timeout: 246 seconds]
Nyyx has quit [Ping timeout: 246 seconds]
benzrf has joined #ruby
<benzrf> something i found amusing:
<benzrf> im storing users' full names in 2 parts
<benzrf> if i put them in a 2-arg array, i can do name.first and name.last
<benzrf> :D
<platzhirsch> Is there a graph/tree data structure for Ruby to re-use?
<benzrf> graph or tree, platzhirsch?
<benzrf> trees are more specific
<platzhirsch> benzrf: hilarious. Graphs
<benzrf> not that i specifically know of
<platzhirsch> :(
<benzrf> i wrote something for graphs a while back
<benzrf> it wasnt too hard
<centrx> There is but it is old
burgess has quit [Quit: ^zzz]
<platzhirsch> okay, then I do what every other developers would do anyway, roll my own
<platzhirsch> Because reuse is for underachiever
m4rcu5 has quit [Ping timeout: 264 seconds]
<platzhirsch> benzrf: the example with name is pretty cool, literate programming, you are doing it right
<benzrf> hah
<centrx> platzhirsch, rgl 0.4.0 August 27, 2008 (72.5 KB)
<benzrf> i think that is not what literate programming means
b00stfr3ak has joined #ruby
<benzrf> platzhirsch: i asked about graph vs tree because arrays can be trees easily
<benzrf> look at lisp o:
<centrx> Maybe I should write one...
<platzhirsch> Yeah, heaps are naturally implemented using an array
<centrx> RubyTree is maintained
<platzhirsch> benzrf: Are you sure, what else is litereate programming to be meant. Code that can be read like English sentences
<platzhirsch> yeah, but I need a graph structure, or do you disagree? I need to model pages, how the pages are interlinked and what static resources they depend on. So I would model PageNode and AssetNode
derek_c has joined #ruby
<centrx> platzhirsch, You can use a simple database table for that..
<centrx> (and thus you can use a simple array of tuples for it as well)
<Xuisce> hey all
<Xuisce> :)
Vovko has quit [Remote host closed the connection]
<platzhirsch> mh, I don't know. I mean yes you can, but I want to calculate that on the fly anyway and not store in a database
iliketurtles has joined #ruby
Hanmac has joined #ruby
<benzrf> platzhirsch: i understood literate programming as meaning when you write a document explaining a program which ignores everything except the code snippets when run
<benzrf> maybe that is a different thing o-o
bkparso has quit [Ping timeout: 245 seconds]
johnmilton has quit [Read error: Connection reset by peer]
Hanmac1 has quit [Ping timeout: 260 seconds]
dmarr has quit [Read error: Connection reset by peer]
ephemerian has quit [Quit: Leaving.]
nszceta has quit [Remote host closed the connection]
<platzhirsch> benzrf: Yeah, I know what you mean *sigh* I should go read the book
<benzrf> o:
<benzrf> what book?
<platzhirsch> Literate Programming?
<platzhirsch> Donald Knuth
<benzrf> ohcibi:
<benzrf> *oh
Celm has quit [Remote host closed the connection]
wioux has left #ruby [#ruby]
kpshek has joined #ruby
<platzhirsch> good night everyone, have quite some hustling on my plate tomorrow
<benzrf> gnight =)
neohunter has joined #ruby
<neohunter> hi
<benzrf> sup neohunter
<benzrf> need help?
dmarr has joined #ruby
<neohunter> about rails, im inserting a ruby script into my rails app... i want it to run 24x7.... should I put it as a rake task?
platzhirsch has left #ruby [#ruby]
TripTastic has joined #ruby
<benzrf> i believe rails inquiries are supposed to go to #rails
<benzrf> dw it's p active iirc
bkparso has joined #ruby
thomasxie has quit [Ping timeout: 252 seconds]
acoyfellow has quit [Remote host closed the connection]
JBreit has quit [Ping timeout: 252 seconds]
mikepack has joined #ruby
bkparso has quit [Client Quit]
pranny has joined #ruby
fgo has quit [Remote host closed the connection]
mocfive has quit [Remote host closed the connection]
jfoy has quit [Quit: jfoy]
mocfive has joined #ruby
mikepack has quit [Ping timeout: 252 seconds]
mikepack_ has joined #ruby
tselatra has quit [Remote host closed the connection]
f3ttX] has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
pranny has quit [Ping timeout: 260 seconds]
Vovko has joined #ruby
neohunter has quit [Quit: Linkinus - http://linkinus.com]
mikepack_ has quit [Remote host closed the connection]
mocfive has quit [Ping timeout: 245 seconds]
jamto11 has joined #ruby
mikepack has joined #ruby
jclrb has quit [Quit: jclrb]
f3ttX] has left #ruby [#ruby]
tharindu has joined #ruby
amclain has joined #ruby
mikepack has quit [Ping timeout: 272 seconds]
Vovko has quit []
mehlah has quit [Quit: Leaving...]
habanany has joined #ruby
<MJBrune> ugh comcast at it again
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby
<MJBrune> comcast deals with like 100% of media and internet providers in the world.
<MJBrune> they are entirely too big as it is now
tjr9898 has joined #ruby
Hobogrammer has joined #ruby
pwh_ has joined #ruby
zeade has quit [Quit: Leaving.]
pwh_ has quit [Max SendQ exceeded]
pwh has quit [Ping timeout: 252 seconds]
pwh has joined #ruby
axsuul has joined #ruby
vlad_starkov has joined #ruby
tylersmith has quit [Ping timeout: 245 seconds]
asteros has quit [Quit: asteros]
Brolen has joined #ruby
Noldorin has quit []
Megtastique has joined #ruby
vlad_starkov has quit [Ping timeout: 272 seconds]
Deele has quit [Ping timeout: 260 seconds]
Hanmac1 has joined #ruby
burlyscudd has joined #ruby
reset has joined #ruby
slowcon has quit [Quit: slowcon]
jackal_ has joined #ruby
tselatra has joined #ruby
<jackal_> hey there, i have a question about symbols
jackal_ is now known as Guest32567
Hanmac has quit [Ping timeout: 260 seconds]
<Guest32567> i am confused about what they are/what they are for. I see them used in arrays, i see them used to represent variables, i see them used to represent methods, what are they IM GOING MAD!!
Spami has quit [Quit: This computer has gone to sleep]
<Guest32567> symbols**
tjr9898 has quit [Remote host closed the connection]
aspires has quit []
<centrx> Guest32567, They are like efficient but less featureful strings
<Guest32567> hmmm
cashnguns has joined #ruby
<Guest32567> still do not understand
sdelmore has joined #ruby
<centrx> They are like strings
burlyscudd has quit [Ping timeout: 245 seconds]
_reset has quit [Ping timeout: 252 seconds]
reset has quit [Ping timeout: 260 seconds]
<Guest32567> then why not just do attr_accessor variable
burgess has joined #ruby
<centrx> That is totally different?
<Guest32567> but i see symbols used there as well
<Guest32567> it seems they are like variables
top4o has joined #ruby
danshultz has quit [Remote host closed the connection]
fgo has joined #ruby
danshultz has joined #ruby
sdelmore has quit [Client Quit]
Guest32567 has quit [Quit: Leaving]
danshultz has quit [Read error: Connection reset by peer]
fgo has quit [Read error: No route to host]
fgo_ has joined #ruby
danshultz has joined #ruby
jmimi has quit [Quit: Leaving.]
dx7 has joined #ruby
cj3kim has joined #ruby
yfeldblum has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
Megtastique has quit []
danman has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
joelbrewer has quit [Ping timeout: 252 seconds]
fgo_ has quit [Ping timeout: 252 seconds]
slowcon has joined #ruby
Jonah11_ has quit [Read error: Connection reset by peer]
Jonah11_ has joined #ruby
someperson has joined #ruby
danman has quit [Client Quit]
Jdubs has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
bklane has joined #ruby
nisstyre has joined #ruby
Vovko has joined #ruby
dmarr has quit [Remote host closed the connection]
cashnguns has quit [Remote host closed the connection]
burgess has quit [Ping timeout: 248 seconds]
IceyEC has joined #ruby
Megtastique has joined #ruby
prc has quit [Ping timeout: 272 seconds]
pfg has quit [Quit: Textual IRC Client: www.textualapp.com]
timonv has joined #ruby
fgo has joined #ruby
dmarr has joined #ruby
danman has joined #ruby
mikepack has joined #ruby
<pipework> Guest43550: symbols aren't variables, they're values.
<pipework> variables are variables.
Brolen has quit [Remote host closed the connection]
Brolen has joined #ruby
timonv has quit [Ping timeout: 246 seconds]
danman_ has joined #ruby
sdwrage has joined #ruby
sdwrage has quit [Client Quit]
petey has joined #ruby
mikepack has quit [Ping timeout: 272 seconds]
danman has quit [Ping timeout: 248 seconds]
danman_ is now known as danman
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
Brolen has quit [Ping timeout: 260 seconds]
alvaro_o has quit [Quit: Ex-Chat]
someperson has quit [Ping timeout: 252 seconds]
kaldrenon has quit [Remote host closed the connection]
Paradox has joined #ruby
slowcon has quit [Quit: slowcon]
<benzrf> Paradox: wait, are you actually the reddit admni
<benzrf> *admin
<benzrf> wait derp nv
<benzrf> m
sdwrage has joined #ruby
sdwrage has quit [Client Quit]
ericmathison has joined #ruby
sdwrage has joined #ruby
yfeldblum has joined #ruby
stryek has quit [Read error: Operation timed out]
beakr has joined #ruby
tharindu is now known as tharindu|away
top4o has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0/20140127194636]]
danshult_ has joined #ruby
yacks has joined #ruby
tharindu|away is now known as tharindu
Vovko has quit []
bklane has quit [Quit: Leaving...]
bricker`LA has joined #ruby
Xiti has joined #ruby
kenndel_ has joined #ruby
vlad_starkov has joined #ruby
danshult_ has quit [Read error: Operation timed out]
radic has quit [Ping timeout: 260 seconds]
danshultz has quit [Ping timeout: 272 seconds]
ws2k3__ has quit [Ping timeout: 265 seconds]
brunto has quit [Ping timeout: 265 seconds]
<centrx> Quack quack
brunto_ has joined #ruby
DarkFoxDK has quit [Ping timeout: 265 seconds]
Dwarf has quit [Ping timeout: 265 seconds]
sergicles has joined #ruby
radic has joined #ruby
rotor has quit [Ping timeout: 265 seconds]
Vovko has joined #ruby
rotor has joined #ruby
ws2k3_ has joined #ruby
dnyy has quit [Ping timeout: 265 seconds]
rtl has quit [Ping timeout: 265 seconds]
bnagy has quit [Ping timeout: 265 seconds]
daveops has quit [Ping timeout: 265 seconds]
bnagy has joined #ruby
Sthebig has quit [Ping timeout: 265 seconds]
epochwolf has quit [Ping timeout: 265 seconds]
aetaric has quit [Ping timeout: 265 seconds]
mtlatif_ has quit [Ping timeout: 265 seconds]
avelldiroll has quit [Ping timeout: 265 seconds]
DanKnox has quit [Excess Flood]
DarkFoxDK has joined #ruby
rtl has joined #ruby
epochwolf has joined #ruby
dnyy has joined #ruby
Megtastique has quit []
daveops has joined #ruby
aetaric has joined #ruby
DanKnox has joined #ruby
kenndel has quit [Ping timeout: 265 seconds]
Sthebig has joined #ruby
Dwarf has joined #ruby
browndawg has joined #ruby
vlad_starkov has quit [Ping timeout: 272 seconds]
<Xuisce> hi all
mtlatif_ has joined #ruby
<Xuisce> whats an easy way to start learning Ruby?
<Xuisce> :)
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
<benzrf> i enjoyed wpgtr
dseitz has joined #ruby
<benzrf> how much codes do you already know?
burlyscudd has joined #ruby
tylersmith has joined #ruby
<Xuisce> benzrf: not much
withnale has quit [Read error: Connection reset by peer]
withnale has joined #ruby
<centrx> In other programming languages?
marcdel has quit []
angusiguess has quit [Ping timeout: 246 seconds]
<Xuisce> centrx: no
<Xuisce> not much
<Xuisce> how should I start ruby ?
<pipework> benzrf: All both of the codes.
<benzrf> try wpgtr
<benzrf> if its not to your taste that's fine
<Xuisce> ah ok
<Xuisce> :)
<pipework> benzrf: What's that?
<benzrf> why's (Poignant) Guide to Ruby
_HolyCow has left #ruby [#ruby]
<pipework> Oh.
<centrx> pipework, hcynkt?
<pipework> I didn't get much out of why at any point, but it was entertaining for a while!
jamto11 has left #ruby [#ruby]
<pipework> centrx: What's the appropriate acronym for "centrx isn't as funny as he thinks he is"?
mansi has quit [Ping timeout: 260 seconds]
<pipework> Oh right, "k"
<Xuisce> wait hows learn Ruby the hard way ?
<Xuisce> :)
TripTastic is now known as JBreit
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
burlyscudd has quit [Ping timeout: 248 seconds]
tylersmith has quit [Ping timeout: 245 seconds]
marcdel has joined #ruby
<pipework> Xuisce: If you can read zed's writing continuously, you're welcome to it
Megtastique has joined #ruby
dingus_khan has joined #ruby
<Xuisce> ah ok
<Xuisce> :)
top4o has joined #ruby
<centrx> Xuisce, I have heard it is a good intro to programming, but at some point starting in the middle it starts teaching non-idiomatic Ruby
<Xuisce> ah ok
<Xuisce> centrx: is Ruby the best language you know ?
<Xuisce> :)
<centrx> Xuisce, Yes, I think it is
<Xuisce> ah ok
<Xuisce> :)
<dseitz> Why_
<Xuisce> I like it since jets easier and friendlier
<Xuisce> its*
angusiguess has joined #ruby
<Xuisce> other places are rude
<Xuisce> haha
fgo has quit [Remote host closed the connection]
lyanchih has quit [Quit: lyanchih]
<CaptainJet> it does jet easier
mbuf has joined #ruby
<mbuf> How can I obtain the hexadecimal value from a string representation of "\xC0"?
<centrx> Xuisce, There is a principle in Rubyland called MINASWAN: Matz Is Nice So We Are Nice
<Xuisce> Matz?
<Xuisce> who's Matz?
<CaptainJet> if Matz were so nice, we'd have native threads by now
<CaptainJet> :P
<Xuisce> ah
<Xuisce> he isn't on IRC?
Es0teric has quit [Ping timeout: 260 seconds]
<centrx> CaptainJet, Ruby has native threads since 1.9...
<dseitz> Native threads... like the ones in MRI
<dseitz> :)
<CaptainJet> You know what I meant
<dseitz> They don't necessarily support parallelism though
<centrx> mbuf, That doesn't look like hex I guess
<centrx> mbuf, But string.unpack("H*") or string.hex are relevant
<centrx> CaptainJet, Threads are a Windows idea. In Unix we use processes
<centrx> Find me an application that is not I/O-bound and I will show you an application where you might as well use processes.
estebistec has joined #ruby
Guest23012 has joined #ruby
Celm has joined #ruby
braincrash has quit [Quit: bye bye]
<CaptainJet> Should games use processes?
Es0teric has joined #ruby
<Guest23012> In the ruby readme, it says to use ''make install' whereas ubuntu compile docs say to use 'sudo checkinstall'
mocfive has joined #ruby
<Guest23012> So which one is better? checkinstall or make install?
<Guest23012> I know checkinstall is cleaner and according to docs, allows the package manager to remove it cleanly.
<centrx> Guest23012, checkinstall probably uses make install underneath
gnephiak has joined #ruby
<centrx> Guest23012, It just keeps track of what files are installed to make a native Ubuntu package out of it
troyready has quit [Ping timeout: 252 seconds]
Megtastique has quit []
<centrx> Guest23012, I would generally recommend using the Ruby packages that come with your distribution
aspires has joined #ruby
braincrash has joined #ruby
<Guest23012> centrx, I need ruby 2.1
<Guest23012> And if checkinstall does what it says
<Guest23012> it should make removal easier when I need to update
<centrx> Yes
<Guest23012> thanks
<Guest23012> btw just saw you in #rubyonrails :D
<centrx> Whoa!
<dseitz> No virtual env?
<centrx> CaptainJet, You are right, but I think the Ruby interpreter becomes the bottleneck in that case
<Paradox> benzrf ex reddit admin
<Paradox> havent worked there for like 2 years
<benzrf> hmmm
<centrx> He got banned because he cat pictures weren't funny enough
<CaptainJet> One would be surprised, especially if all the heavy lifting is in an extension
<benzrf> looking at his comment history
<benzrf> -.-
<benzrf> meh dont feel like getting into a debate in public irc
<CaptainJet> though having multiple threads could help, in say pixel manipulation
gnephiak has left #ruby [#ruby]
<dseitz> Probably offload that sort of work to a C kernel
sdelmore has joined #ruby
thomasxie has joined #ruby
speakingcode has joined #ruby
larsam has joined #ruby
<CaptainJet> Just an example
cmedeiros has joined #ruby
<CaptainJet> Usually one would just offload it
<Paradox> benzrf if you use reddit, might i interest you in my snoo rubygem? I'm currently rewriting it for 2.1
<CaptainJet> It'd be nice to not have to do that though, just have 100% ruby
lfox has joined #ruby
<benzrf> i looked at it
<benzrf> but ultimately it was underequipped, so i just used praw
bricker`LA has quit [Ping timeout: 248 seconds]
nari has quit [Quit: Ex-Chat]
<Paradox> yeah, 1.0.0 should change that
<Paradox> and its not really that under-equipped
<Paradox> what exactly was it missing, if i may ask
<benzrf> hmm im trying to remember
<Paradox> (ive written a ton of bots with it)
<Paradox> it never got wiki stuff
<Paradox> but that was it
<Paradox> the new one is stream-safe
<Paradox> er, thread safe
<Paradox> although i dont encourage making too many requests to reddit
<benzrf> i think i was having trouble getting a set number of comments or something?
<benzrf> idr at all hoenstly
<benzrf> *honestly
<Paradox> heh
<benzrf> oh wait maybe that was snooby
<Paradox> ah yeah
<Paradox> snoo was…basic
<Paradox> but functional
<Paradox> basically a 1:1 mirror of the api
<Paradox> a url = a ruby method
<Paradox> so it wasnt the prettiest
<Paradox> but it was easy and functional
<benzrf> yeah i think im thinking of snooby
<benzrf> and i thought snoo was a bit low-level
<Paradox> v1.0.0, which im currently working on, is gonna be nicer
<Paradox> return objects and shit
<Paradox> still needs to be instantiated
<Paradox> but you will be able to do things like r.subreddit('ruby')
<Paradox> and get a subreddit object that lazily returns post objects, which lazily return comment objects
brennanMKE has joined #ruby
mmcdaris has joined #ruby
<benzrf> just make a 1:1 clone of praw and ill be happy
<Paradox> it wont be
<Paradox> but it will be similar enough
<centrx> What is praw?
<mmcdaris> anyone know where backtraces are printed to stderr in ruby?
AlexRussia has quit [Ping timeout: 260 seconds]
<Paradox> will be a functional clone though
<centrx> "this subreddit is private"
<benzrf> centrx: the only really good reddit api wrapper
<centrx> mmcdaris, whether?
<benzrf> Python Reddit Api Wrapper
<Paradox> but its python, so thats a very large point against it :p
Fire-Dragon-DoL has quit [Quit: Leaving.]
bahar has quit [Quit: ZNC - http://znc.in]
araujo has quit [Quit: Leaving]
ruukasu has joined #ruby
<mmcdaris> When I run spec I get a backtrace
kenneth has joined #ruby
<mmcdaris> I want to know what lines are responsible for printing the backtrace
Shidash has quit [Ping timeout: 252 seconds]
<centrx> mmcdaris, Usually that is clear? But I am not so familiar with running spec
fuhgeddaboudit has quit [Ping timeout: 248 seconds]
TigerWolf has joined #ruby
top4o has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0/20140127194636]]
<mmcdaris> Sorry for the confusion.
mikepack has joined #ruby
<mmcdaris> I am not interested in the content of the backtrace
<mmcdaris> I want to know where in the ruby language it is printed to the console
bricker`LA has joined #ruby
<mmcdaris> like "puts ex.backtrace.join("\n")"
dopie has quit [Quit: Leaving]
<centrx> proably error.c
<centrx> mmcdaris, Ruby is written in C
<mmcdaris> Ah cool, getting warmer :)
<centrx> Yes you can use Exception to get catch an error and get information about it
derek_c has quit [Read error: Operation timed out]
<mmcdaris> Yes. I want to edit the backtrace before it is printed
<mmcdaris> that's my goal
<centrx> Okay
<Xuisce> Is ruby good for software companies ? If I want a job in the future ?
<centrx> mmcdaris, Use rescue to catch the exception, and then use the various methods documented at http://www.ruby-doc.org/core-2.1.0/Exception.html to print out attributes of the exception
dingus_khan has quit [Remote host closed the connection]
estebistec has quit [Remote host closed the connection]
<mmcdaris> thank you. Is there a way to edit the default way ruby prints backtraces?
<centrx> Xuisce, There are many companies that use Ruby, and Ruby on Rails.
<mmcdaris> like a monkey patch I could write to extend the Exception class?
<Xuisce> centrx: I'm referring to Apple in particular
<centrx> Xuisce, It is most important to learn the concepts of computer programming, and apply them to different programming languages. When you become good at it, it is easy to learn new languages.
fgo has joined #ruby
<dseitz> Apple uses Ruby on a lot of its projects
<centrx> Xuisce, Apple uses Objective-C the most I believe, or at least that is the unique language it uses
<Xuisce> Yep
<Xuisce> dseitz: they do ?
<Xuisce> Someone at apple said they use python internally
<dseitz> They probably use a lot of tools
<s2013> are dictionaries in python same as hash in ruby?
<centrx> s2013, Yes, that is fair to say
<lpvn> Xuisce, what centrx means is that if you want to work for apple there are other things you should master first
<s2013> cool. thanks
<Xuisce> Right
<Xuisce> I want to learn ruby first
aspires has quit []
<RubyPanther> for use as a scripting language, it is used everywhere, so is python. Apple doesn't use Ruby as an application language, though. Ruby is quite good in that role.
<Xuisce> Then do ruby cocoa
<Xuisce> Oh
<s2013> rubymotion ?
Vovko has quit [Remote host closed the connection]
<s2013> for iphone app?
<Xuisce> No
<RubyPanther> You can use Ruby for Android apps
<s2013> then
<Xuisce> Ruby cocoa
<s2013> what are you talking about
<Xuisce> It's a framework
<s2013> whats that?
<Xuisce> Look it up
<s2013> isnt it similar to rubymotion
<s2013> cause thats exactly what rubymotion lets you do
aspires has joined #ruby
<CaptainJet> Is Array#[]= thread safe, if the index you're setting has always already been set before-hand?
Shidash has joined #ruby
yasushi has joined #ruby
<s2013> objc is ugly as sin but for ios dev i wouldnt use anything else
fgo has quit [Ping timeout: 260 seconds]
dopie has joined #ruby
<dopie> anyone here httparty?
<s2013> yes dopie
<s2013> what about it
<dopie> hahaha :)
<dopie> s2013, hello there :) good evening or afternoon or good morning
<s2013> its1130pm here
<dopie> ahhh eastern time
<dopie> :)
<s2013> yes sir
<s2013> you?
<dopie> same
jonah_k has joined #ruby
<s2013> you enjoyed the weather today?
<dopie> I sure did
<dseitz> I don't see how objc is any uglier than C :)
<dopie> i loved it
<centrx> CaptainJet, It is all thread safe, because of the Global Interpreter Lock!
<s2013> i love snow weather except i have to shovel
<dopie> perfect walking out weather, walked the dogs did a bike ride
<s2013> wait, wtf do you lvie
<s2013> live*
<s2013> florida?
<Xuisce> So ruby is good ? :)
<dopie> miami beach
<Xuisce> I like it
<dopie> :)
<centrx> !enter
<s2013> no wonder
<s2013> i think thats the only part of east coast that wasnt hit by the shitstorm today
<s2013> we had like a foot of snow which turned into icy slush cause of rain storm
<dopie> well its chilly considering its florida
<dopie> 60 degrees is cold here
<s2013> lol
<dseitz> It was soooo cold today
<s2013> its been in the teens here
<dseitz> like 58
<CaptainJet> centrx, so that's an "I don't know" then? :P
<dopie> s2013, ny?
bricker`LA has quit [Ping timeout: 252 seconds]
<s2013> dseitz, nah C is prettier than objc imo
<s2013> yes
<dopie> ahahahaha i saw my friends posts on fb about the weather today
<centrx> I don't know, s2013 and dopie are spamming the channel with one word sentences
<dopie> looked like a set from the old scrooge movie with dan akroyd
mikepack has quit [Remote host closed the connection]
<dseitz> s2013: well, I would agree until they revamped the literals in 'obj c 2.0 on crack'
<s2013> oh sorry centrx i shall refrain from it :(
mikepack has joined #ruby
<centrx> s2013, Here is the message the bot gives in #debian, "The enter key is not a substitute for punctuation. Hitting enter unnecessarily makes it difficult to follow what you are saying. Consider using ',', '. ', ';', '...', '---', or ':' instead. If you hit enter too often, you will be autokicked by debhelper for flooding the channel."
<dopie> centrx, come on we are talking like robots :) Everyone talks like this
Shidash has quit [Ping timeout: 272 seconds]
tylersmith has joined #ruby
<dseitz> It's dramatic
<s2013> i mean i think i only had 2 one word responses, but oh well
<s2013> dseitz, i am new to objc but it took me a year to get over its syntax. i tried to get into it last year
ElCapitanMarklar has joined #ruby
<dseitz> Is the sky blue! Do not just say yes!
<centrx> Fortunately, we don't seem to get trolls in #ruby
<centrx> So not much kicking goes on here
<CaptainJet> i talk like that in other channels
<s2013> its just a whole different syntax from ruby
gr33n7007h has quit [Read error: Connection reset by peer]
<s2013> i love ruby. i am not that good at it but i love it but for what i do/want to do, i feel like it lags at this point in that space
<dopie> s2013, where in ny? I was going to goto flat iron school there for 3 months
<centrx> s2013, In mobile?
<s2013> centrx, no. nlp/ml
kpshek has quit []
petey has quit [Remote host closed the connection]
pierre1_ has quit [Ping timeout: 248 seconds]
<s2013> python is very good for it
<dopie> s2013, ruby motion?
<s2013> dopie, nyc. i know the guys from flat iron school.. they overcharge imo
<s2013> and you probably know 80% of the stuff they teach there anyways
<dopie> ok cool...
<s2013> dopie, nah. i dont do much mobile, just wanted to do something so i have been building it in objc past few weeks
<dopie> s2013, got any stuff online?
<s2013> dopie, i am in queens actually, not manhattan.
<benzrf> pythons neat
<s2013> no i do not, i am new to ios dev.
<dopie> well not only ios but websites in general
uglybandersnatch has quit [Quit: Leaving.]
hobodave has joined #ruby
<s2013> yeah, back in college i tried to focus on AI but that was years ago and i forgot all my basics :\
sensen has quit [Ping timeout: 260 seconds]
<s2013> dopie, uh not really.. i won last years rails rumble if you wanna dig that up. most of the stuff i do is internal
<dopie> ah got it
<dopie> im coming from the design world
<CaptainJet> focus on AI
<CaptainJet> We all know the Geth will run Ruby
mikepack has quit [Remote host closed the connection]
<s2013> my brother is a designer actually. he works for a startup
mikepack has joined #ruby
silicong has joined #ruby
<dopie> nice...
<s2013> whats geth?
vlad_starkov has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
<CaptainJet> It's a Mass Effect thing
<CaptainJet> They're a species of hive-mind artificial intelligences
<CaptainJet> Who serve as antagonists in the 1st game, and take a more varied role in the following 2 games
<dseitz> I missed out on that series
ericmathison has quit [Ping timeout: 246 seconds]
<s2013> oh ok. yeah i wanted to get into video game programming. so most of my classes were in C++ and opengl stuff
<s2013> but that was ages ago, back before google and stackoverflow
Kricir has quit [Remote host closed the connection]
<dseitz> what made you stop?
<s2013> eh. dropped out of school, some family stuff, etc. but i moved onto php, then started my own company, stopped programming for few years and got back into it last year
mikepack has quit [Ping timeout: 260 seconds]
Angelous has quit [Ping timeout: 260 seconds]
Celm has quit []
<dopie> s2013, man i tried getting into php like 7 times....
<dopie> just didnt work for me at all
<dseitz> hehe
<benzrf> php is awful
<s2013> php is good, even though a lot of people hate it
<benzrf> don't.
<benzrf> use.
<benzrf> it.
<CaptainJet> I looked at php and was like, nah
<benzrf> s2013: no.
<s2013> but i dont want to get into a debate here
<benzrf> php is the WORST
vlad_starkov has quit [Ping timeout: 245 seconds]
<benzrf> it is the only language i will shit on without hesitation
<centrx> PHP is an abomination and a scourge on the face of the earth.
<dseitz> rofl
<dopie> I know it is a debate, but it does dominate the market
<benzrf> i dislike java but i will accept that sometimes it is the right choice
<s2013> i feel like most people hate other php developers than php itself
<benzrf> but php is never ever right
<benzrf> ever
<s2013> because of its popularity, you have lots of shitty code
Hamled has quit [Ping timeout: 260 seconds]
<benzrf> nope
sensen has joined #ruby
<dseitz> I literally hate PHP
andrewfree has quit [Ping timeout: 246 seconds]
<s2013> but also from what i hear php has gotten a lot better nowadays. but its a good language for you to learn basics of web programming
<benzrf> php is inherently shitty
<benzrf> no.
<benzrf> no no no.
<benzrf> no.
<dseitz> I gave it a shot, its own documentation is a freaking bug tracker
<benzrf> never ever ever recommend php to anybody
<dseitz> so much crap
<benzrf> it is awful
Hamled has joined #ruby
<s2013> <? echo "to each his own"; ?>
<dseitz> You have to read 20 pages for each function to make sure some godawful bug won't exist in your code because you assuuumed switch/case acted like every other language in CS existance
andrewfree has joined #ruby
<Xuisce> Thanks all
<Xuisce> Ruby it is
<benzrf> s2013: theres a good example
<benzrf> echo is not a function
<benzrf> it's some kind of weird statementy thing
burlyscudd has joined #ruby
<diegoviola> i know some PHP dev who keeps saying Rails is for children and such
<diegoviola> I*
<benzrf> print used to work like that in python
<benzrf> they ditched it in 3, for good reason
<s2013> i am still on python 2.7
<s2013> what is it now?
<benzrf> meh
<benzrf> 2.7 is the newest 2.x
<s2013> yea
<benzrf> 2.7.5 tbp
<Xuisce> So ruby is a good starter?:)
<s2013> yes Xuisce
<Xuisce> Woot
<benzrf> Xuisce: i normally recommend python 3 to start with
<Xuisce> I love it
<benzrf> but ruby is ok
<Xuisce> Oh
<s2013> python is good too
<s2013> depends on what you wanna do
<Xuisce> Well ruby is friendlier
michael_mbp has quit [Quit: ZNC - http://znc.sourceforge.net]
NemesisD has joined #ruby
danshultz has joined #ruby
_1_ has joined #ruby
<s2013> learn basics of programming language itself, then the languages you pick up wont make much of a difference in terms of learning curve
<s2013> especially ruby/python as they are both dynamic, interpreted languages
<benzrf> s2013: lol
michael_mbp has joined #ruby
<benzrf> s2013: ever tried haskell?
<NemesisD> hey guys. for some reason rubygems is timing out for me when i try to install bundler, it fails with Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Connection timed out - connect(2) (https://rubygems.org/latest_specs.4.8.gz)
m104 has joined #ruby
<NemesisD> howeer i can download that url in my browser just fine
mikepack has joined #ruby
<dseitz> gem update --system
<s2013> not really
<NemesisD> i do haskell!
<benzrf> o/
<dseitz> Make sure you are executing the right gem install too
<s2013> but i know someone who is a huge fp fan
<benzrf> NemesisD: i made a toy lisp in haskell
<benzrf> wanna try it
<s2013> anyone here given Go a try?
<NemesisD> benzrf: lisp is a sore topic right now. i'm learning emacs
<s2013> i have been messing around with Go as well.
<dseitz> It's on my list of things to do
<benzrf> oooh
<benzrf> i use vim
<benzrf> -smug-
<NemesisD> i've tried Go a bit, not a huge fan. my coworker enjoys it
<s2013> its pretty cool. just havent been able to devote as much time
Angelous has joined #ruby
<s2013> i basically have 2 full time jobs + learning all these things :\
<dseitz> I've gotten to that lazy stage in my life
_1_ has quit [Remote host closed the connection]
miah has quit [Remote host closed the connection]
<dseitz> I still work at a Java shop.. that taught me COBOL when I joined the team
<dseitz> lol
<dopie> s2013, as do i...
<dopie> im 32, its hard to get time to actually focus and learn something
miah has joined #ruby
<NemesisD> gah, gem is just hanging too. i am using rvm
burlyscudd has quit [Ping timeout: 248 seconds]
<dopie> wish i handnt blown my younger years partying in south beach.... wish i had stayed inside and learned to get the basics of programming...
<s2013> dopie, nice
<dopie> the thing is the teachers in my sucked!!
<s2013> did you go to the u?
<benzrf> dopie: envy me B)
pierre1_ has joined #ruby
danshultz has quit [Ping timeout: 248 seconds]
<dopie> s2013, hell no... i did 2 years of art institute realized it was a joke and learned everything myself for design...
anshin has quit [Quit: WeeChat 0.4.2]
mikepack has quit [Ping timeout: 245 seconds]
<dopie> I love people come from out of state and support the u...im like dude youre from arkansas you have no clue what the football team at the u is...
<dopie> i chilled with shockey a while back
<dopie> drugs and hookers everyday
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
kobain_ has joined #ruby
<dopie> but.... i digress
kobain has quit [Ping timeout: 245 seconds]
<dopie> should have learned the basics of programming
burlyscudd has joined #ruby
<centrx> Ruby: Turns out it's better than drugs and hookers
<benzrf> lies
<dopie> it is when you are making 90k - $150k a year
<centrx> You can make more as a pimp and cocaine dealer
<dopie> and get popped and sent to jail
<dopie> or killed
<centrx> That is also possible with indiscreet Ruby usage
<benzrf> lol
<dopie> centrx, sure if you are programming for the cartel...
<NemesisD> wtf. curl https://rubygems.org/specs.4.8.gz; curl: (56) Proxy CONNECT aborted
Shidash has joined #ruby
<dopie> NemesisD, it had an abortion
aspires has quit []
<centrx> Works for me with wget
danman has quit [Quit: danman]
aspires has joined #ruby
<Xuisce> centrx: thanks again
<dopie> s2013, Callerkey?
aspires has quit [Client Quit]
<Xuisce> Ruby 4 life
<centrx> You are welcome
<Xuisce> :)
burlyscudd has quit [Ping timeout: 260 seconds]
Deele has joined #ruby
<NemesisD> ok something is seriously fucked with my networking config or something
<NemesisD> wget https://rubygems.org/specs.4.8.gz: Error parsing proxy URL http://:0: Invalid host name.
rezzack has quit [Ping timeout: 252 seconds]
<NemesisD> why on earth is rubygems.org proxying
<dseitz> trace rubygems.org
<s2013> dopie, yeah. it was called something else but thats the more commercial version my friend wanted to build out
<dseitz> Looks normal
<NemesisD> i think its specifically the https
<s2013> dopie, didnt see your earlier messages. jeremy shockey?
<NemesisD> wget works alright without it
<dopie> s2013, yeah
<dopie> off season
<s2013> nice. i went to university of texas (after i went back to school)
sparrovv has joined #ruby
<s2013> so i know how big football is :D
gja has quit [Quit: This computer has gone to sleep]
timonv has joined #ruby
Nyyx has joined #ruby
<dseitz> NemesisD... eek try gem install <GEM> --http-proxy --source http://rubygems.org --debug -v
lyanchih_ has joined #ruby
<NemesisD> UHHH my env has really weird values in the $http_proxy and $https_proxy variables
sparrovv has quit [Ping timeout: 246 seconds]
philcrissman has quit [Remote host closed the connection]
<dopie> s2013, how old are you anyways??
<NemesisD> http_proxy=http://168.144.97.202:31280 https_proxy=http://:0
sski has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 252 seconds]
Nyyx has quit [Ping timeout: 252 seconds]
sski has joined #ruby
syme21 has quit [Quit: ZNC - http://znc.in]
mocfive has quit [Remote host closed the connection]
Vovko has joined #ruby
<NemesisD> i wonder how i can find who is setting that. i don't see it in my bashrc
mocfive has joined #ruby
ultraflash3 has joined #ruby
<s2013> i am an old man dopie . i am 27
<dopie> pffft... the perfect age...
<dopie> 22 - 27
<centrx> NemesisD, Must be one of those Linux viruses
<dopie> wonder years man
<dopie> :)
m104 has quit [Quit: bye]
<dopie> im only 32 but man...
Xiti` has joined #ruby
<NemesisD> centrx: seriously though... wat
<dopie> if i kept the site with all my photos during those years... 1. my gf would kill me 2. id prolly get arrested
<dseitz> getting old... today I called someone and was like "Hello??" "WHo is this???" "Oh... did I call you? Sorry, thanks bye" aaah funny stuff my old butt does
sski has quit [Ping timeout: 245 seconds]
<s2013> heh
mocfive has quit [Ping timeout: 246 seconds]
<dopie> anyways I was needing some help with httparty and json.. as I have never worked or dealt with json before and apis...
<dopie> was wondering if you had any experience in that area
Kricir has joined #ruby
Xiti has quit [Ping timeout: 260 seconds]
ultraflash3 has quit [Ping timeout: 272 seconds]
asteros has joined #ruby
<dopie> btw callerkey would work perfect for corporations
<dopie> they love that stuff
<dopie> comcast...
vlad_starkov has joined #ruby
<dopie> cable companies
<centrx> dopie, You just access the URL with the right query string
<centrx> dopie, The login might be stored as a cookie, and not needed in every request
<dopie> centrx, ok thats what im trying to figure out which one is the request
<centrx> dopie, Your client might not be storing the cookie
yasushi has quit [Remote host closed the connection]
<dopie> how do i find out centrx if he is storing it?
<dopie> just straight up ask him?
<centrx> Yeah if you know the guy
<centrx> I know a guy who could ask him
vlad_starkov has quit [Remote host closed the connection]
<dopie> nah i can call them tomorrow
mikepack has joined #ruby
jmeeuwen has quit [Ping timeout: 245 seconds]
<dopie> thats the api information
<dopie> logs me in
<dopie> now how do i search for a cityId
ponbiki_ is now known as ponbiki
kate_r has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mikepack has quit [Ping timeout: 260 seconds]
evilbug has quit [Quit: Leaving]
<dopie> doesnt work
kate_r has joined #ruby
kenneth has quit [Ping timeout: 248 seconds]
NemesisD has quit [Quit: WeeChat 0.4.2]
mmcdaris has quit [Quit: mmcdaris]
fgo has joined #ruby
kenneth has joined #ruby
asteros has quit [Quit: asteros]
BraddPitt is now known as xBradPittx
Kricir has quit [Ping timeout: 245 seconds]
philcrissman has joined #ruby
pierre1_ has quit [Ping timeout: 272 seconds]
fgo has quit [Ping timeout: 260 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
asteros has joined #ruby
x77686d has quit [Quit: x77686d]
Soliah has joined #ruby
makara has joined #ruby
lfox has quit [Quit: ZZZzzz…]
gja has joined #ruby
tselatra has quit [Remote host closed the connection]
xibalba has left #ruby ["Linkinus - http://linkinus.com"]
coder_neo has joined #ruby
IceDragon has quit [Quit: Space~~~]
avelldiroll has joined #ruby
sski has joined #ruby
pierre1_ has joined #ruby
coder_neo has quit [Client Quit]
joelroa has joined #ruby
joelroa has quit [Client Quit]
dx7 has quit [Remote host closed the connection]
yarou has quit [Remote host closed the connection]
joelroa has joined #ruby
dx7 has joined #ruby
senayar has joined #ruby
nuck has quit [Max SendQ exceeded]
PLejeck has joined #ruby
sski has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
nisstyre has quit [Quit: Leaving]
beakr has quit [Quit: beakr]
mansi has joined #ruby
dx7 has quit [Ping timeout: 246 seconds]
sensen has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
mocfive has joined #ruby
mansi has quit [Ping timeout: 260 seconds]
dik_dak has quit [Quit: Leaving]
sdelmore has quit [Quit: Leaving.]
asteros has quit [Quit: asteros]
browndawg1 has joined #ruby
browndawg has quit [Ping timeout: 252 seconds]
pierre1_ has quit [Ping timeout: 245 seconds]
ixti has quit [Ping timeout: 245 seconds]
jonah_k has quit [Remote host closed the connection]
CaptainKnots has quit [Ping timeout: 260 seconds]
batman___ has joined #ruby
CaptainKnots has joined #ruby
ktosiek_ has quit [Ping timeout: 248 seconds]
Guest23012 has quit [Ping timeout: 260 seconds]
MyStartx has quit [Ping timeout: 245 seconds]
ktosiek has joined #ruby
lagweezle has quit [Quit: leaving]
sensen has joined #ruby
koell has quit [Read error: Connection reset by peer]
jeanlinux has joined #ruby
<jeanlinux> I am having some little trouble accessing elements in a ruby array and i dont know what i am doing wrong
lyanchih_ has quit [Quit: lyanchih_]
<jeanlinux> i have this array, code sample here http://pastebin.com/zzwVsVpS
<jeanlinux> I just want to grab the permissions and the description field of the array, can anyone help
lyanchih has joined #ruby
Elskion has joined #ruby
Atw has quit [Read error: Connection reset by peer]
<benzrf> that should be a hash
max__ has joined #ruby
<centrx> jeanlinux, That's not an array...
<benzrf> not an arary
<benzrf> *array
Vovko has quit [Remote host closed the connection]
nisstyre has joined #ruby
brennanMKE has quit [Remote host closed the connection]
<benzrf> also use symbols
Vovko has joined #ruby
<jeanlinux> benzrf: Can you show be the correct format to represent that data and also how i could then access the fields please
mercwithamouth has quit [Ping timeout: 245 seconds]
<benzrf> jeanlinux: use {:foo => bar}
<benzrf> or {foo: bar}, which is syntactic sugar for the above
<benzrf> jeanlinux: are you from php?
<jeanlinux> benzrf: yeah
<benzrf> ew
<jeanlinux> i was thinking that would be a hash then
Atw has joined #ruby
<centrx> PHP is an abomination and a scourge on the face of the earth
<benzrf> jeanlinux: php's idea of an array is a bizarre and hateful thing
<jeanlinux> benzrf: yeah i agree
<jeanlinux> benzrf: please assist me represent that in the right format
<benzrf> scour your brain of php's malign influence or you shall never achieve enlightenment
<centrx> PHP array: "This one datatype acts as a list, ordered hash, ordered set, sparse list, and occasionally some strange combination of those."
<benzrf> jeanlinux: use {key => value} for hashes
<benzrf> jeanlinux: ruby has 'symbols', which are kind of like strings
<agent_white> NOOOOO. Dev just rm -fr'd the server
<agent_white> NOOOOOOO
<benzrf> agent_white: who uses -fr instead of -rv
<benzrf> *rf
<benzrf> french pplz?
<agent_white> John Wayne
<agent_white> Fuck me
<benzrf> jeanlinux: ok, you know how you sometimes use strings for text, and sometimes as names?
<jeanlinux> benzrf: I understand symbols
<benzrf> ah, ok
<benzrf> you normally use symbols as keys, for obvious reasons
Vovko has quit [Ping timeout: 245 seconds]
philcrissman has quit [Remote host closed the connection]
shevy has quit [Ping timeout: 246 seconds]
<agent_white> dev - "we still have a few kernel modules though... we can use these"
<jeanlinux> benzrf: actually i have this large data that i need to traverse and access certain fields from base on conditions, what i pasted on pastebin is just a sample, i need help on representing it the right way so i can access the fields easily
dr0ff has left #ruby [#ruby]
batman____ has joined #ruby
<benzrf> jeanlinux: hashes are for corresponding identifiers to pieces of data
pixelgremlins_ba has joined #ruby
<benzrf> jeanlinux: arrays are for storing ordered sequences of pieces of data
browndawg1 has quit [Ping timeout: 245 seconds]
<benzrf> jeanlinux: symbols are for identifiers
<benzrf> jeanlinux: strings are for text
Xiti` has quit [Quit: Leaving]
mikepack has joined #ruby
Xiti has joined #ruby
ElCapitanMarklar has quit [Ping timeout: 252 seconds]
pixelgremlins has quit [Ping timeout: 248 seconds]
<jeanlinux> benzrf: Okay, it will really be helpful if you represent that data into a hash for me just to have some idea, I tried using a hash but since the permissions values are not in the form of a key value pair, ruby was throwing errors
CaptainJet has quit []
Jonah11_ has quit [Ping timeout: 252 seconds]
batman___ has quit [Ping timeout: 248 seconds]
browndawg has joined #ruby
fgo has joined #ruby
yfeldblum has joined #ruby
nfk has joined #ruby
<benzrf> ok
<benzrf> you can nest hashes and arrays, of course
agjacome_ has quit [Quit: leaving]
mikepack has quit [Ping timeout: 260 seconds]
<benzrf> 1 sec
<agent_white> Poor droplet never stood a chance D:
* agent_white clicks pre-made RoR Ubuntu on DO
Macaveli has joined #ruby
Kricir has joined #ruby
<benzrf> jeanlinux: http://bpaste.net/show/179035
yfeldblu_ has joined #ruby
<benzrf> jeanlinux: you can also use 'foo: bar' as a shortcut for ':foo => bar'
yfeldblum has quit [Ping timeout: 265 seconds]
tagrudev has joined #ruby
venkat has quit []
derek_c has joined #ruby
<jeanlinux> benzrf: Thanks, but how do i access say the permissions values ?
Kricir has quit [Ping timeout: 260 seconds]
<benzrf> same syntax as an array
wildroman2 has joined #ruby
<benzrf> in general use #[] to look stuff up
jackneill has joined #ruby
<jeanlinux> benzrf: Thank you very much.. got it now
<jeanlinux> (y)
krz has joined #ruby
xaq has joined #ruby
max__ has quit [Ping timeout: 240 seconds]
<benzrf> :)
mmcdaris has joined #ruby
yfeldblu_ has quit [Ping timeout: 260 seconds]
habanany has quit [Ping timeout: 272 seconds]
shevy has joined #ruby
thumpba has joined #ruby
karupanerura is now known as zz_karupanerura
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
Elskion has quit [Quit: Textual IRC Client: www.textualapp.com]
echevemaster has quit [Quit: Leaving]
jeanlinux has quit [Ping timeout: 252 seconds]
thumpba has quit [Read error: Operation timed out]
dopie has quit [Quit: Leaving]
Kneferilis has quit [Read error: Connection reset by peer]
xaq has quit [Remote host closed the connection]
shevy has quit [Ping timeout: 272 seconds]
mansi has joined #ruby
fella6s has quit [Read error: Connection reset by peer]
shevy has joined #ruby
fella6s has joined #ruby
yfeldblum has joined #ruby
derek_c has quit [Ping timeout: 260 seconds]
JasmeetQA has joined #ruby
Zunonia has quit [Quit: Computer has gone to sleep.]
mansi has quit [Ping timeout: 248 seconds]
sski has joined #ruby
vlad_starkov has quit [Ping timeout: 272 seconds]
timonv has joined #ruby
lyanchih has quit [Quit: lyanchih]
m4rcu5 has joined #ruby
xaq has joined #ruby
Aryasam has joined #ruby
Zunonia_ has joined #ruby
mocfive has quit [Remote host closed the connection]
aspires has joined #ruby
Wolland has quit [Remote host closed the connection]
mocfive has joined #ruby
mocfive has quit [Remote host closed the connection]
mocfive_ has joined #ruby
CpuID has quit [Ping timeout: 272 seconds]
Zunonia_ has quit [Client Quit]
timonv has quit [Ping timeout: 272 seconds]
s2013 has quit [Ping timeout: 245 seconds]
benlieb has joined #ruby
wallerdev has quit [Quit: wallerdev]
gja has quit [Quit: This computer has gone to sleep]
phansch has joined #ruby
phansch has quit [Remote host closed the connection]
_Andres has joined #ruby
lxsameer has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
lyanchih_ has joined #ruby
lyanchih_ has quit [Client Quit]
lyanchih_ has joined #ruby
bal has joined #ruby
Aryasam has quit [Ping timeout: 260 seconds]
brennanMKE has joined #ruby
mmcdaris has quit [Quit: mmcdaris]
Zunonia_ has joined #ruby
billy_ran_away_ has quit [Read error: Operation timed out]
ultraflash3 has joined #ruby
nisstyre has quit [Quit: WeeChat 0.4.3]
brennanMKE has quit [Ping timeout: 252 seconds]
tharindu is now known as tharindu|away
julian has joined #ruby
brennanMKE has joined #ruby
julian is now known as Guest11764
browndawg has quit [Quit: Leaving.]
ultraflash3 has quit [Ping timeout: 245 seconds]
mocfive_ has quit [Remote host closed the connection]
sski has quit []
Nyyx has joined #ruby
mocfive has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
lachesis has quit [Ping timeout: 264 seconds]
beakr has joined #ruby
iMe is now known as iMe_away
beakr has quit [Client Quit]
iMe_away has quit [Quit: Bye Bye]
mikepack has joined #ruby
brennanMKE has quit [Ping timeout: 248 seconds]
wildroman2 has quit [Remote host closed the connection]
sski has joined #ruby
mengu has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby
mocfive has quit [Ping timeout: 260 seconds]
lachesis has joined #ruby
Aryasam has joined #ruby
Vovko has joined #ruby
mosez has quit [Remote host closed the connection]
mikepack has quit [Ping timeout: 272 seconds]
amclain has quit [Quit: Leaving]
tylersmith has quit [Ping timeout: 245 seconds]
CpuID has joined #ruby
aspires has quit []
tharindu|away is now known as tharindu
Kricir has joined #ruby
Vovko has quit [Ping timeout: 245 seconds]
dagobah has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
Ch4rAss has joined #ruby
LekeFly has joined #ruby
LekeFly has quit [Remote host closed the connection]
rjhunter has joined #ruby
<shevy> ruby lego!!!
Kricir has quit [Ping timeout: 252 seconds]
<rjhunter> I didn't realise anyone had submitted a Ruby spec to the ISO
noop has joined #ruby
<benzrf> huh
<Nilium> Wow, a 1.0.0 release.
marcdel has quit []
havenwood has joined #ruby
Cache_Money has joined #ruby
<Nilium> Maybe now I can use Ruby for scripting in my engine
<Nilium> On the other hand, if the C API is as horrible as Ruby's current C API, I'll probably pass
ayaz has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
rhys has quit [Ping timeout: 265 seconds]
wildroman2 has joined #ruby
jprovazn has joined #ruby
Hobogrammer has quit [Ping timeout: 260 seconds]
Al has joined #ruby
abra has quit [Ping timeout: 245 seconds]
Al has quit [Client Quit]
rhys has joined #ruby
tharindu is now known as tharindu|away
Kneferilis has joined #ruby
Aryasam has quit [Ping timeout: 260 seconds]
abra has joined #ruby
centrx has quit [Quit: Leaving]
vlad_starkov has joined #ruby
pavilionXP has quit [Ping timeout: 252 seconds]
Aryasam has joined #ruby
srji_ has quit [Quit: leaving]
rjhunter has quit [Quit: Page closed]
tgkokk has joined #ruby
fgo has quit [Remote host closed the connection]
Xeago has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
tgkokk has quit [Client Quit]
pavilionXP has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
pavilionXP has quit [Max SendQ exceeded]
pavilionXP has joined #ruby
Jason has joined #ruby
tgkokk has joined #ruby
<Jason> Hi all - any suggestions on how I could do something similar to base64ing a string, but have no padding?
benlieb has quit [Quit: benlieb]
nobitanobi has joined #ruby
yasushi has joined #ruby
cheeti has joined #ruby
cheeti has quit [Client Quit]
<benzrf> Jason: no padding?
<benzrf> you mean like ==?
wildroman2 has quit [Ping timeout: 260 seconds]
<Jason> benzrf: aye aye
<benzrf> >> 'test'.strip 't'
<eval-in> benzrf => wrong number of arguments (1 for 0) (ArgumentError) ... (https://eval.in/101564)
<benzrf> hmm
tgkokk_ has joined #ruby
<benzrf> lame
<Jason> benzrf: well, of course I could do that :-P
<Jason> benzrf: but then it won't decode.
<benzrf> just repad it
<benzrf> :D
<benzrf> why do you care about padding?
<Jason> >> 'test'.gsub('t','')
<eval-in> Jason => "es" (https://eval.in/101565)
<Jason> :-p
<benzrf> for that matter, why are you using base64 exactly?
<Jason> benzrf: anyway - it looks ugly.
<Jason> benzrf: i'm using base64 to encode some binary data.
_tpavel has joined #ruby
<benzrf> why do you need to encode it o-o
tgkokk has quit [Ping timeout: 272 seconds]
<Jason> benzrf: because i'm printing it on labels to be read by humans! :)
<Jason> poor, poor humans.
<benzrf> :o
<benzrf> why remove == then
<Jason> benzrf: because it looks ugly ;)
nobitanobi has quit [Client Quit]
<benzrf> im sure its worth it
<benzrf> :p
tgkokk_ has quit [Client Quit]
<benzrf> just make the decoder autopad it
<Jason> benzrf: how would I do that?
<Jason> i tried that and wasn't able to get it.
<Jason> blah.len % 2 something
Aryasam has quit [Read error: Connection reset by peer]
yacks has quit [Ping timeout: 260 seconds]
<benzrf> look up how base64 works and ull be able to figure it out
<benzrf> =p
<Jason> if (blah.len % 2 != 0) blah+="=".times 4 - blah.len % 2
<shevy> omg
Aryasam has joined #ruby
<Jason> length* rather ;p
<Jason> but that wasn't the reason why it wasn't working. i think my numbers are off.
<omegahm> Jason: Base64'ing with no padding? Isn't that just rot13'ing then?
<benzrf> blah << '=' until blah.length % 4 == 0
<benzrf> or something
<benzrf> omegahm: wat.
sk87 has joined #ruby
<benzrf> omegahm: oh
<benzrf> he means == padding
<Jason> lol what
<Jason> omegahm: yes, i totally want to rot13 my data.
<Jason> if that were possible with bianry.
<omegahm> Yeah I didn't get why you wanted to do that either, but hey :)
<Jason> hah
<Jason> omegahm: but anyway, yeah. i'm printing some info to be put on labels, and want to get rid of the padding (=)
<Jason> looks ugly and unneeded, really
OdNairy has joined #ruby
<shevy> delete the char
<Jason> benzrf: i think that worked
<benzrf> :)
<Jason> benzrf: OH. i was doing % 2, instead of %4.
<Jason> ... lol
<Jason> that's why it was sometimes working.
speakingcode has quit [Ping timeout: 272 seconds]
<Jason> wow. well then
tharindu|away is now known as tharindu
Ch4rAss has quit [Quit: Lost terminal]
JasmeetQA1 has joined #ruby
<benzrf> ;)
<benzrf> wait
<benzrf> no i think it might be %2...
<benzrf> idk
<shevy> you guys are gambling to find the correct code
timonv has joined #ruby
blaxter_ has joined #ruby
<shevy> I shall never use an aircraft that was written by you guys in ruby!!!
<benzrf> %3
<benzrf> drerp
<shevy> let's try %5
<benzrf> because 2 bytes -> 3 bytes
<shevy> just to include all options
<benzrf> it's %3
<shevy> lol
<certainty> i totally know it's % 42
stkowski has quit [Quit: stkowski]
<Jason> no
<Jason> %4 seems to be it
JasmeetQA has quit [Ping timeout: 246 seconds]
<Jason> haha
Xeago has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
<benzrf> it's %3
<benzrf> trust mengu
<benzrf> *me
<benzrf> 90% sure
<benzrf> let me doublechck
<shevy> wtf
<benzrf> ohcibi:
<shevy> you guys get dumber and dumber by the minute
<benzrf> *oh
<benzrf> youre right :|
<benzrf> it's 3 -> 4 not 2 -> 3
<benzrf> nsiudisdjf
<benzrf> gosh i feel silly
<shevy> RIGHTFULLY SO
<shevy> BE VERY ASHAMED
<benzrf> wait i think
<benzrf> gdmit
sdwrage has quit [Quit: This computer has gone to sleep]
RoxasShadowRS has joined #ruby
<benzrf> yep 3 -> 4
<benzrf> therefore %4
<benzrf> <_>
<certainty> >> ->(*){ 4 }[3]
<eval-in> certainty => 4 (https://eval.in/101566)
<certainty> yes you're right
<benzrf> <_<
<certainty> 80% sure
<shevy> god
<shevy> you noobs
<certainty> :)
mosez has joined #ruby
decoponio has joined #ruby
fella6s has quit [Read error: Connection reset by peer]
Cache_Money has quit [Quit: Cache_Money]
jericon has joined #ruby
ahawkins has joined #ruby
timonv has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
xaq has quit [Remote host closed the connection]
[gmi] has joined #ruby
claymore has joined #ruby
timonv_ has joined #ruby
withnale has quit [Ping timeout: 245 seconds]
fella5s has joined #ruby
brennanMKE has joined #ruby
Nyyx has quit [Ping timeout: 260 seconds]
andikr has joined #ruby
yasushi has quit [Remote host closed the connection]
fella5s has quit [Read error: Connection reset by peer]
marr has joined #ruby
mikepack has joined #ruby
brennanMKE has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
Hobogrammer has quit [Quit: Leaving]
pyk has joined #ruby
wildroman2 has joined #ruby
einarj has joined #ruby
Jason has left #ruby [#ruby]
reset has joined #ruby
mikepack has quit [Ping timeout: 248 seconds]
<Nilium> Goody, my selector parser is vastly faster now.
<Nilium> So, it still follows: if you want it fast, write it in C. >_>
arctaruz has joined #ruby
arctaruz has left #ruby [#ruby]
fella5s has joined #ruby
fgo has joined #ruby
ddv has joined #ruby
Kricir has joined #ruby
PLejeck has quit [Max SendQ exceeded]
PLejeck has joined #ruby
AlexRussia has joined #ruby
tharindu is now known as tharindu|away
tharindu|away is now known as tharindu
withnale has joined #ruby
noarthur has joined #ruby
jxport_ is now known as jxport
fgo has quit [Ping timeout: 260 seconds]
tylersmith has joined #ruby
Kricir has quit [Ping timeout: 252 seconds]
havenwood has quit [Remote host closed the connection]
fgo has joined #ruby
havenwood has joined #ruby
ddv has left #ruby ["ddv"]
poulson has joined #ruby
sparrovv has joined #ruby
sparrovv has quit [Remote host closed the connection]
Xeago has joined #ruby
sawtooth has quit [Ping timeout: 260 seconds]
oskarpearson has joined #ruby
tylersmith has quit [Ping timeout: 260 seconds]
sawtooth has joined #ruby
oskarpearson has quit [Client Quit]
blackmesa has joined #ruby
blackmesa has quit [Client Quit]
havenwood has quit [Ping timeout: 246 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
stonevil has joined #ruby
skaflem has joined #ruby
ikaros has joined #ruby
vacooom has joined #ruby
obs has joined #ruby
pavilionXP has quit [Read error: Connection reset by peer]
wildroman2 has quit [Remote host closed the connection]
vacooom has left #ruby [#ruby]
fgo has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
slowcon has joined #ruby
wildroman2 has joined #ruby
pyk has left #ruby [#ruby]
vlad_starkov has joined #ruby
TigerWolf has quit [Disconnected by services]
Guest11764 has quit [Ping timeout: 272 seconds]
camilasan has joined #ruby
mosez has quit [Quit: Switching back to real life]
bedouin has quit [Ping timeout: 252 seconds]
mansi has joined #ruby
sk87 has joined #ruby
rootshift has joined #ruby
kitak_ has quit [Read error: Connection reset by peer]
kitak has joined #ruby
barratt has joined #ruby
nvrch has joined #ruby
bedouin has joined #ruby
browndawg has joined #ruby
sk87 has quit [Client Quit]
rdark has joined #ruby
ephemerian has joined #ruby
troessner has joined #ruby
mansi has quit [Ping timeout: 272 seconds]
lyanchih_ has quit [Quit: lyanchih_]
yfeldblu_ has joined #ruby
kaliya has joined #ruby
mph has joined #ruby
benzrf has quit [Quit: zzz]
greenarrow has joined #ruby
<mph> does anyone know if ActiveRecord supports connection to 4D database?
Al has joined #ruby
timonv_ has quit [Remote host closed the connection]
roolo has joined #ruby
<mph> I am getting an "undefined method `require_library_or_gem'" error from the activerecord-odbc-adapter through mongify
yfeldblum has quit [Ping timeout: 246 seconds]
<rdark> k
prognostikos has joined #ruby
<Nilium> Isn't cross-posting questions sort of frowned upon? Or is that #ruby-lang?
lyanchih has joined #ruby
dubsteph has joined #ruby
<certainty> it's ok if you at least indicate that it's a cross-post AFAIR
slowcon has quit [Quit: slowcon]
mikecmpbll has joined #ruby
mikecmpbll has quit [Max SendQ exceeded]
<certainty> i'm all for liberty though
mikecmpbll has joined #ruby
tgkokk has joined #ruby
<Nilium> I'm all for purging the rails users >_>
vasilakisFiL has joined #ruby
<vasilakisFiL> I am trying to use a local gem, I add it to the gemfile using the :path => "path" and when I require it to the simplest ever ruby script I get this error: `require': cannot load such file
<vasilakisFiL> what am I doing wrong ?
mercwithamouth has joined #ruby
maroloccio has joined #ruby
predator217 has quit [Ping timeout: 245 seconds]
julian has joined #ruby
thomasxie has quit [Ping timeout: 260 seconds]
julian is now known as Guest16771
ultraflash3 has joined #ruby
<mph> worthless
camilasan has quit [Remote host closed the connection]
mph has left #ruby [#ruby]
Al has quit [Disconnected by services]
ruukasu has quit [Ping timeout: 252 seconds]
gja has quit [Quit: This computer has gone to sleep]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
yacks has joined #ruby
mojjojo has joined #ruby
brennanMKE has joined #ruby
gja has joined #ruby
ultraflash3 has quit [Ping timeout: 245 seconds]
slowcon has joined #ruby
mikepack has joined #ruby
stonevil has quit [Quit: Computer has gone to sleep.]
Schmidt has quit [Ping timeout: 272 seconds]
Lewix has quit [Ping timeout: 260 seconds]
Alina-malina has quit [Read error: Connection reset by peer]
andrewdublin has joined #ruby
kobain_ has quit []
camilasan has joined #ruby
brennanMKE has quit [Ping timeout: 245 seconds]
agent_white has quit [Quit: nightr]
Aquilo has joined #ruby
browndawg has quit [Quit: Leaving.]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
tgkokk has quit [Quit: tgkokk]
mikepack has quit [Ping timeout: 260 seconds]
Lewix has joined #ruby
Schmidt has joined #ruby
timonv_ has joined #ruby
timonv has joined #ruby
mbuf has quit [Quit: Leaving]
fgo has joined #ruby
oso96_2000 is now known as oso|away
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
Kricir has joined #ruby
timonv_ has quit [Ping timeout: 252 seconds]
einarj has quit []
ruukasu has joined #ruby
nhhagen has joined #ruby
einarj has joined #ruby
fgo has quit [Ping timeout: 246 seconds]
Alina-malina has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
elaptics`away is now known as elaptics
_Andres has quit [Read error: Connection reset by peer]
slowcon has quit [Quit: slowcon]
Zunonia_ has quit [Quit: Computer has gone to sleep.]
MrBy has joined #ruby
TMM has joined #ruby
mengu has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
Kricir has quit [Ping timeout: 252 seconds]
mengu has joined #ruby
JasmeetQA1 has quit [Quit: Leaving.]
Hanmac has joined #ruby
mehlah has joined #ruby
magbeat has quit [Quit: leaving]
Hanmac1 has quit [Ping timeout: 272 seconds]
thesheff17 has quit [Quit: Leaving]
greenarrow has quit [Quit: 500]
JustMozzy has joined #ruby
connor_goodwolf has quit [Read error: Operation timed out]
Alina-malina has quit [Read error: Connection reset by peer]
Aryasam has quit [Ping timeout: 245 seconds]
Alina-malina has joined #ruby
JasmeetQA has joined #ruby
slowcon has joined #ruby
connor_goodwolf has joined #ruby
obs has quit [Quit: Konversation terminated!]
madzhuga has joined #ruby
Aryasam has joined #ruby
obs has joined #ruby
madzhuga has quit [Client Quit]
timonv_ has joined #ruby
wildroman3 has joined #ruby
iamdoo2 has quit []
timonv has quit [Ping timeout: 252 seconds]
shaunbaker has joined #ruby
klaut has joined #ruby
wildroman2 has quit [Ping timeout: 252 seconds]
mansi has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
greenarrow has joined #ruby
fella5s has quit [Read error: Connection reset by peer]
mansi has quit [Ping timeout: 248 seconds]
fella5s has joined #ruby
vlad_starkov has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
stonevil has joined #ruby
shredding has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
dangerousdave has joined #ruby
Aryasam has quit [Read error: Connection reset by peer]
wildroman3 has quit [Remote host closed the connection]
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
wildroman2 has joined #ruby
Aryasam has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
timonv_ has quit [Remote host closed the connection]
sski has quit [Ping timeout: 245 seconds]
klip has quit [Ping timeout: 272 seconds]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
[BNC]yetet has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
wildroman2 has quit [Ping timeout: 246 seconds]
lkba has quit [Ping timeout: 272 seconds]
jsaak has joined #ruby
Atw has quit [Ping timeout: 252 seconds]
nhhagen has quit [Remote host closed the connection]
eka has joined #ruby
msuszczy has joined #ruby
Nyyx has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
brennanMKE has joined #ruby
mojjojo has quit [Quit: mojjojo]
Shidash has quit [Ping timeout: 248 seconds]
mikepack has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
mengu has quit [Remote host closed the connection]
timonv has joined #ruby
brennanMKE has quit [Ping timeout: 248 seconds]
werdnativ has quit [Quit: FAMOUS_LAST_WORDS is nil]
starfox21 has quit [Ping timeout: 260 seconds]
starfox21 has joined #ruby
mikepack has quit [Ping timeout: 246 seconds]
camilasan has quit [Remote host closed the connection]
Kneferilis has quit [Read error: Connection reset by peer]
tkuchiki has quit [Ping timeout: 260 seconds]
kevinfagan has quit [Ping timeout: 260 seconds]
shaileshg_____ is now known as shaileshg
camilasan has joined #ruby
mojjojo has joined #ruby
tjsousa has joined #ruby
vaicine has quit [Ping timeout: 252 seconds]
jlebrech has joined #ruby
Kricir has joined #ruby
vaicine has joined #ruby
ardsrk has joined #ruby
nomenkun_ has joined #ruby
vacooom has joined #ruby
Aryasam has quit [Ping timeout: 246 seconds]
vacooom has quit [Quit: leaving]
ruisantos has quit [Ping timeout: 248 seconds]
mhenrixon|afk has quit [Ping timeout: 248 seconds]
Kricir has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
kevinfagan has joined #ruby
mhenrixon has joined #ruby
Hiall has quit [Quit: hiall]
Hiall has joined #ruby
abstractj has quit [Excess Flood]
cantonic has joined #ruby
abstractj has joined #ruby
abstractj has quit [Changing host]
abstractj has joined #ruby
zeeraw has joined #ruby
ruisantos has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
SHyx0rmZ has joined #ruby
nhhagen has joined #ruby
mojjojo has quit [Quit: mojjojo]
razibog has joined #ruby
mojjojo has joined #ruby
Kneferilis has joined #ruby
fgo has joined #ruby
dubsteph has quit [Ping timeout: 253 seconds]
nhhagen has quit [Read error: Connection reset by peer]
nhhagen has joined #ruby
joelroa has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
slowcon has quit [Quit: slowcon]
yfeldblum has joined #ruby
Nyyx has quit [Ping timeout: 248 seconds]
predator117 has joined #ruby
alexherbo2 has joined #ruby
mengu has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
sk87 has joined #ruby
mehlah has quit [Quit: Leaving...]
_tpavel has quit [Quit: Leaving]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sk87 has quit [Client Quit]
sensen has quit [Quit: leaving]
sparrovv has joined #ruby
JarJarBinks has joined #ruby
Es0teric has quit [Read error: Operation timed out]
cmedeiros has quit [Ping timeout: 246 seconds]
mengu has quit [Ping timeout: 272 seconds]
thomasxie has joined #ruby
zeeraw has joined #ruby
<JarJarBinks> Hi. I can't seem to understand why I cannot regexp match begining of line inside brackets: I have foo = "abc,def,ghi" ; and want to prepend prefix to the words. I write foo.gsub(/([\^,]{1})([^,]*)/,"\\1prefix_\\2") I have tried with \A and \\A instead of \^, but I keep getting "abc,prefix_def,prefix_ghi" so start of string is not matched
dubsteph has joined #ruby
tziOm has quit [Read error: Operation timed out]
ehaliewicz has quit [Ping timeout: 260 seconds]
tziOm has joined #ruby
xargoon has quit [Ping timeout: 272 seconds]
stonevil has quit [Quit: Computer has gone to sleep.]
reset has quit [Quit: Leaving...]
postmodern has quit [Quit: Leaving]
tolstoi has quit [Remote host closed the connection]
xargoon has joined #ruby
<JarJarBinks> and obviously I want also abc to be changed to prefix_abc
<krz> if bar = nil
phansch has joined #ruby
<krz> what do you call foo = bar || nil
<krz> im trying to see if they have an equivalent in js
<krz> foo = bar || nil
<tobiasvl> krz: it's not called anythign
<pipework> assignment. short-circuited assignment?
b00stfr3ak has quit [Ping timeout: 246 seconds]
Es0teric has joined #ruby
pierre1_ has joined #ruby
lyanchih has quit [Ping timeout: 253 seconds]
Lewix has quit [Quit: Leaving...]
SHyx0rmZ has quit [Ping timeout: 253 seconds]
tjsousa_ has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
realdannys_ has joined #ruby
<realdannys_> Hi everyone
Hiall has quit [Quit: hiall]
<realdannys_> I wonder if anyone could spare a couple of minutes to help me out with some syntax at the end of an .rb file I have?
predator117 has quit [Ping timeout: 246 seconds]
ultraflash3 has joined #ruby
predator117 has joined #ruby
rootshift has joined #ruby
tjsousa has quit [Ping timeout: 252 seconds]
<tobiasvl> shoot
S0da has joined #ruby
<realdannys_> I'm using Capistratno and I'm either getting a syntax error or at best the DB task before works, but then deploy says that my final DB task doesn't exist
<realdannys_> thanks tobiasv, i'll pop it in pastie now
Nanuq has quit [Ping timeout: 245 seconds]
tkuchiki has joined #ruby
<realdannys_> Oh wait a second, I've just looked on stack overflow and I think somebody has been kind enough to help me out already! Just testing.
brennanMKE has joined #ruby
tjsousa_ has quit [Read error: Connection reset by peer]
tjsousa_ has joined #ruby
ultraflash3 has quit [Ping timeout: 272 seconds]
fgo has quit [Remote host closed the connection]
Nanuq has joined #ruby
sparrovv has quit [Remote host closed the connection]
brennanMKE has quit [Ping timeout: 260 seconds]
tjsousa_ has quit [Read error: Connection reset by peer]
tjsousa_ has joined #ruby
nomenkun_ has quit [Quit: Leaving...]
Speed has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
mojjojo has quit [Quit: mojjojo]
mojjojo has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
starfox21 has quit [Quit: starfox21]
marianogg9 has joined #ruby
<marianogg9> hi guys
lkba has joined #ruby
sparrovv has joined #ruby
<marianogg9> is there a function to cut a text in X amount of characters? like, I need to keep the first 7characters of this: "Hello there!", so get "Hello t"
realdannys_ has quit [Quit: Page closed]
<DouweM> >> "Hello there!"[0,7]
<eval-in> DouweM => "Hello t" (https://eval.in/101632)
sk87 has joined #ruby
rootshift has joined #ruby
Kricir has joined #ruby
tjr9898 has joined #ruby
SHyx0rmZ has joined #ruby
tolstoi has joined #ruby
tolstoi has joined #ruby
tolstoi has quit [Changing host]
sk87 has quit [Client Quit]
wildroman2 has joined #ruby
Kricir has quit [Ping timeout: 245 seconds]
stonevil has joined #ruby
sparrovv has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
reset has joined #ruby
<marianogg9> thanks DouweM! I thought there is something like: "hello there!".
<marianogg9> sorry, thanks
marianogg9 has left #ruby [#ruby]
Hiall has joined #ruby
GinoMan has joined #ruby
sk87 has joined #ruby
sambao21 has joined #ruby
maoko has joined #ruby
Beoran has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Ping timeout: 252 seconds]
yacks has quit [Ping timeout: 252 seconds]
TigerWolf has joined #ruby
noop has quit [Ping timeout: 246 seconds]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
obs has quit [Quit: Konversation terminated!]
obs has joined #ruby
jzig has quit [Remote host closed the connection]
Guest16771 has quit [Quit: Lost terminal]
jzig has joined #ruby
yfeldblum has joined #ruby
Fire-Dragon-DoL has joined #ruby
francisfish has joined #ruby
jzig has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mansi has joined #ruby
Davey has joined #ruby
jzig has joined #ruby
Beoran has joined #ruby
Jdubs has quit [Remote host closed the connection]
reset has quit [Ping timeout: 248 seconds]
stonevil has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Ping timeout: 272 seconds]
francisfish has quit [Ping timeout: 260 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
tjr9898 has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 252 seconds]
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
sambao21 has joined #ruby
havenwood has joined #ruby
cmedeiros has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
asmodlol has joined #ruby
danshultz has joined #ruby
dubios has quit [Excess Flood]
mariappp has joined #ruby
dubios has joined #ruby
timonv has quit [Remote host closed the connection]
dubios has quit [Excess Flood]
timonv has joined #ruby
shredding has quit [Read error: Connection reset by peer]
dubios has joined #ruby
tjsousa_ has quit [Read error: Connection reset by peer]
tjsousa_ has joined #ruby
siwica has joined #ruby
pontiki_ has quit [Ping timeout: 245 seconds]
tjr9898 has joined #ruby
shredding has joined #ruby
pontiki has joined #ruby
aep has quit [Ping timeout: 246 seconds]
siwica has quit [Client Quit]
bw_ has quit [Ping timeout: 252 seconds]
timonv has quit [Ping timeout: 248 seconds]
andrewdublin has quit [Ping timeout: 272 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
tjsousa_ has quit [Read error: Connection reset by peer]
tjsousa_ has joined #ruby
shredding has quit [Client Quit]
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
fgo has joined #ruby
gja has quit [Ping timeout: 260 seconds]
prc has joined #ruby
avril14th has joined #ruby
aep has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
tgkokk has joined #ruby
bw_ has joined #ruby
havenwood has quit [Ping timeout: 272 seconds]
brennanMKE has joined #ruby
yacks has joined #ruby
figgleberry has joined #ruby
<avril14th> Hello, I have that module structure, I don't get why I can access Real.meth ? https://gist.github.com/muichkine/a8415a1d7fb69c4cfc65 isn't Real "inheriting" class methods?
vlad_starkov has joined #ruby
wildroman3 has joined #ruby
<avril14th> *cannot access
fgo has quit [Ping timeout: 245 seconds]
wildroman2 has quit [Ping timeout: 245 seconds]
tjr9898 has quit [Remote host closed the connection]
ace_striker has quit [Ping timeout: 245 seconds]
GinoMan has quit [Ping timeout: 248 seconds]
fgo has joined #ruby
Jdubs has joined #ruby
JasmeetQA has quit [Ping timeout: 252 seconds]
brennanMKE has quit [Ping timeout: 248 seconds]
tjr9898 has joined #ruby
bitness64 has joined #ruby
greenarrow has quit [Quit: 500]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
senayar has quit [Remote host closed the connection]
Jdubs has quit [Ping timeout: 246 seconds]
pavilionXP has joined #ruby
tjsousa_ has quit [Read error: Connection reset by peer]
tharindu has quit [Quit: Leaving...]
tjsousa_ has joined #ruby
AlSquirrel has joined #ruby
bogeyd6 has quit [Ping timeout: 245 seconds]
mojjojo has quit [Quit: mojjojo]
wildroman3 has quit []
mojjojo has joined #ruby
rudisimo has joined #ruby
mojjojo has quit [Client Quit]
mehlah has joined #ruby
popl has quit [Ping timeout: 252 seconds]
sailias has quit [Ping timeout: 248 seconds]
gja has quit [Quit: This computer has gone to sleep]
Speed has quit [Ping timeout: 260 seconds]
bluenemo has joined #ruby
reset has joined #ruby
mojjojo has joined #ruby
tjsousa_ has quit [Read error: Connection reset by peer]
tjsousa_ has joined #ruby
cantonic has quit [Quit: cantonic]
tjsousa_ has quit [Client Quit]
ace_striker has joined #ruby
ace_striker is now known as Guest36600
Nyyx has joined #ruby
yfeldblum has joined #ruby
reset has quit [Ping timeout: 260 seconds]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
makara has quit [Ping timeout: 260 seconds]
makara has joined #ruby
tjsousa_ has joined #ruby
mojjojo has quit [Quit: mojjojo]
mailo has joined #ruby
roolo has quit [Read error: Connection reset by peer]
dx7 has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
francisfish has joined #ruby
senayar has joined #ruby
mosez has joined #ruby
mojjojo has joined #ruby
stonevil_ has joined #ruby
Speed has joined #ruby
tjr9898 has quit [Remote host closed the connection]
tvw has joined #ruby
senayar has quit [Ping timeout: 246 seconds]
chrisseaton has quit []
sameerynho has joined #ruby
maoko has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[krisbulman] is now known as krisbulman
mark_locklear has joined #ruby
sk87 has joined #ruby
razibog has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
lxsameer has quit [Ping timeout: 272 seconds]
lxsameer_ has joined #ruby
itadder has joined #ruby
itadder has quit [Client Quit]
sameerynho has quit [Ping timeout: 272 seconds]
billy_ran_away has joined #ruby
pu22l3r has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 252 seconds]
klip has joined #ruby
ultraflash3 has joined #ruby
dubsteph has quit [Ping timeout: 246 seconds]
klip has quit [Client Quit]
fedesilva has joined #ruby
brennanMKE has joined #ruby
klip has joined #ruby
amundj_ has quit [Ping timeout: 245 seconds]
Gonzih has joined #ruby
shredding has joined #ruby
greenarrow has joined #ruby
brennanM_ has joined #ruby
brennanMKE has quit [Read error: Connection reset by peer]
joonty has quit [Quit: WeeChat 0.4.2]
mojjojo has quit [Quit: mojjojo]
mikepack has joined #ruby
ultraflash3 has quit [Ping timeout: 245 seconds]
Hanmac1 has joined #ruby
mojjojo has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
brennanM_ has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #ruby
nomenkun has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
DouweM has quit [Ping timeout: 252 seconds]
Hanmac has joined #ruby
Hanmac1 has quit [Ping timeout: 252 seconds]
echevemaster has joined #ruby
burlyscudd has joined #ruby
yasushi has joined #ruby
vpretzel has joined #ruby
senayar has joined #ruby
zachallett has joined #ruby
tharindu has joined #ruby
rootshift has joined #ruby
krz has quit [Quit: WeeChat 0.4.2]
Kricir has joined #ruby
IceyEC has quit [Quit: IceyEC]
tharindu has quit [Ping timeout: 252 seconds]
Kricir has quit [Ping timeout: 246 seconds]
TheOnlyJoey has joined #ruby
<TheOnlyJoey> Ohai
crus has quit [Ping timeout: 272 seconds]
m8 has joined #ruby
sparrovv has joined #ruby
gr33n7007h has joined #ruby
stonevil_ has quit [Quit: Computer has gone to sleep.]
<TheOnlyJoey> Question, i am currently trying to install ruby 2.1.0 on my debian sid 32 bit machine, but the problem is that rvm only got a 64 bit version available.
<TheOnlyJoey> is it possible to change the repository rvm gets it libraries from? ie, using the jesse or wheezy repo?
<avril14th> TheOnlyJoey: #rvm ?
zeeraw has joined #ruby
<TheOnlyJoey> avril14th, ah there is a seperate channel? did not know that
<TheOnlyJoey> sorry about that :)
<avril14th> TheOnlyJoey: no pb :)
MindfulMonk has joined #ruby
mehlah has quit [Quit: Linkinus - http://linkinus.com]
tonni has quit [Read error: Connection reset by peer]
tonni has joined #ruby
dblessing has joined #ruby
rmorello has joined #ruby
crus has joined #ruby
sailias has joined #ruby
mariappp has quit [Remote host closed the connection]
stonevil_ has joined #ruby
reset has joined #ruby
VinceThePrince has joined #ruby
<dagobah> I'm writing a little console spinner in ruby, can anyone see how I might get rid of my need for overriding puts :( => https://gist.github.com/kotay/9001133
lachesis has left #ruby ["Leaving"]
mojjojo has quit [Quit: mojjojo]
chrisseaton has joined #ruby
VinceThePrince has quit [Client Quit]
<hoelzro> dagobah: you can use the save/restore escape codes
ffranz has joined #ruby
stonevil_ has quit [Client Quit]
<dagobah> hoelzro: Interesting, I'll look into those...
Macaveli has quit [Ping timeout: 252 seconds]
reset has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
noarthur has quit [Ping timeout: 246 seconds]
noarthur_ has joined #ruby
shredding has quit [Quit: shredding]
sparrovv has quit [Remote host closed the connection]
gr33n7007h has quit [Remote host closed the connection]
banister has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
mojjojo has joined #ruby
Hanmac1 has joined #ruby
nhhagen has quit [Remote host closed the connection]
banister has quit [Client Quit]
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
blaxter_ has quit [Quit: foo]
ruukasu has quit [Quit: Leaving]
Hanmac has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
jsilver has quit [Read error: Connection reset by peer]
jsilver has joined #ruby
andrewdublin has joined #ruby
koell has joined #ruby
makara has quit [Quit: Leaving]
stryek has joined #ruby
chrisseaton has quit [Ping timeout: 245 seconds]
roolo has joined #ruby
mailo has quit [Read error: Connection reset by peer]
Speed has quit [Ping timeout: 260 seconds]
browndawg has joined #ruby
Es0teric has quit [Ping timeout: 246 seconds]
gbt has joined #ruby
philcrissman has joined #ruby
banister has joined #ruby
wallerdev has joined #ruby
Es0teric has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
zeeraw has quit [Remote host closed the connection]
wallerdev has quit [Client Quit]
failshell has joined #ruby
fedesilva has quit [Ping timeout: 248 seconds]
nhhagen has joined #ruby
jerius has joined #ruby
failshel_ has joined #ruby
failshel_ has quit [Client Quit]
failshell has quit [Read error: Connection reset by peer]
xaq has joined #ruby
tgkokk has quit [Quit: tgkokk]
fedesilva has joined #ruby
tgkokk has joined #ruby
browndawg has quit [Ping timeout: 245 seconds]
fgo has quit [Remote host closed the connection]
brennanMKE has joined #ruby
nhhagen has quit [Ping timeout: 252 seconds]
agjacome has joined #ruby
fedexo has quit [Read error: Connection reset by peer]
tharindu has joined #ruby
tgkokk has quit [Client Quit]
tgkokk has joined #ruby
nhhagen has joined #ruby
chrisseaton has joined #ruby
nhhagen has quit [Remote host closed the connection]
shredding has joined #ruby
brennanMKE has quit [Read error: No route to host]
Brolen has joined #ruby
sparrovv has joined #ruby
Kricir has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Hiall has quit [Ping timeout: 248 seconds]
nateberkopec has joined #ruby
browndawg has joined #ruby
Squarepy has joined #ruby
tgkokk has quit [Remote host closed the connection]
mikepack has joined #ruby
nhhagen has joined #ruby
Gonzih has quit [Quit: IRC is just multiplayer vim.]
aapzak has joined #ruby
momomomomo has joined #ruby
sk87 has joined #ruby
s2013 has joined #ruby
mikepack has quit [Ping timeout: 252 seconds]
Speed has joined #ruby
somepers1n has joined #ruby
tjr9898 has joined #ruby
kaldrenon has joined #ruby
tjr9898 has quit [Client Quit]
burlyscudd has quit [Quit: Leaving.]
Vovko has joined #ruby
tjr9898 has joined #ruby
sergicles has quit [Ping timeout: 252 seconds]
cantonic has joined #ruby
VTLob has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
hostess_ is now known as hostess
sparrovv has quit [Remote host closed the connection]
tgkokk has joined #ruby
wallerdev has joined #ruby
nhhagen has quit [Remote host closed the connection]
brennanMKE has joined #ruby
raphaelivan has joined #ruby
barratt has quit [Ping timeout: 272 seconds]
jkamenik has joined #ruby
thomasxie has quit [Quit: Leaving.]
Sawbones has joined #ruby
PLejeck has quit [Ping timeout: 252 seconds]
s2013 has quit [Remote host closed the connection]
<DanBoy> << puts test
PLejeck has joined #ruby
<waxjar> gotta point the other way
<DanBoy> >> puts 'test'
<eval-in> DanBoy => test ... (https://eval.in/101652)
<DanBoy> there we go :P
platzhirsch has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<platzhirsch> I used to get assignments from university to do over the weekend. Now I get these from companies as part of the job interview process… :o(
vlad_starkov has quit [Remote host closed the connection]
<banister> platzhirsch write some cool opensource software and skip that stage :P
nhhagen has joined #ruby
<platzhirsch> banister: great advice, but I want to switch my job :) and one is pretty cool, I will turn it into a full-fledged gem
<banister> at least for my interview i didnt have to do a technical test, they just asked me to explain how i wrote pry/binding_of_caller
baordog has joined #ruby
<platzhirsch> banister: One does not simply put the author of pry through a 'technical interview process' *meme*
<banister> platzhirsch what's the open source gem you're workng on?
mansi has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<platzhirsch> banister: crawl a specific url, stay on the domain and create a sitemap with pages, how they are interlinked and on what static assets they depend on
<banister> pretty cool
andrewdublin has quit [Ping timeout: 245 seconds]
krisbulman is now known as [krisbulman]
joelbrewer has joined #ruby
fedesilv_ has joined #ruby
reset has joined #ruby
fedesilv_ has quit [Remote host closed the connection]
xaq has quit [Remote host closed the connection]
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
fedesilv_ has joined #ruby
michael_lee has joined #ruby
fedesilv_ has quit [Read error: Connection reset by peer]
fedesilva has quit [Ping timeout: 260 seconds]
mehlah has joined #ruby
fedesilva has joined #ruby
reset has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
venkat has joined #ruby
Cache_Money has joined #ruby
[krisbulman] is now known as krisbulman
Cache_Money has quit [Client Quit]
alexherbo2 has joined #ruby
IceDragon has joined #ruby
enebo has joined #ruby
IceDragon has left #ruby [#ruby]
surtin has joined #ruby
freezey has joined #ruby
s2013 has joined #ruby
freezey has quit [Read error: Connection reset by peer]
surtin has quit [Client Quit]
freezey has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
Brolen has quit [Remote host closed the connection]
sparrovv has joined #ruby
sdwrage has joined #ruby
x77686d has joined #ruby
philcrissman has quit [Remote host closed the connection]
Brolen has joined #ruby
IceDragon has joined #ruby
Brolen has quit [Remote host closed the connection]
Brolen has joined #ruby
figgleberry has quit [Ping timeout: 260 seconds]
zachallett has quit [Remote host closed the connection]
tylersmith has joined #ruby
jlast has joined #ruby
danman has joined #ruby
burlyscudd has joined #ruby
jprovazn is now known as jprovazn_afk
SHyx0rmZ has joined #ruby
interactionjaxsn has joined #ruby
brennanMKE has quit [Read error: Connection reset by peer]
lagweezle has joined #ruby
brennanMKE has joined #ruby
Hanmac1 is now known as Hanmac
Vovko_ has joined #ruby
jh_ has joined #ruby
jh_ is now known as Guest87482
Vovko has quit [Ping timeout: 245 seconds]
zB0hs has joined #ruby
zB0hs has quit [Max SendQ exceeded]
msmith_ has joined #ruby
canton7-mac has joined #ruby
asmodlol has quit [Ping timeout: 245 seconds]
nhhagen has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
figgleberry has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
pavilionXP has quit [Read error: Connection reset by peer]
nhhagen has joined #ruby
zachallett has joined #ruby
burlyscudd has quit [Quit: Leaving.]
Vovko has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
beakr has joined #ruby
ultraflash3 has joined #ruby
snath has quit [Ping timeout: 248 seconds]
Jb has quit [Disconnected by services]
CorySimmons has joined #ruby
<CorySimmons> Hey guys, can anyone look at this and tell me what .execute is doing exactly? http://pastie.org/8733567
nhhagen has quit [Remote host closed the connection]
mengu has quit []
Vovko_ has quit [Ping timeout: 260 seconds]
<tobiasvl> not really, because execute is defined somewhere in the SpamService class
mikepack has joined #ruby
ixti has joined #ruby
<CorySimmons> tobiasvl: Ah, it is. How did you know that just from looking at that bit of code?
v0n has joined #ruby
<Hanmac1> we all have crystal balls ;P
lupine has quit [Ping timeout: 245 seconds]
<CorySimmons> Nevermind, I think I see it now.
ultraflash3 has quit [Ping timeout: 260 seconds]
<tobiasvl> well it's quite obvious, you call baz.execute, and baz returns @baz which is a new SpamService object
<tobiasvl> so you really call (SpamService(eggs).new).execute
robbyoconnor has quit [Ping timeout: 272 seconds]
beakr has quit [Quit: beakr]
chrisseaton has quit []
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
lupine has joined #ruby
<CorySimmons> Thanks a lot tobiasvl :)
burlyscudd has joined #ruby
tgkokk has quit [Read error: Connection reset by peer]
mikepack has quit [Ping timeout: 260 seconds]
Noldorin has joined #ruby
MindfulMonk has quit [Ping timeout: 260 seconds]
Shipow has joined #ruby
tagrudev has quit [Remote host closed the connection]
<Hanmac1> CorySimmons: the special is that with ||= the SpamService object is only created once
Hanmac1 is now known as Hanmac
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
mansi has quit [Remote host closed the connection]
koell has quit [Read error: Connection reset by peer]
<CorySimmons> Hanmac: Even if the baz method is ran multiple times?
<Hanmac> yes, thats the magic
<CorySimmons> Wouldn't it just keep redefining @baz?
gr33n7007h has joined #ruby
JasmeetQA has joined #ruby
<canton7-mac> a ||= b expands to a || a = b, not a = a || b
kpshek has joined #ruby
plato has quit [Ping timeout: 252 seconds]
beakr has joined #ruby
mansi has joined #ruby
sambao21 has joined #ruby
Nyyx has quit [Ping timeout: 272 seconds]
braincrash has quit [Ping timeout: 246 seconds]
<Hanmac> its specialy funny when used with object[index] ||= value ;P
Guest87482 has quit [Ping timeout: 246 seconds]
deception has joined #ruby
<ddd> (explicitly stating for purposes of the example) if a.exists? ; return a ; else a = b ; end
rootshift has joined #ruby
jmeeuwen has joined #ruby
<canton7-mac> a.exists? && a != nil && a != false
zachallett has quit [Remote host closed the connection]
<ddd> if a = nil then a exists. just its value is nil. same with false
zachallett has joined #ruby
rippa has joined #ruby
<tobiasvl> yes, but the same doesn't hold in a ||= b
<tobiasvl> ddd: canton7-mac was correcting your explicit example ;)
<tobiasvl> because your example isn't equivalent
<ddd> ah
<Hanmac> ddd and "exists?" is Rails voodoo!
jh__ has joined #ruby
<ddd> waa
<tobiasvl> a ||=b does the same as if a.exists? && a != nil && a != false ; return a ; else a = b ; end
mlpinit has joined #ruby
<ddd> tobiasvl got it. thought it was if a didn't exist at *all*. my bad
nhhagen has joined #ruby
dorei has joined #ruby
<canton7> that's why I mentioned it - that assumption catches people out
<ddd> yep. got me cold
<ddd> i hit pry real fast to verify your's. TIL :)
sk87 has joined #ruby
andrewdublin has joined #ruby
mosez has quit [Read error: Operation timed out]
mosez has joined #ruby
msuszczy has quit [Quit: leaving]
Xeago has quit [Remote host closed the connection]
<havenwood> #exists? is deprecated! use #exist?
sk87 has quit [Client Quit]
sdelmore has joined #ruby
mikepack has joined #ruby
<gr33n7007h> what is (1..10).map {|n| n**3}.inject(:+)
scarolan has joined #ruby
<gr33n7007h> what is :+ mean
<dorei> gr33n7007h: 1^3+2^3...+10^3
<AntelopeSalad> looks like ruby code
<Hanmac> havenwood: he thought that Object has a exists? method ... its AR voodooou
acrussell has joined #ruby
<havenwood> Hanmac: ahhh, right right
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
sk87 has joined #ruby
<gr33n7007h> what is the :+ mean in the code I don't get it
<ddd> i'm writing a rails app, sort of stuck on the cross-over hehe
<Hanmac> gr33n7007h: :+ is a Symbol .inject(:+) is similar to .inject {|a,b| a + b }
<havenwood> Hanmac: it is a Symbol
<AntelopeSalad> gr33n7007h: run the code without the inject part
<havenwood> Hanmac: err, i mean gr33n7007h**
<havenwood> >.>
<ddd> rails sort of blurs whats rails/ar/dep_gem and ruby, especially since rails is written in ruby. :)
<Hanmac> ddd i knew it! its already poisioned your brain ...
<gr33n7007h> i get [1, 8, 27, 64, 125, 216, 343, 512, 729, 1000]
<ddd> yeah I know
Jonah11_ has joined #ruby
* ddd hangs his head in shame
<certainty> gr33n7007h: it folds the array using the #+ procedure and 0 as the seed.
<AntelopeSalad> gr33n7007h: yep, and then add all of those up
rayners has joined #ruby
Jonah11_ has quit [Client Quit]
scarolan_ has quit [Ping timeout: 245 seconds]
<havenwood> gr33n7007h: `[1, 2, 3].inject :+` is like `1 + 2 + 3`
lmickh has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
beakr has quit [Quit: beakr]
<havenwood> gr33n7007h: 1.send(:+, 1) #=> 2
eka has joined #ruby
<gr33n7007h> ah right I got I bloody got it thanks ruby gods
<havenwood> gr33n7007h: :+.class $=> Symbol
<AntelopeSalad> i didn't know what it did but after removing it then it made sense
<certainty> for cases like this i like Enumerable#reduce better
<gr33n7007h> so attr_accessor :name => name is symbol?
<canton7-mac> anything starting with : is a symbol
<gr33n7007h> ok
troessner has quit [Quit: Leaving]
<AntelopeSalad> certainty: yeah that would make way more sense for what it does
vlad_starkov has joined #ruby
<gr33n7007h> so can : work on any methods
kcombs has joined #ruby
<AntelopeSalad> certainty: if both return the same value then why do we have both reduce and inject?
CorySimmons has quit [Read error: Connection reset by peer]
Nyyx has joined #ruby
JasmeetQA has quit [Ping timeout: 246 seconds]
root_empire has joined #ruby
Cache_Money has joined #ruby
<gr33n7007h> ok thanks guys
<AntelopeSalad> i've seen the terms map/reduce go together in many other languages/databases/etc., i've never seen map/inject tho
<canton7-mac> lots of ruby methods have aliases - in a lot of cases, the alias you use can clarify the way that you're using it
<canton7-mac> I think #inject comes from some functional languages?
<gr33n7007h> ruby as a lot if shortcuts and different way of doing things
<gr33n7007h> s/if/of
<gr33n7007h> which i like
mojjojo has quit [Quit: mojjojo]
andikr has quit [Read error: Connection reset by peer]
itadder has joined #ruby
<AntelopeSalad> ah, google says fold should be included in that alias too
mojjojo has joined #ruby
<certainty> AntelopeSalad: yes it's a fold
nhhagen has quit [Remote host closed the connection]
<Hanmac> when using inject remind the default value ...
<Hanmac> >> [[].inject(:+), [].inject(0,:+)]
<eval-in> Hanmac => [nil, 0] (https://eval.in/101678)
<itadder> wow my boss is gone for today
silicong has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<itadder> I didn't know that homebrew is the new macport and that it ruby based awesome
michael_lee has quit [Ping timeout: 272 seconds]
JasmeetQA has joined #ruby
<itadder> and also I didn't know about vagrant it gerat stuff
vlad_starkov has quit [Ping timeout: 248 seconds]
<gr33n7007h> So, just to clarify map returns a newly created array of integers with whatever expression, then inject adds them all together ?
<itadder> the one issues I am having is with this user profile on my mac is import my lime chat settings
<certainty> gr33n7007h: that particular inject does, yes
reset has joined #ruby
<canton7-mac> #map is a transformation from one array to another array, it applies a method to each element in the first array to get the corresponding element in the second array
<gr33n7007h> Ok thanks
<Hanmac> brew better than macport? i didnt know because i used rvm that used ports right? ... good that i dont need to care about anymore
<itadder> oh
<gr33n7007h> canton7, of think I understand now
figgleberry has quit [Ping timeout: 272 seconds]
mikepack has quit [Remote host closed the connection]
<itadder> RVM can install other CLI tools
<Hanmac> gr33n7007h: if you have problems because the array might be too big you also could use .lazy
<joelbrewer> is this a good place to ask a heroku question? if not any idea where..?
<itadder> Hanmac: you are not longer using mac
<havenwood> LAZY ALL THE THINGS! \o/
<gr33n7007h> will look that up thanks Hanmac
Guest36600 has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
<Senjai> joelbrewer: Probably the heroku support channel
<Hanmac> itadder: yes bacause i dont have a macbook anymore *yeah*
<Senjai> joelbrewer: Failing that, if your making a rails app, ask in #rubyonrails, php, etc
<itadder> you left the mac for a none apple laptop with linux?
<itadder> Hanmac: are you happier
<gr33n7007h> cheers havenwood
CorySimmons has joined #ruby
<joelbrewer> Senjai: which is the heroku support channel? simple #heroku?
<joelbrewer> *simply
<Hanmac> havenwood: are you know in Shikamaru style? ;D
<Senjai> joelbrewer: Dunno, I swore to never use that POS again, same at work.
<gr33n7007h> havenwood, does it matter im on ruby 1.9.3
<Senjai> joelbrewer: Try it and see
<havenwood> gr33n7007h: no
<gr33n7007h> ok good
<havenwood> gr33n7007h: well, no #lazy
<havenwood> gr33n7007h: just update to 2.1 at some point :P
<Senjai> Every time someone signs up for heroku, a kitten dies
<Hanmac> itadder: first yes, because i dont need to trouble with mac shit anymore ... secound is that i cant test my binding for mac anymore
<joelbrewer> Senjai: ahh. the reason I was interested in it is because of the free hosting..
joonty has joined #ruby
<AntelopeSalad> would you guys say << is more common than += for appending to a string?
<havenwood> they have a transient file system now
<havenwood> AntelopeSalad: yup
<itadder> what falvour of linux are you using?
<certainty> AntelopeSalad: yup
<gr33n7007h> havenwood, will do
<AntelopeSalad> ok thanks
<canton7-mac> AntelopeSalad, depends - << mutates the original string, so be careful not to do it if the string was passed into your functino by someone else
<AntelopeSalad> in that case, run this gr33n7007h: ['foo', 'bar', 'baz'].map { |w| w << ' modifed' }
sparrovv has quit [Remote host closed the connection]
vasilakisFiL has quit [Read error: Connection reset by peer]
<canton7-mac> in general string interpolation is preferred ("this #{string} etc")
wallerdev has quit [Quit: wallerdev]
<AntelopeSalad> except spell the word modified correctly
reset has quit [Ping timeout: 272 seconds]
<itadder> is thier a channel for ohmyzsh
<AntelopeSalad> i wanted to throw together a simple map using a string for him!
<gr33n7007h> AntelopeSalad, ["foo modifed", "bar modifed", "baz modifed"]
<AntelopeSalad> yeah, i only did that to show you can use map for non-ints
<gr33n7007h> Ah right sorry
Cache_Money has quit [Quit: Cache_Money]
<gr33n7007h> cool
<joelbrewer> Senjai: ahh. so what do you use?
mikepack has quit [Ping timeout: 260 seconds]
<gr33n7007h> << is that append
<havenwood> itadder: i'd suggest yanking out the theme you like and dropping ohmyzsh. i used it till i actually looked at the code, then realized it wasn't something i wanted around!
<certainty> gr33n7007h: note that #inject (fold) is the more general concept. You can easily implement #map in terms of #inject
<Senjai> joelbrewer: OpsWorks, EC2, or Digital Ocean for small projects
<itadder> havenwood: oh I see
<itadder> havenwood: I have yet to look at the code
<AntelopeSalad> gr33n7007h: yeah
<itadder> is thier a simple way to remove it havenwood
<itadder> does it have some type of keylogger
bal has quit [Quit: bal]
<Hanmac> AntelopeSalad: each is better when using <<
<Hanmac> >> ['foo', 'bar', 'baz'].each { |w| w << ' modifed' }
<eval-in> Hanmac => ["foo modifed", "bar modifed", "baz modifed"] (https://eval.in/101688)
<havenwood> itadder: tools / uninstall.sh
<gr33n7007h> thanks guys away to do some learning on ruby Hanmac AntelopeSalad certainty havenwood
<havenwood> itadder: nothing malicious
<joelbrewer> Senjai: is Heroku not even worth the free 1 dyno hosting they provide?
<itadder> oh just resource hoggish
<itadder> I notice it a bit on the resource high side
<AntelopeSalad> Hanmac: hmm, i didn't think each returned a new array
<gr33n7007h> Is it possible to learn all the basics of ruby in 1 week
<Hanmac> AntelopeSalad: it doesnt it returns self, the orginal array
mojjojo has quit [Quit: mojjojo]
<Senjai> joelbrewer: If you ever even think about using it commercially, or making it public, no. Even like a 1% chance.
<havenwood> itadder: look at the plugin scripts for example, just a waste of time in my opinion - i do like the variety of themes but i ended up customizing what i like without it and i'm happier
<Senjai> Otherwise, sure why not
lmickh has quit [Remote host closed the connection]
<itadder> I just got it becuase I thought it was cool to have plugins
thesheff17 has joined #ruby
DaniG2k has joined #ruby
<AntelopeSalad> Hanmac: i see, because now if you replace << with += using the each way, it returns the unmodified one
<AntelopeSalad> but with map both << and += return the modified version
<itadder> what do the plugins do that I would even want
<itadder> for example I saw a osx plugin I have no idea what it do
<havenwood> itadder: nothing it turns out :P at least in my case
<certainty> >> %w(foo bar baz).inject([]){ |m,v| m << v + " modified" } ; basically map
<itadder> the only plugin I like was for textmate
<joelbrewer> Senjai: ahh. well I've got a client releasing a web app but I have no idea how many people will end up using it. it's quite likely not going to be very many at first..
<cout> itadder: adds osx, obviously
<certainty> whoa, too much scheme
<certainty> >> %w(foo bar baz).inject([]){ |m,v| m << v + " modified" } # basically map
<itadder> osx commands
<eval-in> certainty => ["foo modified", "bar modified", "baz modified"] (https://eval.in/101691)
<joelbrewer> Senjai: Digital Ocean looks like a good bet for them
ayaz has quit [Remote host closed the connection]
<Senjai> joelbrewer: If its a client and you care, start on EC2.
<AntelopeSalad> certainty: that's pretty neat
<AntelopeSalad> did you learn that from sicp? haha
<Hanmac> AntelopeSalad:
<Hanmac> >> a=['foo', 'bar', 'baz']; [a.map { |w| w << ' modifed' }, a]
<eval-in> Hanmac => [["foo modifed", "bar modifed", "baz modifed"], ["foo modifed", "bar modifed", "baz modifed"]] (https://eval.in/101693)
<havenwood> itadder: gives you commands like `itunes` and `trash`, not stuff i'd use
obs has quit [Quit: Konversation terminated!]
<joelbrewer> Senjai: gotcha. how much do you think EC2 will cost starting out?
<itadder> oh
<itadder> oh I see no need
<Senjai> joelbrewer: ~$45 a month
<havenwood> itadder: easier to code your own functions to do what you actually do, rather than rely on aliases somebody else used at some point that i'll never touch
<itadder> I do not use itunes, I use spotify
<certainty> AntelopeSalad: yeah maybe. I definitely learned many things from SICP. Don't remember if that's one of those
prc has quit [Ping timeout: 246 seconds]
jonah_k has joined #ruby
shaunbaker has quit [Remote host closed the connection]
<Senjai> joelbrewer: For a small dyno
<Senjai> joelbrewer: For a small instance*
<Hanmac> certainty: i think each_with_object is better there (because you dont need to care about the return value of the block
<Hanmac> >> %w(foo bar baz).each_with_object([]){ |m,v| m << #{v} modified" }
<eval-in> Hanmac => /tmp/execpad-4d55a9f83265/source-4d55a9f83265:3: syntax error, unexpected keyword_rescue ... (https://eval.in/101694)
<itadder> I also mofided my vim and it horrible
tselatra has joined #ruby
stryek has quit [Ping timeout: 272 seconds]
<AntelopeSalad> certainty: i vaguely remember having to implementing map
<Hanmac> >> %w(foo bar baz).each_with_object([]){ |m,v| m << "#{v} modified" }
<eval-in> Hanmac => [] (https://eval.in/101695)
<havenwood> itadder: yeah, i looked through the plugins i though i'd be using, and realized i didn't want a single one of them, your mileage may vary!
<AntelopeSalad> *implement
rubyracer has joined #ruby
<Hanmac> >> %w(foo bar baz).each_with_object([]){ |v,m| m << "#{v} modified" }
<eval-in> Hanmac => ["foo modified", "bar modified", "baz modified"] (https://eval.in/101696)
<havenwood> Heroku does have a transient filesystem now.
<itadder> I installed http://vim.spf13.com also
<certainty> Hanmac: bear with me. I'm coming from ancient rubys and have not adjusted my brain to all the newer methods. You're right though
<itadder> but it sucks
sparrovv has joined #ruby
<Senjai> havenwood: They're still shit, and still shady.
<itadder> Senjai: so what better
mjs2600 has joined #ruby
<itadder> have you used this havenwood http://vim.spf13.com <--
<certainty> AntelopeSalad: whenever i learn a new languge i do these kinds of things to get a grasp of the basics
<Senjai> itadder: AWS... Which is what heroku effectively reselles to you for a higher price
<itadder> oh wow
<havenwood> itadder: nope
<itadder> but they do give you a free one
<AntelopeSalad> i guess each_with_object doesn't work with ruby 1.8.7 hah
* Senjai facepalms
<AntelopeSalad> this site really needs to upgrade their ruby version
pushpak has joined #ruby
<itadder> aws also give you a free low power vm
<AntelopeSalad> (using repl.it to fool around since my dev VM isn't open atm)
<itadder> what irc client are you using havenwood
<havenwood> itadder: LimeChat
<itadder> I am using limechat but I can seem to import my limechat setting
dubsteph has joined #ruby
<itadder> I have the .plist but it won' import when I put in ~]
<AntelopeSalad> certainty: i made the mistake if only reading one book and never really taking a serious look through the stdlib
<itadder> I have the .plist but it won' import when I put in ~\library\perefences
<Senjai> itadder: 1) You're forced to use their database implimentation, 2) You can't rely on data integerity, all of your apps have to assume filesystem data will not exist at any given moment 3) Pushing to them is picky and sucks. 4) One free dyno, serving ONE request at atime is not commercial. Get a digial ocean acocunt for $5 a month, with 4 unicorns.
xaq has joined #ruby
<itadder> Senjai: oh wow that is awesome 4 unicorns
<certainty> AntelopeSalad: for ruby you mean?
<AntelopeSalad> certainty: yep
<Senjai> and you pay 3x the cost of an EC2 instance for every dyno you add
<Hanmac> pidgin is my client for everything!
<itadder> so digital oceans takes the complex of cloud hosting
<itadder> I hate how aws is complex
<AntelopeSalad> but just going through array, string or enum seems to have a lot of really great things that aren't normally talked about in books
<Senjai> itadder: Complex == You're too lazy to figure it out
<havenwood> AntelopeSalad: https://eval.in/
<havenwood> AntelopeSalad: Choose the Ruby you prefer, eval.in has options.
<Senjai> itadder: AWS is the best solution in the industry by far at the moment.
<certainty> AntelopeSalad: i do this on a by-need basis. Whenever i need something i take a look at the docs to see what's there
<itadder> oh but expensive
<joelbrewer> Senjai: I think you've convinced me :)
<Senjai> itadder: $45 a month is too expensive? For a setup that you can effectively scale as much as you need to
<AntelopeSalad> havenwood: wow nice, this one is much better
meatherly has joined #ruby
<itadder> Senjai: I guess not
nisstyre has joined #ruby
<havenwood> Senjai: I actually had an easier time provisioning an Azure instance, which seemed faster even. But yeah EC2 is the default standard it seems.
<itadder> good point Senjai dam I been far to lazy this week
jonah_k has quit [Remote host closed the connection]
Aquilo_ has joined #ruby
<AntelopeSalad> the UI is way worse but at least it works
nszceta has joined #ruby
msmith_ has quit [Remote host closed the connection]
Aquilo has quit [Ping timeout: 252 seconds]
<havenwood> DigitalOcean seems zippy, but leaving files around after you deleted your droplet was pretty sketch.
<certainty> AntelopeSalad: that's actually not so easy as ruby likes to pick weired names sometimes :) Also if it were haskell i could simple hack the type into hoogle or something, which helps alot
Aquilo_ is now known as Aquilo
<Senjai> havenwood: You can wipe your droplet at DO.
<itadder> what about testing code in vagrant vm
<itadder> should I trust that
dubsteph has quit [Ping timeout: 252 seconds]
<havenwood> Senjai: The fact that *ever* your data bleeds through to other users was unacceptable. Sane defaults are a must!
<itadder> damn how come when the boss is not around hardly any work get done
<havenwood> Senjai: I think fixed now.
<havenwood> Just left a bad taste.
<Senjai> havenwood: I haven't experienced that, I have three DO accounts
<itadder> for 5 dollars that is awesome
<itadder> do the have the latest ruby version
<itadder> what is it just a simply ssh connection
<Senjai> itadder: Dude, its a VPS, you set everything up yourself
<itadder> ahh
<itadder> for testing that great
<Senjai> havenwood: Ahh, but the scrub button has always been there manually in the interface
<itadder> so I guess I can add the remote deamon service for textmate and code from textmate and ssh to it
sdelmore has quit [Quit: Leaving.]
<Senjai> havenwood: This is interacting via the api
<Senjai> itadder: Or you can learn vim like how all the pros do :P
<itadder> what about tmux
CorySimmons has left #ruby [#ruby]
jonahR has joined #ruby
<Senjai> itadder: TMux != text editor...
<certainty> AntelopeSalad: what did you read SICP for? just because it's a great resource on programming and computation in general or did you take a scheme course or something?
<havenwood> Senjai: Terrible situation where you save money by letting customer data bleed by default (unless you find the sanity button). :P
<itadder> I just like how easy textmate is
lxsameer_ has quit [Read error: Connection reset by peer]
<joelbrewer> Senjai: now for another question. how much would you charge a client to host their site? (assuming you're using a 45$ EC2 instance)
<itadder> I come from a macbackround Senjai (
<itadder> :(
<itadder> I come from bbedit days
<AntelopeSalad> certainty: just to get a better idea of programming
<certainty> alright
<AntelopeSalad> i got about 70% of the way through about 2 years ago
<joelbrewer> Senjai: I'm a freelancer and I don't want to gouge my clients, but I recognize that managing an EC2 instance takes some time
<itadder> havenwood: so to learn ruby do you suggest I get a DO account
<Senjai> joelbrewer: You would charge them $45, if you manage it, you would charge extra as managed services. But the cost of the server itself should be transparent
<Senjai> to build trust
<AntelopeSalad> but the math exercises owned me really hard heh :/
<itadder> joelbrewer: that my goal to be a freelancer
mercwithamouth has joined #ruby
<joelbrewer> itadder: it's hard work, but rewarding
<itadder> I am a freelancer right now
<certainty> AntelopeSalad: heh, do you know that there are also video lectures?
* Senjai used to be a freelancer, but then got hired :(
<itadder> but I do IT windows migration
<havenwood> itadder: Easy enough to spin up test apps on Heroku. Learning to ssh onto an instance (ec2, do, azure, whatever) and be proficient is a valuable skill as well.
<itadder> it not hard work but it pays the bills
<Senjai> itadder: protip, get out of the windows scene
bluenemo has quit [Remote host closed the connection]
<itadder> I have a heroku account
<itadder> Senjai: I dislike windows it crap
<itadder> I dislike most is .net
<Senjai> I only run linux at the moment, and thats only because I broke my macbook
<havenwood> itadder: DigitalOcean is nice and fast for ssh'ing onto. Vagrant is nice to have local boxes that you ssh to.
<itadder> not windows it self but .net is lame
<ohcibi> .net isnt that bad 8-)
<AntelopeSalad> certainty: yeah, i watched the old 1985ish one on MIT's opencourse page
<joelbrewer> Senjai: how much would you charge for managed services? ( I know that's a tough question )
<Senjai> ohcibi: Can't tell if serious or trolling.
<itadder> I am not sure what I want havenwood I just someting so I can learn ruby
<havenwood> itadder: I don't use DO for anything production but I do use it for hosting tmux sessions for pair programming.
terrellt has quit [Ping timeout: 252 seconds]
<itadder> havenwood: oh and I need to get that ruby book
<itadder> what the name again agile ruby
<Senjai> joelbrewer: Our company charges $125 an hour for our development services.
<itadder> havenwood: I want something that I can just jump in from my laptop and resume where I left off
<itadder> Senjai: wow
<Senjai> joelbrewer: I would charge $100 a month for being on call, and running backups etc
<itadder> the onyl good .net lang is powershell
<itadder> that I like
<Senjai> joelbrewer: if its just you
<ohcibi> Senjai: the VM is actually pretty interesting....
<joelbrewer> Senjai: yeah, that's about what I was thinking.
blackmesa has joined #ruby
<certainty> AntelopeSalad: yeah those are great. Prof. sussman is a good teacher
<itadder> havenwood: I am about to go to barnes and noble what is the book I should get
<Senjai> joelbrewer: Ideally, development and support contracts are seperate
Hanmac1 has joined #ruby
<itadder> agile web development for ruby
<itadder> or should I stick with ruby the hard way
<havenwood> itadder: EC2 tiny instances are free for a year. Azure something similar. DigitalOcean has been giving out generous codes for months of free services. Check them all out.
<AntelopeSalad> certainty: yeah, he's one of the best imo
<Senjai> itadder: Rails 3 in Action (Rails 4 in action isn't finished)
<Senjai> itadder: AWDWR is horribad
<havenwood> itadder: I like "The Ruby Programming Language". A popular reference is the Pickaxe.
<AntelopeSalad> i had no scheme knowledge at all but somehow he explained things in a way that it wasn't too crazy to follow
<Senjai> itadder: Also the pickaxe as havenwood mentioned
<Senjai> AntelopeSalad: It's a functional language..
<Senjai> AntelopeSalad: It's not hard.
<Senjai> AntelopeSalad: http://www.ccs.neu.edu/home/matthias/HtDP2e/ is what we used in UNi
stryek has joined #ruby
<certainty> AntelopeSalad: yeah scheme is a simple language and thus good to explain things without getting too much in the way
<joelbrewer> Senjai: does AWS provide ssh access to EC2 instances?
Hanmac has quit [Ping timeout: 260 seconds]
<itadder> joelbrewer: yes
<Senjai> joelbrewer: Yes, but if you have to ssh into your boxes, you're doing it wrong
<havenwood> AntelopeSalad: Here's chicken scheme intro for Rubyists: http://wiki.call-cc.org/chicken-for-ruby-programmers
nvrch has quit [Quit: nvrch]
<AntelopeSalad> havenwood: i've been through eloquent ruby a few months ago
<itadder> brb
nomenkun has quit [Read error: Connection reset by peer]
<itadder> people calling me for work
<itadder> thanks havenwood
itadder has quit [Remote host closed the connection]
<certainty> AntelopeSalad: i recommend CHICKEN scheme :) it's a decent scheme that i happen to be falled in love with
<AntelopeSalad> but i also spend most of those months working in rails
nomenkun has joined #ruby
nomenkun has quit [Remote host closed the connection]
clamstar has quit [Remote host closed the connection]
_maes_ has joined #ruby
<certainty> fallen
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
<havenwood> <3 lisp
<certainty> havenwood: you know CHICKEN?
Shipow has quit [Quit: Linkinus - http://linkinus.com]
mikepack has joined #ruby
cantonic has quit [Ping timeout: 260 seconds]
<Senjai> havenwood: I prefer LUA over lisp.
<havenwood> certainty: Only dabble in it. No serious work.
<Senjai> Scheme is a learning language
<Senjai> not really useful outside of that domain
cantonic has joined #ruby
<certainty> Senjai: nah if you have a decent implementation it is useful for any problem domain
<havenwood> Senjai: Chicken eggs aren't bad. Maybe we'll see a scheme resurgence.
<AntelopeSalad> checking
<Senjai> certainty: I'm mostly talking about the libraries available
jonah_k has joined #ruby
root_empire has quit [Ping timeout: 245 seconds]
<AntelopeSalad> oh hah, i thought this was going to be a normal ruby book
slowcon has joined #ruby
<havenwood> Clojure has the lead, unless you count Ruby as a Lisp. :O
sparrovv has quit [Remote host closed the connection]
clamstar has joined #ruby
avril14th has quit [Quit: Page closed]
<certainty> :) i like clojure too. It's a lisp-1 which is a must and it has a nice approach to get somewhat more hygienic macros
lfox has joined #ruby
silicong has joined #ruby
<certainty> Senjai: yeah you're mostly bound to libraries for your implementation of choice. The upcoming R7RS may help to get better library support across imlementation borders
<Senjai> certainty: Most of my scheme stuffs has been with DrRacket, as thats what we used in SChool
<AntelopeSalad> i looked at clojure too for a bit after i did most of sicp
slowcon has quit [Client Quit]
<certainty> Senjai: yeah racket is a decent implementation, but it's barely considered a classical scheme these days
<AntelopeSalad> it seemed cool but it just didn't have near the momentum as ruby when it came to writing web apps
<certainty> yeah true
marcdel has joined #ruby
<Senjai> AntelopeSalad: OOP is more popular because it's easier to pretend you understand it. You can't fake your understanding of functional concepts
<certainty> there are some things like noir, compojure etc.
weems has quit [Ping timeout: 245 seconds]
<certainty> Senjai: hah nicely put
yasushi has quit [Remote host closed the connection]
tjr9898 has quit [Remote host closed the connection]
JasmeetQA has quit [Quit: Leaving.]
<AntelopeSalad> certainty: yeah, i think noir was on its way to be being dead when i was looking into it
<certainty> AntelopeSalad: if you happen to read the little introduction in the CHICKEN wiki. Feedback is welcome
andrewdublin has quit [Ping timeout: 272 seconds]
user258467 has quit [Quit: Quitte]
itadder has joined #ruby
<certainty> the chicken for ruby programmers, i mean
<itadder> with heroku since they have a free version is it like aws or do were you can ssh to it
<AntelopeSalad> certainty: the getting started part?
wallerdev has joined #ruby
<itadder> what the chciken
tkuchiki has quit [Remote host closed the connection]
larissa has joined #ruby
<certainty> AntelopeSalad: nope, chicken for ruby programmers
geggam has joined #ruby
rm_ has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
<certainty> bbl .. kids want something to eat
* certainty &
tkuchiki has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<AntelopeSalad> i'll check it out
Jdubs has joined #ruby
rm_ has quit [Client Quit]
_Andres has joined #ruby
<itadder> wow http://pragprog.com/book/ruby4/programming-ruby-1-9-2-0 is 28 dollars and learning ruby the hard way was 3 dollars
rm_ has joined #ruby
<Senjai> itadder: Programming Ruby 1.9 and 2.0 is the best book I have ever read
<Senjai> over all other programming books
<Senjai> except the Pragmatic Programmer
<itadder> Senjai: so I should Just go to barnes and noble and buy it right now at lunch time
mansi has quit [Read error: Connection reset by peer]
<itadder> I want to move away from IT support / windows it does not pay all teh bills
nhhagen has joined #ruby
mansi has joined #ruby
<Senjai> itadder: Yes, yes you should
<itadder> I am freelance but in the wrong area
<itadder> I do love ruby, I love that ruby is what runs home brew also and ruby on rails
solars has joined #ruby
<itadder> and my theraphist said web developer make lot of money on freelnace work she said I am ready for that type of gig
<itadder> I been doing supprot for about 9 years or more
jonah_k has quit [Remote host closed the connection]
<itadder> in different places... And I work for a hedge fund for this contract it has so much security and rules it makes it not so easy to get it done right
<solars> hey, I've got a csv where certain fields can contain longer strings including , etc. my separator is also a , - using ruby csv those , in those strings are not escaped - is there a way to do this? or to have such strings automatically put in quotes?
snath has joined #ruby
mikecmpbll has quit [Read error: Operation timed out]
<itadder> Senjai: I bought the ebook for learning ruby the hard way it is okay, but I just get confused ins ome of the things
Jdubs has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Ping timeout: 272 seconds]
<itadder> and the first few chatpers it dealing with printing or getting input
<itadder> which I must master first ...
mansi has quit [Remote host closed the connection]
<AntelopeSalad> Senjai: pragmatic programmer was one of the coolest books i've ever read
<AntelopeSalad> it's one of those "wait, this is life changing" books
mansi has joined #ruby
<itadder> is that just a basic on programing
oso|away is now known as oso96_2000
pavilionXP has joined #ruby
<itadder> I see they also have a textmate book and sublime and vim book
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<Senjai> itadder: Don't read that book
zB0hs has joined #ruby
<Senjai> itadder: Read the pickaxe
<itadder> I see thsi one
cmedeiros has quit [Ping timeout: 245 seconds]
<AntelopeSalad> yeah it's not a learn how to program in ruby type of book
<itadder> but pickaxe is
<AntelopeSalad> yeah
clamstar has quit [Quit: ZNC - http://znc.in]
<AntelopeSalad> the pragmatic programmer book is something you might want to consider reading on the side at a later point
burlyscudd has quit [Quit: Leaving.]
marcdel has quit []
koell has joined #ruby
<itadder> so even with zed shaw rant on pickaxe it still good book
<itadder> to start with
<AntelopeSalad> i have no opinion on the pickaxe book because i didn't read it yet, but a ton of people recommend it
<AntelopeSalad> i'm an idiot for not reading it probably
<itadder> nice
Brolen has quit [Remote host closed the connection]
nfk has quit [Excess Flood]
<itadder> I think instead of hosted
kreisys has joined #ruby
<itadder> I will just use my macbook pro Senjai
<itadder> I can learn coding locally
nfk has joined #ruby
x77686d has quit [Quit: x77686d]
jonah_k has joined #ruby
jonah_k has quit [Remote host closed the connection]
Brolen has joined #ruby
sputnik13 has quit [Quit: Textual IRC Client: www.textualapp.com]
mansi has quit [Ping timeout: 260 seconds]
kreisys has quit [Read error: Connection reset by peer]
<itadder> what is the pro and cons to me just doing it locally right now. The no peer programing later in the future
momomomomo has quit [Quit: momomomomo]
koell has quit [Client Quit]
<itadder> AntelopeSalad: do you like hard cover books or ebooks?
mansi has joined #ruby
<AntelopeSalad> itadder: it's all the same to me, but it depends on the book
danshultz has quit [Remote host closed the connection]
<itadder> for the pickaxe book
<AntelopeSalad> for programming books i tend to like a digital copy
phansch has quit [Quit: Leaving]
<itadder> oh
burlyscudd has joined #ruby
<itadder> so that you can take with you everywhere like on a ipad
<AntelopeSalad> i don't have a kindle or anything so when i read digital books that basically means i'm sitting at my desk
wchun has quit [Quit: Leaving]
joelbrewer has quit [Ping timeout: 248 seconds]
<itadder> I have a kindle and a ipad 2
<AntelopeSalad> a lot of programming books are best read if you follow along and try out some of the code snippets on your own as you're reading
Brolen has quit [Ping timeout: 245 seconds]
<AntelopeSalad> so having access to something you can type on while reading the book is essential
krisbulman is now known as krisbulman|otp
zz_jrhorn424 is now known as jrhorn424
pu22l3r has joined #ruby
<itadder> oh that was going to be my second how best to use a programing book
stryek has quit [Ping timeout: 252 seconds]
Aquilo_ has joined #ruby
rmorello has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> guys it is the time of the day again
<shevy> get undressed now!
<itadder> oh
fgo has joined #ruby
<itadder> it almost lunch time here today I did not bring lunch
MrBy has quit [Ping timeout: 260 seconds]
<itadder> I just paid today so I am going to get a expensive hamburger in NYC
rmorello has joined #ruby
<itadder> I usally bring my own lunch since midtown nyc lunch is expensive and Since I have gluten and dairy algeries
<itadder> I just have to pay twice
<itadder> but I love this gluten free hamburgers once in while
Aquilo has quit [Ping timeout: 245 seconds]
<itadder> bah I feel so bad I found the pdf for the picake book
<itadder> but I think 28$ if people are saying it that good I should just buy it
<itadder> Barnes and nobles is out of stock on it...
<itadder> all over NYC
roolo has quit [Quit: Leaving...]
<shevy> man
<shevy> 28$ for a hamburger is robbery
<itadder> no no
camilasan has quit []
<itadder> 28$ for a picake book
DaniG2k has quit [Ping timeout: 260 seconds]
<itadder> ebook
<itadder> oh the hamburger is 15 $ with fires
cmedeiros has joined #ruby
<itadder> it also robbery
<AntelopeSalad> it's a pickaxe, not some type of pie/cake hybrid
Hanmac has joined #ruby
DaniG2k has joined #ruby
reset has joined #ruby
<havenwood> AntelopeSalad: I'd read "Ruby, the Pie/Cake Hybrid" book.
law has left #ruby [#ruby]
mikecmpbll has joined #ruby
thumpba has joined #ruby
jonah_k has joined #ruby
<AntelopeSalad> havenwood: i'm starting a kickstarter campaign as we speak
<itadder> for
fgo has quit [Remote host closed the connection]
danshultz has joined #ruby
Wolland has joined #ruby
mojjojo has joined #ruby
<AntelopeSalad> i don't know, ask havenwood for what a good excerp would be to describe that book title
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
Hanmac1 has quit [Ping timeout: 260 seconds]
<itadder> so how do you use progrmaing vooks
vlad_starkov has joined #ruby
sepp2k has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x77686d has joined #ruby
yfeldblum has joined #ruby
reset has quit [Ping timeout: 260 seconds]
<AntelopeSalad> itadder: just read it and go slowly
ebetancourt has joined #ruby
<itadder> AntelopeSalad: and do the example
Hiall has joined #ruby
<itadder> I am a very hyper active distracted person
<itadder> like right now my coworker just walked in asking for soomethign and I am on irc and Also working on a machine
<itadder> for work
<itadder> and thinking about lunch
freezey has quit [Remote host closed the connection]
<Tachoh> are you breathing using your lungs?
stryek has joined #ruby
<AntelopeSalad> not being distracted will be important to learning imo
<AntelopeSalad> maybe read a few pages at a time without distractions, it will take much longer to finish the book but hopefully you'll absorb everything you read
beakr has joined #ruby
sambao21 has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
<itadder> yea hopefully AntelopeSalad it getting harder each months to keep up with my bills
<itadder> and it not like I am buying things I do not need, it just basics
<itadder> I been doing it supprot for years 10 years and I do not seen any advancement on my part, and it helping me progress as a adult becuase dead end job.
<AntelopeSalad> i'm not sure what to say to that
yfeldblum has quit [Ping timeout: 265 seconds]
<itadder> I have one way out, and ruby I seem to enjoy the community, I was at one meetup for ruby andpeople were nice, not super nice but nice and smart. and I enjoy what you can do with ruby
<AntelopeSalad> if it comes down to dreaming about hamburgers and watching cat videos or learning ruby so you don't go into debt... the answer on which one is a better use of your team is pretty clear haha
<AntelopeSalad> *time
dagobah has quit [Quit: Leaving...]
ikaros has quit [Ping timeout: 252 seconds]
<itadder> yea wow I never thouhght of that
<itadder> two days I go I set down to do some ruby after work, and spent one hour on youtube
<itadder> LOL
ikaros has joined #ruby
aryaching has joined #ruby
<itadder> brb going to reconnect
ahawkins has quit [Remote host closed the connection]
GinoMan has joined #ruby
jonahoffline has joined #ruby
jonahR has quit [Ping timeout: 245 seconds]
jonahoffline is now known as jonahR
<shevy> itadder you are even chattier than I am :P
vlad_starkov has quit [Remote host closed the connection]
<itadder> shevy: that why I am IT adder
<itadder> it adhd
vlad_starkov has joined #ruby
<shevy> I dont see adhd
<shevy> I see only adder
pietr0 has joined #ruby
thumpba has quit [Read error: Connection reset by peer]
<itadder> well adder I guess is someone with add or adhd
rismoney has joined #ruby
klaut has quit [Remote host closed the connection]
xaq has quit [Remote host closed the connection]
momomomomo has joined #ruby
thumpba has joined #ruby
itadder_ has joined #ruby
<itadder_> reconnected
maximski has joined #ruby
francisfish has quit [Remote host closed the connection]
rootshift has joined #ruby
beakr has quit [Quit: beakr]
francisfish has joined #ruby
tvw has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 245 seconds]
terrellt has joined #ruby
DaniG2k has quit [Quit: leaving]
aspires has joined #ruby
itadder has quit [Ping timeout: 252 seconds]
OdNairy has joined #ruby
nhhagen has quit []
Tomasso has joined #ruby
Es0teric has joined #ruby
drPoggs has quit [Ping timeout: 258 seconds]
ebwise has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 260 seconds]
zachalle_ has joined #ruby
mark_locklear has quit [Ping timeout: 246 seconds]
qz has quit [Ping timeout: 252 seconds]
Drakevr has quit [Ping timeout: 245 seconds]
rdark has quit [Quit: leaving]
nobitanobi has joined #ruby
qz has joined #ruby
zachallett has quit [Ping timeout: 272 seconds]
Drakevr has joined #ruby
pablovilas has joined #ruby
drPoggs has joined #ruby
cpruitt has joined #ruby
jonah_k has quit [Remote host closed the connection]
troyready has joined #ruby
vlad_starkov has joined #ruby
DrShoggoth has joined #ruby
evilbug has joined #ruby
Monk_code has joined #ruby
TMM has quit [Quit: Ex-Chat]
asmodlol has joined #ruby
slowcon has joined #ruby
<slowcon> hows it goin guys
ultraflash3 has joined #ruby
<lagweezle> ugh.
<slowcon> lagweezle: whats up?
<lagweezle> It's one of those days where staying in bed is seeming like it would have been the better option.
kaldrenon has quit []
<slowcon> hhaha i feel you
Hanmac1 has joined #ruby
<slowcon> just got to work, 2.5 hours late...
jonah_k has joined #ruby
<itadder_> yea
<itadder_> I got to work a bit late also
<itadder_> I am going to get lunch and get off irc to get work done bye
itadder_ has quit []
Hanmac has quit [Ping timeout: 272 seconds]
jacobat has quit [Ping timeout: 252 seconds]
v0n has joined #ruby
gbt has quit [Quit: Leaving...]
JustMozzy has quit [Remote host closed the connection]
krisbulman|otp is now known as krisbulman|afk
ultraflash3 has quit [Ping timeout: 245 seconds]
jacobat has joined #ruby
clamstar has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Vovko_ has joined #ruby
ffranz has quit [Ping timeout: 252 seconds]
pavilionXP has quit [Read error: Connection reset by peer]
ffranz has joined #ruby
jmaya has joined #ruby
<shevy> do you guys use github a lot?
philcrissman has joined #ruby
philcrissman has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
S0da has quit [Remote host closed the connection]
<shevy> and more importantly if any of you has written ruby-related scripts that allow one to quickly upload things onto github whenever you also upload a gem to rubygems.org
<slowcon> shevy: need to start using it for everything
Hobogrammer has joined #ruby
<xybre> I use github all the time.
Hanmac has joined #ruby
philcrissman has joined #ruby
<xybre> shevy: use bundler
<shevy> xybre when you want to start a new project, how to you tell github to register it? do you use git directly?
joelbrewer has joined #ruby
<shevy> *do you
Vovko has quit [Ping timeout: 245 seconds]
lfox has quit [Quit: ZZZzzz…]
dangerousdave has joined #ruby
Hanmac1 has quit [Ping timeout: 245 seconds]
lethjakman has joined #ruby
jmaya has quit [Client Quit]
<xybre> shevy: you can use the hub command. If you're on osx using homebrew just `brew install hub` otherwise http://hub.github.com/
sambao21 has joined #ruby
drim has quit [Quit: drim]
<shevy> cool
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<shevy> that works on non osx too?
krisbulman|afk is now known as krisbulman
<xybre> shevy: yep
phansch has joined #ruby
francisfish has quit [Remote host closed the connection]
maletor has joined #ruby
klaut has joined #ruby
Monk_code has quit [Remote host closed the connection]
<xybre> `hub create repo-name-here` will create the repo. Then `bundle gem gem-name-here` will create a skeleton for your gem. Add your repo: `git remote add origin http://github.com/USERNAME/repo-name-here`. Then when you're ready to go `rake release`
<xybre> Or if you didn't use bundler to create your gem, you can add "require 'bundler/gem_tasks'" to your Rakefile, that should give yo uthe rake tasks, they'll tag the version in git, build, and deploy to rubygems for you.
jh__ has quit [Quit: Textual IRC Client: www.textualapp.com]
mehlah has quit [Quit: Leaving...]
CaptainJet has joined #ruby
Hobogrammer has quit [Read error: Operation timed out]
einarj has quit [Remote host closed the connection]
Vovko has joined #ruby
Spami has joined #ruby
einarj has joined #ruby
einarj has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
greenarrow has quit [Quit: 500]
joelbrewer has quit [Ping timeout: 260 seconds]
xaq has joined #ruby
klaut_ has joined #ruby
nszceta has quit [Remote host closed the connection]
Vovko_ has quit [Ping timeout: 248 seconds]
pablovilas has quit [Quit: Leaving]
tjr9898 has joined #ruby
enebo has quit [Quit: enebo]
msmith_ has joined #ruby
shredding has quit [Quit: shredding]
drim has joined #ruby
klaut has quit [Ping timeout: 260 seconds]
Noldorin has quit []
hobodave has joined #ruby
Czupa has joined #ruby
xaq has quit [Ping timeout: 260 seconds]
lethjakman has quit [Ping timeout: 260 seconds]
DaniG2k has joined #ruby
nszceta has joined #ruby
msmith_ has quit [Remote host closed the connection]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
jlebrech has quit [Quit: Konversation terminated!]
ghr has quit [Quit: Computer has gone to sleep.]
pel_daniel has joined #ruby
OdNairy has quit []
cpruitt has quit [Quit: cpruitt]
tylersmith has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
canton7-mac has quit [Quit: Leaving]
jmau5 has joined #ruby
lethjakman has joined #ruby
OdNairy has joined #ruby
benzrf has joined #ruby
<benzrf> sup yo
burlyscudd has quit [Ping timeout: 272 seconds]
Hobogrammer has joined #ruby
msmith_ has joined #ruby
reset has joined #ruby
carif has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
terrellt has quit [Ping timeout: 252 seconds]
msmith_ has quit [Remote host closed the connection]
w1zeman1p has joined #ruby
Jdubs has joined #ruby
lethjakman has quit [Ping timeout: 248 seconds]
Advocation has joined #ruby
jfoy has joined #ruby
ffranz1 has joined #ruby
ffranz has quit [Ping timeout: 260 seconds]
venkat has quit []
IcyDragon has joined #ruby
jfoy has quit [Remote host closed the connection]
IceDragon has quit [Ping timeout: 245 seconds]
Sc0rp10n has joined #ruby
tvw has joined #ruby
lfox has joined #ruby
IcyDragon is now known as IceDragon
reset has quit [Ping timeout: 245 seconds]
joelbrewer has joined #ruby
Celm has joined #ruby
noarthur_ has quit [Ping timeout: 272 seconds]
havenwood has quit [Remote host closed the connection]
obeattie has joined #ruby
havenwood has joined #ruby
subbyyy has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
msmith_ has joined #ruby
danshultz has joined #ruby
alexherbo2 has quit [Ping timeout: 252 seconds]
obeattie has quit [Client Quit]
Monk_code has joined #ruby
lethjakman has joined #ruby
cpruitt has joined #ruby
freezey has joined #ruby
momomomomo has quit [Quit: momomomomo]
freezey has quit [Read error: Connection reset by peer]
Krajsnick has joined #ruby
havenwood has quit [Ping timeout: 246 seconds]
freezey has joined #ruby
kaliya has quit [Quit: Lost terminal]
<aloitius_> Hey, all! I'm using Gyoku to encode a hash to XML but one of my tags has parentheses in it (so "Field(ABC)") which Gyoku doesn't convert to x0048 or whatevs. Thoughts?
lpvn has quit [Ping timeout: 252 seconds]
lethjakm1 has joined #ruby
lpvn has joined #ruby
Hamburglr has joined #ruby
cmoylan has joined #ruby
lethjakman has quit [Ping timeout: 272 seconds]
danshultz has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
Jdubs has quit [Remote host closed the connection]
joelbrewer has quit [Ping timeout: 252 seconds]
ffranz1 has quit [Ping timeout: 252 seconds]
timonv has quit [Remote host closed the connection]
<Hanmac> aloitius_: use nokogiri
tgkokk has joined #ruby
larissa has quit [Quit: Leaving]
mercwithamouth has joined #ruby
freezey has quit [Remote host closed the connection]
ffranz has joined #ruby
lethjakm1 is now known as lethjakman
dubsteph has joined #ruby
nanoyak has joined #ruby
lethjakman has quit [Quit: WeeChat 0.4.0]
x77686d has quit [Quit: x77686d]
pixelgremlins has joined #ruby
heftig has quit [Quit: Quitting]
yfeldblum has joined #ruby
tjsousa__ has joined #ruby
lpvn has quit [Ping timeout: 252 seconds]
lpvn has joined #ruby
Sc0rp10n has quit [Read error: Connection reset by peer]
axsuul has quit [Quit: Textual IRC Client: www.textualapp.com]
rubyracer has quit [Ping timeout: 252 seconds]
dik_dak has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
joelbrewer has joined #ruby
danshultz has joined #ruby
dubsteph has quit [Ping timeout: 272 seconds]
pixelgremlins_ba has quit [Ping timeout: 272 seconds]
tjsousa_ has quit [Ping timeout: 260 seconds]
rm_ has quit []
rm__ has joined #ruby
Kricir has quit [Remote host closed the connection]
s2013 has quit [Ping timeout: 252 seconds]
drim has quit [Quit: drim]
rubyracer has joined #ruby
jmau5 has quit []
<AntelopeSalad> if i want to make a certain method available in all my tests using minitest then i would need to make a new class in test_helper.rb that inherits minitest::test and use my custom class in every single test file right?
weems has joined #ruby
reset has joined #ruby
wallerdev has quit [Quit: wallerdev]
tjbiddle has joined #ruby
mojjojo has quit [Quit: mojjojo]
<shevy> xybre ok
Monk_code has quit [Remote host closed the connection]
mneorr has joined #ruby
mehlah has joined #ruby
wallerdev has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
Sc0rp10n has joined #ruby
browndawg has quit [Quit: Leaving.]
msmith_ has quit [Remote host closed the connection]
<certainty> AntelopeSalad: another way would probably be to just define it at the toplevel?
timonv has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
sepp2k has quit [Ping timeout: 248 seconds]
saarinen has joined #ruby
<AntelopeSalad> certainty: top level of what?
sepp2k has joined #ruby
<xybre> AntelopeSalad: It might be a better plan to just put it in a module, either include it or use module_function, that ways its reusable but still namespaced and you don't have to do stuff with subclassing test.
msmith_ has joined #ruby
BackEndCoder has joined #ruby
<certainty> AntelopeSalad: toplevel scope. I think it would be added as an instance_method of Object or something. I don't recall the details.
francisfish has joined #ruby
<xybre> There's a couple different thigns that could be considered "top level", but generally speaking its defining something on Object, which is generally a bad practice.
Hiall has quit [Ping timeout: 245 seconds]
<AntelopeSalad> this is what i'm doing at the moment: https://gist.github.com/AntelopeSalad/9006451
havenwood has joined #ruby
msmith__ has joined #ruby
<monsieurp> maroloccio: hi
<certainty> there was a post by banisterfiend somewhere about it. But xybre suggested a better solution
<monsieurp> maroloccio: are you a perl programmer?
<AntelopeSalad> it's my first crack at testing something that isn't a rails app, so i dunno wtf i'm doing with requires/modules haha
msmith_ has quit [Read error: Connection reset by peer]
krisbulman is now known as krisbulman|afk
i_s has joined #ruby
<AntelopeSalad> assertions.rb is just some file living in the same path as test_helper that custom assertions i've written to make life easier
joelbrewer has quit [Ping timeout: 260 seconds]
ffranz has quit [Ping timeout: 272 seconds]
iliketurtles has joined #ruby
tjsousa__ has quit [Read error: Connection reset by peer]
tjsousa__ has joined #ruby
havenwood has quit [Client Quit]
Krajsnick has quit [Quit: Leaving...]
ukd1 has joined #ruby
<AntelopeSalad> am i way off base / making things too complicated for what i'm trying to do?
ffranz has joined #ruby
<AntelopeSalad> the custom method i want to expose is calling to the system to run a binary located in /bin of the thing i'm testing
<DaniG2k> if I have a UTC date like 2014-02-12 22:43:58 UTC how can I compare that to today's date?
Brolen has joined #ruby
<DaniG2k> I just want a true/false response
mjs2600_ has joined #ruby
Advocation has quit [Quit: Advocation]
<AntelopeSalad> so i wanted that available as a method so i could run something like: foo 'version' and capture stdout
mikepack has quit [Read error: Connection reset by peer]
Noldorin has joined #ruby
mikepack has joined #ruby
tjsousa__ has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
noarthur_ has joined #ruby
tjsousa__ has joined #ruby
<AntelopeSalad> certainty: oh, so you mean hanging the method off my app's main module?
<AntelopeSalad> wouldn't that be more confusing since i would need to write every single test file in the module?
<xybre> AntelopeSalad: No just make a new module.
Wolland has quit [Remote host closed the connection]
<certainty> AntelopeSalad: outside any module. But go with xybre's suggestion. I only added the link for reference
mjs2600 has quit [Ping timeout: 245 seconds]
mark_locklear has joined #ruby
<AntelopeSalad> so explicitly include it into every test that uses it?
<AntelopeSalad> and ignore the subclass
DaniG2k has quit [Quit: leaving]
joelbrewer has joined #ruby
Brolen has quit [Ping timeout: 252 seconds]
<AntelopeSalad> i guess one could say this is a form of composition instead of inheritance?
nszceta has quit [Remote host closed the connection]
ayaz has joined #ruby
<certainty> not if you include it
shaunbaker has joined #ruby
<AntelopeSalad> certainty: i went with xybre's suggestion and included it
senayar has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
andrewdublin has joined #ruby
santiago has joined #ruby
reset has quit [Quit: Leaving...]
<aloitius_> Hanmac: I looked at nokogiri, and it looked like it was about reading/parsing. Right now I have Gyoku.xml(my_hash). Is there some kind of Nokogiri xml encoder?
<AntelopeSalad> xybre: is it normal practice to use require_relative for testing?
<AntelopeSalad> i'm basically trying to test a gem
<Hanmac> aloitius_: look at the Nokogiri::XML::Builder class
enebo has joined #ruby
sdwrage has joined #ruby
<xybre> AntelopeSalad: It's not really composition either. Composition is the usage of smaller objects to form a larger set of behaviours. Useage of moduels are jsut mixins, they exhibit a form of delegation.
carraroj has joined #ruby
<AntelopeSalad> xybre: btw what made you choose doing your assertion that way vs doing: https://gist.github.com/AntelopeSalad/9006451#file-assertions-rb
Jdubs has joined #ruby
zeade has joined #ruby
ebetancourt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joast has quit [Ping timeout: 272 seconds]
<xybre> AntelopeSalad: I use require_relative when the paths aren't in the $LOAD_PATH, but you can do it however you want.
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
danshultz has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
<AntelopeSalad> xybre: i am trying to fiddle with LOAD_PATH but i still have ..s all over my requires
ericmathison has joined #ruby
<AntelopeSalad> i have it working for the app code without the dots but not for tests
<xybre> AntelopeSalad: Because I use rspec and I used the first minitest example I found that looked decent as a template.
banister has joined #ruby
<AntelopeSalad> ah
<AntelopeSalad> your gist is interesting because you're using the module in 2 different ways
<certainty> xybre: isn't including modules essentially inheritance (but a little weired). The module is put above the object that includes it in the inheritance hirarchy. How's that delegation? I may be missing something though
<xybre> AntelopeSalad: navigating directories with require is dependent on your PWD, which is unreliable.
<AntelopeSalad> it's like you're using as a class method and instance method at the same time
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
lethjakman has joined #ruby
<xybre> AntelopeSalad: look up "module_function". You can use it whichever way makes the most sense to you.
<AntelopeSalad> xybre: do you have any recommendations to set my test paths up in a way so i don't need require_relative or mess with dotted paths?
krisbulman|afk is now known as [krisbulman|afk]
MattStratton has joined #ruby
kevind has joined #ruby
<lethjakman> hmmmm...so...rspec is throwing out a malloc error
<lethjakman> but I can't seem to get any details
<lethjakman> any idaes?
joelbrewer has quit [Ping timeout: 245 seconds]
<xybre> AntelopeSalad: Inheretance is also a form of delegation.
<benzrf> inheritance is ONLY a form of delegation
danshultz has quit [Remote host closed the connection]
<benzrf> at least, in a duck-typed language
<lethjakman> that's what I've got...
<benzrf> only inherit if you want to delegate
<lethjakman> gah.
<benzrf> or do specific overriding
<certainty> ah now i see where you're coming from
mmoretti has joined #ruby
mmoretti has quit [Remote host closed the connection]
<xybre> AntelopeSalad: Generally for test files I do not add them to the load path.
Atw has joined #ruby
<AntelopeSalad> xybre: you just stick with require_relative everywhere? i ask because i have never seen this used in rails before
joelbrewer has joined #ruby
<AntelopeSalad> (for tests)
<xybre> AntelopeSalad: If you're testing a gem the files in lib are already in the load path.
shaunbaker has quit [Remote host closed the connection]
<aloitius_> Hanmac: OK, I see how I can use Nokogiri to do the same thing (make xml out of a hash) but I don't see where the character encoding comes in.
<AntelopeSalad> xybre: yeah but not the test files which are outside of lib
<xybre> AntelopeSalad: No, I only use require_relative for the spec_helper (test_helper) or inside it. The lib files should already be in the load path.
senayar has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<AntelopeSalad> xybre: but you have to include test_helper in every test file
<AntelopeSalad> as a require
<xybre> Since require "." relies on the PWD is not robust unless you're explicitly managing the PWD of your application.
m8 has quit [Quit: Sto andando via]
<AntelopeSalad> so i would end up with: require_relative '../test_helper'
shinobi_one has joined #ruby
<AntelopeSalad> if i had a test file located in foo/foo_test.rb
andrewdublin has quit [Ping timeout: 252 seconds]
<AntelopeSalad> assuming test_helper was located 1 dir back of course
mojjojo has joined #ruby
<xybre> That is logical.
<AntelopeSalad> ok
joast has joined #ruby
<Hanmac> aloitius_: i think your problem is that <Field(ABC)/> is valid xml ?
<AntelopeSalad> i've just been looking at other tests as inspirations and never saw a dotted path or require_relative anywhere
<Hanmac> hm or it looks like that :/
<xybre> Why do you think that is?
maximski has quit []
<certainty> aha, there is even a paper about it http://dl.acm.org/citation.cfm?doid=38765.38820
<AntelopeSalad> as test inspiration
<AntelopeSalad> because that is the best project i've seen that uses minitest
<certainty> maybe i need to drink some more OO kool aid
rezzack has joined #ruby
cpruitt has quit [Quit: cpruitt]
raphaelivan has quit [Quit: Leaving.]
<shinobi_one> anyone have a decent way to refactor/rewrite this into a more sexy way? jc from the ruby-ist perspective http://pastie.org/private/xbrdjmbi36witahsp4muwq#
<xybre> certainty: I'm sure its interesting, unfortunately I have to pay to read it :(
mlpinit has quit [Read error: Connection reset by peer]
<xybre> certainty: OOD/OOP koolaid is delicious fyi
terrellt has joined #ruby
SHyx0rmZ has joined #ruby
mlpinit has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
<shinobi_one> http://pastie.org/private/p33id7pekjpze4gwwzddwq eh there is an error
<shinobi_one> was*
<xybre> shinobi_one: can you put it on gist?
<lagweezle> Heh. xybre beat me to it.
<shinobi_one> xybre: i don't see why not
sambao21 has joined #ruby
rakm is now known as guest12214
<tselatra> is it possible to switch between 2 gem list?
<shinobi_one> gisted
<xybre> certainty: Ah, part of the weirdness here is that Ruby's version of multiple inheritance is a little funky. Since its using mixins some of the issues are a little different. But overall they are very similar concepts.
<shinobi_one> xybre: multiple inheritcance :O
<aloitius_> Hanmac: I thought that might be the case. =P My problem is that I'm passing to a Microsoft/.NET/SQL setup and it's plotzing on the parens. It needs them to be encoded as x00whatever. And from the XML spec I couldn't tell if "(" was actually okay as a tag, since it lists hex ranges, not actual characters. (http://www.w3.org/TR/REC-xml/#NT-NameStartChar)
<shinobi_one> inheritance*
<pipework> certainty: http://www.objectmentor.com/omSolutions/oops_what.html isn't terrible
toasty has joined #ruby
toasty is now known as toastynerd
Hanmac1 has joined #ruby
<certainty> pipework: thanks!
<pipework> I also love c2 wiki.
<shinobi_one> damn, had another error in the gist!
sumark has quit [Remote host closed the connection]
<certainty> i tried to stay away from the OO rabbit hole, but i might have to take a closer look from time to time :)
<certainty> yeah i like the c2 wiki too
<Xuisce> hey all
<Xuisce> general question
<benzrf> c2 ftw
<Xuisce> Would you ever IRC from your smartphones?
<Xuisce> :)
<benzrf> Xuisce: sup yosafbridge
<benzrf> *yo
<pipework> General answer.
<pipework> Xuisce: all the time
<Xuisce> really?
<benzrf> Xuisce: i dont have a smartphone, but if i did i probly wouldnt
<certainty> two generals problem
<Xuisce> I mean I got a 4'' phone
<certainty> :)
<shinobi_one> er wait, maybe not nevermind
<benzrf> fuck smartphone kbd
danshultz has joined #ruby
<Xuisce> I mean its not bad ..
<pipework> Do you expect me to talk to mere mortals when I'm not at my machine? Lol
<Xuisce> its better than my 3'5 one
Hanmac has quit [Ping timeout: 242 seconds]
<Xuisce> pipework: well it depends .
sumark has joined #ruby
<Xuisce> I feel like more and more people are using Irc on the go
noop has joined #ruby
<Xuisce> then again I could use it for other things such as music and apps
<Xuisce> what IRC clients do you guys use?
tris has joined #ruby
<shevy> xchat
<shinobi_one> Xuisce: Colloquy on OSX
<Xuisce> ah Colloquy
<shinobi_one> Xuisce: Pidgin on Linux, or irssi
<Xuisce> isn't that a bad client?
Wolland has joined #ruby
<shevy> Xuisce I think this is because of the rise of smartphones, people are using computers more in-passing these days
<Xuisce> Colloquy hogs too much ram shinobi_one
<Xuisce> true
<Xuisce> shinobi_one: right
<Xuisce> shevy: right
<Xuisce> then again ,,
<Xuisce> I mean , typing on that screen kidna sucks too
<Xuisce> kinda
<shevy> I myself hate smartphones, I also have a hard time working with laptops
<Xuisce> I don't mind it for a quick email but I do tend to use IRC on it a lot
<shevy> I feel much slower on the latter two
<pipework> Xuisce: I use a combination of irccloud's open source IRC app and weechat's open source mobile app.
<shinobi_one> Xuisce: it's using about 172MB of ram right now
<shevy> well, usually when I am active on IRC, I am also active coding
s2013 has joined #ruby
<shinobi_one> shinobi_one: between 100-170MB
<pipework> shevy: And you blame me for you being unproductive! D:
<Xuisce> hmm
cmedeiros has quit [Read error: Connection reset by peer]
<pipework> Xuisce: For my desktop, irccloud's web client and weechat.
<xybre> shinobi_one: I might start refactoring it like this to capture the state beign passed around: https://gist.github.com/acook/9006975
<Xuisce> IRCCloud never got to me
Hanmac has joined #ruby
<xybre> But I'm not sure whats it actual purpose is, so I might have slightly broken it, but I suspect there might be a better way to do waht you're doing.
<aloitius_> Hanmac. Huh. The w3 xml validator sez "character "(" not allowed in attribute specification list" and "character "(" not allowed in end tag"
Vovko has quit [Remote host closed the connection]
kpshek has quit []
joelbrewer has quit [Ping timeout: 252 seconds]
mocfive has joined #ruby
<Xuisce> I may try wee chat
<Xuisce> but then again hm
<shinobi_one> xybre: not sure how objectifying it into a class helps other than passing the variables around, but i see what you mean :)
<Hanmac> aloitius_: thats what i am wondering ... XML::Builder makes "<Field(ABC)/>" but XML::Parser only reads "<Field/>"
<xybre> shinobi_one: captures state, and yes, less arguments to pass around :)
Hanmac1 has quit [Ping timeout: 245 seconds]
<xybre> The first O is OO is "object".
<shinobi_one> xybre: but you're not using them with @instancevarname anywhere :P but i get the point
<pipework> xybre: Not orifice?
Vovko has joined #ruby
<pipework> Suddenly OO is a lot less fun.
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
<xybre> shinobi_one: line 5
<xybre> pipework: only when it comes to you
<benzrf> inheritence is terrible in general
<benzrf> there are few cases where it is appropriate
<shinobi_one> xybre: ha missed that
LadyRainicorn has joined #ruby
<benzrf> in languages like java you need to do it to get polymorphism
nszceta has joined #ruby
<benzrf> but since you get perfect polymorphism for free in ruby for better or for worse
<benzrf> inheritance should be used with cation
<aloitius_> Hanmac: So, I guess I gotta go through the tags and encode the parens manually. Feels...wrong somehow.
Wolland has quit [Remote host closed the connection]
Wolland has joined #ruby
Wolland has quit [Client Quit]
reset has joined #ruby
koell has joined #ruby
<xybre> shinobi_one: I updated the gist: https://gist.github.com/acook/9006975
kpshek has joined #ruby
senayar has quit [Remote host closed the connection]
Wolland has joined #ruby
<xybre> You might need a slightly different set of state depending his this is used
<shinobi_one> xybre: whoa whoa memoization? ha jk :P
<certainty> benzrf: can you clarify this? what does ruby offer other than subclass polymorphism?
blackmesa has joined #ruby
<Hanmac> aloitius_: hm that smells after a bug ... but also in String.encode
<Hanmac> >> "Field(ABC)".encode(:xml=>:attr)
<eval-in> Hanmac => "\"Field(ABC)\"" (https://eval.in/101729)
Wolland has quit [Client Quit]
<xybre> It's STATE
v0n has quit [Quit: WeeChat 0.4.3]
<shinobi_one> xybre: :)
tselatra has quit [Read error: Connection reset by peer]
<xybre> And now you can check failrues external to the object
tselatra has joined #ruby
<shinobi_one> xybre: i dig it
tselatra has quit [Read error: Connection reset by peer]
<benzrf> certainty: all objects are polymorphic as anything in ruby
<benzrf> duck typin yo
kirun has joined #ruby
blandflakes has joined #ruby
<shinobi_one> i was writing this all script-like and not objectified because i was feeling "scripty"
<shinobi_one> but i see the gains
<pipework> shinobi_one: You should make your script even more succinct and clear about what it really cares about by OO'ing other things up.
zoscoy has joined #ruby
tselatra has joined #ruby
<shinobi_one> pipework: tbh there's not much more to the rest of what's going on, just some consumer stuff with rabbitmq bunny gem
timonv has quit [Remote host closed the connection]
<xybre> shinobi_one: sometimes I'll write scripty things, as soon as it gets any level of complexity I wrap it in a class and start refactoring it, but sometimes you just want to jot the first prototype down
<xybre> Now its testable too
<aloitius_> Hanmac: OK, so it's not just me. Thanks.
sambao21 has quit [Quit: Computer has gone to sleep.]
klaut_ has quit [Remote host closed the connection]
<shinobi_one> xybre: it was testable before :P but i get your point
<benzrf> shinobi_one: do you mean procedural
<benzrf> there is nothin wrong with procedural
<pipework> It's more reusable.
<Hanmac> aloitius_: i will maybe respond it to the main bug tracker from ruby, but not today
<pipework> benzrf: I think it's closer to the difference between a perl program and a perl script.
<benzrf> hmm
<shinobi_one> pipework: yes
<pipework> They're procedural, but still more along the lines of a script, according to Larry Wall.
jprovazn_afk is now known as jprovazn
LadyRainicorn has quit [Quit: Bye]
<aloitius_> Hanmac; No biggie. I just wanted to make sure I wasn' t missing something obvious.
<xybre> I suppose since you're defining all methods on object all you have to do is include the file and run your tests on the local object assuming that you're not using any of the same method names.
bedouin has quit [Ping timeout: 264 seconds]
alol has quit [Ping timeout: 245 seconds]
burlyscudd has joined #ruby
frem_ has quit [Ping timeout: 245 seconds]
jrunning__ has quit [Ping timeout: 245 seconds]
<shinobi_one> xybre: i won't be writing tests for this as i'd have to mock up rabbitmq stuff and it's too much work right now, it's just a simple script that subscribes to a queue and does some work :)
ffranz1 has joined #ruby
mostlybadfly has quit [Read error: Connection reset by peer]
ultraflash3 has joined #ruby
acrussell has quit [Quit: Leaving.]
mostlybadfly has joined #ruby
CJD14 has quit [Ping timeout: 264 seconds]
<xybre> thats how it always starts ;)
frem_ has joined #ruby
<shinobi_one> xybre: luckily for this one it's how it ends too :P
blooberr____ has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
bedouin has joined #ruby
<shevy> find_index on an array will return only the first found result?
<pipework> shinobi_one: Besides, testing is super fun.
alol has joined #ruby
<shinobi_one> pipework: so is getting your small amounts of work done faster so you can go home earlier xD
<shinobi_one> pipework: but i agree, i enjoy rspec
<pipework> shinobi_one: I enjoy minitest more than rspec, but use both.
jonah_k has quit [Remote host closed the connection]
<certainty> benzrf: i see. never thought about it that way
viki has quit [Ping timeout: 246 seconds]
ultraflash3 has quit [Read error: Operation timed out]
<shinobi_one> the entire script just running in the background, calling trac_admin sync stuff on every trac project when it reads a message from a queue that is published by an svn post-commit hook
<pipework> Testing is super fun though, and it's just as fast for me when I'm doing anything more than just using a library in a script really quick.
vlad_starkov has quit [Read error: Connection reset by peer]
jrunning__ has joined #ruby
ffranz has quit [Ping timeout: 260 seconds]
Hobogrammer has quit [Read error: Operation timed out]
<pipework> shinobi_one: So nothing production-y?
CJD14 has joined #ruby
Brolen has joined #ruby
<shinobi_one> pipework: nah not really, just syncing each trac projects code browser with svn commits
sambao21 has joined #ruby
<benzrf> certainty: there is no reason to make A inherit from B unless:
viki has joined #ruby
<shevy> pipework that suck :(
<pipework> shinobi_one: Lol, trac and svn. My condolences.
<pipework> shinobi_one: But at least they're not awesome.
decoponio has quit [Quit: Leaving...]
<benzrf> 1. you want to use B, but with a small extension.
<benzrf> 2. You want to use B, but with a small modification
s2013 has quit [Ping timeout: 252 seconds]
<pipework> shevy: perhaps look up the python documentation for the most similar method/function!
<shevy> pipework no I dont use python
<benzrf> basically, subclassing is for when you want to do monkeypatching but as a distinct entity
<benzrf> is how id put it
<pipework> benzrf: I don't usually find any real reasons to inherit.
<benzrf> yea
<shinobi_one> pipework: there's a reason i'm migrating all of our EXTREMELY old Gentoo (trac/svn) stuff onto a newUbuntu 12.04 server, and adding Gitlab for our new big upcoming projects
<shinobi_one> :D
sdwrage has quit [Quit: This computer has gone to sleep]
<shevy> ack
<shevy> from gentoo to ubuntu?
<shinobi_one> pipework: mostly doing system admin type shit right now, sucks
<shinobi_one> shevy: yessir
<shevy> why do you downgrade
<shinobi_one> lmao
centrx has joined #ruby
kenneth has joined #ruby
<certainty> benzrf: ok thanks for the explanation
<pipework> shinobi_one: Oh man, I've been using gitlab a lot at work, we moved stuff from github to an instance. It sucks compared, but I honestly just hate that their pull request system sucks terribly.
<benzrf> certainty: =)
<shinobi_one> shevy: running Gentoo for servers sucks imo, considering they do things like update the portage base layout.. and oh don't get me started on how miuch i love compiling everything from source that i install ;)
<certainty> OO is just not the way my brain is wired as it seems
<pipework> If they'd just send a git-request-pull out to email addresses or a mailing list and just parse that, I'd be happier.
<shinobi_one> pipework: what's wrong with the pull request system? i haven't used it yet
<benzrf> certainty: people treat OO the wrong way
<shevy> yeah I think you are actually the first guy I remember on IRC to say he is using gentoo for servers
<benzrf> certainty: the way i see it is
saarinen has quit [Quit: saarinen]
jonah_k has joined #ruby
<benzrf> certainty: objects are just scopes
<shevy> most servers are debian
<xybre> pipework: one of my friends was telling me his company is wanting to move to BeanstalkApp for hosting and code reviews
<benzrf> certainty: you use objects for when you want encapsulated global state
<certainty> benzrf: yeah agreed
<shinobi_one> shevy: most debian servers require less work to maintain over time :P
<pipework> shinobi_one: The discussions aren't invalidated, the emailing is sporadic, and it sucks at cache blowing.
<xybre> I had a gentoo server for years. I mostly run Ubuntu server now.
<pipework> I use debian lunix.
<shevy> see
<xybre> lolnix
<shinobi_one> pipework: isn't it using redis for cache?
<shevy> even xybre moved to debian base
<pipework> benzrf: s/global //
<pipework> shinobi_one: No fucking clue.
<pipework> They just suck at it.
<shinobi_one> odd
garndt has quit [Ping timeout: 264 seconds]
blooberr____ has joined #ruby
froy has quit [Remote host closed the connection]
<pipework> I was raised on slackware and use debian because I like packaging for debian
<shinobi_one> well they have a new release every month on the 22nd or something, gotta keep updated i guess, it is a Rails app after all ;)
<xybre> shevy: yep, less configuration mangling. Still some, but gentoo you'r ealways having to sit and fiddle with configurations every upgrade.
monkegjinni has joined #ruby
Kricir has joined #ruby
<shevy> pipework so you also use debian
<shevy> every nix user runs debian as base
cpruitt has joined #ruby
<pipework> shevy: I use debian and have for many moons.
<xybre> I started on Slackware too. Then moved on to Slax since I was a nomad without a laptop (now I'm a nomad with a laptop).
<pipework> dpkg is the least shitty package manager.
<benzrf> pipework: hmm, maybe 'shared' not global
platzhirsch has quit [Ping timeout: 246 seconds]
<xybre> shevy: actually a big number use redhat/fedora/centos. :/
<shevy> hmm
<shinobi_one> dpkg is legit
<shinobi_one> ugh fedora
<shinobi_one> gross
garndt has joined #ruby
<pipework> benzrf: maybe not shared either.
<shevy> xybre from my estimate, the fedora-centric ones are rather low here on IRC, significantly less than 20% of the nix users
mocfive has quit [Remote host closed the connection]
vpretzel has quit [Quit: Adios!]
<pipework> Because why encapsulate state if it's shared? You're actually just hiding state and providing an interface to interact with an object that happens to maybe have state.
<xybre> shevy: hmm, check out the #fedora or #centos channel? I think rubyists prefer debian while javaists might prefer dedrat.
<benzrf> by shared i mean shared between methods
<benzrf> i guess that's kind of implicit
tjsousa__ has quit [Quit: Computer has gone to sleep.]
mocfive has joined #ruby
<shevy> at work they use debian for their clusters too, I am totally surrounded by debian - I am the only one in the room to have to use the windows machine :(
<shinobi_one> shevy: oh god, why windows?
beakr has joined #ruby
<dorei> winxp aint bad
<centrx> Is that some kind of punishment
<shinobi_one> dorei: win7 is better
<pipework> benzrf: It's more about grouping data and having methods that may or may not manipulate that state.
shaunbaker has joined #ruby
<shevy> not sure, I think they use it for some programs... matlab GUI, some more GUI stuff... most people there at work are non-techies
<pipework> shevy: Why do yo uhave to?
<dorei> shinobi_one: more stable for sure, but it ships with extra m$ spyware xD
<shinobi_one> dorei: baha..
endash_ has joined #ruby
<shevy> pipework dunno, I think I may not connect with a machine they have no control over
<shinobi_one> dorei: the NSA will find you either way ;) XP or not ;)
<pipework> benzrf: Because it was already shared before you put it into objects.
<shevy> and they had no spare laptop when we asked the IT deparment (which resides in the dungeon cellar of the building)
<shevy> *department
<shinobi_one> let's be honest though guys.. OSX ftw ;D
<certainty> nah
<dorei> osx is for musicians :p
poulson has quit [Read error: Connection reset by peer]
Monk_code has joined #ruby
<shinobi_one> osx is for musicians and brogrammers
<shevy> osx is for elitists
<shinobi_one> osx is also for artists
<shevy> ewww... brogrammers
<shevy> hipster gayness
Monk_code has quit [Client Quit]
<shinobi_one> ^ careful your'e in the ruby irc
<shinobi_one> haha
<shevy> yep!
<shevy> matz is using debian!!!
* shinobi_one looks around at the aviator wearing hoodie wearing brogrammers
v0n has joined #ruby
<shinobi_one> :D
<shevy> the railsers brought a wave of OSX onto ruby
<shevy> they brought us a new sexy logo
<shevy> shinobi_one, did you see it?
<Xuisce> so shinobi_one Colloquy is good?
Kricir has quit [Remote host closed the connection]
<Xuisce> hm
<shinobi_one> Xuisce: i have no problem with it, been using it for a couple years, the icons are a little blurry on a retina display, but not bad
<Xuisce> no wonder
<Xuisce> its not Retina ready :p
<Xuisce> anyhow
<Xuisce> brb
<pipework> I prefer debian for development, but work refused my lenovo request and gave me a mactop.
<shinobi_one> Xuisce: i'm not even sure it's actively developed anymore
<shevy> is this not super awesome?
mocfive has quit [Ping timeout: 252 seconds]
<pipework> shevy: It's like, "mmm, ruby"
<pipework> Just don't step on it.
<shinobi_one> shevy: lol
<shevy> hmm
<xybre> pipework: lolnix runs on fapple
<shevy> what is fapple
<pipework> xybre: I wouldn't do such a terrible thing to poor debian.
<shinobi_one> in all honesty developing Rails apps is no different on Linux or OSX though, the difference is a lot of web devs can actually do things like use photoshop, so osx makes sense
Hobogrammer has joined #ruby
<shevy> I use pimp
<pipework> The good lord intended debian to run on hipster-free software.
<shevy> that linux thing
sparrovv has joined #ruby
<xybre> There's some userspace utils on OSX that I like.
bricker has joined #ruby
<xybre> Mostly iTerm.
Advocation has joined #ruby
<shevy> I pimp my images for a dime
<pipework> I don't like ubanto lunix
* dorei prefers rpm based linux distros
<shevy> baboon linux
<pipework> dorei: Why so?
<shinobi_one> dpkg ftw
<shinobi_one> yum ftl
<xybre> I also like that they seperate OS-level commands from app and commandline commands with their meta key. Most linux distros don't do it by default.
<shevy> huh?
<shinobi_one> xybre: because that ever mattered when? :P
santiago has quit [Quit: Konversation terminated!]
<shevy> meta key?
<dorei> pipework: so far had no problems with either redhat or suse derived distros, so i see no reason to stay away from rpm
<shinobi_one> dorei: unless you're doing a lot of custom stuff you shouldn't have a problem with any linux distro
<pipework> dorei: Ah, historically, I've had issues with rpm distros. It may be better, but I'm very much a debian kind of bruv.
carraroj has quit [Ping timeout: 248 seconds]
pranny has joined #ruby
<shinobi_one> dorei: ever used Fedora?
recurrence has joined #ruby
<dorei> shinobi_one: maybe, aint sure, centos, fedora, etc all look the same to me
<shinobi_one> dorei: try upgrading it lol
<xybre> shinobi_one: it matters to me all the time. I use the console all the time. cmd+c is copy. on linux its ctrl+c, but since terminals get confused they sue cntrl+shift+c among other ridiculous things, so I end up having to remap everything.
<xybre> Also, there's native Evernote and Github apps for OSX.
s2013 has joined #ruby
Squarepy has quit [Ping timeout: 245 seconds]
<shinobi_one> xybre: cmd+c is copy on osx you mean?
<xybre> Uhm. And better font rendering on OSX.
<shinobi_one> xybre: (better most things)
<xybre> And better sleep/hibernate on OSX.
mjuszcza1 is now known as mjuszczak
fedesilva has quit [Read error: Connection reset by peer]
<dorei> btw, all linux distros othen than ubuntu derived ones need the infinality patch so as the fonts dont look crappy
tselatra has quit [Read error: Connection reset by peer]
<shinobi_one> plus, homebrew guys, homebrew
tselatra has joined #ruby
<xybre> homebrew jsut gives me what apt woudl give me
<xybre> It's not a feature, its a patch to a buy.
<xybre> s/buy/bug
tselatra has quit [Read error: Connection reset by peer]
<shinobi_one> xybre: nah, there was fink and macports before
<certainty> OSX is mostly non free software
<shinobi_one> ^ huh?
<certainty> it's unethical to use it
<certainty> free as in freedom
<shinobi_one> if you're stating that hours of work to provide amazing software that shouldn't be paid for, you're nuts ;)
tselatra has joined #ruby
endash_ has quit [Quit: endash_]
kevind has quit [Quit: kevind]
<certainty> shinobi_one: not free as in free beer
<dorei> i think pirated software is better than free software xD
<shevy> I think software can be shit
<shinobi_one> certainty: there's no software i'm currently using on my mac that i've paid for
saarinen has joined #ruby
monkegjinni has quit [Ping timeout: 248 seconds]
<shevy> shinobi_one you can't be a professional artist then can you :)
rootshift has joined #ruby
<RubyPanther> software shouldn't be paid for
fedesilva has joined #ruby
<shevy> Bill Gates dislikes this
froy has joined #ruby
<shevy> and downvotes #ruby
<shevy> There guys, look what you did now :(
<RubyPanther> setup, customization, support, these are much better profit points
<shinobi_one> shevy: i'm not ;)
senayar has joined #ruby
<shinobi_one> shevy: i do have some professional music software (that i didn't pay for)
<shevy> music!
<shinobi_one> RubyPanther: ehh i don't believe that's feasable
<RubyPanther> who knows what Gates would say, ask him on next year's reddit interview
<shinobi_one> IAMA
<certainty> shinobi_one: i'm not talking about price. I'm talking about the 4 fundamental freedoms that every user of a particular software should have
<shevy> people on reddit behave oddly
<RubyPanther> How is what people are already doing successfully for decades... not feasible?
<philcrissman> lol
<shevy> why are there only 4 and not 10 freedoms
<philcrissman> blame Stallman
<benzrf> shevy: reddit is awfu
<benzrf> l
<shinobi_one> RubyPanther: the most successfull of those people probably weren't giving it away for free now where they ;)
<dorei> stallman is just a cult leader :p
<RubyPanther> IBM agrees with me
<shevy> benzrf yeah, too much line noise
<shevy> benzrf but 5% of it is good
<RubyPanther> every buy an IBM support contract?
mocfive has joined #ruby
[krisbulman|afk] is now known as krisbulman
<RubyPanther> ever
<shinobi_one> RubyPanther: IBM sells software i'm pretty sure
kpshek has quit []
<RubyPanther> IBM sells stuff the customers insist on buying
<shevy> IBM also sells souls
<RubyPanther> they had to almost force customers to switch from AIX to linux
<RubyPanther> even when it was IBM supporting their linux
<shinobi_one> RubyPanther: my buddy works on some server energy type software that you buy
<RubyPanther> IBM gave free software and support to Greenpeace International. The software donation was like $2000, the support donation was like $100k
joelbrewer has joined #ruby
ZeeLiDoX has joined #ruby
intuxicated has joined #ruby
intuxicated has quit [Changing host]
intuxicated has joined #ruby
<shinobi_one> RubyPanther: IBM is an awful company, they don't care at all about their employees
<shevy> one of the cooler websites out there is stackoverflow
<certainty> dorei: how is this a cult?
<RubyPanther> Same with TripWire, their product is cheap, their big customers pay $50k/yr for unix support
<RubyPanther> And you can download a free OSS version
<shinobi_one> RubyPanther: there are situations where that makes sense to do, there are others where it doesn't
<RubyPanther> If they gave away the flagship, they'd only lose a couple percent of sales
<shinobi_one> RubyPanther: the company i work for doesn't make money off the software (unless it's virtual), only support and hardware
senayar has quit [Ping timeout: 249 seconds]
<shevy> the hookers business
<RubyPanther> Freemium games make more money than paid games
<shinobi_one> RubyPanther: due to cell phones and facebook yes, only those two markets
aryaching has quit [Quit: sayonara! ^_^]
<RubyPanther> Not true, kabam, one of the biggest freemium game companies, make loads off of web games
nanoyak has quit [Quit: Computer has gone to sleep.]
<RubyPanther> consoles they won't let you build a freemium game
beakr has quit [Quit: beakr]
aryaching has joined #ruby
<shinobi_one> RubyPanther: most PC gamers are buying games off of Steam or Origin
<RubyPanther> Does steam's market include freemium offerings?
<shinobi_one> RubyPanther: and aren't those Kabam games bascially cell phone/facebook/we happen to have a web version as well?
bricker has quit [Ping timeout: 272 seconds]
<shinobi_one> RubyPanther: yes
<RubyPanther> If you're saying, "except places with platform lock monopolies" sure, those places are using their own model that they assert
<shinobi_one> RubyPanther: TF2
<benzrf> freemium is my mortal enemy
tharindu has quit [Quit: Leaving...]
<RubyPanther> Then we'll know in a couple years when steam matures
gigetoo has quit [Remote host closed the connection]
<benzrf> it is a sinister beast, created in the pits of Hell itself to lead freedom-lovers astray!!
<shinobi_one> what i'm saying is freemium doesn't work well unless it's a niche market, people would MUCH rather pay 60 to play GW2 than play SWTOR freemium shit
<RubyPanther> If it actually an open market, freemium will dominate it
<shinobi_one> niche meaning phone/website/facebook
w1zeman1p has quit [Remote host closed the connection]
<RubyPanther> People who are into that, yes. But are you sure you know which is the niche these days?
<shinobi_one> RubyPanther: my point is freemium only works well on those platforms
wallerdev has quit [Quit: wallerdev]
koell has quit [Ping timeout: 248 seconds]
<shevy> benzrf so young and so full of hate :(
<RubyPanther> Freemium has become the biggest player in every platform that it is mature in
<AntelopeSalad> hmm, why can't i just run: system 'rails -v' with ruby directly?
<shevy> Freepornium
shaunbaker has quit []
<shevy> AntelopeSalad should be possible but perhaps your PATH is wrong?
gigetoo has joined #ruby
<AntelopeSalad> shevy: it throws 'railties is not part of the bundle. Add it to Gemfile. (Gem::LoadError)'
<shinobi_one> RubyPanther: and it will continue to most likely, on those markets only
<shevy> AntelopeSalad it works for me here
<AntelopeSalad> which is weird because i have rails on my path set by rbenv
nszceta has quit [Remote host closed the connection]
<AntelopeSalad> shevy: i'm running it through minitest
<shevy> aha
<shinobi_one> AntelopeSalad: why do that anyway?
alvaro_o has joined #ruby
<benzrf> shevy: i will be older on wednesday
<AntelopeSalad> shinobi_one: i'm testing a cli i made which calls out to rails to generate a custom template
<benzrf> =D
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> benzrf remember my words! you get older and only more evil!
<AntelopeSalad> but for some reason i can't call a ruby bin that is installed as a gem
<RubyPanther> shinobi_one: That is wild assertion with no reasoning. If something is growing everywhere that it is, and platform lock in general is going down, then the more natural assumption is that freemium will become pervasive
<shevy> I used to be helpful when someone was standing close to the cliff, I would pull them back
<benzrf> D:
<shevy> nowadays I would just... I'd... give them a helpful push forward :(
jprovazn is now known as jprovazn_afk
<shinobi_one> AntelopeSalad: '/usr/bin/env ruby' ?
bricker has joined #ruby
zoscoy has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
<certainty> i hear that calling shevy satan is an insult for satan xD
<shinobi_one> RubyPanther: it's not growing everywhere, it's only popular on mobile and facebook, that's not *everywhere*
<AntelopeSalad> shinobi_one: i can call rails fine in my terminal
wallerdev has joined #ruby
<RubyPanther> AntelopeSalad: you might try rbenv exec rails
<shevy> certainty yeah, he is trapped in his cave, I am free
<certainty> :)
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
<AntelopeSalad> RubyPanther: same error
<shinobi_one> AntelopeSalad: system '/usr/bin/env rails --version' works for me
kobain has joined #ruby
<shevy> certainty but during xmas I am nice because there will be a new ruby release
<shevy> AntelopeSalad it works in irb! what are you doing that it fails for you...
<RubyPanther> shinobi_one: that isn't true, look at kabam, runescape, etc, there is way more freemium web gaming than paid web gaming
Sawbones has quit []
<RubyPanther> web isn't just "facebook"
<AntelopeSalad> shinobi_one: not working here, one moment i'll gist it
<shinobi_one> RubyPanther: it's not? xD
<RubyPanther> who knew, right? lol
<shevy> I will never know what facebook is all about
<shinobi_one> RubyPanther: we'll talk in a couple years and see where it's at :P
<shinobi_one> RubyPanther: imo i don't suspect console or *real* pc gaming will change to freemium
kpshek has joined #ruby
<AntelopeSalad> all 3 of those fail with the same error
yarou has joined #ruby
<RubyPanther> shinobi_one: true scotsman will never consider themselves a niche
pu22l3r_ has joined #ruby
pu22l3r has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
<RubyPanther> Normals used to play board games. Then came farmtownville.
<shevy> AntelopeSalad what are you doing with the assort there
<shinobi_one> AntelopeSalad: that doesn't work in irb? system '/usr/bin/env rails -v'
<AntelopeSalad> shevy: nothing for now, i just want to see it print the rails version first
Hanmac has quit [Ping timeout: 260 seconds]
aryaching has quit [Read error: Connection reset by peer]
yacks has quit [Read error: Connection reset by peer]
<AntelopeSalad> i'll do some regex match to ensure it's 4.x.x at some point later
<shevy> yeah but you make this in an assert
Hanmac has joined #ruby
mocfive has quit [Remote host closed the connection]
carraroj has joined #ruby
<AntelopeSalad> shinobi_one: in irb it works fine
<shevy> \o/
<shinobi_one> AntelopeSalad: add #!/usr/bin/env ruby to the top of the script
<AntelopeSalad> in irb i can even run rails -v directly
<RubyPanther> AntelopeSalad: system '/path/to/rbenv exec rails -v'
<AntelopeSalad> shinobi_one: to what script? it's being ran in a minitest
klaut has joined #ruby
<AntelopeSalad> *minitest test case
<shinobi_one> AntelopeSalad: are you using rbevn?
<shinobi_one> rbenv*
klaut has quit [Remote host closed the connection]
<AntelopeSalad> rbenv yeah
<shinobi_one> AntelopeSalad: i jsut tried it in a script (not using rbenv, but using rvm) and it works fine :(
<shevy> \o/
aryaching has joined #ruby
<AntelopeSalad> RubyPanther: same error with the full path
<shinobi_one> AntelopeSalad: also it's --version not -v
<RubyPanther> _what_ error?
<shinobi_one> AntelopeSalad: nvm i'm an idiot
<AntelopeSalad> -v is the alias for --version
pu22l3r_ has quit [Read error: Connection reset by peer]
pu22l3r has joined #ruby
<AntelopeSalad> this is a minitest test case inside of a gem i'm testing, is it on drugs and somehow demands i add rails as a test dependency in my gemspec file?
<RubyPanther> "railties is not part of the bundle. Add it to Gemfile."
Hobogrammer_ has joined #ruby
<AntelopeSalad> yeah but that doesn't any sense to me at all -- why does it care what system command i'm running?
dblessing has quit [Quit: dblessing]
elaptics is now known as elaptics`away
<AntelopeSalad> if i run the command through thor's run command it works fine
Shidash has joined #ruby
<RubyPanther> I'm guessing your testing system is sanitizing the environment
<AntelopeSalad> but i can't use "run" in minitest because it conflicts with minitest's "run" method
<Xuisce> hi all
<RubyPanther> does bundle exec rails do the same thing?
<AntelopeSalad> i didn't do anything special AFAIK
<AntelopeSalad> bundle exec'ing it is the same error
<AntelopeSalad> on my system i have rails installed with gem install rails, it's on my path correctly
<RubyPanther> so just add railsties to Gemfile
Celm has quit [Remote host closed the connection]
<RubyPanther> -s
<AntelopeSalad> not using any gemsets or anything crazy
sambao21 has joined #ruby
<AntelopeSalad> but why would i have to add railsties to the Gemfile of my gem?
<AntelopeSalad> that seems so broken
banister has joined #ruby
aryaching has quit [Client Quit]
<AntelopeSalad> how does ruby/minitest/bundler even know too?
Celm has joined #ruby
<AntelopeSalad> like, how it know the difference between calling "rails" and "nano" using the ruby system method?
<AntelopeSalad> *does
<RubyPanther> AntelopeSalad: rails is telling bundler it needs it, and bundler is saying it isn't in the Gemfile
Hobogrammer has quit [Ping timeout: 252 seconds]
noop has quit [Ping timeout: 248 seconds]
<AntelopeSalad> so i have to add railties to the Gemfile of my gem just to be able to call rails in a test?
<AntelopeSalad> because my cli app makes a call to rails without any issues or any extra deps added to my gemfile
SilentHobo has joined #ruby
<RubyPanther> how can you call rails if it isn't a dependency?
<shinobi_one> AntelopeSalad: ask in the Rails IRC :P
<shevy> hah!
<shevy> sneaky of him!
<shevy> he tried to infiltrate rails here
carif has quit [Ping timeout: 260 seconds]
<AntelopeSalad> RubyPanther: because it's an implied dependency in this case
<RubyPanther> I blame bundler
<AntelopeSalad> you wouldn't be using this tool without having rails installed
mojjojo has quit [Quit: mojjojo]
<AntelopeSalad> i just don't get how in the thor cli app i can make a "run" call to rails and it works without anything extra
Astralum has joined #ruby
toastynerd has quit [Remote host closed the connection]
<RubyPanther> AntelopeSalad: I think it is finding your app rails and not the ruby rails, so in that case it is correct that it needs to load the Gemfile
<AntelopeSalad> i don't have a binary named rails that conflicts if that's what you mean
<pipework> AntelopeSalad: how are you still having issues with this thor junk?
msmith__ has quit []
<AntelopeSalad> but i get the same error when i try to run: system 'foo -v' on my app in minitest
<pipework> Couldn't the combination of #rubyonrails and #minitest help you?
<AntelopeSalad> actually incorrect, -v actually works
<RubyPanther> app/bin/rails does an init and loads the Gemfile
<AntelopeSalad> pipework: it's more of a specific ruby/bundler issue i think
<pipework> AntelopeSalad: How confusing! Poor AntelopeSalad.
<AntelopeSalad> also the minitest channel is dead
<AntelopeSalad> and thor has no channel
<RubyPanther> .rbenv/versions/.../bin/rails doesn't
aryaching has joined #ruby
<AntelopeSalad> but in this case it's not a thor issue
Hobogrammer_ has quit [Ping timeout: 272 seconds]
<RubyPanther> so you just need to be running the right one
<RubyPanther> AntelopeSalad: try system `rbenv which rails`
<AntelopeSalad> RubyPanther: it's ~/.rbenv/versions/2.1.0/bin/rails
<AntelopeSalad> i tried hard coding that path in too earlier, no luck
senayar has joined #ruby
<RubyPanther> no, I meant literally: system `rbenv which rails` # or system '~/.rbenv/versions/2.1.0/bin/rails' or whatever
<RubyPanther> If you're really wanting the one that doesn't load the gemfile
iliketurtles has quit [Quit: zzzzz…..]
jack_rabbit has quit [Ping timeout: 246 seconds]
<AntelopeSalad> RubyPanther: the first one gives me back the path
<AntelopeSalad> because i have it printing back the output of system
<RubyPanther> *groan*
<RubyPanther> l i t e r a l y
rylinaux has joined #ruby
mojjojo has joined #ruby
pranny has quit [Quit: Leaving.]
<AntelopeSalad> yes i know
<pipework> RubyPanther: lol, rbenv.
<AntelopeSalad> i literally have system 'rbenv which rails'
<RubyPanther> as in, backticks are not quotes
<AntelopeSalad> and it literally printed back the real path of rails :D
<AntelopeSalad> with the backticks it throws the same error
mneorr has quit [Remote host closed the connection]
tgkokk has quit [Remote host closed the connection]
sparrovv has quit [Remote host closed the connection]
<AntelopeSalad> maybe i should just add railties as a dependency in my gemspec file?
<AntelopeSalad> even though that means i need to reinstall minitest because railties depends on minitest 4.x but minitest is already on 5.x
benzrf has left #ruby [#ruby]
vlad_starkov has joined #ruby
macclearich has joined #ruby
<RubyPanther> if you're running the rbenv rails from the gem it should not be asking for the Gemfile because (I'm looking at the source) it does load Gem.bin_path('railties', 'rails', version) # and doesn't load bundler
mneorr has joined #ruby
<RubyPanther> so I basically don't believe you :)
<AntelopeSalad> what?
dingus_khan has joined #ruby
<RubyPanther> You're not actually running system '~/.rbenv/versions/2.1.0/bin/rails' # you must be running something else first that it fails on
Hanmac1 has joined #ruby
kpshek has quit []
Hanmac has quit [Ping timeout: 252 seconds]
rayners has quit [Ping timeout: 248 seconds]
<AntelopeSalad> RubyPanther: here https://gist.github.com/AntelopeSalad/9008591
<RubyPanther> Those are quotes not backticks
<AntelopeSalad> look at fail.rb
starfox21 has joined #ruby
<AntelopeSalad> fail is the one that uses the backticks
krisbulman is now known as [krisbulman]
surtin has joined #ruby
ukd1 has quit [Remote host closed the connection]
<centrx> AntelopeSalad, system is a function
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<centrx> AntelopeSalad, backticks are used by themselves
<AntelopeSalad> centrx: yeah i know but i'm following RubyPanther's exact steps
<centrx> s/function/method
<AntelopeSalad> the docs said to use system or ticks
petey has joined #ruby
<centrx> Or: name: a state in northwestern United States on the Pacific ~ noun: a room in a hospital equipped for the performance of surgical operations
<RubyPanther> AntelopeSalad: open up ~/.rbenv/versions/2.1.0/bin/rails and look at the source
dingus_khan has quit [Remote host closed the connection]
<AntelopeSalad> but in either case, if i replace system `foo` with `foo` , it's the same error that gets thrown
rootshift has joined #ruby
iliketurtles has joined #ruby
chipotle has quit [Quit: cya]
pu22l3r has quit [Read error: Connection reset by peer]
kate_r has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cpruitt has quit [Quit: cpruitt]
<AntelopeSalad> RubyPanther: it's open
pu22l3r has joined #ruby
alexherbo2 has joined #ruby
chipotle has joined #ruby
Celm has quit [Remote host closed the connection]
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
Hobogrammer_ has joined #ruby
<AntelopeSalad> RubyPanther: but can you explain to me why i can open a standard irb console and type system 'rails -v' and it prints back the version?
nanoyak has joined #ruby
Hanmac has joined #ruby
<RubyPanther> AntelopeSalad: if you're in an app dir then it is running a different rails
<AntelopeSalad> no it's not
<AntelopeSalad> if runs the app's version of rails if i do: bundle exec rails -v
adamnbowen has joined #ruby
dingus_khan has joined #ruby
<RubyPanther> does your ~/.rbenv/versions/2.1.0/bin/rails look normal? Is it using bundler, or rubygems?
<AntelopeSalad> if i just type rails -v it uses the system's rails version for that rbenv
starfox21 has quit [Quit: starfox21]
<AntelopeSalad> the binary located there has a gem 'railties' line near the bottom and Gem.bin_path(...)
petey has quit [Remote host closed the connection]
mlpinit has quit [Read error: Connection reset by peer]
Hanmac1 has quit [Ping timeout: 260 seconds]
<AntelopeSalad> but in my terminal when i run which rails, it loads it from rbenv's shim's version of rails
ffranz2 has joined #ruby
petey has joined #ruby
mlpinit has joined #ruby
<AntelopeSalad> seems like we're getting somewhere now, inside of minitest it's using a different rails binary entirely
<RubyPanther> AntelopeSalad: did you install the rubygems-bundler gem??
SilentHobo has quit [Ping timeout: 272 seconds]
ukd1 has joined #ruby
george2 has quit [Remote host closed the connection]
ukd1 has quit [Remote host closed the connection]
<AntelopeSalad> but if i open irb and run system 'which rails', it gives me the unshimmed version (same as minitest)
ffranz1 has quit [Ping timeout: 248 seconds]
<AntelopeSalad> but that one actually works when i do rails -v
Hanmac1 has joined #ruby
<AntelopeSalad> RubyPanther: not to my knowledge, i installed ruby 2.1 with rbenv install
ikaros has quit [Quit: Ex-Chat]
<AntelopeSalad> and i think that comes with bundler
Emmanuel_Chanel has joined #ruby
<AntelopeSalad> if i try to use the shimmed version directly in minitest it also throws the error
Hanmac has quit [Ping timeout: 248 seconds]
petey_ has joined #ruby
petey has quit [Read error: Connection reset by peer]
Hobogrammer_ has quit [Ping timeout: 246 seconds]
Jdubs has quit [Remote host closed the connection]
i_s has quit []
Jdubs has joined #ruby
<AntelopeSalad> this is seriously messed up, i just looked at thor's source for the run method
<AntelopeSalad> all it does is call out to system exactly how we're doing here i think
starfox21 has joined #ruby
Hiall has joined #ruby
<AntelopeSalad> if i do... run 'rails -v' through thor everything works , if i do... system 'rails -v' i get that railties error
Ariadeno has joined #ruby
bricker has quit [Ping timeout: 248 seconds]
itadder has joined #ruby
shadoi has quit [Quit: Leaving.]
<itadder> hi
jack_rabbit has joined #ruby
joelbrewer has quit [Ping timeout: 260 seconds]
<itadder> in the PickAxe book it says to do rvm use 2.0
<itadder> if I have 2.1 something ruby
<itadder> is it good to follow what he recomendin
<centrx> rvm use is right
<itadder> g
<AntelopeSalad> maybe this is a minitest specific bug then? nothing else explains it
<pipework> itadder: When reading books, follow the books.
<pipework> Use the versions they use.
<itadder> ahh okay
<itadder> so it safe for me to do rvm
<pipework> AntelopeSalad: Didn't mike explain that minitest and thor don't work together?
<itadder> it safe to have both
<pipework> itadder: I don't use it.
<itadder> centrx: pipework thanks
<AntelopeSalad> pipework: yes which is why i'm using system() directly instead of run()
<itadder> the PickAxe. so far is good
<pipework> I use chruby and ruby-install. rbenv sucks, rvm is alright.
<itadder> he or her explains very good
<pipework> AntelopeSalad: I'd use open3.
<itadder> and clear
GinoMan has quit [Ping timeout: 260 seconds]
zachalle_ has quit [Remote host closed the connection]
<pipework> itadder: It's a good book
adamnbowen has quit [Quit: Computer has gone to sleep.]
<AntelopeSalad> pipework: i don't know what that is but it's certainly going to be more complicated than ruby's system method
<pipework> AntelopeSalad: And worth it!
<pipework> Whenever I call out to system, I use open3.
Xeago has joined #ruby
<itadder> but rvm seems to be the stanaard
lpvn has quit [Ping timeout: 260 seconds]
<itadder> I am starting to like this book
<AntelopeSalad> pipework: minitest has helpers to capture io streams
<pipework> halpful
<itadder> I won't break my mac with rvm use 2.0.0
surtin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
francisfish has quit [Remote host closed the connection]
<pipework> itadder: It's an option. I wouldn't say standard. It's a fractured community now.
<pipework> itadder: Why would it?
mojjojo has quit [Quit: mojjojo]
<itadder> two different version of ruby
<itadder> apples ruby version and the 2.0
<pipework> itadder: Why would it?
<pipework> It's a matter of PATH.
lethjakm1 has joined #ruby
<pipework> They're installed to different locations.
<itadder> oh
<itadder> rvm use 2.0.0 and got this ruby-2.0.0-p353 is not installed.
MattStratton has quit [Ping timeout: 248 seconds]
danshultz has quit [Read error: Connection reset by peer]
<itadder> To install do: 'rvm install ruby-2.0.0-p353'
<pipework> then you missed a step in the book.
<itadder> oh I might
<itadder> let me not skip any steps
<itadder> probally have
<pipework> itadder: Isn't it great when error messages tell you how to fix the problem? :D
danshultz has joined #ruby
<AntelopeSalad> pipework: popen3 fails too
<itadder> oh I just rushing today
<AntelopeSalad> same error as running system
<itadder> pipework: I am mutltitasking
<pipework> AntelopeSalad: huh, can you gist everything?
<itadder> doing my real work work and ruby learning right now
dangerousdave has joined #ruby
brennanMKE has quit [Read error: Connection reset by peer]
dingus_khan has quit [Remote host closed the connection]
lethjakman has quit [Ping timeout: 252 seconds]
Advocation has quit [Quit: Advocation]
<itadder> ahh rvm install 2.0.0
hornairs has joined #ruby
Ariadeno has quit [Read error: Connection reset by peer]
v0n has quit [Ping timeout: 246 seconds]
<AntelopeSalad> pipework: still figuring out how to get the value from stdout with pop3
<AntelopeSalad> the docs leave a lot to be desired
adamnbowen has joined #ruby
Hobogrammer_ has joined #ruby
<itadder> I been rushing
Vovko has quit [Remote host closed the connection]
<pipework> AntelopeSalad: stdout is an IO object, what's the proble?
<itadder> what a good trick not to rush in to things
<pipework> AntelopeSalad: IO#read
iliketurtles has quit [Quit: zzzzz…..]
tirengarfio has joined #ruby
aspires has quit []
<tirengarfio> I have installed ruby 2.0 using this instructions: http://stackoverflow.com/questions/16222738/how-to-install-ruby-2-0-0-correctly-on-ubuntu-12-04
nomenkun has joined #ruby
<tirengarfio> but..is sass and compass already installed?
<tirengarfio> or should I install them now?
hellome has joined #ruby
Ariadeno has joined #ruby
<AntelopeSalad> if i puts stdout.read , then it's an empty string
<itadder> how do ruby freelance consultant charge thier cleint
<itadder> do you charge for every hour your in front of a laptop or pc coding
<pipework> AntelopeSalad: Do you know the IO interface?
<itadder> what if your like me slow and take a lot longer to code
<AntelopeSalad> pipework: no
mojjojo has joined #ruby
<pipework> AntelopeSalad: Check it out.
<AntelopeSalad> but #read, #readline both return empty strings
withnale has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
PLejeck has quit [Max SendQ exceeded]
PLejeck has joined #ruby
<AntelopeSalad> docs say that #read should return the entire file
<AntelopeSalad> but in this case i assume file means stdout
Vovko has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
lpvn has joined #ruby
brennanMKE has joined #ruby
<pipework> Yeah.
<pipework> AntelopeSalad: How exciting.
pavilionXP has joined #ruby
<pipework> AntelopeSalad: You aren't using rbenv, are you?
timonv has joined #ruby
<pipework> AntelopeSalad: It works perfectly for me.
<AntelopeSalad> pipework: i am yes
<AntelopeSalad> updated gist too with more feedback
<pipework> AntelopeSalad: require 'open3'; _,stdout,_,_ = Open3.popen3('rails -v')
oso96_2000 is now known as oso|away
<AntelopeSalad> basically the last 2 hours of tests
<pipework> AntelopeSalad: require 'open3'; _,stdout,_,_ = Open3.popen3('rails -v'); stdout.read # => "Rails 4.0.2\n"
<shevy> ah
pavilionXP has quit [Remote host closed the connection]
<shevy> 2 hours you could have written pretty ruby code
<AntelopeSalad> yeah too bad testing is so difficult with ruby
<pipework> AntelopeSalad: Is it?
<pipework> I have a really easy time with it.
deadlock has joined #ruby
<shevy> do you both use minitest?
<AntelopeSalad> yes, i've spent close to 20 hours trying to just get to the point where minitest is capable of running a system call
<AntelopeSalad> and i've gotten no where
burlyscudd has quit [Quit: Leaving.]
jonahR has quit [Quit: jonahR]
<AntelopeSalad> pipework: your exact code prints an empty string for me
<AntelopeSalad> in the context of minitest
<AntelopeSalad> in an irb console it reports back the version but so does the system call
jackneill has quit [Ping timeout: 248 seconds]
<pipework> AntelopeSalad: It works here for me with minitest.
<AntelopeSalad> the entire problem i'm having is with minitest, not irb
<AntelopeSalad> can you gist your test setup?
<pipework> Just wrote a minitest test and ran that and it works great inside the test.
<pipework> AntelopeSalad: It's just: require 'minitest/autorun'; require 'open3'; Class TestAwesomeness < Minitest::Unit::TestCase; def test_awesomeness; _,stdout = Open3.popen2('ruby -v'); end;end;
<pipework> Well, I forgot to add the puts stdout.read.chomp
<AntelopeSalad> that isn't Minitest::Test
<AntelopeSalad> that's Minitest::Unit::TestCase
<pipework> AntelopeSalad: It's 4.7
<pipework> What rails depends on.
ffranz2 has quit [Quit: Leaving]
<pipework> Aren't you using the same minitest dependency that rails uses?
<AntelopeSalad> so maybe this is a bug?
hornairs has quit [Ping timeout: 248 seconds]
<AntelopeSalad> i did gem install minitest
<pipework> Maybe you're using the wrong minitest version?
<AntelopeSalad> i'm using the one it installed by gem installing the gem
<pipework> I'm using the one that rails depends on.
<AntelopeSalad> if it's the wrong version then they need to fix their gem so it installs the correct one by default
<pipework> AntelopeSalad: Why is it their fault you installed the wrong gem?
<AntelopeSalad> because their instructions said to gem install minitest
<pipework> If you're using `gem` then it's not hteir fault.
<pipework> AntelopeSalad: whose?
<AntelopeSalad> not "only install minitest 4.7 because 5.3 is possibl broken"
jkamenik has quit [Quit: Leaving.]
mojjojo has quit [Quit: mojjojo]
<pipework> Links would help.
TheMoonMaster_ is now known as TheMoonMaster
<AntelopeSalad> that gigantic green box says to gem install minitest
<pipework> So you're trying to use the plain minitest gem latest version with rails which specifies ~> 4.7?
<AntelopeSalad> how am i supposed to know that minitest 5.3 is broken?
<pipework> How is that anyone's fault but your own?
<AntelopeSalad> all i'm doing it making a system call out to rails
hornairs has joined #ruby
<AntelopeSalad> i'm not trying to test rails specifically
<AntelopeSalad> inside of a rails app
<pipework> You aren't using it within rails?
<AntelopeSalad> no
<pipework> Give me a minute then.
<pipework> Have you cleared your gems and tried this again lately?
<AntelopeSalad> i have a gem that has nothing to do with rails at all, other than it happens to make a system call to rails itself at some point
clamstar has quit [Quit: ZNC - http://znc.in]
<AntelopeSalad> system call as in, calling the rails binary to create a template
v0n has joined #ruby
scarolan has quit [Ping timeout: 265 seconds]
<AntelopeSalad> i don't think i've ever cleared my gems
<slowcon> anyone have opinions on SQL vs Mongo?
timonv has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
<AntelopeSalad> pipework: minitest 4.7 results in the same issue btw
Hanmac1 has quit [Ping timeout: 252 seconds]
<pipework> AntelopeSalad: It works for me.
<AntelopeSalad> spec.add_development_dependency 'minitest', '~> 4.7.0'
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<AntelopeSalad> i ran gem uninstall minitest first
<AntelopeSalad> then i ran bundle from within my gem's folder to instal 4.7
Emmanuel_Chanel has quit [Read error: Operation timed out]
<AntelopeSalad> then i pasted in your code and it fails
sdwrage has joined #ruby
Es0teric has quit [Ping timeout: 248 seconds]
itadder has quit []
deception has quit [Quit: Goodbye]
<pipework> AntelopeSalad: It works perfectly here.
<pipework> Withminitest (5.2.3, 5.2.2, 4.7.5, 4.7.0)
<AntelopeSalad> i just literally copy/pasted your code
Hanmac has joined #ruby
<AntelopeSalad> and fixed a few syntax errors, but now it says minitest is an unknown constant?
<pipework> Here, one sec. I have an actual file
bricker has joined #ruby
jprovazn_afk has quit [Quit: Odcházím]
<AntelopeSalad> i think i see some differences btw
<AntelopeSalad> you're using pop2 not pop3
jonah_k_ has joined #ruby
<pipework> I can use popen3 as well.
<pipework> Test still passes.
Es0teric has joined #ruby
<AntelopeSalad> ok
<AntelopeSalad> now replace ruby with rails
agent_white has joined #ruby
<pipework> It's using rails.
<AntelopeSalad> because ruby -v works for me, rails -v fails
<pipework> Have you considered that this is your environment being shitty?
<pipework> If you use rbenv, I'm not suprised.
<AntelopeSalad> that file exactly copy/pasted here fails to run
v0n has quit [Quit: WeeChat 0.4.3]
<pipework> AntelopeSalad: And it runs here. Your shit is fucked up.
<AntelopeSalad> const_missing': uninitialized constant MiniTest::VERSION (NameError)
<pipework> What version of ruby are you using?
v0n has joined #ruby
bklane has joined #ruby
<AntelopeSalad> 2.1.0
<agent_white> Afternoon folks
<pipework> AntelopeSalad: That's using the 5.x of minitest.
<pipework> Do you need me to paste the 4.7 which is just removing that puts?
<AntelopeSalad> i have minitest 4.7 installed
jonah_k has quit [Ping timeout: 245 seconds]
lfox has quit [Quit: ZZZzzz…]
<pipework> Then remove the puts line and you have my 4.7 version
<pipework> I'm on ruby 2.1 as well.
<AntelopeSalad> i had to change the class too
<AntelopeSalad> Minitest::Unit::TestCase
<shevy> pipework should he not read the documentation?
<pipework> AntelopeSalad: Do you want my 4.7 test? It's a separate one.
<pipework> shevy: He has, but his env is fucked is my guess.
carraroj has quit [Quit: Konversation terminated!]
danman has quit [Ping timeout: 272 seconds]
postmodern has joined #ruby
<AntelopeSalad> i see no version printed there
<shevy> I always wonder if antelope salad is a salad for antelopes or whether it is a salad made out of antelopes
<AntelopeSalad> but the test somehow passes
<pipework> AntelopeSalad: ...
<pipework> AntelopeSalad: IO#read is what yo ushould read about.
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework> You can't read from the IO object twice and get teh same output.
pranny has joined #ruby
<AntelopeSalad> pipework: i used stdout.read too
<pipework> AntelopeSalad: Read IO#read please. It's a pebkac.
klaut has joined #ruby
<AntelopeSalad> it says #read returns the whole thing
ultraflash3 has joined #ruby
<pipework> No it says much more than that.
<AntelopeSalad> if it returns the whole thing when i can't just do: stdout.read ?
Hanmac1 has joined #ruby
<AntelopeSalad> when i puts that, it's empty
<pipework> Think about a physical pipe. If you take the contents out of the business end and you try to take the contents out again, what happens?
<shevy> the pipe breaks!
pranny1 has joined #ruby
vlad_starkov has joined #ruby
<agent_white> Rivers have "upstream" and "downstream" for a reason.
<shevy> right, if you go piss upstream, where does it go AntelopeSalad
pranny has quit [Read error: Connection reset by peer]
* pipework knows a lot about pipes, just look at his nick.
<lethjakm1> how far off is the next 2.1.0 patch?
Jdubs has quit [Remote host closed the connection]
<AntelopeSalad> pipework: wait, the test is failing
<pipework> lethjakm1: As far as compiling from HEAD is.
<pipework> AntelopeSalad: It passes here.
lethjakm1 is now known as lethjakman
<lethjakman> hmmm
<AntelopeSalad> pipework: it fails because it gets ""
<lethjakman> is head stable?
<pipework> AntelopeSalad: ....
<lethjakman> I didn't see it in rbenv
<pipework> lethjakman: Nope! :D
<centrx> head.screwed_on_tight?
<lethjakman> lol
<lethjakman> fair enough.
mercwithamouth has quit [Ping timeout: 252 seconds]
<AntelopeSalad> pipework: and guess what, if i use popen2 instead of popen3 then i get the same errors as before
<AntelopeSalad> about railties not being included in my gemfile
<pipework> AntelopeSalad: Can you not see what I'm typing?
<pipework> These tests pass: https://gist.github.com/Spaceghost/9009467
<pipework> Use the correct gem version for each.
Hanmac has quit [Ping timeout: 252 seconds]
SilentHobo has joined #ruby
joelbrewer has joined #ruby
<AntelopeSalad> pipework: i know, but you're not reading what i'm writing haha
<pipework> AntelopeSalad: I am.
<AntelopeSalad> the error i'm getting has nothing to do with mini test syntax
<pipework> AntelopeSalad: Think about a physical pipe. If you take the contents out of the business end and you try to take the contents out again, what happens?
Jdubs has joined #ruby
<AntelopeSalad> this is the error i'm getting when i run popen2 instead of popen3
<pipework> AntelopeSalad: Run my tests directly without changing them.
<AntelopeSalad> and when i run popen3 it gets "" and fails
<AntelopeSalad> i did
thebinaryhood has joined #ruby
ZeeLiDoX has quit [Ping timeout: 260 seconds]
<AntelopeSalad> when i run your exact 4.7 version it gets ""
ultraflash3 has quit [Ping timeout: 260 seconds]
<pipework> Your environment is fucked or you're reading from the pipe twice.
fedesilv_ has joined #ruby
<AntelopeSalad> Expected /Rails/ to match "".
sambao21 has quit [Quit: Computer has gone to sleep.]
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
<AntelopeSalad> 100% exact copy/paste
<pipework> AntelopeSalad: Your environment is messed up then. That's not a bug of anyyone's but yours.
<AntelopeSalad> directly into /test/test_helper.rb in my gem
vlad_starkov has quit [Ping timeout: 252 seconds]
<pipework> AntelopeSalad: Don't.
<AntelopeSalad> i never had an issue with my env before i used minitest
<pipework> Just ruby file_name.rb
<shevy> this wold not have happened if he would have read the documentation!!!
<pipework> that's all you need to do.
<pipework> shevy: Right?
<shevy> Right!
<pipework> AntelopeSalad: When I say run them exactly, that doesn't mean paste them into another file with ruby code.
klaut has quit [Read error: Connection reset by peer]
<AntelopeSalad> there is no other ruby code
<AntelopeSalad> i deleted everything and pasted only what you have
<pipework> Well, I give up. Your environment is messed up.
klaut has joined #ruby
<AntelopeSalad> it is a 12 line file just like yours
Xeago_ has joined #ruby
Hobogrammer_ has quit [Ping timeout: 248 seconds]
surtin has joined #ruby
iliketurtles has joined #ruby
<pipework> It works here and on my desktop and on my server.
<pipework> I use chruby and ruby-install on ruby 2.1 atm.
surtin has quit [Client Quit]
<shevy> perhaps something changed your environment AntelopeSalad
bklane has quit [Quit: Leaving...]
<AntelopeSalad> i doubt it's my env... can you explain how i can run rails -v from my terminal from anywhere? or system 'rails -v' from irb with no issues?
v0n has quit [Quit: WeeChat 0.4.3]
<shevy> AntelopeSalad that could be if some app changes the path
<pipework> AntelopeSalad: I don't know yoru weird backwards environment.
v0n has joined #ruby
sambao21 has joined #ruby
kcombs has quit [Remote host closed the connection]
<shevy> AntelopeSalad can you reinstall ruby from scratch? :D
<pipework> The tests all pass under Debian, Ubanto, and OSX.
jonah_k has joined #ruby
sambao21 has quit [Client Quit]
fedesilva has quit [Read error: Connection reset by peer]
<AntelopeSalad> shevy: i did recently
sdwrage has quit [Quit: This computer has gone to sleep]
Hobogrammer_ has joined #ruby
<AntelopeSalad> i had to recompile ruby with readline
tibounise has joined #ruby
<shevy> and it is the only ruby on your system?
<AntelopeSalad> all i did was reinstall it with rbenv and it installed correctly
Celm has joined #ruby
<AntelopeSalad> correct
mlpinit has quit [Ping timeout: 260 seconds]
<AntelopeSalad> it is set as a global rbenv ruby
joelteon has joined #ruby
<joelteon> is it possible, from irb, to enter the debugger at a certain point in library code
fedesilv_ has quit [Read error: Connection reset by peer]
<AntelopeSalad> i do have chef installed (work station), but that's a completely stand alone fully isolated ver of ruby
Xeago has quit [Ping timeout: 252 seconds]
<pipework> AntelopeSalad: The tests pass under 1.9(latest patch), 2.0(latest patch), and 2.1(latest patch)
kpshek has joined #ruby
Hanmac1 has quit [Ping timeout: 246 seconds]
fedesilva has joined #ruby
<AntelopeSalad> pipework: how are you running the test? ruby foo.rb?
<pipework> AntelopeSalad: yes
zigomir has joined #ruby
jonah_k_ has quit [Ping timeout: 260 seconds]
<AntelopeSalad> ok
klaut_ has joined #ruby
<AntelopeSalad> so we have the same version of minitest and ruby and we're both using rbenv
<AntelopeSalad> the only difference is how we're running the test
brennanMKE has left #ruby [#ruby]
skaflem has quit [Quit: Leaving]
IceyEC has joined #ruby
<AntelopeSalad> because i'm in the middle of a trial run with rubymine and it's not running that exact command
klaut has quit [Read error: No route to host]
<pipework> I'm not using rbenv.
klaut__ has joined #ruby
<pipework> rbenv is shit, imo.
<pipework> I said that I use chruby and ruby-install
SilentHobo has quit [Ping timeout: 245 seconds]
klaut__ has quit [Remote host closed the connection]
rudisimo has quit []
<AntelopeSalad> i got it to work btw
Hanmac has joined #ruby
stonevil_ has joined #ruby
<shevy> HOW
SilentHobo has joined #ruby
<AntelopeSalad> that is the command rubymine is running when i test that method
<AntelopeSalad> it is doing more than a simple "ruby foo.rb"
<shevy> huh
<shevy> one more reason to avoid that wicked thing
<AntelopeSalad> that -e flag is messing something up i think
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<shevy> isn't -e normally used to call a method directly?
IceyEC has quit [Client Quit]
<AntelopeSalad> i'm not sure honestly
mark_locklear has quit [Ping timeout: 245 seconds]
cpruitt has joined #ruby
<shevy> I use -e to call methods in my main ruby control file (the one that sends commands to all my other ruby code)
cpruitt has quit [Client Quit]
joelbrewer has quit [Ping timeout: 252 seconds]
cpruitt has joined #ruby
<pipework> There's nothing wrong with that.
<AntelopeSalad> let me try calling it manually with the exact rubymine command, i'll paste it into my terminal and see what happens
<pipework> As long as your test_helper is empty
<pipework> AntelopeSalad: Just open a terminal.
jlast has quit [Remote host closed the connection]
<AntelopeSalad> it really is, it's just your gist with 0 modifications
klaut_ has quit [Ping timeout: 260 seconds]
Salve has quit [Remote host closed the connection]
mlpinit has joined #ruby
<AntelopeSalad> hmm it gets a syntax error when i try to paste it directly
<pipework> There isn't one.
Hobogrammer_ has quit [Ping timeout: 252 seconds]
Salve has joined #ruby
danshultz has quit [Remote host closed the connection]
Jetchisel has joined #ruby
<pipework> Just download the file and run it with ruby. Shit, I'll even make it an executable script.
<AntelopeSalad> pipework: yes, i already mentions the test passes if i run it direct with ruby
<AntelopeSalad> *mentioned
danshultz has joined #ruby
bricker has quit [Ping timeout: 252 seconds]
<AntelopeSalad> so now i tried to copy what rubymine runs into the terminal directly to see if i can replicate the fail, but it gets a bash error
<pipework> AntelopeSalad: That's as far as I'm able to help you. The rest is your editor and possibly ebenv.
Celm has quit [Ping timeout: 260 seconds]
<pipework> rbenv too
<pipework> Neither are bugs in anything but your IDE
<AntelopeSalad> that stdout/stdout stuff as part of the -e flag is not necessary right?
<pipework> yeah
<AntelopeSalad> yeah without the -e flag it works in my terminal
<AntelopeSalad> ruby --help says that is to run 1 line scripts hmm
hornairs has quit [Quit: hornairs]
Deele has quit [Ping timeout: 272 seconds]
pu22l3r has quit [Read error: Operation timed out]
<AntelopeSalad> when you run tests through rubymine it places the output in its own special mini terminal window
gregf has quit [Quit: WeeChat 0.4.3]
<AntelopeSalad> maybe it's capturing stdout/stderr and that is somehow interfering with everything?
Salve has quit [Ping timeout: 245 seconds]
clamstar has joined #ruby
iliketurtles has quit [Quit: Textual IRC Client: www.textualapp.com]
danshultz has quit [Ping timeout: 272 seconds]
rm__ has quit [Remote host closed the connection]
<AntelopeSalad> btw if i do: system 'rails -v' direct outside of rubymine it also passes fine
<pipework> AntelopeSalad: It does do something to stdout.
sassamo has joined #ruby
<pipework> the stdin and stdout sync stuff is probably muddying things.
sdwrage has joined #ruby
<AntelopeSalad> i've been running my manual tests through the normal terminal outside of rubymine
Hobogrammer_ has joined #ruby
SilentHobo has quit [Ping timeout: 252 seconds]
<AntelopeSalad> rubymine has its own terminal too, let me see if i can run the commands from the cli through its terminal
Noldorin has left #ruby [#ruby]
sassamo_ has joined #ruby
sassamo has quit [Read error: Connection reset by peer]
<AntelopeSalad> yep its terminal is fine, it's only the test that's erroring out
<pipework> Yeah, your IDE is fudging things.
<AntelopeSalad> in fact, if i open rubymine's terminal and run "ruby test_helper.rb"
<AntelopeSalad> it passes and all works
<AntelopeSalad> it's just the test window being a jerk
<AntelopeSalad> this is really depressing haha, so many hours wasted between so many people
jobewan has quit [Ping timeout: 252 seconds]
<AntelopeSalad> and it ends up being some crazy ide issue :<
<pipework> AntelopeSalad: Read about IO#sync
<pipework> It explains your problem.
<AntelopeSalad> the curious thing is how this hasn't been brought up before and fixed
<AntelopeSalad> in the editor
<pipework> It's probably a hidden configuration in your IDE. Not super suprising.
<AntelopeSalad> i only tried rubymine because pycharm is actually really good but i'm noticing ruby is a lot harder to do intelligent code analysis on
<AntelopeSalad> so i'll probably just go back to sublime
<shevy> and all because he did not read the rubymine documentation!
<shevy> YES
<shevy> sublime > rubymine
DrShoggoth has quit [Quit: Leaving]
<AntelopeSalad> pycharm had some really good code analysis that ripped sublime's face off -- i figured it might have been equally as good for ruby, but it's not
<AntelopeSalad> checking
<pipework> think about that one
<AntelopeSalad> the output of stdout is gone before ruby even sees it?
echevemaster has quit [Remote host closed the connection]
<pipework> AntelopeSalad: Is that what sync says?
<AntelopeSalad> seems so yeah
<pipework> Then you have your answer! :D
<shevy> pipework what editor do you use?
echevemaster has joined #ruby
<shevy> are you a vimster
* shevy peers
<pipework> shevy: I just materialize my code through passive magnetic force changes.
<shevy> lol
tjr9898 has quit [Read error: Connection reset by peer]
<shevy> I do that always when I procrastinate
<AntelopeSalad> i removed the -e flag entirely and it still fails, even tho the output shows it's not using the -e flag at all
<shevy> the code I think is always free of bugs
<shevy> the code I write somehow is not
tjr9898 has joined #ruby
toastynerd has joined #ruby
<shevy> are you still wasting time with rubymine...
<pipework> shevy: The code that materializes has some amount of noise between my thoughts and physical persistent.
<pipework> persistence.
silicong has quit [Remote host closed the connection]
<pipework> AntelopeSalad: notepad.exe is better than rubymine. :D
<AntelopeSalad> well, i figured if i removed that flag it might work haha
<shevy> AntelopeSalad accept that you wasted a small part of your life, don't let it hold back, move to the future
<AntelopeSalad> now i'm done with it for sure
<shevy> are you sure
<shevy> do you not wanna give it ONE LAST TRY
sambao21 has joined #ruby
<shevy> to gain a bit more frustration points
<AntelopeSalad> i'm just happy i didn't spend the $ on it because the trial only has about a week left
ebwise has quit [Ping timeout: 252 seconds]
<AntelopeSalad> sublime's rubytest plugin was the ultimate testing experience too
<pipework> AntelopeSalad: vim doesn't do things like that. :d
<AntelopeSalad> really simple to run specific tests
burlyscudd has joined #ruby
<AntelopeSalad> pipework: thanks for the help btw, i don't think i would have found out it was the editor's fault without confirming that it works for someone else
<pipework> Cheers.
endash_ has joined #ruby
<shevy> that's why people should use notepad
chrisseaton has joined #ruby
<AntelopeSalad> i'll stick with 4.7 too because if that's the cut off for rails it would make sense to just use that
<AntelopeSalad> since 90% of the time i'm working on rails apps
toastynerd has quit [Ping timeout: 260 seconds]
<pipework> AntelopeSalad: Wait until rails 4.1, which should ugprade to Minitest 5, I think.
<pipework> Until then 4.7
joelbrewer has joined #ruby
<AntelopeSalad> ah
zeade has quit [Quit: Leaving.]
<AntelopeSalad> i'll upgrade to 4.1 the day it comes out as long as most of the gems i use work
<pipework> AntelopeSalad: In my plain ruby stuff, my tests are in minitest 5.
nanoyak has quit [Quit: Computer has gone to sleep.]
<pipework> In rails, I use minitest-rails a lot, so 4.7.
<AntelopeSalad> i just use the default rails test setup
Vivekananda has quit [Remote host closed the connection]
<AntelopeSalad> i like the test "foo" {} style
vt102 has quit [Remote host closed the connection]
<AntelopeSalad> btw i lied...
<AntelopeSalad> i fixed the error in rubymine lol
<AntelopeSalad> it had this troll option hidden "run tests in the context of bundler"
<AntelopeSalad> unchecking that made it work :<
burlyscudd has quit [Ping timeout: 260 seconds]
Jdubs has quit [Remote host closed the connection]
<AntelopeSalad> pipework: it even works with that -e flag too
<AntelopeSalad> all i had to do was uncheck running it in the context of bundler
<shevy> <AntelopeSalad> now i'm done with it for sure
<shevy> <AntelopeSalad> i fixed the error in rubymine lol
Alina-malina has quit [Read error: Connection reset by peer]
<shevy> !!!!!!!!!!!!
<shevy> HE COULD NOT STOP
Jdubs has joined #ruby
Alina-malina has joined #ruby
<shevy> don't say you will continue using rubymine
scarolan has joined #ruby
<shevy> pipework say something about that misery please :(
Vivekananda has joined #ruby
PLejeck has quit [Read error: Connection reset by peer]
<pipework> shevy: I hope he dies of frustration?
<AntelopeSalad> ouch
PLejeck has joined #ruby
<pipework> AntelopeSalad: It's not the worst thing to die from.
Czupa has quit [Ping timeout: 251 seconds]
vt102 has joined #ruby
<shevy> wow that was harsh
<shevy> to see rubymine be the leading cause of suicides out of frustration
<shevy> AntelopeSalad please don't use rubymine too much, it causes ill effects
<AntelopeSalad> yeah
jobewan has joined #ruby
s2013 has quit [Quit: Leaving]
mansi has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
mansi has joined #ruby
pfg has joined #ruby
mansi has quit [Read error: Connection reset by peer]
sassamo_ has quit [Remote host closed the connection]
silicong has joined #ruby
mansi has joined #ruby
sassamo has joined #ruby
nomenkun has quit [Remote host closed the connection]
popl has quit [Ping timeout: 252 seconds]
nomenkun has joined #ruby
adamnbowen has quit [Quit: Computer has gone to sleep.]
sdwrage has quit [Quit: This computer has gone to sleep]
joelbrewer has quit [Ping timeout: 253 seconds]
prc has joined #ruby
sassamo has quit [Ping timeout: 260 seconds]
nomenkun has quit [Ping timeout: 246 seconds]
IceyEC has joined #ruby
momomomomo has joined #ruby
IceyEC has quit [Client Quit]
sdwrage has joined #ruby
BackEndCoder has quit [Ping timeout: 246 seconds]
oracal has joined #ruby
fedesilva has quit [Remote host closed the connection]
danshultz has joined #ruby
mlpinit has quit [Quit: Leaving...]
hashpuppy has joined #ruby
<hashpuppy> let's say each statement was kind of long, which style is preferred (top or bottom): http://pastie.org/private/kq69xarr1mmhprjalnuqq
<hashpuppy> each expression
danshultz has quit [Remote host closed the connection]
nobitanobi has quit [Quit: Leaving]
<centrx> hashpuppy, Use methods so they are short
<shevy> neither
<centrx> hashpuppy, Put all one on line
<shevy> put it on the same line always
<shevy> if too long, then you could use a new line, and then you could indent
danshultz has joined #ruby
<hashpuppy> yeah, it's kind of long
Brolen has quit []
<shevy> I am missing if btw
<shevy> or rather something that is done when this and this and this is true
kevind has joined #ruby
vt102 has quit [Remote host closed the connection]
<hashpuppy> it's Some.side_effect(some_value) && SomeOther.side_effect(some_other_value)
vlad_starkov has joined #ruby
<centrx> That's not very long
<hashpuppy> there are 3 of them
<hashpuppy> longer than 80 characters is long to me. and it's more than 80
<centrx> The logic probably belongs in a new method
<shevy> I think that is quite long
<centrx> 72 characters is not long
<slowcon> hows it goin centrx
<shevy> my typical code is
<shevy> if foo
<shevy> :)
<shevy> hmm or rather
<shevy> if foo # wtf was I thinking here
<shevy> I insult my own code in the comment section
<centrx> Ahoy
somepers1n has quit [Ping timeout: 252 seconds]
danshultz has quit [Ping timeout: 245 seconds]
nanoyak has joined #ruby
GinoMan has joined #ruby
<shevy> Aye Captain
vlad_starkov has quit [Ping timeout: 245 seconds]
DaniG2k has joined #ruby
<shevy> who of you guys loves SQL
Jetchisel has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby
aloitius_ has quit [Ping timeout: 245 seconds]
<slowcon> shevy: was just reading into Mongo today
petey_ has quit [Remote host closed the connection]
<slowcon> shevy: think im gonna give it a try
<slowcon> centrx: you have an opinion on mongodb?
top4o has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
petey has joined #ruby
<shevy> I dont know mongodb. at work I have to use postgresql, not sure whether I like it or not. it seems faster than sqlite tho
<centrx> SQL data is much more structured
<shevy> (for large datasets)
<shevy> like starting at +140 MB up to some terabytes
<centrx> NoSQL is like a giant disorganized queue/array with indexes
petey has quit [Read error: Connection reset by peer]
<slowcon> centrx: how come people praise it so much in the articles ive read
<lagweezle> mongodb is an interesting shift from the usual relational database
petey has joined #ruby
<slowcon> centrx: i feel like it would be good for the project im working on(ive asked you enough questions im sure you remember the scraper)
petey has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
<centrx> slowcon, It has its uses, but generally I think these people just don't know how to design a relational database
petey has joined #ruby
mansi has joined #ruby
<centrx> Database architecture is a different skill from programming. Properly done the RDBMS has many advantages.
<centrx> Instead of learning it, you might choose to have a giant array of hashes = NoSQL
<slowcon> centrx: true true. i just keep running into problems. maybe i should try using something besides sqlite
<centrx> SQLite is very minimal
<centrx> In SQLite, only one process can write to the same database at a time
<centrx> Does not support dropping columns or constraints
<slowcon> centrx: yeah i keep running into problems with it, hate it hahahaa
<centrx> or altering columns
joshu has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Celm has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
petey has quit [Ping timeout: 260 seconds]
stryek has quit [Read error: Operation timed out]
mjs2600_ has quit [Remote host closed the connection]
PLejeck has quit [Ping timeout: 272 seconds]
Celm has quit [Remote host closed the connection]
<centrx> "SQL Features That SQLite Does Not Implement": http://www.sqlite.org/omitted.html
interactionjaxsn has quit [Remote host closed the connection]
Celm has joined #ruby
petey has joined #ruby
Eiam has joined #ruby
sambao21 has joined #ruby
joshu_ has quit [Ping timeout: 264 seconds]
joshu__ has joined #ruby
Ariadeno has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Wibbly Wobbly IRC]
tjr9898 has quit [Remote host closed the connection]
metrix has joined #ruby
nszceta has joined #ruby
metrix has quit [Client Quit]
stonevil_ has quit [Quit: Computer has gone to sleep.]
thebinaryhood has quit [Read error: Connection reset by peer]
<centrx> Oh and of course NoSQL databases are not ACID-compliant
thebinaryhood has joined #ruby
DaniG2k has quit [Ping timeout: 246 seconds]
<RubyPanther> People praise what is new and hip. Praise is not a valid part of technical assessment.
joshu has quit [Ping timeout: 264 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
Hanmac has quit [Ping timeout: 272 seconds]
silicong has quit [Read error: Operation timed out]
Hanmac has joined #ruby
<yeboot> idk why people are so hard on sqlite when you clearly know there are going to be tradeoffs vs a daemon db
<yeboot> like mysql/posgres
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
<yeboot> postgres*
DaniG2k has joined #ruby
sassamo has joined #ruby
drocsid is now known as Guest41812
momomomomo has quit [Quit: momomomomo]
iMe has joined #ruby
endash_ has quit [Quit: endash_]
<agent_white> Wait wat? Tradeoffs? It's called 'lite'
<agent_white> because it's to be used as such?
gregf has joined #ruby
<shinobi_one> yeboot: sqlite3 is not meant to be used in production settings where you have a high volume of data
everettforth has joined #ruby
<shinobi_one> yeboot: also, you generally want to TEST/DEVELOP your code using the same DB ENV as your production ENV
gregf has quit [Client Quit]
vlad_starkov has joined #ruby
<RubyPanther> there is little reason to use sqlite in dev either, unless you're using a db one time and normally you plan to never dev against one
<yeboot> shinobi_one yeah but if you're making an audio player or any other system where having a single process to get data makes sense
<RubyPanther> it is more useful for things like android apps where you're store data for a single end-user-installed app and want to be able to use SQL to query it
<yeboot> but when you guys are saying 'dev' you probably mean 'scalable web development' since ror
<shinobi_one> yeboot: still depends on the volume of data and the speed you want to hit the db
<slowcon> me personally, i just started with this stuff and just dont know any better on what to use
<shinobi_one> RubyPanther: generally because not a ton of data is stored on a mobile device in sqlite, often times they hit a web server somewhere to get the real hunk
stonevil_ has joined #ruby
gregf has joined #ruby
<agent_white> slowcon: Stray away from MySQL because postgres. Go postgres because :D
<RubyPanther> for server-side development, it is much better (and in the long run simpler) to install a free normal db locally
x77686d has joined #ruby
<yeboot> shinobi_one if it's time critical why would you use a glue language to manage it
<shinobi_one> agent_white: lol
_Andres has quit [Read error: Connection reset by peer]
<shinobi_one> yeboot: wha?
<RubyPanther> shinobi_one: No, actually android uses sqlite as a standardized mechanism to store local user data. So using the google APIs, after you download from the remote service, you'd store it locally in sqlite
<yeboot> shinobi_one: when you said 'speed you want to hit the db' I was just curious
sdwrage has quit [Quit: This computer has gone to sleep]
gregf has quit [Client Quit]
tjsousa__ has joined #ruby
Jdubs_ has joined #ruby
<dorei> postgres >> mysql, but for postgres i think u need a dba, no such need with mysql xD
<RubyPanther> And most OSS GIS apps store all their data in sqlite
devdazed has quit [Quit: Bye]
Jdubs has quit [Ping timeout: 252 seconds]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<RubyPanther> dorei: complete nonsense
<agent_white> Pfft nah you don't! MySQL is a bad choice because the GPL licensing is being revoked.
<agent_white> So unless you got $$$ to spend...
<RubyPanther> mysql and postgres would have exactly the same [lack of] need for a dba
<agent_white> ^
hobodave has quit [Ping timeout: 260 seconds]
baordog has quit [Remote host closed the connection]
<RubyPanther> until your app actually is deployed and the db server is under load, whoever is wearing the sysadmin hat for your project can follow a simple howto to set up your RDBMS, no experience needed
<shinobi_one> RubyPanther: nah what I mean is, powerful applications that rolling a lot of db information (perhaps a game) might be accessing a *real* database somewhere in the cloud or wherever, and store the small user type stuff in the sqlite on the client-side
<RubyPanther> shinobi_one: No, they would be accessing a REST API in the cloud, and caching the results in sqlite
jerius has quit [Ping timeout: 248 seconds]
kpshek has quit []
stonevil_ has quit [Client Quit]
cantonic has quit [Read error: Connection reset by peer]
<RubyPanther> remote dbs aren't very cloudy
cantonic has joined #ruby
<Nilium> I'm surprised the 'gui' gem name wasn't already in game.
<Nilium> .. in game? In use.
endash_ has joined #ruby
<agent_white> Speaking of caching, I need to do some research on Redis.
<shinobi_one> agent_white: are you trying to replace memcache?
<RubyPanther> I hope not, one is a reliable data store and one is an unreliable cache :o
<agent_white> shinobi_one: I have not tried either! And I forgot about that actually... I'm new to caching in general, but a little project I'm working on to learn RoR might require it.
dlewis has joined #ruby
<shinobi_one> agent_white: i know gitlab uses redis for caching
<dlewis> is there an easy way to use a different theme for rdoc ?
burlyscudd has joined #ruby
<shinobi_one> agent_white: you could check out their source
<RubyPanther> If you want your data back, don't use memcache :)
<shinobi_one> ^ lol
aspires has joined #ruby
<agent_white> Found some dude on /r/programmingbuddies, and so we are building a little "e-trade" mimick (though more just stock monitoring/graphing). Trying to think about how to handle large amounts of data.
stonevil_ has joined #ruby
Xeago_ has quit [Remote host closed the connection]
nanoyak has joined #ruby
<RubyPanther> redis is commonly used for the middle cache where you have a local cluster that pulls data from a remote db, and the redis cache is the local backend with memcache in the front
meatherly has quit [Remote host closed the connection]
sdwrage has joined #ruby
meatherly has joined #ruby
<slowcon> i think that most of my problems come from my code, and i just like to blame the database
<slowcon> i think = i know
<shinobi_one> RubyPanther: for example you're on AWS and have multiple web apps running, load balancers are hitting whichever web app so you want your session data/whatever shared, redis
<agent_white> RubyPanther: So my real-time data would exist in Redis, while long term stats in postgres or something of the sort?
<RubyPanther> if it is just an entry-level cache, the unreliable nature of memcache is a big feature because you can set how much total memory is used for caching. In that case redis would only be used as a data store
<Nilium> Hm, unfortunately, the UI gem name was taken. Oh well, GUI's good.
Tomasso has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
<shinobi_one> agent_white: look at something like Cassandra maybe
<RubyPanther> agent_white: typically you start with memcache in front of postgres
endash_ has quit [Client Quit]
sambao21 has quit [Ping timeout: 246 seconds]
<shinobi_one> agent_white: redis is everything is stored in memory remember, so if you're talking stock data or lots of data stored in memory, you best have lots of memories
<RubyPanther> and add redis when you hit the bigtime and have multiple regional web clusters
<agent_white> shinobi_one: I'll check it out! Looks like that would be a one-for-all solution? And yeah shit... we're cheap-asses running a 512MB DO droplet, so maybe no Redis afterall ;)
<shinobi_one> agent_white: any type of caching solution that's fast is going to be in-memory
burlyscudd has quit [Ping timeout: 260 seconds]
<shinobi_one> agent_white: you could use cassandra for your db or whatever yes, but you have decide if it's nosql key,value store is what you want/need
<agent_white> RubyPanther: Ahhhh I see... yeah we're talking about a single-server environment, after the "rm -fr" disaster last night during server-setup, I dunno if I'm ready for managing more than one ;P
Emmanuel_Chanel has joined #ruby
petey has quit []
<RubyPanther> on linux you can "cache" in flat files on disk and if you have infrequent writes, it actually works good and serves from memory (the OS disk cache)
<shinobi_one> agent_white: aws is offering 1 year free
vlad_starkov has quit [Remote host closed the connection]
<agent_white> shinobi_one: Mmm I'm still getting grips on ActiveRecord, so I may hold off on learning a new ORM :)
<agent_white> ?!?!
<shinobi_one> RubyPanther: you must be a big fan of swap :P
<agent_white> shinobi_one: How much of my soul do I have to sell first?
meatherly has quit [Ping timeout: 246 seconds]
<shinobi_one> agent_white: none
<RubyPanther> linux doesn't hit a lot of swap if you have the correct amounts and are actively managing resources
<shinobi_one> agent_white: just your credit card for when it expires or you DO decide to do something with it
Celm has quit [Remote host closed the connection]
everettforth has left #ruby ["Leaving"]
<shinobi_one> RubyPanther: linux doesn't hit a lot of swap because i'm a boss and have a lot of memory
<shinobi_one> RubyPanther: *troll face*
<agent_white> shinobi_one: 'Do decide to do something'?
<RubyPanther> uhhhh, yeah, you do know that translates to "I have no traffic," right?
<shinobi_one> agent_white: as in continue using it's services and what not
timonv has quit [Ping timeout: 245 seconds]
DaniG2k has quit [Quit: leaving]
<agent_white> Ohhh after the year heh? Damn... sounds like a plan.
<shinobi_one> agent_white: they offer an entire suite of anything you'd need pretty much to get up and running in the cloud, hell they'll cluster and HA your PG db instances
<agent_white> Oh rad!
<shinobi_one> agent_white: they have their own everything pretty much, some things integrated like elasticsearch
slowcon has quit []
<shinobi_one> and the default 1 year comes pretty decent
<shinobi_one> enough to develop on
sambao21 has joined #ruby
<agent_white> shinobi_one: Oh wow... thanks for the info! I'll definitely check it out!
<shinobi_one> agent_white: if you expect it to be a long running development cycle, one of you two developing on it could have the free year, then switch to the other's if they're still offering it
<shinobi_one> hopefully by then you'll have something up and running and need to expand and then sell to fb and make billions though, good luck xD
sparrovv has joined #ruby
tibounise has quit [Quit: WeeChat 0.4.2]
yarou has quit [Remote host closed the connection]
<agent_white> Hahah exactly :P Right now we're working on coordinating Vienna/Denver timezones since he seems to be a fan of working while chatting... so there's a few hurdles we need to hit first ;P
rmorello has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
yarou has joined #ruby
marr has quit []
zeade has joined #ruby
gregf has joined #ruby
gbt has joined #ruby
<shinobi_one> agent_white: easy, move to vienna
Celm has joined #ruby
randomnick_ has joined #ruby
lkba has quit [Ping timeout: 272 seconds]
kenneth has quit [Quit: Bye.]
dcope has joined #ruby
tselatra has quit [Quit: Leaving...]
<dcope> has anyone seen 'hanging' ruby processes on os x?
<dcope> like you start up ruby and then the process hangs around even after it exits and uses 90+ % of cpu
<Nilium> Only when I manage to break something.
<Nilium> e.g., infinite loops.
mikecmpbll has quit [Quit: ciao.]
<Nilium> Never seen that. Are you sure you're exiting?
phansch has quit [Quit: Leaving]
<Nilium> i.e., not just hitting ^Z or something
enebo has quit [Quit: enebo]
nanoyak has quit [Quit: Computer has gone to sleep.]
v0n has quit [Read error: Operation timed out]
claymore has quit [Quit: Leaving]
blandflakes has quit [Quit: Page closed]
andy__ has joined #ruby
ultraflash3 has joined #ruby
cpruitt has quit [Quit: cpruitt]
dx7 has quit [Remote host closed the connection]
dingus_khan has joined #ruby
dx7 has joined #ruby
ner0x has joined #ruby
ultraflash3 has quit [Ping timeout: 272 seconds]
mansi has joined #ruby
dx7 has quit [Ping timeout: 260 seconds]
LiquidInsect has quit [Quit: leaving]
cmoylan has quit [Ping timeout: 252 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
LiquidInsect has joined #ruby
baroquebobcat has joined #ruby
platzhirsch has joined #ruby
terrellt has quit [Ping timeout: 260 seconds]
[krisbulman] is now known as krisbulman
levity_island has joined #ruby
jrhorn424 is now known as zz_jrhorn424
sski has joined #ruby
lkba has joined #ruby
MindfulMonk has joined #ruby
vlad_starkov has joined #ruby
sparrovv has quit [Remote host closed the connection]
maroloccio has quit [Quit: WeeChat 0.4.2]
Hiall has quit [Quit: hiall]
endash_ has joined #ruby
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
mansi has quit [Read error: Connection reset by peer]
bricker has joined #ruby
mansi has joined #ruby
angusiguess has quit [Ping timeout: 272 seconds]
aryaching has quit [Ping timeout: 252 seconds]
thebinaryhood has quit [Quit: Leaving.]
endash_ has quit [Client Quit]
kirun has quit [Quit: Client exiting]
oracal has quit [Quit: Leaving]
nateberkopec has quit [Quit: Leaving...]
tkuchiki has joined #ruby
Jetchisel has joined #ruby
ktosiek has quit [Ping timeout: 272 seconds]
aloitius_ has joined #ruby
scarolan has quit [Ping timeout: 272 seconds]
kevind has quit [Quit: kevind]
endash_ has joined #ruby
solars has quit [Ping timeout: 272 seconds]
krisbulman is now known as KennyD
KennyD is now known as krisbulman
randomnick_ has quit [Quit: Leaving]
mercwithamouth has joined #ruby
theskript has joined #ruby
burlyscudd has joined #ruby
<theskript> anyone good @ rails want to explain why its so hard to pass instance variables to application.erb.html????
<centrx> theskript, It's not?