pawnbox has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 276 seconds]
marr has quit [Remote host closed the connection]
TinkerTyper has joined #ruby
KCmetro has joined #ruby
karmatr0n has joined #ruby
vjacob has quit [Quit: Leaving]
nettoweb has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
KCmetro has quit [Remote host closed the connection]
saneax is now known as saneax_AFK
KCmetro has joined #ruby
fenre has quit [Remote host closed the connection]
yqt has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
kspencer has quit [Read error: Connection reset by peer]
m_antis has joined #ruby
pawnbox has quit [Ping timeout: 272 seconds]
duckpuppy has joined #ruby
tristanp has joined #ruby
davedev24 has quit []
tristanp_ has quit [Ping timeout: 252 seconds]
SCHAAP137 has quit [Quit: Leaving]
davedev24 has joined #ruby
duckpuppy has quit [Ping timeout: 258 seconds]
tristanp_ has joined #ruby
dumkunt has quit [Quit: Goodbye]
tristanp has quit [Ping timeout: 260 seconds]
insanedreamer has joined #ruby
tristanp has joined #ruby
xkapastel has quit [Quit: Connection closed for inactivity]
tristanp_ has quit [Read error: Connection reset by peer]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdw_ has quit [Quit: Sleeping Zzzzz]
n1x-nz has joined #ruby
elifoster has quit [Ping timeout: 244 seconds]
n1x-nz has quit [Remote host closed the connection]
JoshGlzBrk has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
bob434 has joined #ruby
KCmetro has quit [Remote host closed the connection]
maletor2 has joined #ruby
n1x-nz has joined #ruby
JoshGlzBrk has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
n1x-nz has quit [Client Quit]
n1x-nz has joined #ruby
maletor2 has quit [Ping timeout: 246 seconds]
phatypus has joined #ruby
KCmetro has joined #ruby
weemsledeux has joined #ruby
aries_liuxueyang has joined #ruby
Devalo has joined #ruby
KCmetro has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
Ebok has quit [Quit: This computer has gone to sleep]
Devalo has quit [Ping timeout: 244 seconds]
tmtwd has quit [Ping timeout: 244 seconds]
Ebok has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
karmatr0n has joined #ruby
nankyokusei has joined #ruby
mjuszczak has joined #ruby
nofxx has joined #ruby
mjuszczak has quit [Client Quit]
dumdedum has quit [Read error: Connection reset by peer]
von-strauss has joined #ruby
<von-strauss>
hi
karmatr0n has quit [Ping timeout: 240 seconds]
<benzrf>
hi
startupality has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
davedev24 has quit []
tristanp_ has joined #ruby
Mia has quit [Read error: Connection reset by peer]
tristanp has quit [Ping timeout: 252 seconds]
n_blownapart has quit []
duderonomy has joined #ruby
xxneolithicxx has joined #ruby
xxneolithicxx has quit [Max SendQ exceeded]
xxneolithicxx has joined #ruby
tristanp has joined #ruby
xxneolithicxx has quit [Max SendQ exceeded]
tristanp_ has quit [Ping timeout: 272 seconds]
xxneolithicxx has joined #ruby
tristanp_ has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tristanp has quit [Ping timeout: 260 seconds]
razer_ has joined #ruby
norc__ has joined #ruby
<razer_>
Does anyone know if/what I can install to get iOS development tools installed without installing the xcode IDE?
<von-strauss>
Yes
<razer_>
I know there is the command line tools, but I think I already have that and that is more for compiling on mac and other stuff
startupality has quit [Quit: startupality]
choke has joined #ruby
<razer_>
The full iOS simulator, iOS SDK etc. I went to developer.apple, but I'm not sure what to download and it seems the iOS SDK comes with the IDE.
LoneHermit has quit [Remote host closed the connection]
<von-strauss>
they need to start treating devs right
<razer_>
von-strauss: Could you tell me or explain in brief?
<von-strauss>
Oh I don't know I was just suggesting there were resources out there
norc_ has quit [Ping timeout: 258 seconds]
<razer_>
I see Xcode 3.2.5 and iOS SDK 4.2 dated 18-Nov-2010
nettoweb has joined #ruby
<razer_>
And there are three files.
<razer_>
I'll just install xcode for now. It is 4 gigs, but easiest way.
<razer_>
I'm planning on doing a RubyMotion & RedPotion tutorial / test
<thejamespinto>
only thing I hate about my mac is that it makes me install xcode for no reason
<razer_>
Well for a lot of things I think you can just install the command line tools, which is all the compiler stuff so you can compile open source stuff or whatever
duckpuppy has joined #ruby
binaryplease has joined #ruby
<razer_>
That is a small package download
charliesome has joined #ruby
<thejamespinto>
I never really "looked for it"
<thejamespinto>
and I just learned my bash hasn't seen an update since 2007
c0mrad3 has quit [Quit: Connection closed for inactivity]
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<thejamespinto>
we're all gonna die, I'm serious :)
last_staff has quit [Quit: last_staff]
n1x-nz has quit [Quit: Computer says no]
duckpuppy has quit [Ping timeout: 260 seconds]
Azure has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
ljames has joined #ruby
phatypus has quit [Quit: .>]
LoneHerm_ has quit [Remote host closed the connection]
yardenbar has joined #ruby
<benzrf>
jesus christ
Ropeney has joined #ruby
maletor2 has joined #ruby
pawnbox has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<thejamespinto>
I'm reinstalling my whole mac setup just because of this convo
<thejamespinto>
my rvm folder was bloated as fuck
jaguarmagenta has quit [Remote host closed the connection]
diegoaguilar has quit [Remote host closed the connection]
maletor2 has quit [Ping timeout: 276 seconds]
tristanp has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
tie has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kspencer has joined #ruby
<tie>
Hello my beautiful humans! Quick question, I have Visual Studio Code that im using for Ruby, but I cant seem to find the interpreter for it. Do I just run it in the CMD window or do I need a compiler for it.
Ropeney has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
trista___ has joined #ruby
tristanp_ has quit [Ping timeout: 252 seconds]
binaryplease has quit [Ping timeout: 244 seconds]
Ropeney has quit [Client Quit]
tristanp has quit [Ping timeout: 252 seconds]
yardenbar has quit [Ping timeout: 250 seconds]
karapetyan has joined #ruby
tristanp has joined #ruby
trista___ has quit [Ping timeout: 260 seconds]
c1 has joined #ruby
<c1>
hi
c1 has left #ruby [#ruby]
<tie>
Any Ideas? I tried running it on my CMD after instilling windows ruby installer but it doesnt recognize my .rb
tristanp_ has joined #ruby
razer_ has quit [Quit: Leaving...]
karapetyan has quit [Ping timeout: 272 seconds]
karmatr0n has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
tristanp has joined #ruby
tristanp_ has quit [Ping timeout: 252 seconds]
karmatr0n has quit [Ping timeout: 250 seconds]
<thejamespinto>
tie: have you considered getting a simpler IDE?
weemsledeux has joined #ruby
<tie>
I've also got notepad++ for python scripting
<tie>
thejamespinto: but i've tried both and neither seem to work. I cant figure out how to use the interpreter
<thejamespinto>
tie: ruby developers really like SublimeText and Atom
<thejamespinto>
are we talking about Rails or just Ruby?
<tie>
I feel like its not the IDE thats the problem.
<tie>
Ruby
<thejamespinto>
I am looking for a blog post of a friend to help you with that
<thejamespinto>
but let's start easy
<thejamespinto>
why do you need Ruby?
<tie>
Final project for a course. Im writing an encryption algorithm
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<thejamespinto>
the teacher is coached by 2 very smart guys and all three team up to make sure people understand the first steps on how to use Ruby
xkapastel has joined #ruby
<tie>
Thanks. Ill watch it now
<thejamespinto>
they're coming up with questions people watching may have
phatypus has joined #ruby
phatypus has quit [Client Quit]
<thejamespinto>
you might want to skip a bit until they start talking about Ruby, they're an independent program and spend some extra time talking about other stuff before they dive into Ruby on that one
<thejamespinto>
but in general
<thejamespinto>
just type `irb`
<thejamespinto>
and you'll be shown a CLI for ruby, much like some databases have
m_antis has quit [Ping timeout: 260 seconds]
<thejamespinto>
but usually you want to save a little file named "whatever.rb" then run "ruby whatever.rb"
<tie>
OHHH
<thejamespinto>
this is a piece of example code in one of the ruby gems I maintain
<tie>
Okay. That was the problem. I didnt know I had to type ruby at the beginning.
robbyoconnor has joined #ruby
<thejamespinto>
the first commented line is how you run it
Coldblackice has quit [Ping timeout: 240 seconds]
<thejamespinto>
it's not a convention to have the first line teach you how to run a file, I just put it there because it's a part of my examples/ folder, so...
<tie>
No problem :) I'm fairly experienced with c++ so I know how some of the conventions go
<thejamespinto>
anyways, I'm glad I could help
<thejamespinto>
also
<thejamespinto>
since you are focusing on making custom code that needs to work
<thejamespinto>
please, follow my advise on this one too
<thejamespinto>
take that file I gave you
diego1 has joined #ruby
<thejamespinto>
remove line 3, replace line 5 for "require 'minitest'"
diego1 has quit [Changing host]
diego1 has joined #ruby
<thejamespinto>
it will be easier if I just gist you
diegoviola is now known as Guest38230
diego1 is now known as diegoviola
<tie>
Sorry for the slow responces. Im waching the video you game me as well
<tie>
Unfortunately, I've been pretty pampered by my classes when it came to certain things. I might not know some things you would expect I should know.
<tie>
One sec
<thejamespinto>
that means you have 2 failing tests and 1 working test
<thejamespinto>
writing tests will help you make sure you are creating no side-effects while you are making changes
<thejamespinto>
you're employing your computer into repeating your processes and evaluating expectations, just like if it was you
<thejamespinto>
I don't expect you to do things exactly the same way I do things (btw, that's not how I personally do things)
<thejamespinto>
but I do expect you to master your computer, not the other way around
<von-strauss>
i keep forgetting to put end
tristanp_ has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
<tie>
How do i install a gem?
<tie>
I've only heard the word gem for the first time about 20 minutes ago but im guessing its similar in effect to an addon or an aditional library?
<thejamespinto>
gem install minitest
<thejamespinto>
gem list
<thejamespinto>
use those 2 commands
<tie>
in the actual CMD?
<thejamespinto>
yes
<thejamespinto>
not inside irb
<thejamespinto>
that is a command
<thejamespinto>
like cd, dir, cls
<tie>
Oh okay, nice. Thats some pretty nifty functionality
<thejamespinto>
I cannot emphasize enough how much ruby developers hate Windows
<tie>
I'm guessing they prefer linux?
<thejamespinto>
for that, I would have to actually care about listing all bad aspects about Windows
<thejamespinto>
and I don't care nearly enough for that
symm- has joined #ruby
<thejamespinto>
half is on Mac, the other half on Linux
Ropeney has joined #ruby
<tie>
I'm not going to make a living off of ruby. I'm just trying to write an encryption algorithm by tuesday
Asher has joined #ruby
<thejamespinto>
on the Linux half, most are using Ubuntu, XUbuntu, Mint (ubuntu's son) or Debian (Ubuntu's mom)
<thejamespinto>
yeah
<thejamespinto>
for that you should be fine with Windows
<thejamespinto>
;)
<von-strauss>
are you guys new devs
<von-strauss>
(im new)
<thejamespinto>
I've been around a while
<von-strauss>
nice
<von-strauss>
good to have experienced people here
<tie>
Consider my a baby
<tie>
me*
LoneHerm_ has joined #ruby
<von-strauss>
im trying to make a living off ruby
<thejamespinto>
we all have to watch so it doesn't turn into a cesspit of opinions and jokes :(
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
<von-strauss>
i want to drop out of uni so hard
<jhass>
just move them to #ruby-offtopic ;)
<thejamespinto>
Von Strauss, which country of Europe?
<von-strauss>
good old blighty
<thejamespinto>
jhass: hi five!
<von-strauss>
ah, bet you werent expecting this
<thejamespinto>
Britain?
<thejamespinto>
oh sweet :)
<von-strauss>
yeah
<von-strauss>
so im a maths student and i hate school
<thejamespinto>
Von names are often not in the island :)
<von-strauss>
yeah
<thejamespinto>
yeah, drop school then
<von-strauss>
i'm not too sure
<von-strauss>
i've talked to some smart people who withdrew and are failures
<thejamespinto>
replace your major for something you actually like
<von-strauss>
oh i love maths more than anything in the world
<von-strauss>
but university is just like terrible
<von-strauss>
idk i hope im not derailing
<thejamespinto>
going to school is not like going to the military
ledestin has joined #ruby
hutch34 has joined #ruby
<thejamespinto>
you're in it for the education, not because you have nothing better to do
<thejamespinto>
-- with all due respect to soldiers
jphase_ has joined #ruby
<von-strauss>
hahaha
<thejamespinto>
it doesn't matter if you focused your studies on applied math or software
stardiviner has joined #ruby
<thejamespinto>
college is for general education, not for specifics such as computer languages
LoneHerm_ has quit [Ping timeout: 260 seconds]
<von-strauss>
school is sort of expensivish though. i wonder if i can master ruby over the summer and learn a bit of rails and try to get an internship during autumn
maletor2 has joined #ruby
<thejamespinto>
British Summer? You can't master anything in 5 days
<von-strauss>
Hahahaha
<thejamespinto>
I was in Britain exactly one year ago
<von-strauss>
southampton's summer isn't so bad
<thejamespinto>
like, facebook's telling me about it
<thejamespinto>
so I actually remember asking my friends. - so... 16C, when is it gonna get warm? - it is warm.
Xiti has quit [Ping timeout: 276 seconds]
<von-strauss>
where are you?
<thejamespinto>
Brazil
CloCkWeRX has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<thejamespinto>
we get 30C half the year, the other half we et 40C
jphase_ has left #ruby [#ruby]
hutch34 has quit [Ping timeout: 244 seconds]
maletor2 has quit [Ping timeout: 240 seconds]
stardiviner has quit [Quit: Code, Sex, Just fucking world.]
<von-strauss>
Brasil!
<von-strauss>
Oi
<von-strauss>
Sorry about your government
<thejamespinto>
haha :D Boa Noite
jack has joined #ruby
<thejamespinto>
be honest, you wish you could impeach your queen too :)
jack is now known as Guest88009
<von-strauss>
I don't like the queen but in general she's very admired
<thejamespinto>
talking about the Queen, her birthday is around now, right?
<von-strauss>
charles on the other hand....
<von-strauss>
no
<von-strauss>
it passed
<thejamespinto>
yeah but like, just now
<droptone>
Question: Do both .find and .select return arrays, or does .find return the first match?
<thejamespinto>
droptone: second
moeabdol2 has joined #ruby
<droptone>
Got it, ty
<thejamespinto>
[].find {};
<thejamespinto>
[].select {};
<thejamespinto>
very easy to find out ;)
<droptone>
so find returns the first result, and would return nil if not found
<droptone>
correct?
<thejamespinto>
yes
<droptone>
ty
LoneHerm_ has joined #ruby
tristanp has quit [Ping timeout: 258 seconds]
<thejamespinto>
many people write needless code with .each and return because they don't know about find/select ;)
Starf0x has joined #ruby
Starf0x has left #ruby [#ruby]
<von-strauss>
ruby has too many ways of doing things
<von-strauss>
i like it
braincrash has quit [Quit: bye bye]
<thejamespinto>
it was one of the things they would sell the most when I joined
<thejamespinto>
that configuration files were ruby instead of xml
chipotle has quit [Quit: cheerio]
<thejamespinto>
because in ruby parens are almost always optional
<thejamespinto>
it calls that same method on the parent class
<thejamespinto>
if you don't call super, that means you're fully overriding the mehtod
<thejamespinto>
you may want to do 1 of 4 things
<thejamespinto>
1 - override a method entirely
<thejamespinto>
2 - add code after you call super
<thejamespinto>
3 - add code before you call super
karapetyan has quit [Ping timeout: 246 seconds]
karmatr0n has joined #ruby
PaulCape_ has joined #ruby
<thejamespinto>
4 - reopen the class instead of inheriting, then you will be both overriding that class, but you get a new super for that class' parent class ;)
<thejamespinto>
which is actually one of the things that make ruby so damn awesome
mikecmpbll has joined #ruby
hahuang65 has joined #ruby
tristanp has joined #ruby
PaulCapestany has quit [Ping timeout: 252 seconds]
benlieb has joined #ruby
tristanp_ has quit [Ping timeout: 252 seconds]
karmatr0n has quit [Ping timeout: 264 seconds]
bkxd has joined #ruby
bkxd has quit [Client Quit]
bkxd has joined #ruby
tristanp_ has joined #ruby
hahuang65 has quit [Ping timeout: 260 seconds]
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
<thejamespinto>
I'm off to bed
<thejamespinto>
gnight guys! o/
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trista___ has joined #ruby
tristanp_ has quit [Ping timeout: 252 seconds]
craigp_ has quit [Ping timeout: 240 seconds]
tax has joined #ruby
tristanp_ has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
hk238 has joined #ruby
mikecmpbll has joined #ruby
tristanp_ has quit [Read error: Connection reset by peer]
trista___ has quit [Ping timeout: 252 seconds]
tristanp has joined #ruby
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diegoviola is now known as Guest61602
diego1 is now known as diegoviola
nando293921 has quit [Ping timeout: 252 seconds]
Guest61602 has quit [Ping timeout: 260 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
mjuszczak has joined #ruby
pawnbox has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arescorpio has quit [Quit: Leaving.]
von-strauss has quit [Quit: Leaving]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
lxsameer has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
duncannz has joined #ruby
Cohedrin has joined #ruby
mikecmpbll has joined #ruby
arlek has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
benlieb has quit [Quit: benlieb]
kareeoleez has joined #ruby
hutch34 has joined #ruby
maletor2 has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
houhoulis has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
mleung has joined #ruby
ensyde__ has joined #ruby
maletor2 has quit [Ping timeout: 250 seconds]
ensyde has quit [Ping timeout: 240 seconds]
elifoster has quit [Ping timeout: 260 seconds]
haylon has quit [Ping timeout: 250 seconds]
mikecmpbll has joined #ruby
tristanp_ has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
benlieb has joined #ruby
nankyokusei has joined #ruby
tristanp has joined #ruby
tmtwd has joined #ruby
karmatr0n has joined #ruby
tristanp_ has quit [Ping timeout: 250 seconds]
tristanp_ has joined #ruby
benlieb has quit [Client Quit]
pawnbox has joined #ruby
bobbycvi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ropeney has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
tristanp has quit [Ping timeout: 252 seconds]
tristanp has joined #ruby
karmatr0n has quit [Ping timeout: 240 seconds]
Xiti has joined #ruby
tristanp_ has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 244 seconds]
craigp_ has joined #ruby
tristanp_ has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
PaulCapestany has joined #ruby
guardianJ has joined #ruby
jaguarma_ has joined #ruby
dhk has quit [Read error: Connection reset by peer]
PaulCape_ has quit [Ping timeout: 252 seconds]
k3rn31 has joined #ruby
dhk has joined #ruby
jaguarmagenta has quit [Read error: Connection reset by peer]
tristanp_ has quit [Read error: Connection reset by peer]
guardianJ has quit [Remote host closed the connection]
tristanp has joined #ruby
crixer is now known as crowell
insanedreamer has quit [Ping timeout: 276 seconds]
craigp_ has quit [Ping timeout: 272 seconds]
n1xnz has joined #ruby
guardianJ has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arlek has quit [Ping timeout: 258 seconds]
n1x-nz has quit [Ping timeout: 264 seconds]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moeabdol has joined #ruby
Ropeney has joined #ruby
guardianJ has quit [Remote host closed the connection]
duckpuppy has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
duckpuppy has quit [Ping timeout: 250 seconds]
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 272 seconds]
symm- has quit [Ping timeout: 244 seconds]
tmtwd has quit [Ping timeout: 240 seconds]
tristanp_ has joined #ruby
tristanp has quit [Ping timeout: 258 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
jeyraof has quit [Ping timeout: 244 seconds]
Dios has joined #ruby
sdrew has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
bob434 has quit [Quit: This computer has gone to sleep]
bob434 has joined #ruby
tristanp has joined #ruby
tristanp_ has quit [Read error: Connection reset by peer]
hutch34 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maletor2 has joined #ruby
tristanp_ has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hutch34 has quit [Ping timeout: 260 seconds]
xxneolithicxx has quit [Quit: Leaving.]
yfeldblum has quit [Ping timeout: 258 seconds]
maletor2 has quit [Ping timeout: 276 seconds]
LoneHerm_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
wilbert has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
mikecmpbll has joined #ruby
karmatr0n has joined #ruby
konsolebox has joined #ruby
yardenbar has joined #ruby
paradisaeidae has joined #ruby
DoubleMalt has joined #ruby
tristanp has joined #ruby
tristanp_ has quit [Read error: Connection reset by peer]
karmatr0n has quit [Ping timeout: 252 seconds]
PaulCape_ has joined #ruby
mercerist has joined #ruby
tristanp_ has joined #ruby
PaulCapestany has quit [Ping timeout: 252 seconds]
pontiki has joined #ruby
trista___ has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
<pontiki>
hi, #ruby
User458764 has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tristanp_ has quit [Ping timeout: 252 seconds]
craigp_ has joined #ruby
tristanp has joined #ruby
tristanp_ has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
trista___ has quit [Ping timeout: 252 seconds]
pawnbox has quit [Ping timeout: 264 seconds]
craigp_ has quit [Ping timeout: 246 seconds]
tristanp has quit [Ping timeout: 252 seconds]
tristanp_ has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
imperator has joined #ruby
mjuszczak has quit []
dionysus69 has joined #ruby
jack has joined #ruby
jack is now known as Guest21569
tax has quit [Ping timeout: 276 seconds]
PaulCapestany has joined #ruby
yfeldblum has joined #ruby
PaulCape_ has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Remote host closed the connection]
mercerist has quit [Quit: Computer has gone to sleep.]
imperator has quit [Quit: This computer has gone to sleep]
mikecmpbll has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
goeast has joined #ruby
hutch34 has joined #ruby
tristanp_ has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
DoubleMalt has quit [Remote host closed the connection]
maletor2 has joined #ruby
c0mrad3 has joined #ruby
Guest21569 has quit [Quit: leaving]
hutch34 has quit [Ping timeout: 240 seconds]
tristanp_ has quit [Ping timeout: 258 seconds]
maletor2 has quit [Ping timeout: 276 seconds]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
the_drow has joined #ruby
atdaemon2 has joined #ruby
jacgao has joined #ruby
mleung has quit [Quit: mleung]
k3rn31 has quit [Quit: Computer has gone to sleep.]
atdaemon2 has quit [Quit: brb]
mercerist has joined #ruby
k3rn31 has joined #ruby
paradisaeidae has quit [Quit: ChatZilla 0.9.92 [Firefox 46.0.1/20160502172042]]
tristanp has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
craigp_ has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
d0nn1e has quit [Ping timeout: 244 seconds]
SCHAAP137 has joined #ruby
d0nn1e has joined #ruby
nankyokusei has joined #ruby
paradisaeidae has joined #ruby
karmatr0n has joined #ruby
SCHAAP137 has quit [Ping timeout: 244 seconds]
pontiki has quit [Read error: Connection reset by peer]
Billias has quit [Read error: Connection reset by peer]
pontiki has joined #ruby
nankyokusei has quit [Ping timeout: 272 seconds]
paradisaeidae has quit [Client Quit]
antgel has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
karmatr0n has quit [Ping timeout: 252 seconds]
Billias has joined #ruby
SCHAAP137 has joined #ruby
hightower3 has quit [Ping timeout: 264 seconds]
goeast has quit [Ping timeout: 240 seconds]
hightower3 has joined #ruby
janebootydoe has joined #ruby
jenrzzz has joined #ruby
tie has joined #ruby
janebootydoe has quit [Remote host closed the connection]
<tie>
Does Ruby only have methods? Or does it also have functions similar to C++
janebootydoe has joined #ruby
ramfjord has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
<isxek>
tie: if by "methods" you mean functions attached to classes, then yes
<tie>
Well, i'm taking a tutorial right now and all i've seen so far is 'def-end' methods
vjacob has joined #ruby
janebootydoe has quit [Client Quit]
tristanp_ has joined #ruby
Fr0Master has joined #ruby
goeast has joined #ruby
tristanp has quit [Ping timeout: 250 seconds]
<tie>
isxek: Is that what your talking about?
craigp_ has quit [Ping timeout: 272 seconds]
FroMaster has quit [Ping timeout: 244 seconds]
<isxek>
I'm not terribly familiar with how "functions" work in C++
nando293921 has joined #ruby
tristanp has joined #ruby
tristanp_ has quit [Read error: Connection reset by peer]
<tie>
As i'm getting further into the tutorial, it looks more like a function now, thank you. It also looks similar to a lambda in Scheme.
djbkd has joined #ruby
<isxek>
tie: it depends. Blocks in Ruby act more like Scheme lambdas, I think - code blocks without the 'def-end' markers
<pontiki>
ruby has methods, procs, and lambdas
<pontiki>
and blocks
pawnbox has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duckpuppy has joined #ruby
<tie>
I'm just getting to blocks now. I've never used procs and i'm not very great at lambdas in Scheme. But i feel like def-end methods are what i was thinking of as a comparison to C++ functions
LoneHermit has joined #ruby
<tie>
Still trying to figure out what the heck a block it.
<tie>
is*
jenrzzz has quit [Ping timeout: 250 seconds]
tristanp_ has joined #ruby
<isxek>
You'll be able to understand it as you see more of it, I'm sure.
Gasher has joined #ruby
tie_ has joined #ruby
<pontiki>
i can't give an answer that would satisfy everyone here; but practically it's a group of statements
<tie_>
Heres hoping. I need to write an encryption algorithm by tuesday and i just started learning ruby today.
tristanp has quit [Ping timeout: 252 seconds]
<pontiki>
no worries then!
<tie_>
I feel like thats sarcasm...
pawnbox has quit [Ping timeout: 260 seconds]
goeast has quit [Read error: No route to host]
<isxek>
tie_: Don't take it to heart. :)
<tie_>
I'm going to die.
tie has quit [Ping timeout: 250 seconds]
<tie_>
I can see my grade plummeting...
duckpuppy has quit [Ping timeout: 264 seconds]
<tie_>
Goodbye cruel world.................
LoneHermit has quit [Ping timeout: 260 seconds]
goeast has joined #ruby
Ishido has joined #ruby
skade has joined #ruby
yfeldblum has joined #ruby
skade has quit [Ping timeout: 260 seconds]
vjacob__ has joined #ruby
RegulationD has joined #ruby
vjacob has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 244 seconds]
hutch34 has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
maletor2 has joined #ruby
vjacob__ has quit [Quit: Leaving]
hutch34 has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
maletor2 has quit [Ping timeout: 240 seconds]
PaulCape_ has joined #ruby
Devalo has joined #ruby
wilbert has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Quit: Lost terminal]
Devalo has quit [Client Quit]
PaulCapestany has quit [Ping timeout: 252 seconds]
der-landgraf has quit [Ping timeout: 258 seconds]
Dimik has quit [Ping timeout: 272 seconds]
karapetyan has joined #ruby
goeast has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
Devalo has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
govg has joined #ruby
karmatr0n has joined #ruby
PaulCapestany has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
tristanp_ has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
PaulCape_ has quit [Ping timeout: 252 seconds]
karmatr0n has quit [Ping timeout: 244 seconds]
tristanp_ has joined #ruby
vdamewood has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
jaguarma_ has quit [Remote host closed the connection]
tristanp has joined #ruby
<rapha>
tie_: perhaps stop trying to figure out what things are if you're that short on time and just use them. you don't need all of ruby's sugar to implement an algorithm that probably already exists as pseudocode anyways.
trista___ has joined #ruby
<tie_>
rapha: I'm just being dramatic. I'm sure I can finish it in time (with a few energy drinks). I've already created the code in C++, I just need to transfer it over to Ruby.
craigp_ has joined #ruby
tristanp_ has quit [Ping timeout: 252 seconds]
tristanp has quit [Read error: Connection reset by peer]
<tie_>
The issue is that I have to give a 15 minute presentation on it. I need to explain the aspects of it and how it differs from other languages.
<isxek>
tie_: consider maybe using existing libraries that can help you with that task?
<isxek>
i mean, if you're pressed for time
d0lph1n98 has quit [Ping timeout: 244 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
<tie_>
What do you mean by using existing libraries?
der-landgraf has joined #ruby
<isxek>
gems
<pontiki>
well, the important thing seems to be *explaining* it in a compare and contrast
<tie_>
I dont have any experiance with those
<tie_>
pontiki: exactly, the code is simply a medium in which to explain it.
<isxek>
got it
der-landgraf has quit [Excess Flood]
<tie_>
I'm sure I could half ass the whole thing. But I'm learning ruby as much for me as I am for everyone else
PaulCape_ has joined #ruby
firstdayonthejob has joined #ruby
<isxek>
trying to get more people to use Ruby? :)
craigp_ has quit [Ping timeout: 258 seconds]
der-landgraf has joined #ruby
PaulCapestany has quit [Ping timeout: 252 seconds]
djbkd has quit []
<tie_>
I was given a list of a few dozen languages I could present and most were written in the 70s and 80s. This one seemed to have the largest user base and I wanted to learn something I might actually use in the future so you could say that.
<baweaver>
you want to know what's depressing: learning a new language and getting something done in a matter of days is not uncommon in the real world.
<tie_>
Getting something done and getting something done well are two completely different things :/
vjacob has joined #ruby
<pontiki>
more depressing are the number of companies that daily rely on their developers to do so daily
<baweaver>
While in the process of getting it done well, you fail to achieve done period, you're in hot water.
nankyokusei has joined #ruby
<baweaver>
focus on working first, working well second, and pretty last.
<isxek>
"try to make it work, make it work correctly, then make it work fast"
<baweaver>
pretty much
<baweaver>
a lesson I continually run into
Sammichmaker has quit [Ping timeout: 260 seconds]
der-landgraf has quit [Excess Flood]
<isxek>
then refactor :D
<baweaver>
I could get this one part done perfectly, documented, tested, formatted like it was gods gift to programming, but there are 5 other parts still to do.
<baweaver>
one of the hardest lessons I had to learn was to get a minimum viable product out first, and build on that
<baweaver>
naturally though there's no magical solution to all problems
<pontiki>
nope
<pontiki>
well, except the real magic: keeping mindful and thinking it through
<shevy>
I am the magic!
der-landgraf has joined #ruby
<isxek>
uh, shazam?
<baweaver>
anyone who says differently is selling something
saneax_AFK is now known as saneax
<shevy>
pontiki that - or some beer!
<pontiki>
balmer peak it is
<baweaver>
Anyways, back to reading books on Software Architecture and planning
<pontiki>
who are you reading?
spider-mario has joined #ruby
<baweaver>
new book by Cervantes and Kazman, Designing Software Architectures
<baweaver>
looked interesting, decided to read through it.
pontiki has quit [Read error: Connection reset by peer]
crdpink has quit [Ping timeout: 260 seconds]
pontiki has joined #ruby
Ropeney has joined #ruby
skade has joined #ruby
crdpink has joined #ruby
<baweaver>
Also flipping through Code Complete 2 and a few others.
<baweaver>
Realizing that I can code just about anything with little issue, but when it comes to planning large projects or organizing them I need work.
<baweaver>
and winning it through experience feels incredibly naive when resources may be available to help me surmount that lack.
<tie_>
Thats an issue i'm working on as well.
skade has quit [Ping timeout: 252 seconds]
Dios has quit [Ping timeout: 252 seconds]
<shevy>
large projects can have a life on their own
<shevy>
it's like becoming an alien beast
<pontiki>
stupid notwork :((
<pontiki>
sorry, baweaver, i only caught Code Complete 2
<pontiki>
(which is a good'un)
<baweaver>
new book by Cervantes and Kazman, Designing Software Architectures
<baweaver>
looked interesting, decided to read through it.
<pontiki>
sounds good
hutch34 has joined #ruby
vjacob has quit [Remote host closed the connection]
<pontiki>
back in the 90s, the group i was in started focusing really hard on software architecture
<pontiki>
(inside HP at the time)
maletor2 has joined #ruby
toretore has joined #ruby
<pontiki>
it got hugely academic and not practical, sadly
tristanp has joined #ruby
<baweaver>
such is often the case.
<tie_>
Well i've been doing this tutorial for going on 9 hours now. I think its about time to hit the sack. Tomorrow, I start on my encryption project. Night all! Thanks for all the pointers. It's always easier to learn from a human then from a tutorial.
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hutch34 has quit [Ping timeout: 260 seconds]
maletor2 has quit [Ping timeout: 240 seconds]
trista___ has quit [Ping timeout: 252 seconds]
tristanp_ has joined #ruby
tristanp has quit [Ping timeout: 250 seconds]
* isxek
sends tie_ a thumbs-up sign
tristanp has joined #ruby
vjacob has joined #ruby
<baweaver>
bed for me as well.
<baweaver>
'night
tie_ has quit [Ping timeout: 250 seconds]
tristanp_ has quit [Ping timeout: 252 seconds]
ur5us has quit [Remote host closed the connection]
zeroDi has joined #ruby
yardenbar has quit [Quit: Leaving]
karmatr0n has joined #ruby
PaulCapestany has joined #ruby
<shevy>
they all submit to slumber
PaulCape_ has quit [Ping timeout: 252 seconds]
karapetyan has joined #ruby
jacgao has quit [Ping timeout: 260 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
karmatr0n has quit [Ping timeout: 252 seconds]
skade has joined #ruby
Gasher has quit [Quit: Leaving]
LoneHermit has joined #ruby
ur5us has joined #ruby
skade has quit [Ping timeout: 260 seconds]
craigp_ has joined #ruby
User458764 has joined #ruby
LoneHermit has quit [Ping timeout: 244 seconds]
karapetyan has quit [Remote host closed the connection]
craigp_ has quit [Ping timeout: 276 seconds]
n1xnz has quit [Quit: Computer says no]
PaulCape_ has joined #ruby
duckpuppy has joined #ruby
PaulCapestany has quit [Ping timeout: 252 seconds]
vjacob has quit [Ping timeout: 240 seconds]
duckpuppy has quit [Ping timeout: 244 seconds]
tristanp has quit [Ping timeout: 258 seconds]
agit0 has joined #ruby
tildes_ has joined #ruby
mikecmpbll has joined #ruby
tristanp has joined #ruby
|ifei5g00d has joined #ruby
Mia has quit [Ping timeout: 244 seconds]
jacgao has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
govg has quit [Quit: leaving]
|ifei5good has quit [Ping timeout: 240 seconds]
bluOxigen has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
c355e3b has joined #ruby
der-landgraf has quit [Ping timeout: 244 seconds]
framling has quit [Ping timeout: 246 seconds]
hutch34 has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
maletor2 has joined #ruby
der-landgraf has joined #ruby
hutch34 has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
pontiki has quit [Read error: Connection reset by peer]
mercerist has joined #ruby
the_drow has joined #ruby
maletor2 has quit [Ping timeout: 276 seconds]
PaulCapestany has joined #ruby
matp has quit [Remote host closed the connection]
duncannz has quit [Remote host closed the connection]
karapetyan has joined #ruby
jacgao has quit [Quit: leaving]
pontiki has joined #ruby
CausaMortis has joined #ruby
PaulCape_ has quit [Ping timeout: 252 seconds]
mercerist has quit [Quit: Computer has gone to sleep.]
nanoz] has quit [Read error: Connection reset by peer]
cinch has quit [Ping timeout: 264 seconds]
nanoz] has joined #ruby
spider-mario has quit [Remote host closed the connection]
spider-mario has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
fenre has joined #ruby
k3rn31 has joined #ruby
GodFather has joined #ruby
codecop has quit [Remote host closed the connection]
vjacob has quit [Quit: Leaving]
karmatr0n has joined #ruby
Snowy has joined #ruby
bob434 has joined #ruby
karmatr0n has quit [Ping timeout: 264 seconds]
Devalo has joined #ruby
<shevy>
good that we do not have to compile the world, with a failing build!
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
<pontiki>
luckily, the world doesn't need compiling
jaguarmagenta has joined #ruby
moredhel has quit [Quit: byee]
GodFather has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 258 seconds]
GodFather has joined #ruby
tildes_ has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
von-strauss has joined #ruby
CausaMortis has quit [Ping timeout: 240 seconds]
jancel has joined #ruby
User458764 has joined #ruby
zapata has quit [Ping timeout: 260 seconds]
<von-strauss>
hi
tristanp has joined #ruby
moredhel has joined #ruby
tristanp_ has quit [Read error: Connection reset by peer]
dgncn has quit [Ping timeout: 250 seconds]
Devalo has quit [Remote host closed the connection]
tristanp has quit [Read error: Connection reset by peer]
tristanp_ has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vdamewood has quit [Quit: Life beckons.]
tristanp has joined #ruby
moeabdol has quit [Ping timeout: 240 seconds]
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
trista___ has joined #ruby
aries_liuxueyang has joined #ruby
tristanp_ has quit [Ping timeout: 252 seconds]
jxs_ has quit [Ping timeout: 244 seconds]
zapata has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
tristanp has joined #ruby
arlek has joined #ruby
LoneHermit has joined #ruby
trista___ has quit [Ping timeout: 260 seconds]
saneax is now known as saneax_AFK
LoneHermit has quit [Ping timeout: 252 seconds]
jxs_ has joined #ruby
<von-strauss>
I put a method inside a class
<von-strauss>
the class name is F
goeast has quit [Ping timeout: 258 seconds]
<von-strauss>
what's the difference between calling the method n or F.n
<pontiki>
von-strauss: whether the method is an instance method or public method
<von-strauss>
so what's the difference
<pontiki>
i'm sorry i mispoke
<pontiki>
instance method vs. class method
jxs_ has quit [Remote host closed the connection]
davedev24 has quit []
<pontiki>
an instance method is available to call on an instance of the class, while a class method is available call directly from the class
<pontiki>
F.n would be invoking a class method of F
<pontiki>
f = F.new; f.n would be invoking an instance method; f is the instance
maletor2 has joined #ruby
jancel has quit [Remote host closed the connection]
weemsledeux has joined #ruby
rkazak has joined #ruby
maletor2 has quit [Ping timeout: 244 seconds]
<von-strauss>
Okay thanks
jancel has joined #ruby
davedev24 has joined #ruby
<von-strauss>
what does :: mean
<von-strauss>
is that for importing stuff
<shevy>
you scope to the proper place
<pontiki>
it's a name scoping separator
<shevy>
for instance, if you have a class String in your project
<shevy>
since there is the toplevel class String too, ruby needs a way to find out what you want to use specifically - your own class String, or the general class String on the toplevel
mercerist has joined #ruby
arif__ has joined #ruby
<arif__>
guys i'm having trouble with a simple ruby program
<norc__>
arif__, look at the way you assign your variables
<norc__>
arif__, also incidentally - whenever you want to do something like that, use Struct.
jancel has quit [Remote host closed the connection]
tildes_ has quit [Ping timeout: 260 seconds]
<arif__>
i'm really in the beginning stage of learning ruby and have no idea what Struct is
<arif__>
i just learned the attr methods and was trying to implement them in a simple program
<arif__>
is that where i went wrong? or was it the initialize part?
<arif__>
what i'm expected to see: "sample"
<arif__>
what i'm seeing instead: nothing
<norc__>
arif__, assignment takes whatever is on the right side, and assigns it to the left.
<Papierkorb>
arif__: look again at your assignment lines. Read "foo = 1" as "foo is 1", or in other words "stuff the thing on the right into the variable on the left".
tristanp_ has joined #ruby
karmatr0n has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
<arif__>
so you mean @venue = venue instead of venue = @venue, for example?
<Papierkorb>
yah
KCmetro has joined #ruby
RegulationD has joined #ruby
tristanp has joined #ruby
Devalo has joined #ruby
<arif__>
ahh silly me. thanks a ton!
trista___ has joined #ruby
bkxd has joined #ruby
arif__ has quit [Quit: Page closed]
tristanp_ has quit [Ping timeout: 252 seconds]
karmatr0n has quit [Ping timeout: 276 seconds]
GodFather has quit [Ping timeout: 250 seconds]
Gasher has joined #ruby
m_antis has joined #ruby
dhk has quit [Ping timeout: 240 seconds]
tristanp_ has joined #ruby
zeroDi has joined #ruby
KCmetro has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
tristanp has quit [Ping timeout: 252 seconds]
allcentury has quit [Ping timeout: 276 seconds]
justapersona has joined #ruby
trista___ has quit [Ping timeout: 252 seconds]
bkxd has quit [Ping timeout: 244 seconds]
allcentury has joined #ruby
d0lph1n98 has quit [Ping timeout: 276 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
Gasher^ has joined #ruby
Gasher has quit [Ping timeout: 246 seconds]
imperator has quit [Quit: Leaving]
mikecmpbll has joined #ruby
<benzrf>
<benzrf>
oops
madgen has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
<von-strauss>
involution
roamingdog has joined #ruby
allcentury has joined #ruby
alfiemax has joined #ruby
pnbeast has joined #ruby
Ropeney has joined #ruby
duckpuppy has joined #ruby
roamingdog has quit [Remote host closed the connection]
Zacketh has quit [Ping timeout: 276 seconds]
roamingdog has joined #ruby
LoneHerm_ has joined #ruby
allcentury has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby
nankyokusei has joined #ruby
sphex_ has quit [Ping timeout: 276 seconds]
Ropeney has quit [Client Quit]
Zackio has joined #ruby
duckpuppy has quit [Ping timeout: 260 seconds]
sphex has joined #ruby
Ropeney has joined #ruby
bruce_lee has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
CausaMortis has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mercerist has quit [Quit: Computer has gone to sleep.]
dgncn has joined #ruby
dhk has joined #ruby
binaryplease1 has joined #ruby
saneax_AFK is now known as saneax
binaryplease has quit [Ping timeout: 244 seconds]
northfurr has joined #ruby
allcentury has joined #ruby
binaryplease1 is now known as binaryplease
maletor2 has joined #ruby
dopamean_ has joined #ruby
goeast has joined #ruby
tristanp has joined #ruby
spudowiar has quit [Ping timeout: 244 seconds]
allcentury has quit [Ping timeout: 240 seconds]
Snowy has quit [Remote host closed the connection]
trista___ has joined #ruby
CausaMortis has quit [Ping timeout: 244 seconds]
maletor2 has quit [Ping timeout: 244 seconds]
tristanp_ has quit [Ping timeout: 260 seconds]
grill has joined #ruby
moeabdol has joined #ruby
Gasher has joined #ruby
grill has quit [Max SendQ exceeded]
tristanp has quit [Ping timeout: 252 seconds]
tristanp_ has joined #ruby
jancel has joined #ruby
grill has joined #ruby
CausaMortis has joined #ruby
nando293921 has joined #ruby
Gasher^ has quit [Ping timeout: 276 seconds]
tristanp has joined #ruby
grill has quit [Client Quit]
trista___ has quit [Ping timeout: 252 seconds]
trista___ has joined #ruby
justapersona has quit [Quit: Leaving.]
solars has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
tristanp_ has quit [Ping timeout: 252 seconds]
tvon has joined #ruby
nando293921 has quit [Ping timeout: 276 seconds]
Tempesta has quit [Ping timeout: 276 seconds]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tristanp_ has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
justapersona has joined #ruby
justapersona has quit [Client Quit]
niksw has joined #ruby
trista___ has quit [Ping timeout: 260 seconds]
CausaMortis has quit [Ping timeout: 246 seconds]
tristanp has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
grill has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
arlek has quit [Ping timeout: 258 seconds]
tristanp_ has quit [Ping timeout: 260 seconds]
tax has joined #ruby
tristanp_ has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
Zackio has quit [Ping timeout: 240 seconds]
karmatr0n has joined #ruby
dionysus69 has joined #ruby
tildes_ has joined #ruby
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fenre has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 252 seconds]
Zackio has joined #ruby
jaguarmagenta has joined #ruby
tildes_ has quit [Ping timeout: 276 seconds]
mercerist has joined #ruby
Ebok has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
jaguarmagenta has quit [Ping timeout: 246 seconds]
Axy has joined #ruby
jancel has quit [Remote host closed the connection]
Mia has quit [Ping timeout: 240 seconds]
minimalism has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
kirun has joined #ruby
yfeldblum has quit [Remote host closed the connection]
phredus_ has quit [Remote host closed the connection]
zenguy_pc has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
<von-strauss>
why would i want some methods public and some methods private
rippa has joined #ruby
zenguy_pc has joined #ruby
<von-strauss>
is it so private is for specific instances and public is like can do like the whole program
<norc__>
von-strauss, its just to state intends about which methods are part of your interface, and which are not.
tristanp has joined #ruby
dgncn has quit [Quit: ^^]
Snowy has joined #ruby
<norc__>
von-strauss, so whenever you want somebody else to use a method, make it public
<norc__>
von-strauss, if its something internal that ppl have no business of using, make it private.
tristanp_ has quit [Ping timeout: 260 seconds]
<norc__>
note though that calling a private method is really easy if somebody really wants to, so its not about preventing it.
tristanp_ has joined #ruby
spudowiar has joined #ruby
hutch34 has quit [Ping timeout: 276 seconds]
tristanp has quit [Ping timeout: 252 seconds]
tristanp has joined #ruby
scottschecter has quit [Remote host closed the connection]
Snowy has quit [Read error: Connection reset by peer]
scottschecter has joined #ruby
tildes_ has joined #ruby
Snowy has joined #ruby
solars has joined #ruby
tristanp_ has quit [Ping timeout: 260 seconds]
tristanp_ has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
ponga has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
Cohedrin has joined #ruby
dgncn has joined #ruby
nhhc has joined #ruby
tristanp has joined #ruby
tristanp_ has quit [Ping timeout: 260 seconds]
davedev24 has quit [Remote host closed the connection]
hutch34 has joined #ruby
houhoulis has quit []
nando293921 has joined #ruby
ljames has quit []
dimasg has joined #ruby
houhoulis has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
roamingdog has quit [Read error: Connection reset by peer]
<von-strauss>
i do gem install rails and it just halts
<von-strauss>
forever
tristanp has joined #ruby
allcentury has joined #ruby
Es0teric has joined #ruby
<norc__>
von-strauss, use -V to see what the problem is
xpt has joined #ruby
maletor2 has joined #ruby
<Papierkorb>
von-strauss: define "halts"
<Papierkorb>
von-strauss: is it saying something about "parsing documentation" or similar?
allcentury has quit [Ping timeout: 264 seconds]
<von-strauss>
This could take a while...ERROR: Error installing rails: ERROR: Failed to build gem native extension.
dmr8 has joined #ruby
<norc__>
von-strauss, gist the entire error message
magikid has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
<von-strauss>
/usr/bin/ruby1.9.1 extconf.rb|/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)| from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | from extconf.rb:1:in `<main>'
<von-strauss>
that's the gist of it
Snowy has quit [Remote host closed the connection]
<shevy>
ack
<shevy>
ruby 1.9.1
<shevy>
and no mkmf
Snowy has joined #ruby
<shevy>
you must live in debian land
<von-strauss>
yes.
maletor2 has quit [Ping timeout: 264 seconds]
<von-strauss>
deb-based distros are easy to learn
HisShadow_ has joined #ruby
<shevy>
nah
niksw has quit [Quit: niksw]
<shevy>
you don't even have a working ruby!
_aeris_ has quit [Ping timeout: 276 seconds]
<Papierkorb>
aaaand completely outdated to the extend of not being usable. von-strauss, use chruby+ruby-install or RVM (though I recommend the former) to get a recent copy of ruby
<HisShadow_>
hello. Can anyone help with active record and sqlite3 adapter? I'm trying to run gem's tests, but active record says that database is read-only, even though I tried changing permissions to max and owner of the database is the same as current user. The gem in question is https://github.com/kensodev/kiqit and here's what I get when running tests https://gist.github.com/DuratarskeyK/79527c169582827689e5830eb
<von-strauss>
oh no. dpkg-dev is not going to be installed.
<norc__>
von-strauss, when people ask you to gist something, they usually mean to use https://gist.github.com
<von-strauss>
Ok
<von-strauss>
thanks
tristanp_ has joined #ruby
_aeris_ has joined #ruby
<shevy>
the evil debian ruby
davedev24 has quit [Ping timeout: 260 seconds]
<Papierkorb>
weird for debian to ship software which has had known security issues for years and which isn't maintained anymore. Oh well.
tristanp has quit [Ping timeout: 260 seconds]
<norc__>
von-strauss, like Papierkorb said. Get chruby/ruby-install - that is the preferred method to install Ruby nowadays.
<jhass>
Papierkorb: last time I checked they applied ~30 patches to openssl, nothing surprises me anymore ;)
<Papierkorb>
jhass: To fix their getpid() "fix"? :D
<jhass>
probably
tristanp has joined #ruby
<shevy>
hmmm
tristanp_ has quit [Ping timeout: 260 seconds]
<von-strauss>
i have broken packages
<von-strauss>
so i need to fix that first
dopamean_ has quit [Ping timeout: 260 seconds]
<xpt>
I <3 their awk package maintarner. The rumour says that package maintarner doesn't like gnu awk dev so debian is stick to ancient mawk version on vanilla instalation.
tristanp_ has joined #ruby
last_staff has joined #ruby
<norc__>
xpt, the habit of sticking to ancient versions of anything has been the debian way since.. ancient times...
northfurr has quit [Quit: northfurr]
karmatr0n has joined #ruby
northfurr has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
jancel has joined #ruby
bkxd has joined #ruby
tristanp_ has quit [Read error: Connection reset by peer]
karmatr0n has quit [Ping timeout: 264 seconds]
jancel has quit [Ping timeout: 246 seconds]
tristanp has joined #ruby
<shevy>
it is an ancient tradition
<shevy>
imagine how cool it would be to "apt-get install ruby-1.0"
bkxd has quit [Ping timeout: 250 seconds]
<HisShadow_>
us humans can't even fathom that
<alfiemax>
shevy, can't you?
<xpt>
shevy: well, why do you want to upgrade to 1.0 ? :)
smathy has joined #ruby
firstdayonthejob has joined #ruby
<shevy>
alfiemax not sure
<shevy>
xpt I never used 1.0 :(
madgen has quit [Ping timeout: 244 seconds]
allos_nerelin has joined #ruby
<shevy>
this old code here is weird
<shevy>
if I understood it correctly... it does something similar to: "abc".each_byte {|char| puts char.chr }
RegulationD has joined #ruby
User458764 has joined #ruby
duckpuppy has joined #ruby
Yzguy has joined #ruby
niksw has joined #ruby
linoge has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
dionysus69 has quit [Ping timeout: 252 seconds]
linoge has quit [Client Quit]
HisShadow_ has left #ruby [#ruby]
<shevy>
does anyone happen to know a good library for hex-to-rgb rgb-to-hex conversions and in general, all sorts of colour-related conversions? hue adjustments etc... idally all in one good project
RegulationD has quit [Ping timeout: 240 seconds]
duckpuppy has quit [Ping timeout: 244 seconds]
mercerist has joined #ruby
tristanp_ has joined #ruby
cedra has joined #ruby
nankyokusei has quit [Remote host closed the connection]
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
niksw has quit [Quit: niksw]
tristanp has quit [Ping timeout: 260 seconds]
niksw has joined #ruby
niksw has quit [Client Quit]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tildes_ has quit [Ping timeout: 260 seconds]
tristanp_ has quit [Ping timeout: 260 seconds]
mercerist has quit [Quit: Computer has gone to sleep.]
juanca_ has joined #ruby
skweek has joined #ruby
<cedra>
hey I couldn't find a beginner channel so I'll just ask here, if the user gives an empty input to something, how would you repeatedly re-ask for input, and also how would an 'empty input' be discovered at all
<cedra>
I was thinking something like; if user_input.include? ""
<cedra>
but that just includes any input
<jhass>
cedra: gets returns "\n" if just enter is pressed and nil if Ctrl+D is pressed
<cedra>
ah
nanoz] has quit [Quit: <3]
tristanp has joined #ruby
lele has quit [Excess Flood]
lele has joined #ruby
<cedra>
Yeah that worked thanks
cedra has left #ruby [#ruby]
codecop has joined #ruby
Devalo has quit [Remote host closed the connection]
<ruby[bot]>
mc_fail: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
Devalo has quit [Remote host closed the connection]
mhib has quit [Remote host closed the connection]
<mc_fail>
should i use IO instead of File ?
codecop has joined #ruby
<von-strauss>
hi
<norc__>
mc_fail, which version of Ruby are you using?
<mc_fail>
1.9.3p551
Snowy has quit [Read error: Connection reset by peer]
jancel has joined #ruby
<norc__>
mc_fail, that might explain why IO#closed? is returning something that from 2.0 onward cannot possibly return nil.
Snowy has joined #ruby
mercerist has joined #ruby
<mc_fail>
hmm, norc__, but will moving to newer verison solve my problem with descriptors?
<norc__>
mc_fail, please note that 1.9.3 is outdated without support anymore.
diegoaguilar has quit [Read error: Connection reset by peer]
mercerist has quit [Remote host closed the connection]
<norc__>
mc_fail, 1.9.3 is outdated and unsupported. Whether your issues to fifos are related I cannot say. By upgrading you do yourself a big favour, and you allow us to assist you.
grill has joined #ruby
maletor2 has joined #ruby
<mc_fail>
ok, i'll try to run it on newer version
pawnbox has quit [Remote host closed the connection]
bruce_lee has quit [Remote host closed the connection]
maletor2 has quit [Ping timeout: 264 seconds]
k3rn31 has joined #ruby
<von-strauss>
almost done w codecademy
<von-strauss>
91%
<von-strauss>
c:
<von-strauss>
anyone heard of the rails for zombies course
mattwashere has quit [Ping timeout: 258 seconds]
<mc_fail>
i have upgraded to ruby 2.3.1p112
<norc__>
Hooray.
<mc_fail>
i see the same thing
<mc_fail>
writer.close=> true
<mc_fail>
but lsof|grep "/tmp/sshfifotest" still shows that file is held by irb process
<mc_fail>
(i run the same code i pasted before)
<mc_fail>
and descriptor is actually being released only if i exit or kill irb process
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arlek has quit [Ping timeout: 260 seconds]
swills has quit [Quit: Leaving]
isxek has quit [Remote host closed the connection]
jancel has quit [Remote host closed the connection]
rbr has quit [Ping timeout: 258 seconds]
nankyokusei has joined #ruby
phredus_ has quit [Remote host closed the connection]
habitullence_ has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
tristanp has joined #ruby
davedev24 has quit [Read error: Connection reset by peer]
davedev2_ has joined #ruby
darkxploit has joined #ruby
habitullence has quit [Ping timeout: 260 seconds]
habitullence_ is now known as habitullence
threh has quit [Ping timeout: 250 seconds]
codecop has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 260 seconds]
rkazak has joined #ruby
trista___ has quit [Ping timeout: 260 seconds]
tristanp_ has joined #ruby
bob434 has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
<norc__>
mc_fail, I cannot reproduce this.
<norc__>
Which operating system are you on?
skade has quit [Quit: Computer has gone to sleep.]
<mc_fail>
norc__ linux
tristanp has quit [Ping timeout: 252 seconds]
trista___ has joined #ruby
<mc_fail>
kernel 3.2.x
<norc__>
mc_fail, can you a bit more specific? Which flavour?
<norc__>
mc_fail, that returns true for OSX and Ubuntu 14.04 on Ruby 2.3.1.
TomyLobo has quit [Ping timeout: 272 seconds]
skade has joined #ruby
roamingdog has quit [Remote host closed the connection]
<norc__>
So no, I have not been able to reproduce this on either system.
domgetter has joined #ruby
jaguarmagenta has quit [Ping timeout: 264 seconds]
<norc__>
mc_fail, un an unrelated note, you might want to swap out irb for pry (you will thank me in the long run)
<norc__>
?pry
<ruby[bot]>
Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
<|meta>
better is subjective, but pry is ok
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
threh has joined #ruby
haylon has joined #ruby
<mc_fail>
hmm, let me try, it seems like i have found an issue there
Es0teric has quit [Quit: Computer has gone to sleep.]
<von-strauss>
Object oriented programming is too much like databases
roamingdog has joined #ruby
Madplatypus has joined #ruby
roamingdog has quit [Remote host closed the connection]
<von-strauss>
creating new instances of a class is just like populating a database!
<von-strauss>
why hasn't anyone made db software that more clearly mimics the syntax of OOP languages, so as to highlight their similarity
<von-strauss>
it definitely is similar, and not taking advantage of these similarities is a mistake.
<von-strauss>
huge mistake
<|meta>
yeah, I'm sure you know best
the_drow has quit [Quit: This computer has gone to sleep]
ur5us has joined #ruby
<|meta>
relation algebra is terrible, you tell 'em
jancel has joined #ruby
haylon has quit [Ping timeout: 272 seconds]
tristanp has joined #ruby
roamingdog has joined #ruby
<von-strauss>
|meta, my confidence is a subterfuge to draw people in to the conversation, to lure them into challenging me so i can learn
<von-strauss>
hopefully i've made it painfully obvious i haven't the faintest idea what i'm talking about
<|meta>
I hope you dont think I'm actually interested in talking to you
trista___ has quit [Ping timeout: 260 seconds]
<von-strauss>
Don't talk to me then
<von-strauss>
I thought Ruby was supposed to be nice
KCmetro has joined #ruby
<thejamespinto>
von-strauss: remember what I told you last night? :/
<von-strauss>
thejamespinto, what?
<thejamespinto>
cess-pit of opinions
<von-strauss>
it's hardly a cesspit.
<von-strauss>
but I take your point.
<|meta>
minaswan is a toxic ideology
<thejamespinto>
von-strauss: I understand the associations you are making in your head
<|meta>
people who are never told how terrible they are only ever get worse
<|meta>
I dont subscribe to that
<thejamespinto>
that is applicable to students inside a classroom, outside the big real world out here
<norc__>
von-strauss, people have. There are object oriented databases around. In general they just aren't useful enough to be well known.
tristanp_ has joined #ruby
<thejamespinto>
von-strauss: you have to understand comparisons and associations made so people can "learn" things are very very very rarely truth
<von-strauss>
ok..
<thejamespinto>
they are only truth within the context that you are learning
<von-strauss>
:L
Devalo has quit [Remote host closed the connection]
<|meta>
this is like two blind people talking about a painting
<thejamespinto>
yes, database columns remind us of attributes of a class;
tristanp has quit [Ping timeout: 260 seconds]
<thejamespinto>
yes, database rows remind us of instances of a class where those columns/attributes are going to hold a value
saneax_AFK is now known as saneax
<thejamespinto>
but if you say that out loud in an environment where people are at different stages of understanding
KCmetro has quit [Ping timeout: 264 seconds]
<thejamespinto>
you're gonna get ridiculed
<thejamespinto>
because here we have to talk about advanced ruby
<norc__>
von-strauss, honestly though. Before you start discussions about your bright database concepts - how about you wrap your head around basic programming first.
<|meta>
no norc__ you mis-understand him, he's obviously a domain expert
<domgetter>
"here we have to talk about advanced ruby" I don't agree. People talk about beginning Ruby concepts here all the time
<|meta>
you also have to KNOW advanced ruby concepts to talk about them, typically
<von-strauss>
i don't claim authorship of these ideas, and i don't even claim they're useful
poguez_ has joined #ruby
<thejamespinto>
it's not that they hate you, they actually love you
tristanp has joined #ruby
<von-strauss>
|meta's attitude is counterproductive. i'm ignoring him
<|meta>
lol
phredus_ has joined #ruby
<|meta>
"I disagree with this person, I think I'll turn my brain off now"
<|meta>
good work
roamingdog has quit [Remote host closed the connection]
<thejamespinto>
but they're gonna make fun of you anyways, just like adults make fun of children who can't walk or who say some word in a funny way
<norc__>
?offtopic
<ruby[bot]>
this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
<von-strauss>
i too like to pick on the vulnerable
* von-strauss
goes back to project euler
tristanp_ has quit [Ping timeout: 260 seconds]
Sammichmaker has quit [Ping timeout: 244 seconds]
<thejamespinto>
von-strauss: that's why you need to get a book, and join a local community of learners
dmr8 has quit [Quit: Leaving]
<von-strauss>
thejamespinto, i'm hesitant to spend money on a book just yet when there's so much free resources
threh has quit [Ping timeout: 272 seconds]
<von-strauss>
i'm almost done with the codecademy ruby course and now i intend to begin the rails zombies
<von-strauss>
i can't attest to their quality, so i will buy a book after
<von-strauss>
i know programming ruby is well thought of
<norc__>
von-strauss, yes. Why spend some dollars or euros on a quality book when you can get half the quality for free.
<von-strauss>
<von-strauss> i can't attest to their quality, so i will buy a book after
<von-strauss>
:)
<von-strauss>
if you offer any suggestions, i am listening
<norc__>
The free sources will not make better at picking ruby books.
<thejamespinto>
von-strauss: you're right, you should get excited first, but look for books soon, you know.....
<von-strauss>
sorry
<norc__>
von-strauss, the staple book recommendation in this channel is Eloquent Ruby
<norc__>
von-strauss, many others are frequently mentioned, but this one is at the top of the list.
<von-strauss>
ok
<von-strauss>
thank you
<von-strauss>
and all i was trying to say was it's probably a good idea to get one's feet wet before spending money on ruby
<von-strauss>
which is what i'm now doing
<von-strauss>
now that's not such an unreasonable claim
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby
<shevy>
problem with books is that you will learn very quickly
<shevy>
then the other books are not as useful to you anymore since you know n% already
<pnbeast>
von-strauss, the pickaxe book is free, IIRC. The web knows better than me, if you search.
<shevy>
I bought the first pickaxe in ... 2004 or so I think. The second one in... 2009, give or take. The second time though, it was not "worth" as much to me since I knew a lot of the content already
<norc__>
And the pickaxe is really grossly outdated without much focus on modern concepts... :o)
northfurr has joined #ruby
Gasher has quit [Quit: Leaving]
roamingdog has quit [Remote host closed the connection]
allos_nerelin has quit [Read error: Connection reset by peer]
saneax is now known as saneax_AFK
jancel has quit [Remote host closed the connection]
SCHAAP137 has quit [Ping timeout: 276 seconds]
dhodgkin has quit [Quit: Leaving]
MrBusiness2 has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
<|meta>
is eloquent ruby better than awgr?
<|meta>
I started out with pickaxe, then awgr, then poodr
maletor2 has joined #ruby
threh has joined #ruby
matp has joined #ruby
<thejamespinto>
I too started with a video series, the one by Lynda, I got excited, then I bought Ruby Programming Language and Head First Ruby On Rails, later I bought AWDWROR
roamingdog has joined #ruby
MrBusiness has quit [Ping timeout: 260 seconds]
bob434 has quit [Quit: This computer has gone to sleep]
<domgetter>
I'm more of a video learner. Lynda.com, conference videos, lectures. But I did go through most of the Pickaxe book. It's pretty comprehensive. It doesn't teach style so much, just what you can do in Ruby. And Metaprogramming Ruby convers the rest
<thejamespinto>
Head First was really nice, but it's long out-dated
<von-strauss>
thejamespinto, shame, you shouldn't get excited by low-quality gratis rubbish
<von-strauss>
how dare you whet your appetite and intellectual curiosity by watching free instructional videos on the internet
<thejamespinto>
von-strauss: there weren't many sources at the time
<thejamespinto>
also, you're tilting on the wrong treadmill, I was the guy who was nice to you, remember?
gilfoyle has joined #ruby
<von-strauss>
i'm not legitimately angry...this is sarcasm
<thejamespinto>
yeah
<von-strauss>
i'm echoing the objection that norc__ had when i said i was using free internet materials
<thejamespinto>
avoid it, please
diegoviola has joined #ruby
xkapastel has joined #ruby
von-strauss has left #ruby ["Leaving"]
<norc__>
von-strauss, I was merely pointing out that there are quality books out there that are not matched by free resources around.
<norc__>
Whether whatever resource you are using works for you is none of my concern.
<domgetter>
There, the config method is defined right before it's used.
GodFather has joined #ruby
der-landgraf has joined #ruby
kareeoleez has quit [Remote host closed the connection]
KCmetro has joined #ruby
charliesome has joined #ruby
charliesome has quit [Client Quit]
<thejamespinto>
Hey guys, I'm finishing a new release of a test gem. Can I get volunteers to give me feedback on the readme on github? https://github.com/thejamespinto/bdd/tree/readme#why please read section #alternatives too
karmatr0n has joined #ruby
roamingdog has joined #ruby
KCmetro has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
KCmetro has joined #ruby
nettoweb has joined #ruby
hutch34 has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
KCmetro has quit [Read error: Connection reset by peer]
karmatr0n has quit [Ping timeout: 260 seconds]
KCmetro has joined #ruby
<norc__>
thethat big wall of "Why" almost provoked a natural "tl;dr" defense mechanism..
bkxd has quit [Ping timeout: 244 seconds]
threh has quit [Ping timeout: 258 seconds]
<norc__>
I meant thejamespinto of course.
hutch34 has quit [Ping timeout: 244 seconds]
<norc__>
thejamespinto, mind my asking - how does this improve on describe/context/it on pure rspec?
SCHAAP137 has quit [Ping timeout: 276 seconds]
grios has joined #ruby
<thejamespinto>
norc__: yeah, that's exactly what I'm trying to solve, where to put a why sector
skade has quit [Quit: Computer has gone to sleep.]
<norc__>
thejamespinto, ah fair enough.
tristanp_ has joined #ruby
<thejamespinto>
norc__: it was based of my love/hate relationship with Cucumber
solars has quit [Ping timeout: 276 seconds]
dh64 has joined #ruby
jaequery has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
RegulationD has joined #ruby
biberu has quit []
jaequery has quit [Client Quit]
charliesome has joined #ruby
charliesome has quit [Client Quit]
<norc__>
thejamespinto, so here is the perspective of someone who hasn't used cucumber before:
threh has joined #ruby
tristanp_ has quit [Ping timeout: 260 seconds]
<norc__>
thejamespinto, is there any real use in pretty printing tests?
edwinvdg_ has quit [Remote host closed the connection]
duckpuppy has joined #ruby
edwinvdgraaf has joined #ruby
hutch34 has joined #ruby
tristanp has joined #ruby
jaguarmagenta has joined #ruby
jancel has joined #ruby
KCmetro has quit [Remote host closed the connection]
<norc__>
Or is the goal about the expressiveness of tests?
KCmetro has joined #ruby
SCHAAP137 has joined #ruby
<art-solopov>
norc__: One of the devs I talked to said that the goal is enabling your QA engineer to write tests in (almost) English.
KCmetro has quit [Client Quit]
duckpuppy has quit [Ping timeout: 272 seconds]
tie has joined #ruby
|ifei5g00d has joined #ruby
gilfoyle has quit [Ping timeout: 276 seconds]
bob434 has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
|ifei5good has quit [Ping timeout: 244 seconds]
symm- has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
bluOxigen has joined #ruby
<tie>
I'm back. And better then ever.
<von-strauss>
im prototyping my first project, an irc client
<von-strauss>
im having trouble mixing the input and output buffer
<von-strauss>
i need to find a way to get input from the user without halting the receive buffer
jaguarmagenta has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
smathy has joined #ruby
<tie>
I havent gotten that far in my learning, but von-strauss, were you the one learning ruby from codecademy?
<von-strauss>
Yeah
<von-strauss>
I just finished an hour ago
<tie>
That was a great suggestion, thank you. I did that for nine hours yesterday and it REALLY helped
<von-strauss>
it's a short course and people here don't like it
<tie>
Are you doing the free version or the payed one?
<von-strauss>
free
<von-strauss>
the ruby course is free
<tie>
Yeah, for a dead to rights beginner i think its pretty good. I learned a lot from it.
GinoManWorks has quit [Read error: Connection reset by peer]
xlegoman_ has quit [Read error: Connection reset by peer]
<tie>
The ruby course has higher level courses if you pay for it.
<von-strauss>
i don't pay for stuff
<von-strauss>
a fool and his money are soon parted
<Papierkorb>
von-strauss: Simple (but "ugly"?) solution: Use threads. Complex solution: Use EventMachine (additional library). I'd go for the threading solution for now in your position to move forward
Snowy has quit [Read error: Connection reset by peer]
karmatr0n has joined #ruby
Snowy has joined #ruby
rvchangue has joined #ruby
edwinvdgraaf has quit [Ping timeout: 260 seconds]
tie has joined #ruby
<tie>
Whats the reasoning for Ruby coding standard to have a 2 space indentation instead of a standard 4 space tab?
gregf has joined #ruby
roamingdog has quit [Remote host closed the connection]
<heftig>
tie: that's not a standard
<Radar>
tie: because it's quicker to type two spaces than it is to type four
PaulCape_ has quit [Quit: .]
<Radar>
tie: It's also so that the code doesn't reach the right margin as quickly. Two space indentation is clear enough that the code is indented. No need to go overboard.
<heftig>
and AFAIR the standard tab width is 8
<tie>
In the three places i've seen they say a two space indentation is a coding standard for Ruby
<Radar>
tie: yes, that is true.
<neha->
ya 2 space good space
<neha->
2 space good 4 space bad
<tie>
Just curious :)
karmatr0n has quit [Ping timeout: 260 seconds]
roamingdog has joined #ruby
PaulCapestany has joined #ruby
dhk has quit [Read error: Connection reset by peer]
dhk has joined #ruby
<pnbeast>
tie, I always use 4.5 spaces. It's very readable and doesn't upset the "4 spaces is bad" crowd, but it's a lot easier to differentiate than 2 spaces.
MrBusiness2 has quit [Ping timeout: 250 seconds]
LoneHermit has joined #ruby
<tie>
Okay, I get it. 4 spaces is bad because it is. Well, I wouldnt want to upset the croud, thanks.
<neha->
whats 4.5 lol
<Radar>
Yes please don't upset the crowd. They get so much caremad.
<Radar>
The froth from their mouths is really hard to get off almost every surface.
<pnbeast>
tie, I was just joking. It's far more important to have a standard and stick to it than pick the "correct" one. None are correct. If you're working with a group, of course, then you might have to adopt their standard.
<neha->
3 spaces
<neha->
i'm going to start using that lol
<tie>
I agree, I was just curious if there was an actual reason in the interpreter for that standard.
<neha->
2 spaces is in the interpreter? :o
<Radar>
tie: It's what the community has agreed upon.
<baweaver>
blue!
<Radar>
RED
<baweaver>
Oh, sorry, I was just trying to contribute to what color we're painting the bike shed today
<Radar>
baweaver: Chatreuse and Rebecca Purple stripes.
<Radar>
Diagonally, of course.
dimasg has quit [Ping timeout: 258 seconds]
tubbo has quit [Ping timeout: 252 seconds]
<baweaver>
but I thought the neighbors agreed on yellow
<Radar>
True. The Council also suggested yellow.
nwhirschfeld has quit [Read error: Connection reset by peer]
<Radar>
But we know better
chip_ has joined #ruby
<Radar>
(It sounds more ominous if you put "of <number> after "The Council", i.e. "The Council of Seven"
<baweaver>
It's _our_ bikeshed after all
<baweaver>
The Gang of Four
<Radar>
The painter's paintbrush is staying firmly in the draw.
<Radar>
drawer*
<Radar>
guess who hasn't woken up yet this morning
nwhirschfeld has joined #ruby
tubbo has joined #ruby
<baweaver>
sevenseacat?
roamingdog has quit [Remote host closed the connection]
<von-strauss>
Tangible things that I need to survive I readily pay for. Information wants to be free on the other hand
chee has quit [Changing host]
chee has joined #ruby
der-landgraf has joined #ruby
<von-strauss>
Radar, I contribute to wikibooks because I care about people learning mathematics
<von-strauss>
I'm sure there are people that do the same for Ruby
kirun has quit [Ping timeout: 260 seconds]
<pnbeast>
von-strauss, information does want to be free, but proper education can be quite, quite valuable, and worth paying for. You need to evaluate what you want to learn and the potential payoff correctly, of course.
matp has quit [Remote host closed the connection]
Parko has joined #ruby
tie has quit [Ping timeout: 250 seconds]
tristanp has joined #ruby
tildes_ has joined #ruby
roamingdog has quit [Remote host closed the connection]
gilfoyle has joined #ruby
tristanp_ has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
tristanp_ has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
SCHAAP137 has quit [Quit: Leaving]
roamingdog has joined #ruby
gilfoyle has quit [Ping timeout: 244 seconds]
Azure has joined #ruby
tristanp has joined #ruby
tristanp_ has quit [Read error: Connection reset by peer]
Nawn has joined #ruby
maletor2 has joined #ruby
d0nn1e has quit [Ping timeout: 272 seconds]
GodFather has quit [Ping timeout: 260 seconds]
threh has quit [Ping timeout: 272 seconds]
kirun has joined #ruby
d0nn1e has joined #ruby
gheegh has joined #ruby
maletor2 has quit [Ping timeout: 244 seconds]
Ropeney has joined #ruby
Ropeney has quit [Client Quit]
Axy has quit [Read error: Connection reset by peer]
tie has joined #ruby
<tie>
Is it standard practice to put the definitions at the beginning of a file or at the end?
<Nawn>
I believe the beginning.
dar123 has joined #ruby
dhk has quit [Read error: Connection reset by peer]
art-solopov has quit [Quit: Konversation terminated!]
<tie>
Thats what I figured. Thanks
dhk has joined #ruby
roamingdog has quit [Remote host closed the connection]
syngularity has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
Snowy has quit [Remote host closed the connection]
haylon has joined #ruby
karmatr0n has joined #ruby
framling has joined #ruby
tildes has quit [Ping timeout: 276 seconds]
yohle has joined #ruby
<jhass>
"the definitions"?
tristanp_ has joined #ruby
<shevy>
all of them!
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karmatr0n has quit [Ping timeout: 240 seconds]
<tie>
def-end
yohle has quit [Client Quit]
trista___ has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
<jhass>
ah well yeah, I tend to put them in front, though I relative quickly go over into a class based approach
matp has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
<Nawn>
yeah, I tend to define all my classes in their own *.rb and then require them within what i'd need. and I typically put all those "require_relative"s at the top of my file