« first day (447 days earlier)      last day (2808 days later) » 

6:32 AM
Hi @wayne and all
What is rakefile? I tried google but dunno the exact concept; how it helps in building a proejct?
 
 
6 hours later…
12:27 PM
Thank you! I got it :)
 
I'm glad you found an answer.
 
me 2
 
1:02 PM
good morning, Perl descendants :p
 
morning
 
how's the room treating you today?
 
hi all
 
@Nima hi
 
Good morning. Just fine so far. Lots of code to refactor today.
 
 
3 hours later…
3:48 PM
anyone home?
 
yea
sup kneel
 
just driving by :)
 
+)
 
I'm pretty sure I've been doing it wrong. But most of what I've done can be morphed into the right way without too much trouble.
And I've gotten a lot of logic out of the controllers. Yay for logicless controllers!
 
3:54 PM
I try to do logicless controllers, but I'm weak
so, I usually distribute the load between controller and model
 
I try not to put business logic in the model, either. I've been experimenting with DCI on this project... it's interesting.
I'm pretty sure that fat models are not the correct answer to "how to fix fat controllers."
 
4:12 PM
thanks Sam
 
Sam
No problem.
This user posted that in multiple rooms, we're just cleaning it up now...
 
we need more Sams :)
 
Sam
:)
 
@Sam I work with a Sam, and I agree. Sams are great people to have around.
 
inb4 new meme
btw y'all should fix your tag wiki
 
Sam
4:19 PM
@WayneConrad Thanks.
 
@Unihedro I didn't know we had a tag wiki. I showed up in this room, and the room owner threw the keys at me and moved to Germany. There wasn't really any training.
 
@WayneConrad Oh boy.
 
It also appears that there's no paycheck, and I'm pretty sure OSHA never visits because I keep bumping my head on the low ceiling.
 
It's your community now, the chat room with users you can guide through your journey.
Being a room owner is a gift.
 
Yay we have a non-elected leader! All hail King Wayne!
 
4:24 PM
(bows)
 
I should have moved to Canada and dodged the draft.
 
Sam
@WayneConrad And, of course. You can always ask fellow ROs from other rooms for advise if needs be.
 
You see, I also own a few rooms around here. Some are really quiet. You should be glad you still get visitors in here. :p
in Tag Burnination, 30 secs ago, by Unihedro
wind blows
 
Will do, and thanks.
@Unihedro What is the new meme?
 
about sams
 
4:26 PM
they should start a club
 
Oh, yeah! They're scary smart. The Sam I work with is so smart that his words jam together in his head and he can barely talk sometimes.
 
I've never been good at the Ruby technology. To begin with, what's a use case for developing a Ruby Gem over other technologies?
TBH, I really only use Ruby for how shiny it is.
 
Sam
I should probably make a few Sam bots in that case...
 
I only started using Ruby because it wasn't Python. I started using Python because it wasn't Java. I started using Java because it wasn't C++.
 
Interesting. Given your technical background, did you enjoy Ruby over Python, Java and C++?
 
4:29 PM
Ruby's niche is for when a slow language that is optimized for programmer performance over machine performance is "fast enough."
 
I enjoy ruby because it takes out most of the non-fun programming aspects. Databases, server setup, etc.
Rails+ruby == magic. Which has pros and cons :P
 
I'm in the "not so much magic, please" camp.
 
@WayneConrad Spectacular.
 
@Unihedro Ruby makes me happier than most other languages, most of the time. It's hard to know why. It's just comfortable in so many ways.
 
Being one who is in favor of re-inventing the wheels just to get down and dirty with how everything works behind the scenes, I guess Ruby isn't my tool then. :p
 
4:32 PM
:D
 
Yea, when the magic breaks it gets hard to figure out all of that stuff
 
Rails will have competition soon, but in the mean time, Javascript is kicking everyone's butt... so it may not matter.
 
Ruby + Rails is like the happy version of Java + spring, if you shall.
 
Sorta, but java + spring wasn't server/client, was it?
 
Nope. Ruby comes with everything on the run rails, so it's great I guess.
 
4:36 PM
spring-boot is probably more analogous, but yea
 
Much of the Ruby code I write is not for Rails. Most people think of them as the same thing, but they're not.
 
Oh, hmm.
 
True, although finding ruby without rails these days is pretty rare
 
My previous project had somewhere between 10K and 100K lines of non-Rails Ruby.
@Jared You're right about that.
Oh, I was wrong about the line count. It was 700K. But that includes tests, of which there are many. It's probably considerably less than that in reality.
And a great deal of that is code in our internal DSL. If you exclude that code, it's much much less.
 
:S
 
4:43 PM
@Unihedro So are you here because you code in Ruby, or might, or because you think we might have free cookies? Here, have a cookie.
 
@WayneConrad There were a spammer who was serial spamming across rooms.
in The SO Tavern (Free Snacks), 29 mins ago, by Unihedro
It's the second time I've seen this particular user spamming. Previously I've also caught five users serial spamming in chat rooms.
 
I was off coding and didn't notice it. So thanks to you and @Sam for cleaning up the mess.
 
I've been meant to get into more Ruby (I only know the basics), so while I was here I decided to ask about things. :p
 
Sam
How dare you summon A Sam.
 
@Sam
 
4:45 PM
i wonder what a Sam class would look like..
 
Sam
@WayneConrad Np. We clean that sort of stuff up on a regular basis.
 
@Sam sheepish "it won't happen again" grin?
 
@WayneConrad sup
 
@WayneConrad YW
 
Sam
@WayneConrad lol xD
 
4:46 PM
@Chris Hi Chris, it's been a while. Good to see you.
 
There are more happening in the background than you notice, that's why the main site and the chat regions are clean :p
@Chris Hello.
 
yeah man, there's quite a bit of people in here today :)
anyone gearing up for railsconf?
 
What's that?
 
Not me. It'd be nice, though.
It's the premier Rails conference.
 
Ohhhh
 
4:49 PM
^ yeah what he said
 
just got my travel booked today :P
 
w00t
i got to listen in on a presentation the other day
was pretty good
 
Man, getting spam in the room really gets it rocking. Not that I think that's a good way to get the room moving, but it sure had that effect.
 
@WayneConrad hunh?
 
@WayneConrad You know, sometimes I stare at my quiet rooms with many lurkers and quietly wished if someone could spam something to kick start the conversastions.
3
... I'm a coward though. I never did it.
 
4:52 PM
@Chris The room is usually much quieter. Just before you came in, there was a spammer. These paladins rode in to clean up the mess, and the conversation's been great ever since.
 
lol love the wayne describes it
 
cool
 
ima get the popcorn
 
maybe we should hire a spammer to come in once a day to keep us on our toes
 
Sam
lol
 
4:53 PM
that would seriously spice up my day at work
lol
 
@Jared That'd be cruel, but I understand where you're coming from. :p
 
anyone here ever write a test to test a configuration file? the reason i ask is because I am trying to load some middleware that I don't think is loading properly :l
 
There's a special category of test... a throwaway test, not one you intend to keep. Might this be a good case for a throwaway test?
 
Sam
@Jared I'd love to see what would happen if that were to be employed in the MSE Tavern. xD
 
not sure :/ i just started reading about tests, i was thinking maybe a truthiness test :l
 
4:56 PM
What is it that you want the test to show?
 
i want to test whether this service is linking the datamodel or not, gist.github.com/ipatch/…
 
@Unihedro @Sam We just have to make sure we hire a polite spammer. Quickly spams a room with "You are all amazing!" "keep up the good work!", etc hehe
 
Sam
:D
 
:p
 
@Nima does that to me all the time. Nima, are you a polite spammer?
 
4:59 PM
yea
lol
 
One day, if I remember, I'll write a chat bot that does that.
 
@Nima Quick run! You've been uncovered! :P
 
There's your suspect, gentlemen. Book 'im.
 
:s
 
Hmm. I can leave out that part of the magic and the tests all pass. I wonder what will happen in production.
@Chris If the error caused or is likely to cause a problem that will cause someone to get you out of bed to fix it, and the test is easy to write, then write the test.
That's known as the "Trying not to get woken up rule of when to write a test".
 
5:08 PM
hehe :) its for a personal app
no one is gonna get woken up other than me
 
So.... will you? Wake yourself up, that is?
 
hehe, well i gotta get the app setup first, so theres no reason to panic ...just yet
@WayneConrad you use RSpec to write your tests?
 
Yes.
 
yeah kindof seems to be the defacto standard
 
yea rspec is awesome. I use either capybara or cucumber for front end though
 
5:17 PM
I use cucumber for integration tests, but raw rspec for unit tests.
Cucumber tests are pretty heavy-weight. I spend a lot of time going through the step definitions to understand what the test is actually doing.
 
hmmm, yeah i am just getting started with this whole testing thing, takes a minute to wrap your head around
 
Eh, wrong room. Sorry :p
 
@Unihedro For your penance, write "hello world" in FORTRAN IV.
 
Oh god it's ages since I've done anything with fortran
program hi
     print *, "hello world"
end hi
 
Nicely done!
 
5:25 PM
no wait
 
I don't remember if FORTRAN IV had the splat unit designator, but since the judge doesn't know, it gets a pass.
 
end program hi
@WayneConrad lol :D
 
Anyhow, you are absolved. Go forth and write PHP no more.
 
Yay!
 
That would be an interesting geeky mini game. Jeopardy, but you write code. The categories are languages, and when the square is turned, you see the answer. The first contestant to write the code that gives that answer in that language wins.
 
5:32 PM
OMG That's a brilliant idea.
I know what my next side project is now. xD
 
I'll take COBOL for 1000 Alex. "Write a csv containing the Fibonacci sequence to and including the 100th iteration"
and thats when i quit Coding Jeopardy :P
 
Haha!
 
6:07 PM
These docs are full of examples that show neither the input nor the output: ruby-doc.org/core-2.1.0/Enumerable.html#method-i-chunk
"This code will do something awesome to the changelog, but you'll just have to imagine that that looks like"
 
6:26 PM
lol, those pages are always fun to stumble upon.
I found the one about x...y and === yesterday and had to solve that mystery
 
I wonder how hard it is to make a pull request for doc changes. Didn't someone here look into that?
 
they're probably still reading the documents on how to do that
 
Hehe, yeah. Contributing isn't the most transparent thing in the world.
Oh, it's not that hard after all. Contributing to Ruby's Documentation
 
6:59 PM
good to know. Now to find something and then get the gumption to do it
 
I've got the gumption to attempt the docs for Enumerable. I'm not sure I can do better, but I'd like to try. I just need to be (1) not working, (2) Not writing Android code, (3) not playing banjo.
 
create an android app to play banjo for you and then you can use your weekends to do documentation!
 
or create an android app to do the documentation and you can play banjo all day :)
 
I like!
It'll take about five minutes to write an adoid app that plays banjo better than I can.
I'm learning to play Brahm's lullaby, but I keep falling asleep halfway through.
I know the first half really well.
 
8:04 PM
could some explain to me to why the author of this article uses the word "Portal" in the describe block?

http://blog.8thlight.com/craig-demyanovich/2012/06/11/test-your-rails-application-configuration.html
 
8:55 PM
@Chris I think it's a search/replace oversight. He changed most of the namespaces, but missed one.
 
@WayneConrad hmmm, i changed it to the name of my app, but im still getting an "NameError" :/
 
9:17 PM
looks like im making more friends on SO, (-.-) stackoverflow.com/questions/29419389
 
:)
I'd answer, but heckifIknow.
 

« first day (447 days earlier)      last day (2808 days later) »