DEV Community

Cover image for A technical documentation to ultimate freedom in life
Ali Alp
Ali Alp

Posted on

A technical documentation to ultimate freedom in life

This is a default human behavior in C

GitHub logo alicommit-malp / freedom

A technical documentation to freedom in life for software developers :)

freedom

A technical documentation to freedom in life for software developers :)

This is a default human behavior in C

#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <time.h>

int main(void)
{
    bool anger_event = false;
    
    srand(time(NULL));
    anger_event = rand() % 2 == 0;

    if (anger_event) {
        printf("Show anger.\n");
    } else {
        printf("All is calm.\n");
    }

    return 0;
}
Enter fullscreen mode Exit fullscreen mode

This is the upgraded human behavior after doing meditation

While practicing meditation, let thoughts enter but decide if you agree to process them, this will create the gap (freedom) over time.

#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <time.h>
int main(void)
{
    bool anger_event = false;
    
    srand(time(NULL));
    anger_event = rand() % 2 == 0;

    bool conscious_choice = !anger_event; // ← this
Enter fullscreen mode Exit fullscreen mode

#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <time.h>

int main(void)
{
    bool anger_event = false;

    srand(time(NULL));
    anger_event = rand() % 2 == 0;

    if (anger_event) {
        printf("Show anger.\n");
    } else {
        printf("All is calm.\n");
    }

    return 0;
}
Enter fullscreen mode Exit fullscreen mode

This is the upgraded human behavior after doing meditation

While practicing meditation, let thoughts enter but decide if you agree to process them, this will create the gap (freedom) over time.

#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <time.h>

int main(void)
{
    bool anger_event = false;

    srand(time(NULL));
    anger_event = rand() % 2 == 0;

    bool conscious_choice = !anger_event; // ← this is freedom

    if (anger_event && conscious_choice) {
        printf("Show anger.\n");
    } else {
        printf("All is calm.\n");
    }

    return 0;
}
Enter fullscreen mode Exit fullscreen mode

Diff

Freedom added to default human behavior

Worth sharing ?

Top comments (0)