[00:08:11]  baadshah (~jay@CPE001346fab9ed-CM602ad086fb19.cpe.net.cable.rogers.com) left irc: Quit: leaving
 [02:41:38]  sky_ (~sky@66.183.40.83) joined #markus.
 [02:42:29]  sky_ (~sky@66.183.40.83) left #markus.
 [02:43:39]  jay (~jay@CPE001346fab9ed-CM602ad086fb19.cpe.net.cable.rogers.com) joined #markus.
 [02:43:49]  jay (~jay@CPE001346fab9ed-CM602ad086fb19.cpe.net.cable.rogers.com) left irc: Client Quit
 [02:45:27]  sky_ (~sky@66.183.40.83) joined #markus.
 [02:48:35]  lissyx (~alex@pro75-6-88-185-123-147.fbx.proxad.net) joined #markus.
 [02:56:25]  ddadacha (ddadacha@nat/redhat/x-kreohvrcgnahmdee) left irc: Read error: Connection reset by peer
 [02:56:47]  ddadacha (ddadacha@nat/redhat/x-dhzcnnfyvzaozdas) joined #markus.
 [03:16:06]  ddadacha (ddadacha@nat/redhat/x-dhzcnnfyvzaozdas) left irc: Read error: Connection reset by peer
 [03:17:29]  ddadacha (ddadacha@nat/redhat/x-yvixzxsgdvhgbqvn) joined #markus.
 [03:19:31]  sky_ (~sky@66.183.40.83) left #markus.
 [03:58:06]  ddadacha_ (ddadacha@nat/redhat/x-gkuawfhiymithibp) joined #markus.
 [04:01:37]  ddadacha (ddadacha@nat/redhat/x-yvixzxsgdvhgbqvn) left irc: Ping timeout: 240 seconds
 [04:23:58]  ddadacha (ddadacha@nat/redhat/x-smrpwfovfvsgmtxe) joined #markus.
 [04:27:33]  ddadacha_ (ddadacha@nat/redhat/x-gkuawfhiymithibp) left irc: Ping timeout: 252 seconds
 [06:24:13]  ddadacha (ddadacha@nat/redhat/x-smrpwfovfvsgmtxe) left irc: Read error: Connection reset by peer
 [06:24:27]  ddadacha (ddadacha@nat/redhat/x-nvrockywitkgcbhq) joined #markus.
 [07:21:12]  ddadacha (ddadacha@nat/redhat/x-nvrockywitkgcbhq) left irc: Read error: Connection reset by peer
 [07:21:21]  ddadacha (ddadacha@nat/redhat/x-ncgvinbssyoykuda) joined #markus.
 [08:55:22]  karenreid (~karenreid@red-gw73.cs.toronto.edu) joined #markus.
 [08:55:50]  #markus: mode change '+o karenreid' by MarkUsBot!~MarkUsBot@li136-145.members.linode.com
 [10:27:38]  pranq_ (pranq@bbis.us) joined #markus.
 [10:28:17]  tobioboye_afk (2663a5a6@gateway/web/freenode/ip.38.99.165.166) got netsplit.
 [10:28:17]  ddadacha (ddadacha@nat/redhat/x-ncgvinbssyoykuda) got netsplit.
 [10:28:18]  m_conley_away (~mconley@li67-220.members.linode.com) got netsplit.
 [10:28:19]  pranq (pranq@unaffiliated/contempt) got netsplit.
 [10:28:27]  NelleV (~Nelle@unaffiliated/nellev) got netsplit.
 [10:30:45]  m_conley_away (~mconley@li67-220.members.linode.com) returned to #markus.
 [10:30:59]  #markus: mode change '+o m_conley_away' by MarkUsBot!~MarkUsBot@li136-145.members.linode.com
 [10:36:39]  ddadacha (ddadacha@nat/redhat/session) joined #markus.
 [10:39:00]  pranq (pranq@unaffiliated/contempt) got lost in the net-split.
 [10:39:00]  NelleV (~Nelle@unaffiliated/nellev) got lost in the net-split.
 [10:39:00]  tobioboye_afk (2663a5a6@gateway/web/freenode/ip.38.99.165.166) got lost in the net-split.
 [10:49:46]  NelleV (~Nelle@unaffiliated/nellev) joined #markus.
 [10:49:58]  #markus: mode change '+o NelleV' by MarkUsBot!~MarkUsBot@li136-145.members.linode.com
 [11:00:27]  tobioboye (2663a5a6@gateway/web/freenode/ip.38.99.165.166) joined #markus.
 [11:00:33]  ddadacha (ddadacha@nat/redhat/session) left irc: Changing host
 [11:00:33]  ddadacha (ddadacha@nat/redhat/x-znbxymzyikvetogx) joined #markus.
 [11:34:53]  ddadacha (ddadacha@nat/redhat/x-znbxymzyikvetogx) left irc: Read error: Connection reset by peer
 [11:34:53]  ddadacha_ (ddadacha@nat/redhat/x-xtrusyefbkhjgpxd) joined #markus.
 [11:40:32]  Nick change: ddadacha_ -> ddadacha
 [11:44:49]  lissyx (~alex@pro75-6-88-185-123-147.fbx.proxad.net) left irc: Ping timeout: 240 seconds
 [12:01:44]  karenreid (~karenreid@red-gw73.cs.toronto.edu) left irc: Ping timeout: 252 seconds
 [12:02:08]  karenreid (~karenreid@user227-50.wireless.utoronto.ca) joined #markus.
 [12:02:40]  karenreid (~karenreid@user227-50.wireless.utoronto.ca) left irc: Remote host closed the connection
 [12:02:47]  karenreid (~karenreid@128.100.214.160) joined #markus.
 [12:26:41]  Nick change: Benjamin_V -> Benjamin_V`afk
 [12:32:22]  jay_ (~jay@CPE001346fab9ed-CM602ad086fb19.cpe.net.cable.rogers.com) joined #markus.
 [12:38:22]  sky_ (~sky@d142-058-174-038.wireless.sfu.ca) joined #markus.
 [12:49:57]  tobioboye (2663a5a6@gateway/web/freenode/ip.38.99.165.166) left irc: Ping timeout: 264 seconds
 [12:53:45]  karenreid_ (~karenreid@user227-50.wireless.utoronto.ca) joined #markus.
 [12:55:51]  karenreid_ (~karenreid@user227-50.wireless.utoronto.ca) left irc: Client Quit
 [12:56:49]  karenreid (~karenreid@128.100.214.160) left irc: Ping timeout: 240 seconds
 [12:59:36]  karenreid (~karenreid@user227-50.wireless.utoronto.ca) joined #markus.
 [13:03:20]  karenreid (~karenreid@user227-50.wireless.utoronto.ca) left irc: Client Quit
 [13:37:24]  jay_ (~jay@CPE001346fab9ed-CM602ad086fb19.cpe.net.cable.rogers.com) left irc: Quit: leaving
 [13:50:37] <sky_>  anyone can tell me what does the "<=>" mean in the following context?
 [13:50:43] <sky_>  80 'grace_credits_used' => lambda { |a,b|
 [13:50:43] <sky_>  81 return a.grace_period_deduction_sum <=> b.grace_period_deduction_sum
 [13:50:43] <sky_>  82 }
 [13:55:05] <ddadacha>  sky_: I don't know, sorry. If you want, give the #RubyOnRails channel a shot, I'm sure they could tell you.
 [13:55:23] <ddadacha>  sky_: if they need more context, just point them to the file on Markus upstream's github
 [13:56:24] <sky_>  thanks! ddadacha
 [13:56:42] <ddadacha>  if you want, you can also just define a simple function in ruby (type in terminal $ irb ) and thentest it out with some params
 [13:56:53] <ddadacha>  sky_: do you know what lambda functions are in general?
 [13:58:01] <ddadacha>  sky_: oh just found something on google - it's the comparison operator
 [13:58:03] <ddadacha>  <=> Combined comparison operator. Returns 0 if first operand
 [13:58:03] <ddadacha>  equals second, 1 if first operand is greater than the
 [13:58:03] <ddadacha>  second and -1 if first operand is less than the second.
 [13:58:31] <ddadacha>  give it a shot in irb - try 1 <=> 2
 [13:58:42] <ddadacha>  should be -1
 [14:00:07]  #markus: mode change '-o NelleV' by NelleV!~Nelle@unaffiliated/nellev
 [14:00:08] <ddadacha>  so in the above context, it's returning a comparison of a and b's grace period deduction total - if a has a larger sum then 1 is returned, if b does then -1 is returned. If they are the same, 0 is returned...my guess is this is then being used somewhere to determine the grace period deduction?
 [14:00:19] <ddadacha>  sky_: _^
 [14:01:01] <NelleV>  that code is not very clear. In general, I think we should avoid using lambdas and "too clever" code
 [14:01:11] <NelleV>  it makes things unclear, and a pain to maintain :/
 [14:01:38] <sky_>  thanks ddadacha ! helps a lot..
 [14:01:44] <ddadacha>  yeah I don't even know how lambdas work in RoR :P
 [14:01:49] <ddadacha>  sky_: np!
 [14:02:20] <ddadacha>  NelleV: karen, tobi and I are going to triage the bugs tonight, figure out which ones are more important to get out of the way, what features we might want added
 [14:02:24] <ddadacha>  any thoughts on this?
 [14:02:33] <sky_>  and how you search signs (like <=> ) in google? if i know then next time I can do it myself..
 [14:02:35] <ddadacha>  I was thinking we should get those 18 or so rails 3 bugs done with
 [14:03:00] <ddadacha>  sky_: I searched this: ruby on rails "<=> operator"
 [14:03:04] <ddadacha>  keyword is operator really
 [14:03:19] <sky_>  cool, good to know :)
 [14:03:32] <ddadacha>  most of the time the symbols will be ignored, it'll pop up a page of all the operators of said language
 [14:03:51] <ddadacha>  then it's just ctrl+f from there ;)
 [14:04:06] <sky_>  sky_: nod
 [14:04:57] <ddadacha>  sky_: it's "/me <msg>"
 [14:04:58] <ddadacha>  so
 [14:05:00]  *** ddadacha nods
 [14:05:03] <ddadacha>  /me nods
 [14:05:08] <ddadacha>  =)
 [14:05:12] <sky_>  lol /me nod
 [14:05:19] <ddadacha>  /me has to be at the start
 [14:05:34]  *** sky_ got it :)
 [14:05:40] <ddadacha>  \o/
 [14:06:04]  sky_ (~sky@d142-058-174-038.wireless.sfu.ca) left #markus.
 [14:06:17]  sky_ (~sky@d142-058-174-038.wireless.sfu.ca) joined #markus.
 [14:15:06]  sky_ (~sky@d142-058-174-038.wireless.sfu.ca) left irc: Quit: sky_
 [14:22:54]  sky_ (~sky@d142-058-174-038.wireless.sfu.ca) joined #markus.
 [14:24:48]  sky_ (~sky@d142-058-174-038.wireless.sfu.ca) left irc: Client Quit
 [14:25:36]  sky_ (~sky@d142-058-174-038.wireless.sfu.ca) joined #markus.
 [14:32:07]  lissyx (~alex@23.250.8.109.rev.sfr.net) joined #markus.
 [15:06:18]  sky_ (~sky@d142-058-174-038.wireless.sfu.ca) left irc: Quit: sky_
 [15:17:34]  sky_ (~sky@d142-058-174-038.wireless.sfu.ca) joined #markus.
 [15:18:59]  tobioboye (2663a5a6@gateway/web/freenode/ip.38.99.165.166) joined #markus.
 [15:47:22]  egor_ (~chatzilla@S0106001d098e7fbc.vn.shawcable.net) joined #markus.
 [15:49:02]  jay (~jay@CPE001346fab9ed-CM602ad086fb19.cpe.net.cable.rogers.com) joined #markus.
 [15:49:28]  Nick change: jay -> Guest95697
 [16:01:53] <egor_>  anyone know a good way to view RoR errors as they are generated? I see something like: @assignment.errors.add(:base, I18n.t("assignment.error", :message => e.message)), but it doesn't get displayed anywhere and I am not sure what this ":base" is referring to
 [16:02:46] <egor_>  don't wanna have to debug just to get the error message every time =(
 [16:03:07]  sky_ (~sky@d142-058-174-038.wireless.sfu.ca) left irc: Quit: sky_
 [16:17:56]  sky_ (~sky@d142-058-174-038.wireless.sfu.ca) joined #markus.
 [16:23:02]  ddadacha (ddadacha@nat/redhat/x-xtrusyefbkhjgpxd) left irc: Read error: Connection reset by peer
 [16:23:13]  ddadacha (ddadacha@nat/redhat/x-exfiwlhlgcgiaczj) joined #markus.
 [16:24:18] <ddadacha>  egor_: unless I'm mistaken that is an error for the end-user to see..for example no first name is specified when creating a new user
 [16:24:25] <ddadacha>  egor_: that isn't a RoR error
 [16:24:37] <NelleV>  ddadacha is correct
 [16:25:16] <ddadacha>  so it should be popping up on whatever view is associated with that.
 [16:25:26] <ddadacha>  RoR errors will be spat out in the console log
 [16:25:38] <egor_>  weird because it isnt
 [16:25:39] <ddadacha>  err server log that is being printed to stdout*
 [16:26:15] <egor_>  *isn't popping up
 [16:26:18] <ddadacha>  I'd help you more but I'm at work :P can't quite test things atm
 [16:26:26] <egor_>  k np
 [16:26:35] <ddadacha>  go to demo.markusproject.org and do what you're doing
 [16:27:27] <ddadacha>  if the error message pops up there but not on your server, assuming you haven't changed any code then it's a bug
 [16:28:10] <ddadacha>  look over the issues list for anything that seems similar/relevant and take it from there
 [16:28:27] <egor_>  it pops up fine on the demo website but not on mine
 [16:29:07] <ddadacha>  fyi, that URL bug that you found at the sprint has been taken care of by Christine..or is in review
 [16:29:20] <egor_>  i c
 [16:29:22] <ddadacha>  yeah so your best bet is to see if someone's reported this issue already
 [16:29:36] <ddadacha>  if they haven't then feel free to report it
 [16:29:37] <egor_>  wut version of markus is on demo.markusproject?
 [16:29:40] <ddadacha>  and fix it! :P
 [16:29:46] <ddadacha>  it's running the latest checkout of the latest release
 [16:29:55] <ddadacha>  so 0.10.x I believe
 [16:30:04] <ddadacha>  also running rails 2
 [16:30:10] <ddadacha>  whereas sandbox.markusproject.org is running the latest clone of master
 [16:30:22] <ddadacha>  as in markus-upstream's master
 [16:31:03] <ddadacha>  also they might be a bit slow when you first use them - the VM they're running on takes a while to allocate resources. After a few mins of use it should be running smoothly
 [16:31:23]  ddadacha (ddadacha@nat/redhat/x-exfiwlhlgcgiaczj) left irc: Read error: Connection reset by peer
 [16:31:43]  ddadacha (ddadacha@nat/redhat/x-mxjdihbrhihjjnnq) joined #markus.
 [16:34:05] <egor_>  yeah, the error messages are shown in demo but not sandbox....so new bug...not very crucial, but pretty annoying
 [16:35:43] <ddadacha>  egor_: it might already have been reported
 [16:35:50] <ddadacha>  so just double check that
 [16:45:12]  sky_ (~sky@d142-058-174-038.wireless.sfu.ca) left irc: Quit: sky_
 [16:53:51]  sky_ (~sky@d142-058-174-038.wireless.sfu.ca) joined #markus.
 [16:55:53]  sky_ (~sky@d142-058-174-038.wireless.sfu.ca) left #markus.
 [17:31:55]  Nick change: m_conley_away -> m_conley
 [17:57:15]  aimenk (~aimenk@CPE00226b45e6b2-CM001ac318b812.cpe.net.cable.rogers.com) joined #markus.
 [18:05:13]  Ayaya-Aaron-MBP (~Ayaya-Aar@host32-226.wifi.ubc.ca) joined #markus.
 [18:20:33]  aimenk (~aimenk@CPE00226b45e6b2-CM001ac318b812.cpe.net.cable.rogers.com) left irc: Quit: aimenk
 [18:40:49]  tobioboye (2663a5a6@gateway/web/freenode/ip.38.99.165.166) got netsplit.
 [18:41:24]  Ayaya-Aaron-MBP (~Ayaya-Aar@host32-226.wifi.ubc.ca) left irc: Quit: Ayaya-Aaron-MBP
 [18:47:28]  lissyx (~alex@23.250.8.109.rev.sfr.net) left irc: Ping timeout: 240 seconds
 [18:50:00]  aimenk (~aimenk@CPE00226b45e6b2-CM001ac318b812.cpe.net.cable.rogers.com) joined #markus.
 [18:51:00]  tobioboye (2663a5a6@gateway/web/freenode/ip.38.99.165.166) got lost in the net-split.
 [18:56:13]  Guest95697 (~jay@CPE001346fab9ed-CM602ad086fb19.cpe.net.cable.rogers.com) left irc: Quit: leaving
 [19:11:27]  egor_ (~chatzilla@S0106001d098e7fbc.vn.shawcable.net) left irc: Quit: ChatZilla 0.9.88 [Firefox 9.0.1/20111228084953]
 [19:39:53]  tobioboye (~drone@bas4-toronto12-3096472604.dsl.bell.ca) joined #markus.
 [19:40:17]  jay (~jay@CPE001346fab9ed-CM602ad086fb19.cpe.net.cable.rogers.com) joined #markus.
 [19:40:44]  Nick change: jay -> Guest92831
 [19:40:51]  Nick change: Guest92831 -> baadshah
 [19:40:57]  Nick change: tobioboye -> tobioboye_afk
 [19:41:02]  Nick change: tobioboye_afk -> tobioboye
 [20:00:01]  baadshah (~jay@CPE001346fab9ed-CM602ad086fb19.cpe.net.cable.rogers.com) left irc: Quit: leaving
 [20:17:55] <aimenk>  tobioboye: i tried {assignment.results_average} but it didnt seem to work
 [20:19:02] <tobioboye>  what value did it have?
 [20:19:32] <tobioboye>  have you tried using a <%= debugger > statement?
 [20:19:45] <tobioboye>  to find out the value of assignment.results_average?
 [20:20:29] <aimenk>  it just writes it as a string
 [20:20:36] <aimenk>  i am not sure if i am writing it correctly
 [20:23:54] <aimenk>  so i have something like this assignment_average: "Assignment Average: #{assignment.results_average || '0'} %"
 [20:24:35] <tobioboye>  have you tried putting a debugger statement in the view
 [20:24:47] <tobioboye>  to see what the value of the variable is
 [20:25:25] <aimenk>  noo
 [20:25:30] <aimenk>  how do u use a debugger
 [20:28:13] <tobioboye>  in a view, you insert the line "<%= debugger >" where you want to break
 [20:28:26] <aimenk>  oh okk
 [20:28:30] <tobioboye>  in a ruby file (.rb) file, you insert the line "debugger"
 [20:29:00] <tobioboye>  then you just run the rails server and try and access the view or function in the ruby file
 [20:29:51] <tobioboye>  then the server will break at that line
 [20:32:22] <aimenk>  oh okk
 [20:32:23] <aimenk>  cool
 [20:32:25] <aimenk>  thankss
 [20:32:29] <aimenk>  i'll try that
 [20:35:07] <tobioboye>  k
 [20:35:18] <tobioboye>  you're welcom
 [20:35:21] <tobioboye>  *welcome
 [21:06:13] <aimenk>  tobioboye: i can't put assignment.results_average in a .yml file. can i?
 [21:06:33] <aimenk>  also i am having hard time using debugger. it gives me compile time error
 [21:09:17] <tobioboye>  yeah you should
 [21:09:38] <tobioboye>  try putting the debugger line in the assignments_*.html.erb file
 [21:10:01] <aimenk>  kk
 [21:17:33] <tobioboye>  any luck ?
 [21:19:59] <aimenk>  not really