where is this discussion happening? I can jump in.
nikki
me neither
ijabz
no, just worked with warp on search server and looked at latest lucene update
navap
ruaok: It's been happening on IRC in spurts over the last few days.
luks
I was having fun reading some audio fingerrinting papers :)
ruaok
luks: you call that fun?
luks: are you familiar with jhears?
luks
not really
ruaok
might be wiorth looking at.
luks
I just discovered the Waveprint paper from Google Research
and it seems to simple
ruaok
its an open implementation that is friendly towards MB.
luks
that I got interested in playing with it
ruaok
got link?
MBChatLogger: off
MBChatLogger
is not logging
is logging
ruaok
anyone else have anything for review?
ruaok has changed the topic to: agenda: estimating tickets, review granularity, clean markup, artist i18n, script detecting
ok, the next issue is one of the things that I hinted as as being hard to deal with between paid and volunteer programmers.
I'm trying to get our dev team to be able to make a realistic schedule and stick to it.
not only our customers appreciate that, but our community does too.
the idea was to make tickets unassigned so that there is an open pool of tickets to choose from.
but we've use the model to accept a ticket, and estimate it so that we can keep a schedule going forward.
the two clash horribly.
anyone have any ideas on this front?
or reactions?
aCiD2
If you want time estimates, what we have now works best, imo
people just have to feel confident to steal tickets away
as you mentioned
nikki
is it possible to estimate tickets roughly without accepting them, or are acid2's and warp's estimates totally different?
ruaok
yeah, I'm not sure this is welcoming enough.
navap
How about only high priority/major tasks get assigned to a dev (and timed), all the smaller stuff and nitpicking improvements stay unassigned for anyone else to pick up.
aCiD2 nods
aCiD2
nikki: atm, fairly different
nikki
what navap said was what I was about to say next :P
navap
:)
aCiD2
yea, I think some tickets have to have an owner, or they just won't get done, because i'll avoid them and work on fun tickets instead :P
ruaok
navap: that might be tricky. some volunteers (like luks) like to take HUGE tickets, strap on the rocket pack and go for a ride.
aCiD2
very true
warp
if aCiD2 and I just take responsibility for a certain components, we could just estimate those tickets without them being assigned
navap
ruaok: Sure, but there aren't too many luks' around are there. And the random times that happen, I'm sure we can deal with it.
ruaok
well, I think I'm going to leave this as an open issue for now. see if we can come up with some more ideas over time.
navap: yeah, I guess.
this is going to be a trciky thing to deal with, regardless.
luciddrmr
aCiD2, warp:
why dont you guys just make time estimates and then reassign the issues to no one?
nikki
it would be an improvement for people who've not done anything with mb before, since they're most likely to pick the minor, easy to fix things
luciddrmr
unless you want to keep the issue for yourself, in which case, do that.
aCiD2
luciddrmr: are those estimates meaningful?
once they are floating in the ether that is
luciddrmr
acid2: i think any estimation is better than none. especially if done by one of you
aCiD2
true
warp nods.
luciddrmr
you guys have a sense of how long these things take
nikki
that's pretty much what I was suggesting, you can always update the estimate later if it's wrong, can't you?
ruaok
right now warp and aCiD2 code at different speeds, but that will level our over time.
luciddrmr
kind of makes a bit of your job adminstrative, but ruoak could pitch in and do some of it too
ruaok
then the question becomes this: whose job is it to estimate a task?
aCiD2
I'd like to avoid spending yet more time in JIRA plugging numbers in
ruaok
I could see it falling between the cracks when no one takes ownership.
nikki points to what warp said
aCiD2
nikki: and if it's not our component?
warp
ruaok: assign different components to different people, e.g. I get release editor and webservice.
aCiD2
I see the best solution is that whoever sees the task first estimates it
nikki
whoever's component it is is responsible then
aCiD2
if someone actually thinks "oh, i'll do that!" they can take it and restimate
ruaok
oh. what if we do this:
use the component owner to decide who owns the ticket.
luciddrmr
i think if you are a person who knows how long task X should take and you see it doesn't have a time estimate, then you can estimate for task X
ruaok
er. who estimates the ticket.
once the ticket is estimated by the default owner, its assigned to no one.
that way its clear who should do the estimating.
how does that sound?
warp
ruaok: that was what I was suggesting, so sounds good to me :P
aCiD2
good, but...
ruaok
oh, sorry, misunderstood you then. :)
aCiD2
we need to clear up JIRA emails a bit. If I got emailed about my own tickets and my components tickets, this is fine - I know all emails concern me. But if I get flooded with every ticket in JIRA (as is atm), I'll end up missing some things
but hopefully that's not too hard to setup
ruaok
aCiD2: can you look to see if you can tweak that?
aCiD2
ok
ruaok
and then get back to me?
brianfreud_ joined the channel
aCiD2 nods
this suggestion is the best way forward I've heard so far. so lets leave the on the table for now and see if we can decide this in this week.
thanks for all the suggestions!
ok, next.
right now I am seeing a *lot* of reviews in CR.
seemingly for each little bug.
warp nods.
is that granularity good or should we say that simple fixes ought to not get reviewed?
aCiD2
I think this granularity is good
I'm very happy with it atm, rarely does a fix need to be commited asap
ruaok
warp, luks: thoughts?
warp
ruaok: maybe very very simple fixes shouldn't be reviewed. but as the new guy, I get a fair amount of feedback, so it's definitely good that everything I do ends up on reviewboard for the time being.
ruaok
ok, sounds like we should keep doing it for the time being. if it gets tedious in a month or so we'll revisit.
aCiD2
I think the moment you say "don't review simple fixes" you introduce another problem - what's simple? I might think it's simple, but that's because I didn't do it right and broke a load of stuff
ijabz
IMO the most important thing is whereever possible every change has a unit test, does that happen
aCiD2
ijabz: 50/50 atm probably
but we're still at a stage where we have to clarify exactly how things work, it's awkward to unit change something that wasn't done right in the first place (a bit tricky to explain)
ijabz
Because with just code reviews you are asking someone else to spot your mistakes
aCiD2
but genearlly yea- I agree with you, new features or clear bugs should have unit tests
warp
ijabz: currently lots of interface things don't get unittests, most of the data changes do. from what I see.
ruaok nods at warp
aCiD2
ijabz: asking for another set of eyes, it's no excuse to write sloppy code :)
navap
How do you have a unittest for a UI bug fix?
aCiD2
navap: some are testable, we have some tests for them
ruaok
ruaok has changed the topic to: agenda: unit tests, clean markup, artist i18n, script detecting
warp
navap: most interface changes test if the data is there, not how it is display. that's good enough I think.
aCiD2
but CSS stuff aren't realistically testable
as with typos and other stuff
ijabz
Sure, dosnt really work for UI bug fixes
but they are less critical/dangeous
ruaok nods
brianfreud_
I would suggest unit tests for anything that aren't strictly UI - so the GC engine would have them, the track parser would have them, but the RE's UI itself wouldn't, since UI stuff unit tests can be quite difficult to code, and essentially you end up writing a test for existing code, rather than a test in advance of writing the code.
ruaok
warp: clean markup!
ijabz
The point Im trying to make is there has been lots of talk about code review over the last few months, but not that much about unit testing
ruaok
agenda: clean markup, artist i18n, script detecting
aCiD2
ijabz: pretty much because that's just done, so it's not much of a topic :)
ruaok
ijabz: that is because the unit testing is already happening for things we can test easily.
warp
ruaok: when writing javascript, I'm very used to already rendering stuff in the markup with <tag style="display:none">, and then just enabling/disableing that with .show() and .hide()
ruaok
ruaok has changed the topic to: agenda: clean markup, artist i18n, script detecting
ijabz
thats good then ;)
warp
ruaok: those elements obviously display for people without css, and it isn't technically clean markup because you're sending out stuff which shouldn't be displayed
ruaok nods
ruaok: luks' objected to that, so I'm wondering how clean we should keep that markup
aCiD2
i'm pretty much in with luks here too - provide enough markup to easily generate these elements
but I think brianfreud_ is more with you :)
brianfreud_
Only so far as it impacts performance significantly
luks
warp: if you need html like that, do it from javascript
warp
ruaok: note that in this particular case it concerns the tooltips, which are easily made translated in the templates, but much harder in javascript.
ruaok
provide enough markup, what do you mean?
luks
I think the html output from he server should be as clean as possible
aCiD2
ruaok: for example, you want to make an input field fancy. Just have the <input> in the html, and add fanciness with javascript on page load
ruaok
ah
aCiD2
warp: I don't think translation is a huge issue anymore, we have a text javascript file that's a TT file and can be translated as normal
you just have to remember to store/lookup strings through it
warp
aCiD2: ok
ruaok has no real input on this.
aCiD2
also
brianfreud_
w td to be inserted and rendered, even if you hid the table while doing it)
aCiD2
when I was rethinking about how to write JavaScript, I think I'd kill that whole MB.html thing, and just add String.template prototype, so you can do "<input id="#{foo}">".expand({ foo: 'yay-id' }) -- but that's up to you ofc
brianfreud_
ugh, please please please don't touch the native prototypes! :D
navap
brianfreud_: We don't have those kinds of tables anymore though.
pronik_tp
speaking of translations, js-gettext is pretty easily implemented if needed, so no problem there
brianfreud_
navap: that's why I say I'd only suggest moving that type of html to the server if it's a significant performance killer
warp
aCiD2: yes, if the markup has to be clean, I'll probably use some little templating engine.
aCiD2
kewl
warp
ruaok: well, most seem to think clean markup is more important. I'll go with that.