Oliver Smith
Oliver Smith
derping while making a typo-fix pr is pure win, amirite?
I've noticed that _sometimes_ you can get a `'\0'` token at unexpected EOF: ``` _block_comment: $ => /\/#(#[^\/]|\r?\n|[^#])*#\//, ... ``` test: ``` ========================== Incomplete block comment ========================== /# --- (document...
Note: On Windows, regular tk menus work fine:  until you use Dark mode  And if you want to get fancy, I'm happy to contribute the following code for...
Sure: ``` 01/28/2023 12:43:00 [C:\temp] Win|PS> python -c 'open("out.txt", "wb").write(b"a\nb\nc\n")'; dir out.txt Directory: C:\temp Mode LastWriteTime Length Name ---- ------------- ------ ---- -a--- 1/28/2023 12:43 PM 6 out.txt 01/28/2023 12:43:02...
Perhaps there's some contextuality to it, but the sqladmin tool I discovered this thru is platform agnostic basic C stdio, and like curl it simply uses stdout as a default...
In the examples I'm just using Powershell out of habbit - I do a lot of cross-platform work. However it also happens from a regular old, cmdhost hosted cmd prompt...
It's not curl that's the issue, it's the way DOS implements ">". That's why the solution presented here was to tell curl to write the output directly to a file...
Doesn't look like the site has the bandwidth for the downloads: ``` PS> curl -L -k https://me.cmdr2.org/stable-diffusion-ui/sd-v1-4.ckpt --output sd-v1-4.ckpt % Total % Received % Xferd Average Speed Time Time Time...
The std::exchange requires c++14, however, so you may want to just use ``` : data_(other.data_), owned_(other.owned_) { other.data_ = nullptr; other.owned_ = false; } ```
Exactly that you are copying the pointer. If the object you are copying from is a temporary, it will be destroyed immediately after this method. The pointer you copied is...