I’m now ready to send the MBS-8716/MBS-8717 pull request, but I’m unsure what to rebase it on.
2016-05-13 13449, 2016
bitmap
great, you can rebase and submit against schema-change-2016-q2
2016-05-13 13428, 2016
chirlu
I’m wondering because the schema-change-2016-q2 branch is in a somewhat strange state regarding MBS-8719.
2016-05-13 13419, 2016
bitmap
oh, yeah
2016-05-13 13440, 2016
bitmap
I was in the middle of rebasing against your latest changes, let me just revert all of it for now
2016-05-13 13447, 2016
chirlu
Are we going to reset it pre-merge?
2016-05-13 13403, 2016
bitmap
yeah, I'll just force push
2016-05-13 13407, 2016
chirlu
OK.
2016-05-13 13414, 2016
bitmap
to commit bc83167976986a42faefaf52c3b49dbe2fd0042f
2016-05-13 13455, 2016
bitmap
ok, done
2016-05-13 13435, 2016
Zastai
QuoraUK: From my perspective, I wouldn't like going to the SF-style images-with-text (there will always be devices where they're hard to read). Some special title string (which depending on type, could precede or follow the editor's name (with i18n implications) does sound interesting.
2016-05-13 13424, 2016
Zastai
"Zastai, Master Debater" for having commented on many edits, "Publisher-Friend Zastai" for having created many publishers, that sort of thing.
2016-05-13 13438, 2016
Zastai
And perhaps some stylized image indicating overall level, but my feeling is that it should be relatively small (maybe something akin to military symbols, stars, bars etc, possibly bookified).
2016-05-13 13451, 2016
Zastai
Just my USD0.02 of course.
2016-05-13 13409, 2016
QuoraUK
Zastai: Yeah, thats a fair point. I hadn't considered mobile devices when I thought of it, and I am actually struggling to figure out a way to not make it look gaudy
2016-05-13 13441, 2016
QuoraUK
I hadn't considered localisation either, that is an excellent point, thank you :)
2016-05-13 13415, 2016
Zastai
I do see how adding colors, italics, font weight could make some titles "more desirable" than others
2016-05-13 13453, 2016
Zastai
but colors already become an issue, since they should still integrate nicely with the site theme (which can change somewhat over time)
2016-05-13 13430, 2016
QuoraUK
that was my issue with the image one, avoiding clashes with the theme would be difficult
2016-05-13 13450, 2016
QuoraUK
especially thinking ahead where different ones are added
2016-05-13 13413, 2016
Zastai
so I'd suggest sticking to adding bold/italic/underlined and some of the various fun unicode glyphs to make titles "special". adding extra "sparkles" like colours/backgrounds would be for higher-level titles anyway, which (most) people won't achieve in the first weeks the feature would be live
2016-05-13 13400, 2016
QuoraUK
yeah, thats super helpful feedback, thanks Zastai :)
2016-05-13 13402, 2016
Zastai
if using unicode stuff, mobile devices and what characters they do/don't support would come into play again
2016-05-13 13444, 2016
Zastai
(it's not uncommon for firefox to show me placeholders for emoji written by ios/android users, for example; I guess that goes both ways)
2016-05-13 13438, 2016
QuoraUK
yeah, ill make a note to consider other devices and locales. Its not something I usually think of in university coursework tasks :p
2016-05-13 13421, 2016
QuoraUK
and im suprised isn't something they drill into us. I've maybe heard it mentioned once, its a bit of a shame really.
2016-05-13 13435, 2016
Zastai
it can get very tricky, and it's definitely something developers should have some basic awareness of
2016-05-13 13453, 2016
Zastai
i mean, some languages have fairly complicated rules for plurals (e.g. one word form for singular, one for odd amounts other than one, and one for even amounts) - you don't need to know all those rules, but you should at least be aware that it's not always just a case of adding an "s" when there's more than one :D
2016-05-13 13406, 2016
Freso
QuoraUK: Difference between academia and "real world" software engineering. :)
2016-05-13 13432, 2016
QuoraUK
yeah, I saw a video of how features go through facebook and it was crazy to me
2016-05-13 13440, 2016
Zastai
having to rework an entire codebase because you need to support a language that's not very English is not fun.
2016-05-13 13440, 2016
QuoraUK
Freso: absolutely
2016-05-13 13412, 2016
yeeeargh has quit
2016-05-13 13414, 2016
QuoraUK
I've got Localisation, devices and accessibility attached to my monitor to remember now :p
Our software product we have spent an entire year was completely red and green the whole time, at the end our client mentioned he was colourblind
2016-05-13 13417, 2016
QuoraUK
a pretty terrible oversight on our part
2016-05-13 13420, 2016
LordSputnik
Leftmost: QuoraUK: let's go after, so Leftmost gets to sleep in :P
2016-05-13 13428, 2016
QuoraUK
okie dokie
2016-05-13 13431, 2016
Leftmost
Mmm, sleep.
2016-05-13 13445, 2016
Zastai
Sleep is overrated. Coffee is god.
2016-05-13 13453, 2016
LordSputnik
Then we'll do a quick review and launch straight into GSoC talk for an hour and a half :P
2016-05-13 13429, 2016
Leftmost
I still keep thinking about a good way to do gettext in JS and I can't think of one.
2016-05-13 13448, 2016
LordSputnik
Leftmost: a team of monkeys responding to translation requests in real time. Then we can just use superagent
2016-05-13 13402, 2016
Leftmost
Ha.
2016-05-13 13400, 2016
Zastai
Ideally, it would be handled by the normal browser language choice support. As a Belgian, everyone using geolocation to do language choice is a pet peeve.
2016-05-13 13438, 2016
Leftmost
Zastai, agreed, with an allowance for user override. The thing is, actually doing the i18n once you know which language to use is non-trivial
2016-05-13 13439, 2016
Leftmost
.
2016-05-13 13455, 2016
Zastai
It's bad enough that sites try to use my local language instead of the English I told my browser to get, but they almost always think they need to speak French to me
2016-05-13 13420, 2016
Zastai
And I'm not a Walloon dammit, I speak Flemish.
2016-05-13 13442, 2016
Leftmost
Oh, I think I have a bug that was probably introduced with the form changes: it seems like the first time I log in after starting up, the form just submits instead of doing the onSubmit().
2016-05-13 13458, 2016
Leftmost
Vlaams? :)
2016-05-13 13406, 2016
Zastai
Inderdaad :)
2016-05-13 13426, 2016
Zastai
Does the language thing only apply to html by the way? Or would script hrefs also be turned into foo.en.js?
2016-05-13 13426, 2016
Leftmost
The JS would likely have to fetch the strings from the server on request somehow, to avoid having to have some sort of GMO interpreter on the client side.
2016-05-13 13435, 2016
Zastai
You could "disassemble" an mo (it's an simple format) as a js with some hardcoded function that maps the message to the correct translation. The client would then do all the work. Translators would use msgfmt etc as normal, and the result would be "exploded" for serving.
2016-05-13 13439, 2016
Leftmost
Zastai, it's simple, but our JS is already kind of slow and I don't personally like the trend of pushing more and more on browsers.
2016-05-13 13413, 2016
Zastai
anyway, it's not an easy thing to get right. I once tried to integrate gettext functionality into emacs for use in lisp packages (not altogether dissimilar from the js situation) and that was messy at best,
2016-05-13 13428, 2016
Zastai
And I agree, relying too much on client-side scripting is not great.
The problem as I see it is that JS doesn't have a good string formatting built-in. Template strings are an improvement, but as far as I can tell there's no way to defer interpretation.
2016-05-13 13418, 2016
Leftmost
(In case Zastai reads the logs.)
2016-05-13 13432, 2016
Freso
Facebook pretty much brings my laptop to a halt. I really, really, really don't like the increased used of client-side computation.
2016-05-13 13434, 2016
Leftmost
Yeah, and sites like Facebook make it do way too much.
2016-05-13 13458, 2016
Leftmost
There's a happy medium to be struck.
2016-05-13 13432, 2016
regagain has quit
2016-05-13 13452, 2016
LordSputnik
Leftmost: well, you can wrap a template string in a function