Re: [Cloud] Python Flask app - localization

2018-09-18 Thread Guilherme Gonçalves
Hi Martin, I know of a few approaches, depending on the complexity of your tool: - You can get pretty far with having your strings in, say, JSON files that you load and format yourself in code based on placeholders. - The Python standard library has a built-in gettext

Re: [Cloud] Python gives "invalid syntax" error only on labs

2018-08-19 Thread Guilherme Gonçalves
Hi Huji, It does look like the difference in Python versions is the problem. The Python 3 docs say: Both string and bytes literals may optionally be prefixed with a letter 'r' > or 'R'; such strings are called *raw strings* and treat bac

Re: [Cloud] Collect user's mail

2018-02-10 Thread Guilherme Gonçalves
Hi Martin, I'm not authoritative on PII policies at all, but here's a couple of things that came to mind as I read your question. 2018-02-10 11:26 GMT+00:00 Martin Urbanec : > To prevent this tool from spamming I of course require its confirmation by > accessing an URL with a random string (MD5

Re: [Cloud] Browser extension for unsourced Wikipedia articles

2017-12-24 Thread Guilherme Gonçalves
definitely experimental and lacking in various ways (there's not even a proper icon yet!), but I've used it for a few weeks and managed to make some edits through it. If this sounds interesting, please give it a try and feel free to file issues. Thanks! 2017-10-08 14:34 GMT+02:00 Guilherme Go

Re: [Cloud] Browser extension for unsourced Wikipedia articles

2017-10-08 Thread Guilherme Gonçalves
; queries/org/apache/lucene/search/similar/MoreLikeThis.html > > > Cheers, > Morten > > > On 1 October 2017 at 18:36, Mukunda Modell wrote: > >> I think this is a really cool idea. I don't know of other similar tools >> but it does sound like somethin

[Cloud] Browser extension for unsourced Wikipedia articles

2017-09-29 Thread Guilherme Gonçalves
Hi everyone, I've been hacking on a new tool and I thought I'd share what (little) I have so far to get some comments and learn of related approaches from the community. The basic idea would be to have a browser extension that tells the user if the current page they're viewing looks like a good r