Sander

Results 162 comments of Sander

> I'm willing to diagnose this as long as you're willing to test out my random shots in the dark. Thank you. > I don't really have your environment set...

That one built without problems. [build.Dockerfile.animetosho_2024-08-26.log](https://github.com/user-attachments/files/16745745/build.Dockerfile.animetosho_2024-08-26.log) Still strange: an error when trying to run parpar.js ... which is solved by manuall installing async. Which I tried putting into Dockerfile, without...

So use case: you're downloading via your wifi at home, with stuff still in the Queue. Then you switch to a metered connection, like in the train, and SAB detects...

website: "You can manually set Wi-Fi and Ethernet network connections to metered if you want to reduce the amount of data used by apps and services on that network. A...

Ah, "metered" is there in Ubuntu too: See screenshot. And you can check if active netowork connection is metered with: (EDITED with easier code) ``` import nmcli nmcli.disable_use_sudo() name =...

Thanks for the quick answer. ``` ll ~/cross-aarch64-w64-mingw32-msvcrt/libexec/gcc/aarch64-w64-mingw32/15.0.0/ export PATH="~/cross-aarch64-w64-mingw32-msvcrt/libexec/gcc/aarch64-w64-mingw32/15.0.0/:$PATH" ``` ``` sander@brixit:~/cross-aarch64-w64-mingw32-msvcrt$ printenv PATH ~/cross-aarch64-w64-mingw32-msvcrt/libexec/gcc/aarch64-w64-mingw32/15.0.0/:~/cross-aarch64-w64-mingw32-msvcrt/bin:/home/sander/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ``` Looks good? But still ``` sander@brixit:~/cross-aarch64-w64-mingw32-msvcrt$ aarch64-w64-mingw32-gcc ../hello.c aarch64-w64-mingw32-gcc: fatal error: cannot execute...

I read -B could help, but ``` sander@brixit:~/cross-aarch64-w64-mingw32-msvcrt$ aarch64-w64-mingw32-gcc -B ~/cross-aarch64-w64-mingw32-msvcrt/libexec/gcc/aarch64-w64-mingw32/15.0.0/ ../hello.c ../hello.c:1:19: error: no include path in which to search for stdio.h 1 | #include | ^ ../hello.c: In...

Is this how -I should be used? ``` sander@brixit:~/cross-aarch64-w64-mingw32-msvcrt$ aarch64-w64-mingw32-gcc -B ~/cross-aarch64-w64-mingw32-msvcrt/libexec/gcc/aarch64-w64-mingw32/15.0.0/ -I /home/sander/cross-aarch64-w64-mingw32-msvcrt/include ../hello.c ../hello.c:1:10: fatal error: stdio.h: No such file or directory 1 | #include | ^~~~~~~~~ compilation...

So ... hard-specifying the location inside the bin directory? With a bit different pathes ... that works: ``` sander@brixit:~$ ~/cross-aarch64-w64-mingw32-msvcrt/bin/aarch64-w64-mingw32-gcc ./hello.c -o hello_1234 sander@brixit:~$ sander@brixit:~$ file hello_1234 hello_1234: PE32+ executable...

Interesting: ``` (venv) sander@zwarte-2504:~/python-sagemcom-api$ cat fast-output.json | python3 -m json.tool Expecting property name enclosed in double quotes: line 1 column 2 (char 1) ``` So replace single-quote with double-quote, and...