"$10,000 held in escrow for MusicBrainz, plus contractual commitment to supply hardware resources should MusicIP exit the fingerprinting business. This is designed to allow us to continue the service should they decide to stop providing the service."
So is this still in effect?
luks
yes
cparker joined the channel
technically
intgr
:/
gnu_andrew joined the channel
gnu_andrew joined the channel
adhawkins joined the channel
cparker joined the channel
cparker joined the channel
reosarevokphone
why just technically?
luks
because it's not sure what will really happen
hrglgrmpf
maybe because we don't have lawyers...
suriv joined the channel
nikki
oh, hi hrglgrmpf
hrglgrmpf
nikki: hi :-)
nikki owes you some edit notes :/
really? what exactly?
nikki
good question :P probably recording comments
hrglgrmpf
ah yes, I will change them once they are applied
if something is unfinished, I put it in my "TODO" collection, so I won't forget it :-)
nikki
I mark the emails as unread even though I've read them, but I'm usually slow at replying to emails or edit notes
nikki doesn't really know why
ruaok joined the channel
hrglgrmpf
nikki: what do you think about server-side URL cleanup?
since you are very active cleaning them up, you must have a profound opinion of it...
nikki
hmm... I'm actually more curious about why some urls don't get cleaned up even though the user has js on
hrglgrmpf
I have to use ctrl-v (not the mouse), otherwise the JS isn't triggered
nikki
I don't really have much of an opinion about doing it server side though, for the most part it's things that aren't even being done in js
or fixing things that are hard to do programmatically, like fixing or removing wikipedia's damned 404s
hrglgrmpf
I'm talking about the server-side validation ticket... I always thought the MB approach is: better the user enters a malformed URL, than nothing, it can be cleaned up later
nikki nods
that would mean the ticket should be closed as invalid probably...
but server-side cleanup for e.g. ASINs, allmusic etc. would be very simple and effective
nikki
I have to wonder if there are that many urls which slip through that we should spend time adding it in the server too though
btw, if you know how to reproduce it not working with the mouse, please do report it
ianmcorvidae
possibly we should just run the JS callback thing on more things
hrglgrmpf
probably not...
nikki
I guess we're not checking for everything
ianmcorvidae
it currently runs on change and keyup
hrglgrmpf
ianmcorvidae: yes
ianmcorvidae
well, or, after we set the value we should do .blur() or something, I forget how that works
nikki
.blur()?
ianmcorvidae
blur is triggered when something loses focus
and I know that for me the value of the field doesn't actually change until I click into the edit note field
i.e. when a blur event is fired :)
so possibly triggering a blur event would make it work more correctly
nikki
ah, so it doesn't make it blur it
ianmcorvidae
yeah
it does 'self.urlControl.val(clean)'
djce joined the channel
hrglgrmpf
nikki: I think I was wrong... if I paste with the mouse, the link doesn't get corrected, but clicking "Enter edit" (or return) afterwards does... so I don't have a explanation...
ianmcorvidae
something like self.urlControl.val(clean).blur(); might fix it
hrglgrmpf: if you paste in and then click into the edit note field, what happens?
nikki would go insane if it kept unfocusing the field. the release editor does that to her in the basic editor and she wants to throw things at the screen when it happens
hrglgrmpf
ianmcorvidae: nothing
ianmcorvidae: no correction
ianmcorvidae
oh, it doesn't unfocus it, it just triggers the event that unfocusing would trigger
if that makes sense
nikki
yeah, just saying :)
ianmcorvidae
it triggers a blur event without you actually having to unfocus it
nikki prods kepstin
hrglgrmpf
ianmcorvidae: argh, sorry, I misread: clicking in the "Edit note" field cleans up the URL, but clicking in the URL field doesn't
ianmcorvidae
okay, cool
I think triggering a blur may fix hrglgrmpf's problem too then
nikki
but it cleans it up when you press enter/return?
ianmcorvidae
hitting enter selects the "enter edit" button, deselecting the url field, triggering a blur event :)
nikki
something's not working somewhere at some point though
and I seem to have seen more urls needing cleaning up since ngs came out
ianmcorvidae
hm
nikki
and kepstin managed to enter an amazon url twice that didn't get cleaned up
(and when he asked, he said he has js on)
ianmcorvidae
hm
Tecfan__ joined the channel
I'm having trouble figuring out what exactly happens when http:// isn't included
it looks like maybe it doesn't run cleanup when that's not there?
nikki
I thought it wouldn't accept it without that
at least on the live server
ianmcorvidae
well, yeah
so the urlChanged trigger checks, first: url.match(/^\w+\./)
if that hits (i.e. there's no http, although it's a convoluted way of saying it)
then it adds http:// to the front of the url in the value and returns
nikki
that was added recently though
ianmcorvidae
if that _doesn't_ match then it goes on and uses the cleaned value, if applicable
nikki wonders if hrglgrmpf saw what she said
so what I'm not sure is if the self.urlControl.val('http://' + url) would trigger a change event, and thus cause urlChanged to get run a second time
nikki
I tried on test and it added the http:// immediately, then fixed the url when I submitted it
but that doesn't really explain why it happened before that was added
ianmcorvidae
yeah
HumHumXX has left the channel
perhaps compile a list of un-corrected URLs and we can see if there's a pattern there?