• 0 Posts
  • 116 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle
  • 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.



  • 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.






  • 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.







  • 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:

    • Cover the proximity sensor 10 times per second. Requires good motor skills.
    • Shine separated red, green, and blue lasers into three of the phone cameras. You’ll need a box with three different-colored LEDs to cover cameras module.
    • There is a low-speed data channel in wireless chargers. Just add the button to the charger instead of the phone.
    • Put your phone at exactly 2.5G of acceleration. Accelerometer is easy to use even from the bootloader, however you will need to put your phone in a centrifuge and reboot it while it’s rotating.
    • An option ‘Reboot into recovery’ in system settings, duh. Won’t help if your ROM fails to boot.


  • pelya@lemmy.worldtoLinux@lemmy.ml33 years ago...
    link
    fedilink
    arrow-up
    11
    ·
    3 months ago

    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.





  • pelya@lemmy.worldtoLinux@lemmy.mlBeginners Guides
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago
    • Ctrl-C will not do what you expect, use Ctrl-Shift-C, or click mouse wheel
    • There are many better terminal emulators that XTerm
    • If you accidentally press Ctrl-Alt-F1, you can press Alt-F7 to switch back to the graphical desktop
    • There are in fact many ways to exit vi, no need to reboot your PC
    • There’s no need to suffer through The True Commandline Experience For Real Fedora-Wearing Sysadmins⁽¹⁾, just install mc 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.