[17:03:12] <dstufft> maybe the error should be relaxed so that it doesn't happen in development, or development should get an incremental css compilation or something
[17:04:08] <nlh> it's annoying, but I can put up with it :P
[17:05:05] <nlh> playing around with it - it seems like it takes around 4-5 seconds on my machine
[17:05:22] <dstufft> relaxing the error isn't hard but it might give weird results, the error basically means "the manifest file that we tried to read didn't have this URL in it"
[17:05:34] <dstufft> so you're going to get an un-cachebusted url
[17:05:41] <dstufft> which may or may not be cached
[17:06:32] <dstufft> I'll poke at it and see if I Can make it so it doesn't do caching in dev and it'll just fall back
[17:39:10] <dstufft> nlh: https://github.com/pypa/warehouse/pull/879 that should remove the ValueError
[17:39:26] <dstufft> and it disables the static file cache in development
[17:39:46] <dstufft> if you're fast enough, you might still have to double refresh to actually get the updated content though
[17:40:29] <dstufft> (it basically turns the ValueError into a sometimes it does the right thing, and sometimes you get a 404 of the static asset and sometimes you get the old version of the static asset)
[17:46:29] <dstufft> nlh: updated https://github.com/pypa/warehouse/pull/879 with a full description of the caveats, can you +1 (or merge it) or -1 (or close it)
[17:47:39] <nlh> thanks dstufft - i am happy with those trade offs
[17:48:41] <dstufft> I gotta go and work on a kitchen table I'm building my wife. I'll deploy whatever is on warehouse-staging to prod before I go though.
[17:48:57] <nlh> ok, thanks dstufft ... happy table building :D
[17:49:07] <nlh> also - if you have a minute - can you take a read of the article I sent you?
[17:56:01] <dstufft> nlh: I read it before (and just re-read it now), it looks good to me! Though one possible niggle we'll need to work out (not specific to the article I don't think... though it pointed out to me a possible problem). I don't think l20n.js supports all the way back to IE8. I think they currently only support the "evergreen" browsers (e.g. the ones that auto update themselves). So that might mean either people using an older browser can't get
[17:56:02] <dstufft> translations (though that's kind of sad :( ) or that I'll need to see about either adding support for that to l20n.js OR porting l20n.js to Python to use it serverside instead of client side
[17:59:56] <dstufft> Hmm, a Python port might not work out entirely either, because Python won't be able to do the whole responsive translation thing
[18:00:13] <dstufft> since Python won't know for example, what the view port size is
[18:00:19] <dstufft> yea, an issue is probably relevant
[18:01:16] <nlh> well, the responsive translation is *really* nice, but if given the choice I'd rather support older browsers and give this up, than the other way around
[18:01:49] <dstufft> I don't know JS very well to know how hard it would be to add support for older browsers to l02n.js
[18:01:59] <nlh> In our layout there are not that many points where I am expecting a fixed length string
[18:02:07] <nlh> probably just the top menu (off the top of my head)
[18:03:12] <nlh> but even then, the text just wraps, which is okay
[18:03:29] <dstufft> L20n vs gettext is like -> <div data-l20n-id="home">Home</div> vs <div>{{ _("Home") }}</div>
[18:04:45] <dstufft> though L20n has some other benefits over gettext in that it sort of natively understands HTML
[18:04:56] <dstufft> but gettext has the benefit that there are a _ton_ of tools for it
[18:07:00] <dstufft> the natively understanding HTML is nice for things like links, in gettext if you want an embedded link you have to pass it in as a variable and then the translator needs to do: Some translated <a href="%(url)s">link</a>, in L20n the translator only needs to do: Some translated <a>link</a> (on the flipside, currently l20n doesn't allow links to be re-ordered, but the gettext solution does
[18:07:35] <dstufft> I feel very unqualified to answer how important particular features are of l20n vs something else :/
[18:08:06] <nlh> I don't have a ton of experience in this field either. Is there anyone in particular we should talk to to help us weigh up the pros and cons?
[18:08:42] <nlh> re: gettext... I imagine that people who do translations are pretty used to '<a href="%(url)s">link</a>'
[18:08:58] <nlh> i.e. they would probably have dealt with it before
[18:08:59] <dstufft> Generally I ask jezdez :D He suggested l20n.js to me, but idk if he has time to do a big discussion about it or not