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
<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
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]
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]
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
<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...
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]
<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
<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:
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
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"
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
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]
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]
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
<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!
<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 <<
<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
<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" }
<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: 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
<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..
<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.]
<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>
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.
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]
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.
<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.
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]
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
<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)
<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
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
<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 :(
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>
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
<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
<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?
<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]
<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>
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]
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????