| 7 Feb 2022 |
hexa | In reply to @hexa:lossy.network
it also intermittently errors out on PUT requests
Traceback (most recent call last):
File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/http/server.py", line 269, in _async_render_wrapper
callback_return = await self._async_render(request)
File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/http/server.py", line 471, in _async_render
callback_return = await raw_callback_return
File "/nix/store/bm9ravdndw17dzdy963a164sgnhwzqy4-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/internet/defer.py", line 1661, in _inlineCallbacks
result = current_context.run(gen.send, result)
File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/rest/client/sendtodevice.py", line 64, in _put
await self.device_message_handler.send_device_message(
File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/handlers/devicemessage.py", line 281, in send_device_message
last_stream_id = await self.store.add_messages_to_device_inbox(
File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/storage/databases/main/deviceinbox.py", line 421, in add_messages_to_device_inbox
assert self._can_write_to_device
AssertionError
running into these | 20:55:45 |
| Janne Heß joined the room. | 20:56:44 |
| Janne Heß invited Mic92. | 20:57:03 |
| Mic92 joined the room. | 20:57:13 |
hexa | Dandellion, Sumner Evans TIL: https://gist.github.com/artizirk/e1793e28da16a48b41672d126b44e7a6 | 21:18:04 |
hexa | that map is just what we need | 21:18:25 |
hexa | * that map is just what we need to manage this in a sane way | 21:18:30 |
| Mic92 left the room. | 21:18:51 |
Linux Hackerman | In reply to @fadenb:utzutzutz.net I am just happy that I understand Bavarian by now as I live in Munich ;) all Bavarian or just Munich Bavarian? :p | 21:22:53 |
Linux Hackerman | because I find it hard to believe that I will ever understand all Bavarian. But maybe there's hope>? | 21:23:25 |
Linux Hackerman | * because I find it hard to believe that I will ever understand all Bavarian. But maybe there's hope? | 21:23:26 |
@andreas.schraegle:helsinki-systems.de | In reply to @hexa:lossy.network that map is just what we need to manage this in a sane way I'm not sure I'd call a 60 line map sane. hm. this looks like it needs some more regex to compress it. thereby probably making it even less sane. | 21:27:46 |
hexa | I somewhat expect them to run with just these regexes | 21:36:40 |
hexa | how far do you think nginx scales with such a map? | 21:37:27 |
Dandellion | https://github.com/dali99/nixos-matrix-modules | 21:38:47 |
Dandellion | I kept history from the pastebins. So apparently first time I shared the module was in October 2020! | 21:40:56 |
Dandellion | explains how awful it is since it was likely one of the first modules I ever wrote | 21:41:13 |
hexa | hah, we've all been there | 21:41:30 |
@andreas.schraegle:helsinki-systems.de | In reply to @hexa:lossy.network how far do you think nginx scales with such a map? you can always set pcre_jit on, if you're afraid of regex slowing you down 👀 | 21:44:52 |
hexa | pretty sure you were afraid 😛 | 21:45:20 |
Janne Heß | In reply to @hexa:lossy.network pretty sure you were afraid 😛 until now | 21:46:02 |
Janne Heß |  Download image.png | 21:46:06 |
| 8 Feb 2022 |
hexa | ok, heads up | 01:07:42 |
hexa | I'm going to rfc42 the module | 01:07:49 |
hexa | it will be full of removed and renamed options which will show a migration path | 01:08:16 |
hexa | and I expect piegames to rejoin the mumble ASAP | 01:08:31 |
piegames | Hey | 01:08:46 |
hexa | lame! | 01:09:08 |
hexa | lol, mkRenamedOptionModule does not work on submodules … RIP | 02:38:19 |
hexa | https://github.com/NixOS/nixpkgs/issues/96006 | 02:38:20 |