• 6 Posts
  • 341 Comments
Joined 2 years ago
cake
Cake day: July 4th, 2023

help-circle
  • [ This program prints "Hello World!" and a newline to the screen; its
      length is 106 active command characters. [It is not the shortest.]
    
      This loop is an "initial comment loop", a simple way of adding a comment
      to a BF program such that you don't have to worry about any command
      characters. Any ".", ",", "+", "-", "<" and ">" characters are simply
      ignored, the "[" and "]" characters just have to be balanced. This
      loop and the commands it contains are ignored because the current cell
      defaults to a value of 0; the 0 value causes this loop to be skipped.
    ]
    ++++++++                Set Cell #0 to 8
    [
        >++++               Add 4 to Cell #1; this will always set Cell #1 to 4
        [                   as the cell will be cleared by the loop
            >++             Add 2 to Cell #2
            >+++            Add 3 to Cell #3
            >+++            Add 3 to Cell #4
            >+              Add 1 to Cell #5
            <<<<-           Decrement the loop counter in Cell #1
        ]                   Loop until Cell #1 is zero; number of iterations is 4
        >+                  Add 1 to Cell #2
        >+                  Add 1 to Cell #3
        >-                  Subtract 1 from Cell #4
        >>+                 Add 1 to Cell #6
        [<]                 Move back to the first zero cell you find; this will
                            be Cell #1 which was cleared by the previous loop
        <-                  Decrement the loop Counter in Cell #0
    ]                       Loop until Cell #0 is zero; number of iterations is 8
    
    The result of this is:
    Cell no :   0   1   2   3   4   5   6
    Contents:   0   0  72 104  88  32   8
    Pointer :   ^
    
    >>.                     Cell #2 has value 72 which is 'H'
    >---.                   Subtract 3 from Cell #3 to get 101 which is 'e'
    +++++++..+++.           Likewise for 'llo' from Cell #3
    >>.                     Cell #5 is 32 for the space
    <-.                     Subtract 1 from Cell #4 for 87 to give a 'W'
    <.                      Cell #3 was set to 'o' from the end of 'Hello'
    +++.------.--------.    Cell #3 for 'rl' and 'd'
    >>+.                    Add 1 to Cell #5 gives us an exclamation point
    >++.                    And finally a newline from Cell #6
    



  • If you issue a certificate, you proof ownership via * challenge–response test that is validated by each node. If x% (like eg. 70%) of nodes agree that the test is passed, the block counts as validated and can be placed onto the chain. (Each node places the block on their chain and the hash must be same as hash of chain of majority of nodes)














  • It is just to get newer versions of the proprietary drivers faster, and to have a more similar environment as developers. (Like if a feature of the driver is dependent on a new API just added to nearly most recent kernel)

    Kernel updates can bring better support for different hardware which as well can influence how well the GPU drivers work, like, improving them.

    😇but nice to hear that it works on your machine well 💪🏻💪🏻💪🏻


  • 😄yes, but to be honest, I, for example, learned practically all coding I can by reading code together with AI
    And as it is code, I see what happens when I compile/execute it and can uncover hallucinations like this.
    Of course, my code is at first vibe programming with many small commits, but as soon as it is working, I clean up by rebasing and double checking all commits to be consistent.
    And it generally helps me well with my Linux issues, as it is pretty good parsing the arch wiki



  • Petter1@lemm.eetolinuxmemes@lemmy.worldLinux is too hard
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    25 days ago

    To be fair, you most likely have nvidia in your PC.

    As I see it, the distos you tried ether have a gui to install those proprietary drivers, but are on old kernel or no GUI to install them, but a recent kernel.

    Installing nvidia drivers on endeavourOS is very simple and you always get the newest fixes after writing “yay” into console.

    Installing apps is as easy as “yay [desired app]” and then choose out of the list. (Just don’t take the “-git” versions but the “-bin” versions 🤭)

    After that, install steam out of multilib and make sure to pick the right vulkan package (based on GPU driver in use)

    All this nvidia stuff is so complicated on Linux, because nvidia is not caring enough about Linux yet.

    Only way to fix that is adoption.