- 15 Posts
- 17 Comments
When I started learning scripting, some internet guy recomended me this resource: https://mywiki.wooledge.org/ I really like it, espescially FAQ. I guess you would like Parameter Expansion chapter.
kiri@ani.socialto
Linux@programming.dev•[Answered] Video players that look like IINA, or can?
5·3 months agoI think there is no out of the box such video players. Check plugins for mpv on screen controller, some of them may suit you. awesome mpv
kiri@ani.socialto
Programmer Humor@programming.dev•Slapping on a `.expect` is also error handling!
2·7 months agogoto fail;
kiri@ani.socialto
Linux@programming.dev•How to test Wayland from a live USB? (Ubuntu/Kubuntu)
2·7 months agoAs I know, Kubuntu 25.04 (not LTS) uses Wayland only, so you can try it there. If you need exactly 24.04 then idk.
kiri@ani.socialto
Linux@programming.dev•5 Open Source Apps You Can use for Seamless File Transfer Between Linux and Android
81·7 months agoIn termux (base python module):
python -m http.server 8080In linux desktop browser:
http://192.168.100.1:8080/ # your ip in `ifconfig` and portor vice versa.
When I “solved” teering on nvidia by installing i3 and started using only terminal, because any gui program was still freezing.
offtop
By the way, (unofficial) manjaro i3/sway were really good, inspite of populistic opinion about manjaro, especially in comparison with fedora i3 or endeavouros i3 (but still just arch/void is better, when you get used to terminal, than arch-based distros).
kiri@ani.socialto
linuxmemes@lemmy.world•What's your favourite OS that does not use systemd?
91·9 months agoThere is an openrc package in aur, so perhaps arch can use non-systemd init as well.
kiri@ani.socialto
Linux@programming.dev•The end of Windows 10 is approaching, so it's time to consider Linux and LibreOffice
162·9 months agoI’m not that old linux user so it’s a bit interesting for me, when Windows 7 was closing, linux community was also so excited and offered everyone to switch to linux?
You beat me to it!
I have a solution with a bit fields. Now your bool is 1 byte :
struct Flags { bool flag0 : 1; bool flag1 : 1; bool flag2 : 1; bool flag3 : 1; bool flag4 : 1; bool flag5 : 1; bool flag6 : 1; bool flag7 : 1; };Or for example:
struct Flags { bool flag0 : 1; bool flag1 : 1: int x_cord : 3; int y_cord : 3; };
It’s pleasure for me to write in rust, I really like how fast I can deploy a working solution (including debug time). As I mentioned, there are situations when, for some reason, you cannot do without C++. But you are right cpp-analyzers do not solve all possible problems.
Yeah, I know, that all just a humour. I almost always use C++, inspite of knowing rust (cz no jun vacncies for rust, but still). There is no modern language which is absolutely better than other one — compromises are everywhere, that’s why it’s a silly topic to argue about.
There are C++ analyzers like this which are also designed to prevent it (if you have no choice between languages).








deleted
I’m sorry didn’t found better variant, but almost like this (be carefull, it’s loud):