If you want to understand how 3D projection works, it’s better to solve a few trigonometric equations by hand on a piece of paper, then copy these equations to your Python code.
If you just want to quickly make your own 3D renderer, simply use OpenGL API and the corresponding projection matrix. It will run the same exact formulas inside the driver, just in a 4x4 matrix form, and you can simply experiment with modifying each element of your projection matrix to make your 3D scene rotate the way you want, without bothering to understand the math.
Simply copying some formula from the net will most probably fail.
Torvalds kicked out a bunch of Russia-based kernel maintainers.
The security issue is very likely scenario. If you’re in Russia, you can go to jail at any moment on totally bogus charges. It is very easy for FSB to pressure some random kernel maintainer into adding hard to detect backdoor into their code, it will be XZ situation all over again.
Yes they do. See the long-standing debate over the ban to export crypto algorithms to Iran.
What about systemctl poweroff
?
I had the root canal done without an anesthesia, because I did not want a needle sticking into my gum.
It was tolerable, I did not cry or anything like. The nerve was mostly dead anyway.
The dentist took his sweet time removing the nerve piece by piece with a probe, instead of just drilling the whole tooth through. It did not matter at the end anyway, because he filled the canal afterwards. And the molar has three roots, so he repeated that two more times.
I guess it depends on your pain tolerance.
SDL2, with Android NDK, commandline version.
You can install Linux on rooted phones using Linux Deploy, or you can install Linux-in-an-app such as Userland or Termux if you don’t have root.
You simply need to accept the risc.
I guess that phone would use eSim, so no slot is needed.
This needs some simple hardware trigger, that can be queried by bootloader, but specific wnough so it won’t trigger in your pocket. If buttons are unavailable, I can propose several idead:
wcsoll is a mispronunciation of 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.
You can set up your own IPv6 server, and it will be accessible from every other IPv6 device. Do you want to create a Lemmy server using only your phone and Verizon mobile data? Yes you can! *
* Instructions for installing Linux environment on Android phone and setting up free DNS and HTTPS certificates are not included.
That’s the main point. IPv4 fails because half of all existing IPv4 devices cannot access the other half of IPv4 devices directly, they have to go around using some kind of relay server, which inevitably complicates communications and costs extra money.