12:13 am
ruaok has quit
1:14 am
KyleB has quit
1:14 am
icepick-away has quit
1:14 am
KyleB
1:14 am
icepick-away
1:19 am
verus
i just saw a comet
1:19 am
!
1:19 am
or a start falling
3:56 am
JamesConf
3:57 am
anyone mind helping me with a little config proble with trm?
4:04 am
JamesConf has quit
5:15 am
aeon
5:15 am
aeon has quit
5:16 am
aeon_t
5:17 am
hey all
5:17 am
anyone know what "Failed dependency" error means on my failed moderations?
6:24 am
djce
6:24 am
Hi aeon_t. Still there?
6:25 am
Well anyway here's the answer to your question, you can read it when you get back.
6:26 am
"Failed dependency" means that something to do with the data you were trying to change has itself changed since you entered the moderation.
6:27 am
For example, let's say you change an artist name from "Bob" to "Bobby"
6:27 am
If someone else changes the name to, say, "Robert" before your mod gets approved,
6:27 am
then you'll get a Failed Dependency.
6:28 am
This is because the system checks that the old data is still in place ("Bob") before changing it to its new value ("Bobby").
6:28 am
But in the example, it's not "Bob", it's "Robert". Hence the failure.
6:28 am
Hope that helps!
6:29 am
If you could tell us exactly which moderation you're interested in, we could probably give you a more precise reason.
6:40 am
djce has quit
6:41 am
aeon_t
ah, I see.
6:41 am
thanks a lot.
9:57 am
aeon_t is now known as aeon_sleep
1:05 pm
aeon_sleep has quit
1:05 pm
alus has quit
1:07 pm
alus
4:44 pm
djce
5:08 pm
ruaok
5:08 pm
djce: evening!
5:08 pm
djce
hi!
5:08 pm
ruaok
did you pick up the changes I checked in last night for libtp?
5:08 pm
djce
Not yet.... let me go see.
5:08 pm
ruaok
not important, I just wanted you to be aware.
5:09 pm
djce
ah yes, new calls. ok.
5:09 pm
how's the TP-tagger doing?
5:09 pm
forming into shape?
5:10 pm
ruaok
Coming along.
5:10 pm
Its not too much work, really.
5:10 pm
All the hard stuff is being done by libtp.
5:10 pm
djce
Good :-)
5:10 pm
ruaok
Now its just UI, which is nice.
5:10 pm
djce
wxPython, yes?
5:11 pm
ruaok
oh, no.
5:11 pm
djce
oh no, C first isn't it.
5:11 pm
I remember.
5:11 pm
ruaok
Yes, its mb_tagger rehashed.
5:11 pm
I won't start on the python tagger until after BM.
5:11 pm
djce
ok.
5:12 pm
I can imagine it feels pretty good to go through the mb_tagger and delete large swathes of now-ununsed code.
5:12 pm
djce likes deleting code
5:17 pm
ruaok
me too.
5:17 pm
There is less satisfaction in deleting whole files.
5:18 pm
djce
I like both.
5:18 pm
ruaok
That was the biggest case -- the code base is only 1/3 of the previous...
5:18 pm
djce
:-)
5:20 pm
What is tp_SimilarityCheck? Is it a "do" method, or a set, or get, or what? I can't tell from the code.
5:23 pm
ruaok
its an 'or what'.
5:23 pm
:-)
5:23 pm
djce
oh, that's all right then :-)
5:23 pm
ruaok
Given a threshold it checks to see if there are any matched files that are below that threshold.
5:24 pm
djce
for all tracks?
5:24 pm
ruaok
in order to pop up a warning for low matching files.
5:24 pm
All tracks that are recognized
5:24 pm
djce
and that's the return value? if the popup should be shown?
5:25 pm
ruaok
t/f
5:25 pm
yes
5:29 pm
djce tries to think of a more helpful method name
5:33 pm
I'm open for suggestions...
5:33 pm
djce
yeah, but I can't think of any!
5:34 pm
tp_AreAnyFilesBelowSimilarityThreshold :-(
5:34 pm
int tp_CountFilesBelowSimilarity ?
5:45 pm
Anyway, I've just committed the perl binding changes for the two new methods.
5:52 pm
ruaok
yeay!
6:08 pm
ok, time to hit the road...
6:08 pm
Talk to you.... probably sunday or monday...
6:10 pm
l8!
6:10 pm
ruaok has quit
7:48 pm
djce is away: I'm busy
9:16 pm
djce is back (gone 01:27:40)
9:17 pm
codeFiend
9:32 pm
hmm, does anyone know what the internationalization plans for the database are?
9:33 pm
djce
What sort of things do you have in mind?
9:33 pm
codeFiend
well, for example artist names in non-latin charsets.
9:33 pm
djce
That's already possible.
9:33 pm
codeFiend
I tried searching for several russian artists in cyrillic - no luck.
9:33 pm
djce
Certain parts of the system are either optimised for, or at least work best with, latin / English data though.
9:34 pm
codeFiend
hmm.
9:34 pm
djce
Are you sure it's in there?
9:34 pm
I mean, is it the search that's faulty?
9:34 pm
codeFiend
no, I'm not sure. But if search can't turn it up, I can't verify that it exists.
9:34 pm
djce
True.
9:34 pm
codeFiend
and since the 'browse by alphabet' function is for latin alphabet only, I can't use that either.
9:34 pm
djce
Currently the search works like this:
9:35 pm
your search text is split into words, on non alphanumeric characters.
9:35 pm
(so that should still work in Cyrillic).
9:35 pm
codeFiend
I could try creating an artist in cyrillic and then doing a search for it... and seeing if that would turn it up.
9:35 pm
djce
Then, the words are converted to lower case.
9:35 pm
which should also still work.
9:35 pm
Then, it is "unaccented" - which might be the iffy part.
9:36 pm
Then it's matched against the artist names.
9:36 pm
codeFiend
hmm.
9:36 pm
djce
The "browse" pages are one of the few parts of the system that only really work with Latin stuff.
9:36 pm
codeFiend
right.
9:36 pm
*ponder*
9:36 pm
well, let me try and do a test run with adding a cyrillic artist and then searching for it...
9:36 pm
djce
ok
9:37 pm
codeFiend
just a minute.
9:37 pm
djce
I'd be interested to see how it goes...
9:37 pm
I know there's non-latin stuff in there, but I'm not sure what difficulties are likely to be encountered.
9:38 pm
codeFiend
hmm.
9:38 pm
well, adding it worked.
9:38 pm
let's see if it turns up in search
9:38 pm
djce
what's its URL?
9:39 pm
codeFiend
9:39 pm
woot. it actually did.
9:39 pm
color me surprised ;)
9:39 pm
djce
Cool !
9:39 pm
codeFiend
UTF-8 rocks ;)
9:39 pm
djce
I'm fairly sure there are some texts where the "unaccent" thing is decidedly questionable.
9:39 pm
codeFiend
hmm.
9:39 pm
djce
Some scandinavian stuff, I think.
9:40 pm
But the whole idea of "unaccenting" sounds dodgy to me. It's inherently not locale-safe.
9:40 pm
codeFiend
yeah.
9:40 pm
definitely.
9:40 pm
ok, well, now I'm wondering.
9:40 pm
djce
But I'm glad the search works.
9:41 pm
codeFiend
hmm.
9:41 pm
gimme a minute here...
9:45 pm
hmm... ok.
9:45 pm
now I'm seeing a different problem with this, conceptually
9:46 pm
I just added russian artist Aquarium, (in cyrillic) and put in a mod to merge the current listing into it... now, if an english-speaking person wants to find it, but they don't know how to spell it in cyrillic, are they going to be pretty much farked? perhaps a 'transliterated title' field should be added to the db?
9:46 pm
or perhaps just adding an alias for the artist with the transliteration would be enough?
9:46 pm
djce
It's an idea.
9:47 pm
aliases would work too.
9:47 pm
codeFiend
hmm.
9:47 pm
djce
In fact aliases are probably the better way to do it.
9:47 pm
codeFiend
more generic, true.
9:47 pm
hmm.
9:47 pm
that works for artist names
9:47 pm
djce thinks that codeFiend "hmm"s and ponders a lot.
9:47 pm
djce
:-)
9:47 pm
codeFiend shrugs