phiresky

Results 120 issues of phiresky

(semi-related to https://github.com/larkery/zsh-histdb/issues/2) When you remove the `group by` command and add an index on time: `create index hist_time on history(start_time);` For example compare this (slow): ```sql -- explain query...

The browser gets a `Not Found` response, the server crashes with ``` Error: Can't set headers after they are sent. at validateHeader (_http_outgoing.js:504:11) at ServerResponse.setHeader (_http_outgoing.js:511:3) at Object.set (./node_modules/koa/lib/response.js:440:16) at...

When creating a new empty diagram on diagrams.net, it looks like this: ![image](https://user-images.githubusercontent.com/2303841/105173655-3ebfcf80-5b19-11eb-9bbe-a1b62c610fec.png) In your extension, it instead looks like this: ![image](https://user-images.githubusercontent.com/2303841/105173701-4ed7af00-5b19-11eb-845b-d44b4d08fdee.png) It would be helpful if the defaults would...

needs more info

screenshot on diagrams.net: ![image](https://user-images.githubusercontent.com/2303841/120011995-33a51080-bfdf-11eb-8852-8c26dab18959.png) screenshot in extension: ![image](https://user-images.githubusercontent.com/2303841/120012011-3869c480-bfdf-11eb-9852-a7db277a3d36.png)

needs more info

This also indirectly breaks PIL.ImageOps.exif_transpose(). ### What did you do? ```python PIL.Image.open("x.jpg").getexif().tobytes() ``` The image is attached: [x.jpg](https://user-images.githubusercontent.com/2303841/184104418-0eb54b27-50f1-4f3e-88f6-07329313faf2.jpg) ### What actually happened? throws: ``` File .../.venv/lib/python3.10/site-packages/PIL/Image.py:3589, in Exif.tobytes(self, offset) 3587...

Exif

I got ``` Traceback (most recent call last): File "NPE.py", line 57, in config_module = imp.load_source('config',config_path) File "IAN_simple.py", line 12, in from lasagne.layers import batch_norm as BN ImportError: cannot import...

I guess since #12 / #15, scrot ignores the given file name and instead silently writes the result to a completely different file. To reproduce: ``` $ scrot /tmp/screenshot.png $...

* cattrs version: current master (a10ad1c638dd16308c9aa73c649fa92282503c00) * Python version: 3.10 * Operating System: Linux ### Description I'm serializing a dataclass with a field. If the field has a more generic...

* cattrs version: current master * Python version: 3.10 * Operating System: Linux * Let me know when you get annoyed by my issues ;) ### Description cattrs supports passing...

### Description Right now, it seems like union types are only supported if (a) the options are all attrs classes or None and (b) the attrs classes have unique attributes....