we have a report that lists amazon links that need cleaning up, there's really no reason for anyone to care about the amazon url other than to check that the domain and asin are right
ruaok
nikki: can you please put that into a comment on the ticket?
nikki
so as long as the url works, someone like me or salo.rock will clean it up if it needs it
ijabz
Anyone. is it possible to edit the new track number field in a release yet on test, i tried but nothing happened ?
ocharles
python hackers: is it possible to remove multiple items from a dictionary with 'del'?
can i del something['foo', 'bar']?
ruaok
I dont think so.
ianmcorvidae
you could do a list comprehension and throw away the result, that's probably how I'd do it
[del something[entry] for entry in ['foo', 'bar']]
ruaok nods at ianmcorvidae
more concise than writing out the loop for real, but otherwise equivalent
ocharles
I actually only need the del for the side effect
(it's a memcached store)
yay, mutation, yay side effects
ianmcorvidae
del is nothing but a side effect :P
warp
:D
ianmcorvidae
hence throwing away the result
ocharles
oh, it's not persistent?
(persistent in the sense of functional programming)
ianmcorvidae
not quite sure what you mean
but all del does is decrement a reference count
warp doesn't know what persistent in the sense of functional programming is.
and yeah, that's what I meant by purely side-effect, it doesn't have a return value
ocharles
you can all critique this python in a moment :)
warp
ocharles: so it would be a bit pointless if it doesn't modify the input "in place"
ianmcorvidae
if it was haskell it'd presumably be :: a -> IO ()
(or so)
nikki
ijabz: right now you can only add new tracks, editing the existing track numbers doesn't work
ijabz
k
ocharles
meh, i dunno why I don't just write this in haskell, but oh well :P
adhawkins
ocharles: Can you remember what we were talking about recently. About a schema change that was supposed to happen after 6 months?
I've forgotten what it was now :)
ocharles
adhawkins: disambiguation being misnamed?
i think?
adhawkins
Ah yes, that's right. Got it now
Added the disambiguation element for release group, this is due to replace the badly name comment element but the comment element will not be removed for six months in order to preserve backwards compatability
That was written 9 months ago :)
ocharles
heh
this is what happens when we don't have tickets :)