Did you know? Typing man tool in your web browser will bring you several websites with online manpages for tool and an useless AI overview on the top!
pelya
- 3 Posts
- 220 Comments
pelya@lemmy.worldto
Programming@programming.dev•Is it viable to run a SDL linux program/game from Termux?
10·1 month agoIt won’t, because there’s no graphics display, so SDL won’t initialize.
You need to install and launch Termux:X11 to provide a video surface, and it won’t support GL acceleration.
It’s trivial to make the battery thicker to match the camera bump. Thin phones have thin camera bumps that still stick out, it’s totally a design choice.
I would expect something worse than bubble sort. No idea whether it will even work:
void reverse(auto A, int start, int end) { for (int i = 0; i < (end - start) / 2; i = i + 1) { auto tmp = A[start + i]; A[start + i] = A[end - i]; A[end - i] = tmp; } } for (int j = 0; j < N; j = j + 1) { for (int i = 0; i < N; i = i + 1) { if (A[i] < A[i + 1]) { reverse(A, i, N); } } }
For ages it was safe to download and open random files on Linux, because they simply would not run. Now Linux is a very desirable target for criminals, so they learned to write multiplatform viruses.
The best option would be an automatic sandbox for running random crap downloaded who knows where, and Android does that automatically, but on desktop Linux you need to either create a new user (and remove world-readable permissions from your main account files), or create a custom Docker container, or create a chroot, or launch a VM, all of which require half a day of learning new tools, and then debugging why graphics would not work.
pelya@lemmy.worldto
Lemmy Shitpost@lemmy.world•It's quite the burden knowing I'm always the smartest person in any given room.
3·2 months agostanding uncomfortably close It’s called 𝔓𝔩𝔞𝔰𝔪𝔞 now
pelya@lemmy.worldto
Lemmy Shitpost@lemmy.world•It's quite the burden knowing I'm always the smartest person in any given room.
2·2 months agoOnly on the kernel ackshually. Most packages are GPL3 or BSD or Apache.
If you don’t plan to edit source files, Linux distribution licenses boil down to “do whatever just don’t sue us”
Yup, it was a male cat
The executable will search for .so files not inside predefined paths like /usr/lib but inside it’s current directory. You may theoretically put
.as an argument toconfigure, but it converts that into an absolute path, snd libtool and linker fail when encountering relative paths inside shared library dependencies.
I am using this myself in Android app, where you can write files only inside
/data/data/your.app.id/So naturally, if you want to publish a different app,
your.app.idwill be different, so you need to recompile all your Linux tools that you bundle inside your app.If you are not running your Linux tools on Android, you’d probably be better off using Docker or a chroot.
--prefix=$(pwd)is resolved at compile time. If you move your compiled .so files to a different directory, they stop working.
Do you know how to build portable executables?
configure --prefix=/proc/self/pwdIt even works in .so files and libtool.
pelya@lemmy.worldto
Programmer Humor@programming.dev•Who has the best name in the programming space?
13·2 months agoBrowse Linux credits for some funky names. My favorite is Jos Vos.
pelya@lemmy.worldto
Technology@lemmy.world•If the markets reject OpenAI and Anthropic, the US should nationalize themEnglish
4·2 months agoEach investor will get one CD of ChatGPT training data per share as a bankruptcy settlement. Every CD need to be inserted into a single user-provided server to train the model anew, because it’s saved as a multipart archive.
Use Krita instead. It has a big tiddy anime waifu right on the splash screen.
killall kdeconnectd ; kdeconnect-cli -lFixes connection problems instantly. Yeah, I’ve put that into my crontab.
pelya@lemmy.worldto
Linux@programming.dev•GNOME Receiving Additional Design Help Thanks To Sovereign Tech Agency Fellowship
4·2 months agoOooh. Gnome gets a dedicated software developer. Just imagine what he could add in two years.
DESKTOP
WITH
ICONS
xzcomes standard with every Linux distribution, and it implements the same 7zip compression algorithm but with more options.








It’s now quite heavily tied to China, where most mining happens because of cheap hardware and electricity.