centrx has quit [Quit: All this computer hacking is making me thirsty]
mistym has quit [Remote host closed the connection]
kitak has joined #ruby-lang
khaase has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
sdouglas has quit [Remote host closed the connection]
dc5ala has joined #ruby-lang
alexju has quit [Remote host closed the connection]
khaase has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
sdouglas has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
nertzy has quit [Quit: Leaving]
vlad_starkov has quit [Ping timeout: 240 seconds]
akahn has quit [Quit: Connection closed for inactivity]
nertzy has joined #ruby-lang
mytrile has joined #ruby-lang
Coincidental has joined #ruby-lang
mytrile has quit [Ping timeout: 240 seconds]
nertzy has quit [Quit: Leaving]
nertzy has joined #ruby-lang
keolo has joined #ruby-lang
ssb123 has quit [Ping timeout: 240 seconds]
Muz has quit [Read error: Operation timed out]
Muz has joined #ruby-lang
dkam has joined #ruby-lang
keolo has quit [Quit: keolo]
knu has joined #ruby-lang
nertzy has quit [Quit: This computer has gone to sleep]
MartynKeigher has quit [Quit: Bye for now!]
MartynKeigher has joined #ruby-lang
toretore has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Ping timeout: 264 seconds]
jaimef has quit [Excess Flood]
rahul_j has joined #ruby-lang
kitak has quit [Remote host closed the connection]
yubrew has joined #ruby-lang
marcofernandez has joined #ruby-lang
nisstyre has joined #ruby-lang
mistym has joined #ruby-lang
dkam has quit [Ping timeout: 265 seconds]
jaimef has joined #ruby-lang
xcesariox has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
kitak has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
rahul_j has quit [Quit: rahul_j]
marcofernandez has quit [Ping timeout: 240 seconds]
marcofernandez has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
mykoweb has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
mr-foobar has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
mr-foobar has quit [Ping timeout: 240 seconds]
fuhgeddaboudit has quit [Client Quit]
rihbyne has joined #ruby-lang
MartynKeigher has quit [Max SendQ exceeded]
sdouglas has quit [Remote host closed the connection]
chrisms has joined #ruby-lang
rihbyne has left #ruby-lang ["Konversation terminated!"]
sdouglas has joined #ruby-lang
chrisms has left #ruby-lang [#ruby-lang]
MartynKeigher has joined #ruby-lang
marcofernandez has quit [Ping timeout: 244 seconds]
rahul_j has joined #ruby-lang
sdouglas has quit [Ping timeout: 265 seconds]
sdouglas has joined #ruby-lang
keolo has joined #ruby-lang
arooni-mobile has joined #ruby-lang
keolo has quit [Client Quit]
woollyams has joined #ruby-lang
alexju has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
vivekrai has joined #ruby-lang
seanlinsley has quit [Quit: seanlinsley]
Coincide_ has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
kitak has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
yubrew has joined #ruby-lang
yfeldblum has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
yubrew has quit [Read error: Operation timed out]
knu has joined #ruby-lang
skade has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
Coincide_ has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
arooni-mobile has quit [Ping timeout: 244 seconds]
jsullivandigs has quit [Ping timeout: 240 seconds]
sdouglas has quit [Ping timeout: 264 seconds]
woollyams has quit [Ping timeout: 252 seconds]
apeiros has quit [Read error: Connection reset by peer]
toastynerd has joined #ruby-lang
apeiros has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
toastynerd has quit [Ping timeout: 264 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
drx_ has quit []
toastynerd has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
diegoviola has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
nisstyre has quit [Ping timeout: 244 seconds]
phansch has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
_ht has joined #ruby-lang
tonni has quit [Remote host closed the connection]
ssb123 has quit [Ping timeout: 240 seconds]
x0f has quit [Read error: Operation timed out]
heftig has quit [Quit: Quitting]
skade has quit [Quit: Computer has gone to sleep.]
x0f has joined #ruby-lang
mechan1c_ is now known as mechan1c
yubrew has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
kitak has joined #ruby-lang
yubrew has quit [Ping timeout: 244 seconds]
vlad_starkov has joined #ruby-lang
[spoiler] has joined #ruby-lang
ruby-lang519 has joined #ruby-lang
<ruby-lang519>
can anyone tell me why this code doesnt work
<ruby-lang519>
print "what?" user_input= gets.chomp user_input = user_input.downcase! if user_input.include? "s" print "contains an s" else print "no s found" end
<ruby-lang519>
im trying to do code academy but it states that i have an error with my .include! method
relix has joined #ruby-lang
<ruby-lang519>
name jarg
<ruby-lang519>
damn forgot how to change name lo
<ruby-lang519>
anyone here?
ruby-lang519 is now known as jarg
<jarg>
there we go
jarg is now known as jarg7
apeiros has quit [Ping timeout: 240 seconds]
tonni has joined #ruby-lang
<jarg7>
anyone here that can help me with a simple line of code
<jarg7>
trying to figure out why my little codes nont working
<jarg7>
print "what?" user_input= gets.chomp user_input = user_input.downcase! if user_input.include? "s" print "contains an s" else print "no s found" end
arBmind has joined #ruby-lang
mr-foobar has joined #ruby-lang
xsdg has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mr-foobar has quit [Ping timeout: 265 seconds]
Cakey has joined #ruby-lang
tylersmi_ has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mon_Ouie has quit [Ping timeout: 264 seconds]
mytrile has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
mr-foobar has joined #ruby-lang
dynamism has quit [Quit: dynamism]
|jemc| has quit [Quit: WeeChat 0.4.3]
mistym has quit [Remote host closed the connection]
jarg7 has quit [Quit: Page closed]
|jemc| has joined #ruby-lang
tonni has joined #ruby-lang
khaase has joined #ruby-lang
khaase has quit [Changing host]
khaase has joined #ruby-lang
marcofernandez has joined #ruby-lang
mytrile has quit []
ssb123 has joined #ruby-lang
mytrile has joined #ruby-lang
toastynerd has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
ssb123 has quit [Ping timeout: 240 seconds]
tonni has quit [Ping timeout: 265 seconds]
yubrew has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
michd is now known as MichD
tonni has joined #ruby-lang
|jemc| has quit [Ping timeout: 264 seconds]
skade has joined #ruby-lang
futilegames has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
yfeldblu_ has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
solars has joined #ruby-lang
apeiros has joined #ruby-lang
yfeldblum has quit [Ping timeout: 244 seconds]
tonni has joined #ruby-lang
mikecmpbll has joined #ruby-lang
jstemmer has joined #ruby-lang
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amclain has quit [Quit: Leaving]
<maloik>
gist that please jarib
<maloik>
oops sorry
<maloik>
wrong person
<maloik>
other one has left :(
carraroj has joined #ruby-lang
charliesome has joined #ruby-lang
marcofernandez has quit [Ping timeout: 252 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
francisfish has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
JohnBat26 has joined #ruby-lang
marcofernandez has joined #ruby-lang
knu has joined #ruby-lang
yfeldblum has joined #ruby-lang
<ljarvis>
moin
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
rahul_j has quit [Quit: rahul_j]
heftig has joined #ruby-lang
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
yubrew has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
mikecmpbll has joined #ruby-lang
sdouglas has joined #ruby-lang
marcofernandez has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
marcofernandez has joined #ruby-lang
mr-foobar has quit [Ping timeout: 264 seconds]
yubrew has quit [Ping timeout: 240 seconds]
sdouglas has quit [Ping timeout: 240 seconds]
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
Thanatermesis has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
rahul_j has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
<maloik>
o/
tonni has joined #ruby-lang
mr-foobar has joined #ruby-lang
workmad3 has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
benlovell has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
arBmind has joined #ruby-lang
knu has joined #ruby-lang
mikecmpbll has joined #ruby-lang
matp has quit [Quit: ZZZzzz…]
francisfish has quit [Ping timeout: 240 seconds]
jsrn has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
miqui has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ssb123 has joined #ruby-lang
yfeldblum has joined #ruby-lang
sdouglas has joined #ruby-lang
HiroshiWatanabe has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
jgpawletko has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
ssb123 has quit [Remote host closed the connection]
sdouglas has quit [Ping timeout: 265 seconds]
eugmill has joined #ruby-lang
skade has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
abstr4ct has joined #ruby-lang
<abstr4ct>
using ruby 1.9.3 im using Time.now.strftime("%A") to calulate today in the format i need, i want to calculate tomorrow in same format but all examples use the "tomorrow" method which it says isnt valid when i try it. any ideas?
sdouglas has joined #ruby-lang
Cakey has quit [Ping timeout: 264 seconds]
yubrew has joined #ruby-lang
ssb123 has joined #ruby-lang
mytrile has joined #ruby-lang
<maloik>
rails has a tomorrow helper method, perhaps you're confusing it with that
elia has joined #ruby-lang
<abstr4ct>
yes, much of my search brings up rails...
<robmiller>
Date has the shovel operator for "+n months" (since + is for adding days). I wish Time had the same for days, since + is for seconds
<robmiller>
i guess it would be hours anyway
AncientAmateur has joined #ruby-lang
vpretzel has joined #ruby-lang
eugmill has quit [Remote host closed the connection]
imajes has quit [Ping timeout: 244 seconds]
imajes has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
AncientAmateur has quit [Remote host closed the connection]
Tn6o has joined #ruby-lang
<abstr4ct>
robmiller, i thought about that, but wont that be inconstitant with actual time/dates part way through the day?
eugmill has joined #ruby-lang
tonni has quit [Remote host closed the connection]
<abstr4ct>
err, no i thinkk that will work..
<robmiller>
so long as you only care about accuracy to the day level it will work
<robmiller>
i.e. it will always return "tomorrow", but will return different times through tomorrow
<abstr4ct>
yes, i see that now.. sorry im slow pre coffee
<robmiller>
if you want to factor time in as well, that's usually the point that i give up and reach for chronic: https://github.com/mojombo/chronic
<robmiller>
Chronic.parse("tomorrow 2pm")
<robmiller>
etc.
AncientAmateur has joined #ruby-lang
Tn6o has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ikrima has quit [Ping timeout: 240 seconds]
<robmiller>
i find chronic is typically much better at revealing intentions than a load of hardcoded 3600s and 86400s and 604800s and stuff
dik_dak has joined #ruby-lang
jlpeters_ is now known as jlpeters
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
<apeiros>
yorickpeterse: thanks
jtw has joined #ruby-lang
sferik has joined #ruby-lang
relix has joined #ruby-lang
<yorickpeterse>
helped co-worker with code stuff, took 90 minutes
<yorickpeterse>
spent 60 minutes talking about non code stuff
<yorickpeterse>
I talk too much :<
ecnalyr has joined #ruby-lang
<apeiros>
:)
<yorickpeterse>
Good thing I put that in my RubyC bio
<yorickpeterse>
"[...] Some say I talk too much, this is not entirely untrue"
<apeiros>
it is partially untrue?
<yorickpeterse>
well "much" is relative to what one is used to
<yorickpeterse>
also lol Emails borken because of a stupid UTF8 emoji in it
retro|cz has joined #ruby-lang
mytrile has joined #ruby-lang
alexju has joined #ruby-lang
tonni has joined #ruby-lang
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sferik has joined #ruby-lang
sferik has quit [Client Quit]
Cakey has joined #ruby-lang
tonni has quit [Client Quit]
mikecmpbll has quit [Quit: i've nodded off.]
benlovell has quit [Ping timeout: 244 seconds]
benlovell has joined #ruby-lang
wm3|lunch is now known as workmad3
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
nathanstitt has joined #ruby-lang
mr-foobar has quit [Ping timeout: 242 seconds]
eugmill has quit [Remote host closed the connection]
mikecmpbll has joined #ruby-lang
skade has joined #ruby-lang
eugmill has joined #ruby-lang
<maloik>
who says that you talk a lot? fellow dutchies ?
<surrounder>
yay dutchies
<yorickpeterse>
maloik: this channel for one :P
<maloik>
well that's different, I just thought you had nothing better to do
<maloik>
:P
<maloik>
but if they say you talk a lot IRL too... and the people saying so are dutch themselves... then yea you must talk a LOT :D
<maloik>
seeing as dutch people tend to talk a lot as it is
mr-foobar has joined #ruby-lang
<surrounder>
not really ;)
brettweavnet has joined #ruby-lang
robmiller1 has joined #ruby-lang
<maloik>
compared to belgians? I'd say so..
robmiller has quit [Ping timeout: 264 seconds]
ItSANgo_ has quit [Quit: Leaving...]
MichD is now known as michd
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
sdouglas_ has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
robmiller1 is now known as robmiller
ItSANgo has joined #ruby-lang
michd is now known as MichD
tobiasvl has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: i've nodded off.]
mikecmpbll has joined #ruby-lang
akahn has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.2]
devgiant_ has joined #ruby-lang
devgiant__ has joined #ruby-lang
<maloik>
you know what sucks about developing an app you don't really use yourself? having to tell your colleagues (who do) you have no idea if something is possible or how something is done
<maloik>
esp considering we've spent the last 2 months on implementing a redesign
devgiant has quit [Ping timeout: 240 seconds]
mytrile has quit [Remote host closed the connection]
devgiant_ has quit [Ping timeout: 241 seconds]
<yorickpeterse>
eat your own dog food
devgiant__ has quit [Ping timeout: 240 seconds]
momomomomo has joined #ruby-lang
yfeldblum has joined #ruby-lang
enebo has joined #ruby-lang
mytrile has joined #ruby-lang
toretore has joined #ruby-lang
brettweavnet has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 240 seconds]
<maloik>
kind of hard to keep track of everything considering what we can do with this thing
<maloik>
not to mention everything is all over the place (which caused us to get it redesigned in the first place)
skade has quit [Quit: Computer has gone to sleep.]
sdouglas_ has quit [Remote host closed the connection]
mykoweb has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
<cored>
I'm having a class loading issue; a weird one. I have a new module which happens to have another module inside in lib for a Rails app; something like this Social::Twitter:: and in a controller it gets loads ok the classes inside those modules but in another controller with something like Social::LinkedIn:: I get an unitialized constant error
<cored>
which is weird; btw I have the lib directory in the autoload_paths
dwknoxy has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
<momomomomo>
cored: where is your code
skade has joined #ruby-lang
<cored>
momomomomo: you mean you want to see the actual code or where is it in the direectory structure?
<momomomomo>
cooooode
sdouglas has quit [Ping timeout: 240 seconds]
<cored>
momomomomo: wait
<momomomomo>
where you're requiring the social module
arooni-mobile has quit [Ping timeout: 244 seconds]
rahul_j has quit [Quit: rahul_j]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Remote host closed the connection]
jaimef has quit [Excess Flood]
devgiant has joined #ruby-lang
jaimef has joined #ruby-lang
ssb123 has quit []
devgiant_ has joined #ruby-lang
devgiant__ has joined #ruby-lang
johnny_rugger has joined #ruby-lang
heftig has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mehlah has quit [Quit: Leaving...]
robmiller has quit [Quit: Leaving.]
saarinen has joined #ruby-lang
CaptainJet has joined #ruby-lang
devgiant has quit [Ping timeout: 265 seconds]
devgiant_ has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
toastynerd has joined #ruby-lang
tonni_ has joined #ruby-lang
eugmill has quit [Remote host closed the connection]
<fraterlaetus>
ahh
tonni has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
skade has quit [Quit: Computer has gone to sleep.]
ecnalyr has joined #ruby-lang
eugmill has joined #ruby-lang
sdouglas has joined #ruby-lang
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
ecnalyr has quit [Ping timeout: 240 seconds]
sdouglas has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby-lang
bantic has joined #ruby-lang
<cored>
darix: sorry wasn't here
<cored>
darix: I have an approbal seeker clinic problem; and I want to yorickpeterse to love me; that's why I want to switch to weechat
<cored>
not that I'm missing anything from irssi
<yorickpeterse>
a what?
<cored>
yorickpeterse: is not sexual related; don't worry
<darix>
cored: he is wrong often enough. :p dont follow him on the wrong path
<yorickpeterse>
darix: I am always correct
<yorickpeterse>
I never make mistakes
<cored>
darix: I think he is always correct and that he never make mistakes
<yorickpeterse>
also trying to seek my approval is pretty fucking creepy
saarinen_ has joined #ruby-lang
<cored>
I spend most nights just reading on what he says in here throught the channel bot log
symm- has joined #ruby-lang
<yorickpeterse>
must be a lot
<cored>
yorickpeterse: yes, like till 3:00 AM in the morning
<cored>
is there a way for doing smoething like rspec's .should_receive but with minitest
<cored>
?
<cored>
but to an actual defined object by me; it's seems I can set expectations but with minitest own mock objects
retro|cz has quit [Ping timeout: 240 seconds]
<yorickpeterse>
I would seriously recommend not reading my ramblings as if it were a good book
<yorickpeterse>
that stuff is toxic yo
saarinen has quit [Read error: Connection reset by peer]
saarinen_ is now known as saarinen
toastynerd has quit [Remote host closed the connection]
<cored>
yorickpeterse: well, there is a lot of knowledge in there
<darix>
so you pollute the environment with toxic stuff?:p
<cored>
Encoding hate
toastynerd has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
dwknoxy is now known as dknox
<yorickpeterse>
darix: yes but I also clean up after myself
dknox is now known as dknox-lunch
francisfish has joined #ruby-lang
solars has quit [Ping timeout: 240 seconds]
<yorickpeterse>
But ugh, I really for one should write proper article^H^H^H^Hessays because I do have some topics that I think are genuinely interesting
bradland has joined #ruby-lang
<cored>
yorickpeterse: like what?
<yorickpeterse>
Well, both are pretty much super abstract ideas at this point but one would be about testing the right-but-not-matra-way, the other one would be an article on teaching programming the non dumb way
<yorickpeterse>
But in both cases I'll need to do some serious research/thinking first before I even think about publishing it
francisfish has quit [Remote host closed the connection]
<yorickpeterse>
No, sec
<yorickpeterse>
One case is mocking in rspec (or any other testing framework for that matter). The problem with this is that to do it effectively you have to basically shove your foot down the butt of your codebase, mess with its internals, and then test that [...]
leandrosnunes has joined #ruby-lang
leandrosnunes has quit [Read error: Connection reset by peer]
<yorickpeterse>
^ that statement is pure bullshit in its best form
<yorickpeterse>
"FIXTURES ARE BAD USE FACTORIES. PERIOD"
<yorickpeterse>
Factories have their uses, but fixtures are genuinely better in certain cases
<yorickpeterse>
Yet there's this fad/trend/whatever you'd call it that's all about black and white. That is, either you use factories or you're dumb
<yorickpeterse>
there's no "Oh hm perhaps it makes sense here to do it differently"
<yorickpeterse>
An example, for our scrapers I'm finally making progress on testing the god damn things (after 3 years, currently at ~30% actual code coverage). I'm setting up a fixture based system because factories/mocks would complicate things by a factor 100
lybanja has joined #ruby-lang
<yorickpeterse>
More importantly, we're *actually* testing HTML scraping so fixtures are useful there. For example, if we want to test a new layout we just re-generate the fixture (single command), run tests, done
<yorickpeterse>
With factories/mocks you'll have a field day updating those bastards
<yorickpeterse>
so tl;dr as usual the answer is "it depends"
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eugmill has quit [Remote host closed the connection]
<yorickpeterse>
A perfectly fine way is replaced by something that requires more typing and literally gains you absolutely nothing
<centrx>
Use MiniTest!
<yorickpeterse>
Actually I still need to look into it
<yorickpeterse>
but I'm not really sure what it would gain me
<yorickpeterse>
or the 50 or so projects I deal with running on rspec
<cored>
well normally I use rspec and I follow the one assertion per should statement
michaeldeol has joined #ruby-lang
bahar has quit [Ping timeout: 245 seconds]
<cored>
but at my current job they were using test/unit even when we are using Ruby 2.0 so I just started using minitest
<cored>
it doesn't feel weird at all it's reminds me my days of using jUnit but without all the code
eugmill has joined #ruby-lang
nanno_ has quit [Ping timeout: 252 seconds]
amsi has quit [Ping timeout: 244 seconds]
<yorickpeterse>
meh, I don't care too much about TDD vs BDD and the underlying tools
<yorickpeterse>
the end goal is still the same
<yorickpeterse>
either way, it's more the mindset of some that bothers me about this
<centrx>
Minitest is more concise and straightforward without a whole separate DSL
<centrx>
Rspec has features are never used by 95%
<cored>
I would love some colors with minitest
<cored>
:-)
<yorickpeterse>
cored: minitest/pride
brettweavnet has joined #ruby-lang
<yorickpeterse>
Regarding the teaching, that's a much longer topic
<yorickpeterse>
but tl;dr although I have no facts to back things up (yet) I believe that the traditional ways of teaching programming are super broken. I also think services like CodeAcademy and w/e that start with mathematics are beyond dumb.
<yorickpeterse>
"HEY YOU WANTED TO LEARN CODING? WELL ENJOY USING JAVASCRIPT TO CALCULATE PI IN 15 DECIMALS USING A COSINUS"
<yorickpeterse>
One idea I have is to instead teach pattern recognition and other basic concepts used in programming, e.g. using art
<yorickpeterse>
but this is the part where I need to first see if that would actually help at all
<yorickpeterse>
Actually Zed Shaw's work in this area is quite interesting
<Nilium>
I say give everyone Visual Basic and see if that filters the runts out of the litter
lybanja has quit [Remote host closed the connection]
<centrx>
Zed Shaw is a ghetto.
<yorickpeterse>
Part because of his character, but also because there's quite a bit of truth in his ways
<yorickpeterse>
heh, having met him he's an amazing dude
<yorickpeterse>
e.g. his learn code the hard way books are a step in the right direction
<yorickpeterse>
But yeah, I need to theorize about this more soon, once I actually have the time for it
<cored>
yorickpeterse: agree with you on Zed's way
<yorickpeterse>
I think the fundamental problem is two-fold at the moment: 1) out of date material in high schools and such 2) teachers who think their students are at the teacher's level
<yorickpeterse>
it's also in the little details
<yorickpeterse>
e.g. "Oooh you can just do that by running X, Y, Z. It's super easy" <- best way to demotivate a student
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
amsi has joined #ruby-lang
seanlinsley_ has joined #ruby-lang
<cored>
yorickpeterse: I sense some pain from your words
seanlinsley has quit [Read error: Connection reset by peer]
seanlinsley_ is now known as seanlinsley
<yorickpeterse>
I don't like the arrogance some developers have in this area, though in a lot of cases it's also because a dev can no longer remember their own struggles
<yorickpeterse>
e.g. I can't really remember how I first started 10 or so years ago
<yorickpeterse>
So it's hard to tell others what I did to overcome early challenges
<yorickpeterse>
But at least I try not to dismiss students/newbies as "lol dumbass"
brettweavnet has quit [Ping timeout: 265 seconds]
<cored>
wow
<cored>
I don't think that's related to developers in particular but insecurities in human beens in general
<yorickpeterse>
True, it's not unique to programming
<cored>
which reminds I have to finish my talk regarding vim for the Ruby user group ;-)
<yorickpeterse>
However, IT in general is an industry in which people help each other
johnny_rugger has joined #ruby-lang
<cored>
it should help each other you mean
<cored>
because normally what they do is stab each other
<yorickpeterse>
well they do both really
<cored>
at least down here where I live
<yorickpeterse>
Plus of course there are also the self proclaimed rockstar douchebags and what not
<cored>
it's seems that there are a lot of people just trying to fuck others up and there's the elite squad which thinks they knows it all; and normally they don't know even the easiest things
<cored>
which is actually sad
devgiant__ has quit [Ping timeout: 265 seconds]
sepp2k has joined #ruby-lang
toastynerd has joined #ruby-lang
gix- has quit [Read error: Connection reset by peer]
<toretore>
usually, those who know the most are the ones who say the least, and vice versa
gix has joined #ruby-lang
Fushi has quit [Quit: Connection closed for inactivity]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastyne_ has joined #ruby-lang
michaeldeol has joined #ruby-lang
toastynerd has quit [Ping timeout: 265 seconds]
thmzlt has quit []
iliketurtles has quit [Quit: zzzzz…..]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
dragonkh has joined #ruby-lang
michaeldeol has joined #ruby-lang
mytrile has joined #ruby-lang
bahar has joined #ruby-lang
solars has joined #ruby-lang
colstrom has joined #ruby-lang
kyb3r has joined #ruby-lang
retro|cz has joined #ruby-lang
mytrile has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
kyb3r is now known as kyb3r_
devgiant has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
VTLob has quit [Quit: VTLob]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdouglas has quit [Remote host closed the connection]
devgiant_ has joined #ruby-lang
podriver has joined #ruby-lang
sdouglas has joined #ruby-lang
smashwilson has quit [Quit: Leaving]
devgiant has quit [Ping timeout: 265 seconds]
devgiant__ has joined #ruby-lang
devgiant has joined #ruby-lang
mykoweb has joined #ruby-lang
sdouglas has quit [Ping timeout: 265 seconds]
devgiant_ has quit [Ping timeout: 265 seconds]
devgiant_ has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.2]
mistym has quit [Remote host closed the connection]
devgiant__ has quit [Ping timeout: 240 seconds]
devgiant__ has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
devgiant has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
Bbvoncrumb has joined #ruby-lang
MichD is now known as michd
devgiant has joined #ruby-lang
nanno has joined #ruby-lang
devgiant_ has quit [Ping timeout: 244 seconds]
Coincidental has joined #ruby-lang
devgiant_ has joined #ruby-lang
benanne has joined #ruby-lang
podriver has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 240 seconds]
momomomomo has quit [Quit: momomomomo]
devgiant__ has quit [Ping timeout: 269 seconds]
elia has joined #ruby-lang
devgiant__ has joined #ruby-lang
igortt has joined #ruby-lang
johnny_rugger has joined #ruby-lang
gix has quit [Ping timeout: 244 seconds]
devgiant has quit [Ping timeout: 240 seconds]
momomomomo has joined #ruby-lang
devgiant has joined #ruby-lang
skade has joined #ruby-lang
kyb3r_ has quit [Quit: Leaving]
kyb3r has joined #ruby-lang
kyb3r has quit [Client Quit]
devgiant_ has quit [Ping timeout: 240 seconds]
kyb3r_ has joined #ruby-lang
postmodern has joined #ruby-lang
devgiant_ has joined #ruby-lang
bantic has quit [Quit: bantic]
igortt has quit [Remote host closed the connection]
anannie has joined #ruby-lang
gix has joined #ruby-lang
devgiant__ has quit [Ping timeout: 244 seconds]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
devgiant__ has joined #ruby-lang
solars has quit [Ping timeout: 252 seconds]
badeball has quit [Remote host closed the connection]
devgiant has quit [Ping timeout: 265 seconds]
badeball has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
agarie_ has joined #ruby-lang
devgiant_ has quit [Ping timeout: 265 seconds]
DEac-_ has joined #ruby-lang
DEac- has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
sdouglas has quit [Ping timeout: 264 seconds]
agarie has quit [Ping timeout: 240 seconds]
__butch__ has quit [Quit: Leaving.]
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
robmiller has joined #ruby-lang
devgiant has joined #ruby-lang
devgiant_ has joined #ruby-lang
agarie_ is now known as agarie
toastyne_ has quit [Remote host closed the connection]
diegoviola has joined #ruby-lang
sdouglas has joined #ruby-lang
charliesome has joined #ruby-lang
VTLob has joined #ruby-lang
magladroth has left #ruby-lang [#ruby-lang]
devgiant__ has quit [Ping timeout: 240 seconds]
mistym has joined #ruby-lang
devgiant__ has joined #ruby-lang
mistym_ has joined #ruby-lang
devgiant has quit [Ping timeout: 240 seconds]
ratmav has joined #ruby-lang
toastynerd has joined #ruby-lang
devgiant_ has quit [Ping timeout: 240 seconds]
sdouglas has quit [Remote host closed the connection]
bradland has quit [Quit: bradland]
francisfish has joined #ruby-lang
ratmav has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
_ht has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
xsdg_ has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]