chiark / gitweb /
blog.git
15 months agoTask management
Colin Watson [Wed, 17 Jan 2024 13:31:26 +0000 (13:31 +0000)]
Task management

15 months agoOpenUK New Year's Honours
Colin Watson [Mon, 15 Jan 2024 16:17:16 +0000 (16:17 +0000)]
OpenUK New Year's Honours

16 months agoGoing freelance
Colin Watson [Wed, 10 Jan 2024 09:50:54 +0000 (09:50 +0000)]
Going freelance

17 months agoMove a video from http://people.canonical.com/~cjwatson/
Colin Watson [Mon, 27 Nov 2023 12:50:34 +0000 (12:50 +0000)]
Move a video from people.canonical.com/~cjwatson/

17 months agoMove some images from http://people.canonical.com/~cjwatson/
Colin Watson [Mon, 27 Nov 2023 12:39:27 +0000 (12:39 +0000)]
Move some images from people.canonical.com/~cjwatson/

17 months agoAdd images referenced by content/lp-python3.md
Colin Watson [Mon, 27 Nov 2023 12:36:49 +0000 (12:36 +0000)]
Add images referenced by content/lp-python3.md

2 years agoLink to reproducible-builds.org
Colin Watson [Sun, 16 Oct 2022 15:57:16 +0000 (16:57 +0100)]
Link to reproducible-builds.org

2 years agoUse pelican --listen instead of python -m pelican.server
Colin Watson [Sun, 16 Oct 2022 15:55:26 +0000 (16:55 +0100)]
Use pelican --listen instead of python -m pelican.server

2 years agoReproducible man-db databases
Colin Watson [Sun, 16 Oct 2022 15:55:05 +0000 (16:55 +0100)]
Reproducible man-db databases

2 years agoFix deprecated %s usage in *_FEED_ATOM
Colin Watson [Sun, 16 Oct 2022 15:47:42 +0000 (16:47 +0100)]
Fix deprecated %s usage in *_FEED_ATOM

3 years agoLaunchpad now supports SSH Ed25519 keys and RSA SHA-2 signatures
Colin Watson [Fri, 18 Feb 2022 13:51:54 +0000 (13:51 +0000)]
Launchpad now supports SSH Ed25519 keys and RSA SHA-2 signatures

3 years agoMake light theme a bit more like dark theme
Colin Watson [Mon, 2 Aug 2021 10:59:47 +0000 (11:59 +0100)]
Make light theme a bit more like dark theme

3 years agoUse m.css light theme
Colin Watson [Mon, 2 Aug 2021 10:53:47 +0000 (11:53 +0100)]
Use m.css light theme

3 years agoLaunchpad now runs on Python 3!
Colin Watson [Mon, 2 Aug 2021 10:36:08 +0000 (11:36 +0100)]
Launchpad now runs on Python 3!

3 years agoSwitch theme to m.css
Colin Watson [Fri, 23 Jul 2021 16:47:07 +0000 (17:47 +0100)]
Switch theme to m.css

https://mcss.mosra.cz/themes/pelican/

3 years agoAdd 'm.css/' from commit '9385194fa3392a7162e7535cc2478814e382ff8a'
Colin Watson [Fri, 23 Jul 2021 15:35:39 +0000 (16:35 +0100)]
Add 'm.css/' from commit '9385194fa3392a7162e7535cc2478814e382ff8a'

git-subtree-dir: m.css
git-subtree-mainline: fc60aa17ebbf33e3f8d24e1bd77b151cac1a237e
git-subtree-split: 9385194fa3392a7162e7535cc2478814e382ff8a

3 years agoUpdate upload arrangements a bit
Colin Watson [Fri, 23 Jul 2021 15:34:45 +0000 (16:34 +0100)]
Update upload arrangements a bit

3 years agossh-quoting: Fix odd line breaks
Colin Watson [Fri, 11 Jun 2021 10:42:18 +0000 (11:42 +0100)]
ssh-quoting: Fix odd line breaks

3 years agoSSH quoting
Colin Watson [Fri, 11 Jun 2021 10:34:35 +0000 (11:34 +0100)]
SSH quoting

4 years agodoc: mention m-clearfix also for floating elements.
Vladimír Vondruš [Mon, 10 May 2021 13:06:04 +0000 (15:06 +0200)]
doc: mention m-clearfix also for floating elements.

That's where people will use it the most. Funnily enough the clearfix
already had to be used in the markup, so that's one more reason to
just put it directly in the snippet.

4 years agodoc: clarify naming for such an important option.
Vladimír Vondruš [Mon, 12 Apr 2021 13:47:04 +0000 (15:47 +0200)]
doc: clarify naming for such an important option.

Even I don't remember how it's meant to be named anymore, sigh.

4 years agopackage/ci: NOTHING IS EVER SIMPLE.
Vladimír Vondruš [Tue, 6 Apr 2021 18:51:58 +0000 (20:51 +0200)]
package/ci: NOTHING IS EVER SIMPLE.

G'damit, can I just make the test run first *and only then* go on with
upgrading all the shit that broke in the few months while I was not
looking?!

4 years agopackage/ci: run tests verbose so it's clear what got skipped.
Vladimír Vondruš [Tue, 6 Apr 2021 18:40:32 +0000 (20:40 +0200)]
package/ci: run tests verbose so it's clear what got skipped.

4 years agopackage/ci: install attrs as well.
Vladimír Vondruš [Tue, 6 Apr 2021 18:40:13 +0000 (20:40 +0200)]
package/ci: install attrs as well.

Got a slight drop in coverage due to that.

4 years agom.dot: update graphviz 2.40 ground truth file.
Vladimír Vondruš [Tue, 6 Apr 2021 17:26:58 +0000 (19:26 +0200)]
m.dot: update graphviz 2.40 ground truth file.

I'll just assume it's correct.

4 years agopackage/ci: eugh everything is an unstable pool of mud.
Vladimír Vondruš [Tue, 6 Apr 2021 18:27:13 +0000 (20:27 +0200)]
package/ci: eugh everything is an unstable pool of mud.

4 years agopackage/ci: migrate to CircleCI.
Vladimír Vondruš [Tue, 6 Apr 2021 16:37:19 +0000 (18:37 +0200)]
package/ci: migrate to CircleCI.

Thanks, Travis, for being silent for three months straight. Fuck that
"service".

4 years agoAdd .yml files to .editorconfig.
Vladimír Vondruš [Tue, 6 Apr 2021 16:36:56 +0000 (18:36 +0200)]
Add .yml files to .editorconfig.

4 years agom.htmlsanity: drop Flash-related code and fix compat with docutils 0.17.
Vladimír Vondruš [Tue, 6 Apr 2021 15:28:45 +0000 (17:28 +0200)]
m.htmlsanity: drop Flash-related code and fix compat with docutils 0.17.

That thing is DEAD so there's no reason to bother. This changed in
docutils 0.17, making the current version fail there. Funnily enough,
https://github.com/live-clones/docutils/commit/659c3f1e46f0c86609936c987b7e2a7a6ef89cb2
looks like they still seem to preserve that somehow. I won't, so all the
related code isn't needed.

The code here was originally taken from docutils but diverged
significantly and given that they still use the deprecated width/height
attribute I see no reason to even attempt cherry-picking their changes.

4 years agom.dot: support subgraphs.
Vladimír Vondruš [Sun, 8 Nov 2020 15:26:37 +0000 (16:26 +0100)]
m.dot: support subgraphs.

4 years agodocumentation/doxygen: add a human-readable assert here.
Vladimír Vondruš [Sat, 7 Nov 2020 17:28:22 +0000 (18:28 +0100)]
documentation/doxygen: add a human-readable assert here.

4 years agoUpdate CREDITS.rst.
Vladimír Vondruš [Sat, 7 Nov 2020 17:27:04 +0000 (18:27 +0100)]
Update CREDITS.rst.

4 years agoSimplify formatting of ANSI-highlighted code
Blair Conrad [Wed, 10 Jun 2020 11:31:33 +0000 (07:31 -0400)]
Simplify formatting of ANSI-highlighted code

4 years agoOmit superfluous g-AnsiDefault, g-AnsiBackgroundDefault classes
Blair Conrad [Wed, 10 Jun 2020 11:31:33 +0000 (07:31 -0400)]
Omit superfluous g-AnsiDefault, g-AnsiBackgroundDefault classes

4 years agoAdd missing background styles
Blair Conrad [Wed, 10 Jun 2020 11:31:33 +0000 (07:31 -0400)]
Add missing background styles

4 years agoCorrect comment regarding bright background colors
Blair Conrad [Wed, 10 Jun 2020 11:31:33 +0000 (07:31 -0400)]
Correct comment regarding bright background colors

4 years agodoc: update outdated Doxygen version requirement notices.
Vladimír Vondruš [Sat, 7 Nov 2020 16:52:56 +0000 (17:52 +0100)]
doc: update outdated Doxygen version requirement notices.

4 years agopackage/ci: go back to Pyphen 0.9.5.
Vladimír Vondruš [Sat, 7 Nov 2020 16:38:01 +0000 (17:38 +0100)]
package/ci: go back to Pyphen 0.9.5.

As usual, every upgrade of every package breaks something.

4 years agoUpdated CREDITS.rst.
Vladimír Vondruš [Sat, 7 Nov 2020 16:33:03 +0000 (17:33 +0100)]
Updated CREDITS.rst.

4 years agoUpdate pagination Pelican template.
Guillaume Jacquemin [Sun, 5 Jul 2020 11:12:05 +0000 (13:12 +0200)]
Update pagination Pelican template.

The template was hardcoded for the default reversed date ordering of
articles.

4 years agoFix doxygen base path resolution.
Marin [Tue, 15 Sep 2020 14:30:26 +0000 (16:30 +0200)]
Fix doxygen base path resolution.

Use top-level doxygen path as base path. In case of recursive descent,
don't allow base path to be overriden.

4 years agodoc: cross-link the Doxygen Show Undocumented option from more places.
Vladimír Vondruš [Sat, 7 Nov 2020 15:59:38 +0000 (16:59 +0100)]
doc: cross-link the Doxygen Show Undocumented option from more places.

4 years agodoc: document what to do in Doxyfile for nice graphviz look.
Vladimír Vondruš [Sat, 7 Nov 2020 15:59:11 +0000 (16:59 +0100)]
doc: document what to do in Doxyfile for nice graphviz look.

4 years agoDoc++
Vladimír Vondruš [Sat, 7 Nov 2020 15:58:26 +0000 (16:58 +0100)]
Doc++

4 years agoPoint to travis-ci.com instead of .org also in the README.
Vladimír Vondruš [Sat, 7 Nov 2020 15:29:39 +0000 (16:29 +0100)]
Point to travis-ci.com instead of .org also in the README.

4 years agodocumentation/doxygen: don't create output dir if it's empty.
Vladimír Vondruš [Sat, 7 Nov 2020 15:29:02 +0000 (16:29 +0100)]
documentation/doxygen: don't create output dir if it's empty.

It doesn't make sense to me why makedirs() wouldn't just gracefully
no-op that.

4 years agobuild-status: migrate to travis-ci.com.
Vladimír Vondruš [Fri, 23 Oct 2020 14:35:00 +0000 (16:35 +0200)]
build-status: migrate to travis-ci.com.

Wait, don't tell me it's *this* easy.

4 years agodoc: fix another order-dependent processing error.
Vladimír Vondruš [Fri, 23 Oct 2020 14:34:40 +0000 (16:34 +0200)]
doc: fix another order-dependent processing error.

4 years agoUpdated credits.
Vladimír Vondruš [Sat, 10 Oct 2020 18:29:13 +0000 (20:29 +0200)]
Updated credits.

4 years agoFix import errors in plugins
shniubobo [Sat, 10 Oct 2020 17:57:01 +0000 (01:57 +0800)]
Fix import errors in plugins

Fix #178

4 years agom.plots: update the regex hell for matplotlib 3.3.
Vladimír Vondruš [Thu, 8 Oct 2020 14:27:21 +0000 (16:27 +0200)]
m.plots: update the regex hell for matplotlib 3.3.

4 years agopackage/ci: go back to Pelican 4.2 until I find a fix.
Vladimír Vondruš [Thu, 8 Oct 2020 11:19:34 +0000 (13:19 +0200)]
package/ci: go back to Pelican 4.2 until I find a fix.

OH GOD, one can't just leave a project alone for 6 months because every
damn thing just breaks, changes or gets removed. Kids these days, FFS.

Imagine if the standard of electrical outlets changed rapidly every two
weeks, you'd just have to constantly buy new fucking adapters and you
would HATE it. So why is it COMPLETELY FINE with software?!

4 years agopackage/ci: download doxygen from elsewhere.
Vladimír Vondruš [Thu, 8 Oct 2020 11:15:30 +0000 (13:15 +0200)]
package/ci: download doxygen from elsewhere.

I don't have time to plow through new bugs in 1.8.18, 19 and 20, so
DON'T delete the old versions FFS.

4 years agoAdapt to Pillow 7.2 changes
Sergei Izmailov [Tue, 30 Jun 2020 13:25:28 +0000 (16:25 +0300)]
Adapt to Pillow 7.2 changes

4 years agodoc: updated credits.
Vladimír Vondruš [Thu, 8 Oct 2020 11:10:28 +0000 (13:10 +0200)]
doc: updated credits.

4 years agoFix padding in function names
Sergei Izmailov [Thu, 25 Jun 2020 07:41:59 +0000 (10:41 +0300)]
Fix padding in function names

Co-authored-by: Cris Luengo <cris.l.luengo@gmail.com>
4 years agoFix search input focus loose on autocompletion by tab
Sergei Izmailov [Sun, 28 Jun 2020 22:18:44 +0000 (01:18 +0300)]
Fix search input focus loose on autocompletion by tab

4 years agodocumentation/python: improve an assert.
Vladimír Vondruš [Thu, 8 Oct 2020 10:53:54 +0000 (12:53 +0200)]
documentation/python: improve an assert.

4 years agom.images: improve a failure message.
Vladimír Vondruš [Thu, 8 Oct 2020 10:51:57 +0000 (12:51 +0200)]
m.images: improve a failure message.

4 years agodocumentation/python: pile on more workarounds for typing.Union.
Vladimír Vondruš [Thu, 8 Oct 2020 10:51:18 +0000 (12:51 +0200)]
documentation/python: pile on more workarounds for typing.Union.

SIGH.

4 years agodocumentation/python: explicitly test for string type annotations.
Vladimír Vondruš [Thu, 8 Oct 2020 10:34:48 +0000 (12:34 +0200)]
documentation/python: explicitly test for string type annotations.

No surprise expected, just to have that here.

4 years agodocumentation/python: define an environment variable when generating.
Vladimír Vondruš [Thu, 8 Oct 2020 10:17:31 +0000 (12:17 +0200)]
documentation/python: define an environment variable when generating.

I need that for some REALLY DIRTY hacks.

4 years agodoc: turn the Python monkey-patching docs into a first-class section.
Vladimír Vondruš [Thu, 8 Oct 2020 10:02:21 +0000 (12:02 +0200)]
doc: turn the Python monkey-patching docs into a first-class section.

4 years agodoc: fix a broken link.
Vladimír Vondruš [Thu, 8 Oct 2020 09:53:08 +0000 (11:53 +0200)]
doc: fix a broken link.

Interesting that Pelican doesn't complain here.

4 years agocss: make figcaption follow the heading decoration rules.
Vladimír Vondruš [Thu, 8 Oct 2020 09:52:27 +0000 (11:52 +0200)]
css: make figcaption follow the heading decoration rules.

So if I have all heading links not underlined, this one is neither.

4 years agolp-python3-progress: Fix typo
Colin Watson [Fri, 25 Sep 2020 13:18:12 +0000 (14:18 +0100)]
lp-python3-progress: Fix typo

4 years agolp-python3-progress: Link to git branch
Colin Watson [Fri, 25 Sep 2020 13:15:15 +0000 (14:15 +0100)]
lp-python3-progress: Link to git branch

4 years agoPorting Launchpad to Python 3: progress report
Colin Watson [Fri, 25 Sep 2020 11:02:00 +0000 (12:02 +0100)]
Porting Launchpad to Python 3: progress report

4 years agoFix typo in closing tag name
Sergei Izmailov [Sun, 28 Jun 2020 10:21:33 +0000 (13:21 +0300)]
Fix typo in closing tag name

4 years agopelican-theme: better align tags on jumbo articles.
Vladimír Vondruš [Tue, 9 Jun 2020 17:09:12 +0000 (19:09 +0200)]
pelican-theme: better align tags on jumbo articles.

With a large amount of tags (like on magnum.graphics) it was uglily
misbalanced. Now it should be better.

4 years agom.plots: allow to specify plot width also.
Vladimír Vondruš [Tue, 9 Jun 2020 16:25:06 +0000 (18:25 +0200)]
m.plots: allow to specify plot width also.

4 years agom.plots: change :labels_extra: and :bar_height: to dashes also.
Vladimír Vondruš [Tue, 9 Jun 2020 16:13:30 +0000 (18:13 +0200)]
m.plots: change :labels_extra: and :bar_height: to dashes also.

It was UGHLY also. The previous option name is still recognized, of
course.

4 years agom.code: support :hl-lines: in the .. include:: directive as well.
Vladimír Vondruš [Tue, 9 Jun 2020 16:08:10 +0000 (18:08 +0200)]
m.code: support :hl-lines: in the .. include:: directive as well.

Not sure why original Docutils didn't have that.

4 years agom.code: change to :hl-lines: instead of :hl_lines:.
Vladimír Vondruš [Tue, 9 Jun 2020 16:02:55 +0000 (18:02 +0200)]
m.code: change to :hl-lines: instead of :hl_lines:.

I can't stress how much I hated the underscore. Turns out it's there
ONLY because Pygments have an underscore, otherwise there would be a
dash like with all other directives/options/roles. Eh.

The legacy option is still recognized of course.

4 years agocss: improve code highlighting for string escapes and interpolation.
Vladimír Vondruš [Tue, 9 Jun 2020 11:25:19 +0000 (13:25 +0200)]
css: improve code highlighting for string escapes and interpolation.

And test this look via the m.code plugin.

4 years agodocumentation/python: list forgotten default option, avoid duplicates.
Vladimír Vondruš [Tue, 9 Jun 2020 12:10:26 +0000 (14:10 +0200)]
documentation/python: list forgotten default option, avoid duplicates.

4 years agodocumentation/doxygen: doc++
Vladimír Vondruš [Tue, 9 Jun 2020 12:09:41 +0000 (14:09 +0200)]
documentation/doxygen: doc++

4 years agoFix renamed option use
Sergei Izmailov [Tue, 9 Jun 2020 10:05:31 +0000 (13:05 +0300)]
Fix renamed option use

4 years agodocumentation/doxygen: add an ability to run filters on code.
Vladimír Vondruš [Tue, 9 Jun 2020 00:00:27 +0000 (02:00 +0200)]
documentation/doxygen: add an ability to run filters on code.

Finally I'm able to generate Magnum docs without a hastily patched
m.css to convert color literals to color swatches. Ugh this took ages.

4 years agodocumentation/doxygen,m.code: unify code whitespace stripping.
Vladimír Vondruš [Mon, 8 Jun 2020 23:58:08 +0000 (01:58 +0200)]
documentation/doxygen,m.code: unify code whitespace stripping.

For some reason due to an accident m.code wasn't strip leading
whitespace in inline code. Of course no test caught this.

4 years agodocumentation/doxygen: put deprecated label after final/virtual label.
Vladimír Vondruš [Mon, 8 Jun 2020 22:22:30 +0000 (00:22 +0200)]
documentation/doxygen: put deprecated label after final/virtual label.

To be consistent with the order in class index pages. Doesn't affect any
tests (which is fine).

4 years agodocumentation/doxygen: parse inline namespaces.
Vladimír Vondruš [Mon, 8 Jun 2020 22:15:10 +0000 (00:15 +0200)]
documentation/doxygen: parse inline namespaces.

4 years agodocumentation/doxygen: don't set is_final=False for non-classes.
Vladimír Vondruš [Mon, 8 Jun 2020 22:09:50 +0000 (00:09 +0200)]
documentation/doxygen: don't set is_final=False for non-classes.

4 years agodocumentation/doxygen: forgot to add final label on nestable classes.
Vladimír Vondruš [Mon, 8 Jun 2020 21:48:10 +0000 (23:48 +0200)]
documentation/doxygen: forgot to add final label on nestable classes.

4 years agodocumentation/doxygen: preserve template info in base classes.
Vladimír Vondruš [Mon, 8 Jun 2020 21:06:10 +0000 (23:06 +0200)]
documentation/doxygen: preserve template info in base classes.

4 years agodocumentation/doxygen: haha what.
Vladimír Vondruš [Mon, 8 Jun 2020 20:49:03 +0000 (22:49 +0200)]
documentation/doxygen: haha what.

4 years agodocumentation/doxygen: clarify a bunch of things.
Vladimír Vondruš [Mon, 8 Jun 2020 20:48:00 +0000 (22:48 +0200)]
documentation/doxygen: clarify a bunch of things.

4 years agodocumentation/doxygen: reduce boilerplate in the tests.
Vladimír Vondruš [Mon, 8 Jun 2020 20:27:22 +0000 (22:27 +0200)]
documentation/doxygen: reduce boilerplate in the tests.

Followup to 5eb113bae33b05701b8e213d2400298ada29138e.

4 years agoUpdated CREDITS.rst.
Vladimír Vondruš [Mon, 8 Jun 2020 19:51:20 +0000 (21:51 +0200)]
Updated CREDITS.rst.

4 years agom.code: revamp ANSI color code handling completely.
Blair Conrad [Thu, 21 May 2020 12:46:57 +0000 (08:46 -0400)]
m.code: revamp ANSI color code handling completely.

Co-authored-by: Sergei Izmailov <sergei.a.izmailov@gmail.com>
4 years agom.code: remove the ZWNJ hack.
Vladimír Vondruš [Mon, 8 Jun 2020 19:35:29 +0000 (21:35 +0200)]
m.code: remove the ZWNJ hack.

Was used only to fix one browser rendering issue on magnum.graphics
which happened only when Unicode blocks were involved. Does not make
sense to pollute all output with it.

4 years agodocumentation/doxygen: detach the console highlighting symlink.
Vladimír Vondruš [Mon, 8 Jun 2020 19:33:28 +0000 (21:33 +0200)]
documentation/doxygen: detach the console highlighting symlink.

The ANSI lexer is getting a massive update, and we don't need to test
the whole thing twice.

4 years agom.code: add .. code-block:: and .. sourcecode:: aliases.
Vladimír Vondruš [Mon, 8 Jun 2020 18:42:34 +0000 (20:42 +0200)]
m.code: add .. code-block:: and .. sourcecode:: aliases.

4 years agodoc: yet another order-dependent generation issue.
Vladimír Vondruš [Mon, 8 Jun 2020 18:23:21 +0000 (20:23 +0200)]
doc: yet another order-dependent generation issue.

4 years agoUpdated credits.
Vladimír Vondruš [Mon, 8 Jun 2020 16:46:39 +0000 (18:46 +0200)]
Updated credits.

4 years agodocumentation/doxygen: fixed bug with exception references.
Yuri Edward [Tue, 12 May 2020 19:53:02 +0000 (21:53 +0200)]
documentation/doxygen: fixed bug with exception references.

4 years agodocumentation/python: prefix an internal utility function.
Vladimír Vondruš [Mon, 8 Jun 2020 16:36:47 +0000 (18:36 +0200)]
documentation/python: prefix an internal utility function.

4 years agodocumentation/python: add Iterable to recognized typing types.
Sergei Izmailov [Sat, 16 May 2020 14:33:51 +0000 (17:33 +0300)]
documentation/python: add Iterable to recognized typing types.

4 years agodocumentation/python: make `parse_pybind_type` more permissive.
Sergei Izmailov [Sat, 16 May 2020 00:42:35 +0000 (03:42 +0300)]
documentation/python: make `parse_pybind_type` more permissive.

pybind11 has some non-standard typing-like annotations, e.g.:
List[List[float[3]][3]] for std::array<std::array<float,3>,3>

4 years agodocumentation/python: improve pybind11 default argument parsing.
Sergei Izmailov [Fri, 15 May 2020 22:34:30 +0000 (01:34 +0300)]
documentation/python: improve pybind11 default argument parsing.