Re: [Wikitech-l] Allow HTML email

2020-09-23 Thread Roy Smith
As long as you guys keep the B-News bi-directional gateway functioning, I'm fine. And, please, make sure you strip any leading whitespace so as not to tickle the line-eater. > On Sep 23, 2020, at 9:21 AM, Faidon Liambotis wrote: > > On Wed, Sep 23, 2020

[Wikitech-l] Workflow for updating javascript tools on wiki?

2020-10-26 Thread Roy Smith
I maintain spi-tools.js . The source is in github. At the moment, my "release process" (if you could call it that) is to edit User:RoySmith/spi-tools.js and copy-paste the new version. This works, but it's clunky. Is there some

Re: [Wikitech-l] Image search

2020-11-16 Thread Roy Smith
> On Nov 15, 2020, at 7:18 PM, Lars Aronsson wrote: > > This is where I want to find more images like these, > not in the same category, just similar photos. Perhaps not exactly what was asked, but Google Images has the ability. Go to images.google.com , click the

Re: [Wikitech-l] What is JSON (in JavaScript code)?

2020-10-30 Thread Roy Smith
JSON is Java Script Object Notation. It's a way of encoding structured data as text strings which originated (as in name implies) in javascript, but is now widely used as a data exchange format, with support in nearly every programming language. https://www.w3schools.com/js/js_json.asp

[Wikitech-l] Re: the parts of a template

2021-06-14 Thread Roy Smith
> On Jun 14, 2021, at 10:13 AM, Amir E. Aharoni > wrote: > > I'm not talking just about the technical parts, i.e. how the parser sees it, > but also about the functional parts—how the template maintainers and users > perceive it. I know this is a bit of a tangent, but since you mentioned

[Wikitech-l] Re: How to get python 3.6+ at toolforge?

2021-06-19 Thread Roy Smith
When I enquired about this a while ago, I was told that WMF would not install a newer python on the existing Debian Stretch hosts because there was no pre-built package for it. I ended up building my own Python 3.7 binary from source for use on the debian stretch hosts. It's actually pretty

[Wikitech-l] Re: [Ops] Mailman2 is now shut down (T52864)

2021-06-02 Thread Roy Smith
+1. This is a really nice improvement, especially when it comes to searching the archives. Thank you to everybody who helped make this happen. > On Jun 2, 2021, at 3:37 PM, Martin Urbanec > wrote: > > Amir, Kunal and everyone who helped: Thank you for getting Mailman 3 into > production,

[Wikitech-l] Re: Stream of recent changes diffs

2021-07-01 Thread Roy Smith
I'm not sure diffs are going to be useful here. For example, this diff ostensibly introduces an error in the math markup, but due to the way I've formatted the wikisource, it's not obvious from the

[Wikitech-l] Re: Stream of recent changes diffs

2021-07-08 Thread Roy Smith
On that topic, I'll share some of my experience. First, parsing wikitext is way more difficult than you probably imagine. People are often tempted to do a poor-man's job of it with regular expressions and the like. Down that path lies madness. Don't go there. There's only two rational ways

[Wikitech-l] Re: Goto for microoptimisation

2021-07-31 Thread Roy Smith
https://xkcd.com/292/ ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: ListFiles special page

2021-10-14 Thread Roy Smith
It's years since I discovered that mysql's utf8 is broken in this way, but I can still feel the pain. What part of "universal" did they not understand? The mysql docs more or less say that "utf8" is deprecated, certainly not future-proof, and suggest you use utf8mb4. See

[Wikitech-l] Re: Limit to the number of images in a page?

2021-11-29 Thread Roy Smith
I don't know if this is your issue, but there's been problems in the past with pages that had lots of small png or jpg images of national flags. Replacing them with the svg and/or emoji versions solved the problem. Described in https://phabricator.wikimedia.org/T267804 > On Nov 29, 2021,

[Wikitech-l] Re: [Cloud] [Cloud-announce] [IMPORTANT] Announcing Toolforge Debian Stretch Grid Engine deprecation

2022-02-16 Thread Roy Smith
From my perspective of a Toolforge user, one of the issues I see is that it's often not clear how to map the "friendly command line interface" into concepts I already understand about the lower level tools. For example, the webservice script does some useful stuff. But, it wasn't clear

[Wikitech-l] Re: How to get Top 1000 contributors list?

2022-06-25 Thread Roy Smith
This should do it: https://quarry.wmcloud.org/query/65641 In general, this is an inefficient query because user_editcount isn't indexed. Fortunately, tawiki has a relatively small number of users, so it works. Running the same query on a much larger

[Wikitech-l] Re: [breaking change] Upgrading to Elasticsarch 7.10 — breaking changes for Cloudelastic, API Feature Usage

2022-07-18 Thread Roy Smith
What are the user-visible changes in 7.10? More specifically, does this address the lack of access control I discussed in https://wikitech.wikimedia.org/wiki/Help_talk:Toolforge/Elasticsearch? > On Jul 18, 2022, at 3:23 PM, Mike Pham wrote: > > Hi all, > > I originally sent this email out

[Wikitech-l] Re: Wikimedia Hackathon: Call for Sessions

2022-04-28 Thread Roy Smith
The last time I tried to set a phab ticket's priority, I was basically told that volunteers shouldn't be doing that, i.e. changing priorities of phab tickets was reserved to WMF staff. Some clarity around this would be appreciated :-) On Apr 28, 2022, at 8:47 AM, Derk-Jan Hartman wrote: >

[Wikitech-l] Re: Outreachy Round 25–call for projects and mentors now open!

2022-09-07 Thread Roy Smith
Just from my personal experience, I see django as a good "batteries included" solution that lets you get something up and running quickly because it gives you all the pieces in one package. But I've found that I tend to actually use very little of it. I tend not to use the django

[Wikitech-l] Re: Outreachy Round 25–call for projects and mentors now open!

2022-09-07 Thread Roy Smith
The biggest issues I see are the lack of any good logging, monitoring and alerting tools. Things like icinga, logstash, grafina. The kind of things that are standard for supporting any production system. I've raised this before, so I won't belabor the point here. And

[Wikitech-l] Re: Outreachy Round 25–call for projects and mentors now open!

2022-09-07 Thread Roy Smith
On Sep 7, 2022, at 4:50 PM, novemling...@gmail.com wrote: > > - FTP programs that aren't WinSCP with "environment -> SFTP -> server -> sudo > -u tools.novem-bot /usr/lib/sftp-server" configured appear to the user to > work, but create some hard-to-track-down bugs because files have the wrong >

[Wikitech-l] Fwd: StrikerBot invited you to join GitLab

2022-09-07 Thread Roy Smith
I just got the attached email. Is this just fishing, or is this actually some wikimedia thing for real? I host spi-tools in github. I have no plans to move it to gitlab. Why has somebody created it on gitlab for me and invited me to be an owner? > Begin forwarded message: > > From:

[Wikitech-l] Re: Outreachy Round 25–call for projects and mentors now open!

2022-09-06 Thread Roy Smith
Hi. I might be interested. I'm expert in Python, and have some experience with Flask. I'm the author of spi-tools , which was done in Django, but I've come around to thinking that Flask probably would have been a better choice. I have minimal front-end