I know at least three ways, one of them involves variadic macros.
You don’t even need to look that far, take any sufficiently aged library, like OpenGL.
I know at least three ways, one of them involves variadic macros.
You don’t even need to look that far, take any sufficiently aged library, like OpenGL.
C++ is fiiiiine. Just use the modern variant of the language, don’t bother with hand-optimizing your memory allocators, and generally avoid anything involving pointer arithmetics. So, basically, use it like you would use Python.
You’ve mispronounced wcscoll.
I’m pretty sure Apple and Google already rewritten all important GNU parts into something with Apache or BSD license, to throw everything GPL licensed out of their embedded systems. The biggest and most important part was obviously GCC, replaced by Clang.
How many GPL-licensed system libraries and tools are in Android right now, except for the kernel? I’m pretty sure the answer is zero.
It’s wild seeing square brackets for something other than array indexing.
Eh, Lemmy Connect does not format it properly.
Just look at those nested parentheses. A true sign of (pedantic) greatness, when a person needs to clarify something in their earlier clarification.
Ctrl-C
will not do what you expect, use Ctrl-Shift-C
, or click mouse wheelXTerm
Ctrl-Alt-F1
, you can press Alt-F7
to switch back to the graphical desktopvi
, no need to reboot your PCmc
and get all the benefits without typing cd
and ls
every time you want to find a specific file⁽¹⁾ Real Fedora-Wearing Sysadmins don’t use vi
to edit files, they either write a sed
script or use cat
to copy the file to the terminal, then use cat
again to copy the contents of the terminal back into the file by clicking the mouse wheel while typing manually the lines they need to change.
“How do we make a 7-feet-long blade with a 25-foot-long edge?”
Nope. The LGPL license only requires that the user must be able to replace LGPL libraries with their own version. In theory root access is not required, but it will require some heavy effort from the manufacturer to provide a way to replace system libraries without somehow leaving a huge root exploit. Unless they implement virtualization.
You can listen to FM radio with gqrx relatively easily, if you can navigate through hundreds of input boxes.
sudo apt-get install gqrx
Anything more complicated will require some coding knowledge, unless someone already created a library for that specific thing.
There is also a ready-made package to listen to GPS signal, unfortunately it needs an external amplifier and a proper antenna, because RTL-SDR is not sensitive enough for GPS.
It was so simple for Google to add desktop mode to Android during Android 5 times. And they even had Android TV as a mouse-oriented hardware. And they could populate Play Store with quality opensource Linux desktop apps, by just organizing the work, there’s currently no technical reason why Krita or Gimp couldn’t be built for Android natively, it’s just that no one cares to do it after Google ignored Android desktop mode for ten years.
I guess someone could cross-compile a bunch of desktop Linux apps like Gimp or Krita and publish them to Play Store to run on Chromebooks. There was some work on porting Wayland to Android, there’s also X server on Android although it’s unmaintained, and all other libraries like QT and GTK can be cross-compiled with some effort on top of Bionic.
I’ve had problems with KDE on Wayland on Debian 12, it fails when entering sleep mode with multiple monitors. Thankfully, KDE on X is just one package install away, and it works with no bugs.
I advise booking a city square, loud music, background dancers, printed flyers with the URL of your Github repo, and a big countdown clock when you change repo visibility to public (Github has an option for that, but you need to click it yourself at the exact time, there no option to publish it on timer).
I’ve switched to X11 last week, because kwin_wayland crashes each time my monitor enters low-power mode.
Yet I still had an urge to explain an obvious thing. Because it’s C++, so everyhing goes. There are even tools to auto-generate C++ interfaces, because of course someone decided that C++ is inadequate and must be improved using some kind of poorly-documented ad-hoc extension language on top of C++.