Redpill Il processo mentale di selezione delle NP visualizzato graficamente.

Per rivelazioni crudo-realiste
Tie, eccoti il codice sorgente in C

C:
#include <stdio.h>
#include <stdbool.h>

/* ============================
   Finite State Machine States
   ============================ */

typedef enum {
    STATE_START,
    STATE_PRELIMINARY_EVALUATION,
    STATE_POST_DATE_EVALUATION,
    STATE_ACCEPTED,
    STATE_FRIENDZONE,
    STATE_REJECTED
} State;

/* ============================
   Candidate Data Structure
   ============================ */

typedef struct {
    bool handsome;
    bool taller_by_20cm;
    bool permanent_job;
    bool owns_car;
    bool owns_house;
    bool pays_everything;
    bool better_options_available;
    bool enjoyable_date;
    bool common_interests;
    bool compatible_hobbies;
    bool instagrammable;
    bool at_least_ten_dates;
    bool found_more_handsome;
} Candidate;

/* ============================
   Evaluation Functions
   ============================ */

bool preliminary_evaluation(Candidate c) {
    if (!c.taller_by_20cm) return false;
    if (!c.permanent_job) return false;
    if (!c.owns_car) return false;
    if (!c.owns_house) return false;
    if (!c.pays_everything) return false;
    if (c.better_options_available) return false;
    return true;
}

bool post_date_evaluation(Candidate c) {
    if (!c.enjoyable_date) return false;
    if (!c.common_interests) return false;
    if (!c.compatible_hobbies) return false;
    if (!c.instagrammable) return false;
    if (!c.at_least_ten_dates) return false;
    return true;
}

/* ============================
   Finite State Machine Logic
   ============================ */

State run_state_machine(Candidate c) {

    State current_state = STATE_START;

    while (1) {

        switch (current_state) {

            case STATE_START:
                if (c.handsome) {
                    current_state = STATE_ACCEPTED;
                } else {
                    current_state = STATE_PRELIMINARY_EVALUATION;
                }
                break;

            case STATE_PRELIMINARY_EVALUATION:
                if (!preliminary_evaluation(c)) {
                    return STATE_REJECTED;
                }
                current_state = STATE_POST_DATE_EVALUATION;
                break;

            case STATE_POST_DATE_EVALUATION:
                if (!post_date_evaluation(c)) {
                    return STATE_FRIENDZONE;
                }

                if (c.found_more_handsome) {
                    return STATE_FRIENDZONE;
                }

                current_state = STATE_ACCEPTED;
                break;

            case STATE_ACCEPTED:
                return STATE_ACCEPTED;

            default:
                return STATE_REJECTED;
        }
    }
}

/* ============================
   Demonstration Main Function
   ============================ */

int main() {

    Candidate c = {
        .handsome = false,
        .taller_by_20cm = true,
        .permanent_job = true,
        .owns_car = true,
        .owns_house = true,
        .pays_everything = true,
        .better_options_available = false,
        .enjoyable_date = true,
        .common_interests = true,
        .compatible_hobbies = true,
        .instagrammable = true,
        .at_least_ten_dates = true,
        .found_more_handsome = false
    };

    State result = run_state_machine(c);

    switch (result) {
        case STATE_ACCEPTED:
            printf("Outcome: ACCEPTED\n");
            break;
        case STATE_FRIENDZONE:
            printf("Outcome: FRIENDZONE\n");
            break;
        case STATE_REJECTED:
            printf("Outcome: REJECTED\n");
            break;
        default:
            printf("State error.\n");
    }

    return 0;
}
 
Tie, eccoti il codice sorgente in C

C:
#include <stdio.h>
#include <stdbool.h>

/* ============================
   Finite State Machine States
   ============================ */

typedef enum {
    STATE_START,
    STATE_PRELIMINARY_EVALUATION,
    STATE_POST_DATE_EVALUATION,
    STATE_ACCEPTED,
    STATE_FRIENDZONE,
    STATE_REJECTED
} State;

/* ============================
   Candidate Data Structure
   ============================ */

typedef struct {
    bool handsome;
    bool taller_by_20cm;
    bool permanent_job;
    bool owns_car;
    bool owns_house;
    bool pays_everything;
    bool better_options_available;
    bool enjoyable_date;
    bool common_interests;
    bool compatible_hobbies;
    bool instagrammable;
    bool at_least_ten_dates;
    bool found_more_handsome;
} Candidate;

/* ============================
   Evaluation Functions
   ============================ */

bool preliminary_evaluation(Candidate c) {
    if (!c.taller_by_20cm) return false;
    if (!c.permanent_job) return false;
    if (!c.owns_car) return false;
    if (!c.owns_house) return false;
    if (!c.pays_everything) return false;
    if (c.better_options_available) return false;
    return true;
}

bool post_date_evaluation(Candidate c) {
    if (!c.enjoyable_date) return false;
    if (!c.common_interests) return false;
    if (!c.compatible_hobbies) return false;
    if (!c.instagrammable) return false;
    if (!c.at_least_ten_dates) return false;
    return true;
}

/* ============================
   Finite State Machine Logic
   ============================ */

State run_state_machine(Candidate c) {

    State current_state = STATE_START;

    while (1) {

        switch (current_state) {

            case STATE_START:
                if (c.handsome) {
                    current_state = STATE_ACCEPTED;
                } else {
                    current_state = STATE_PRELIMINARY_EVALUATION;
                }
                break;

            case STATE_PRELIMINARY_EVALUATION:
                if (!preliminary_evaluation(c)) {
                    return STATE_REJECTED;
                }
                current_state = STATE_POST_DATE_EVALUATION;
                break;

            case STATE_POST_DATE_EVALUATION:
                if (!post_date_evaluation(c)) {
                    return STATE_FRIENDZONE;
                }

                if (c.found_more_handsome) {
                    return STATE_FRIENDZONE;
                }

                current_state = STATE_ACCEPTED;
                break;

            case STATE_ACCEPTED:
                return STATE_ACCEPTED;

            default:
                return STATE_REJECTED;
        }
    }
}

/* ============================
   Demonstration Main Function
   ============================ */

int main() {

    Candidate c = {
        .handsome = false,
        .taller_by_20cm = true,
        .permanent_job = true,
        .owns_car = true,
        .owns_house = true,
        .pays_everything = true,
        .better_options_available = false,
        .enjoyable_date = true,
        .common_interests = true,
        .compatible_hobbies = true,
        .instagrammable = true,
        .at_least_ten_dates = true,
        .found_more_handsome = false
    };

    State result = run_state_machine(c);

    switch (result) {
        case STATE_ACCEPTED:
            printf("Outcome: ACCEPTED\n");
            break;
        case STATE_FRIENDZONE:
            printf("Outcome: FRIENDZONE\n");
            break;
        case STATE_REJECTED:
            printf("Outcome: REJECTED\n");
            break;
        default:
            printf("State error.\n");
    }

    return 0;
}
Pure diassemblato su come viene eseguito dal cervello delle np

Codice:
; struct Candidate layout (bool = 1 byte)
; offset
; 0  handsome
; 1  taller_by_20cm
; 2  permanent_job
; 3  owns_car
; 4  owns_house
; 5  pays_everything
; 6  better_options_available
; 7  enjoyable_date
; 8  common_interests
; 9  compatible_hobbies
; 10 instagrammable
; 11 at_least_ten_dates
; 12 found_more_handsome

Codice:
; bool preliminary_evaluation(Candidate c)
; parametro passato per copia su stack

_preliminary_evaluation:
    push ebp
    mov  ebp, esp

    mov  eax, [ebp+8]        ; address of struct copy

    ; if (!taller_by_20cm) return 0
    mov  bl, [eax+1]
    test bl, bl
    je   .false

    ; if (!permanent_job) return 0
    mov  bl, [eax+2]
    test bl, bl
    je   .false

    ; if (!owns_car) return 0
    mov  bl, [eax+3]
    test bl, bl
    je   .false

    ; if (!owns_house) return 0
    mov  bl, [eax+4]
    test bl, bl
    je   .false

    ; if (!pays_everything) return 0
    mov  bl, [eax+5]
    test bl, bl
    je   .false

    ; if (better_options_available) return 0
    mov  bl, [eax+6]
    test bl, bl
    jne  .false

    mov  eax, 1
    jmp  .end

.false:
    xor  eax, eax

.end:
    pop  ebp
    ret

Codice:
_post_date_evaluation:
    push ebp
    mov  ebp, esp

    mov  eax, [ebp+8]

    mov  bl, [eax+7]
    test bl, bl
    je   .false

    mov  bl, [eax+8]
    test bl, bl
    je   .false

    mov  bl, [eax+9]
    test bl, bl
    je   .false

    mov  bl, [eax+10]
    test bl, bl
    je   .false

    mov  bl, [eax+11]
    test bl, bl
    je   .false

    mov  eax, 1
    jmp  .end

.false:
    xor  eax, eax

.end:
    pop  ebp
    ret

Codice:
; State run_state_machine(Candidate c)

_run_state_machine:
    push ebp
    mov  ebp, esp
    sub  esp, 4              ; local current_state

    mov  eax, 0              ; STATE_START = 0
    mov  [ebp-4], eax

.loop:

    mov  eax, [ebp-4]

    cmp  eax, 0              ; STATE_START
    je   .state_start

    cmp  eax, 1              ; STATE_PRELIMINARY_EVALUATION
    je   .state_pre

    cmp  eax, 2              ; STATE_POST_DATE_EVALUATION
    je   .state_post

    cmp  eax, 3              ; STATE_ACCEPTED
    je   .return_accept

    jmp  .return_reject

; ----------------------

.state_start:
    mov  edx, [ebp+8]
    mov  bl, [edx+0]         ; handsome
    test bl, bl
    jne  .accept

    mov  dword [ebp-4], 1
    jmp  .loop

.state_pre:
    push dword [ebp+8]
    call _preliminary_evaluation
    add  esp, 4
    test eax, eax
    je   .return_reject

    mov  dword [ebp-4], 2
    jmp  .loop

.state_post:
    push dword [ebp+8]
    call _post_date_evaluation
    add  esp, 4
    test eax, eax
    je   .return_friendzone

    mov  edx, [ebp+8]
    mov  bl, [edx+12]        ; found_more_handsome
    test bl, bl
    jne  .return_friendzone

.accept:
    mov  eax, 3
    jmp  .end

.return_friendzone:
    mov  eax, 4
    jmp  .end

.return_reject:
    mov  eax, 5
    jmp  .end

.return_accept:
    mov  eax, 3

.end:
    mov  esp, ebp
    pop  ebp
    ret

Notare, per chi davvero s'intende di architetture hardware, di come il cervello delle np sia sottosviluppato perché non sono presenti istruzioni SIMD (tipo MMX o SSE), e il codice macchina non sia ottimizzato.
 
Ma io non capisco cosa ci trovate di strano????????????????????????? 🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔

Anch’io se vedo una figa non mi faccio problemi, se una non mi convince comincio a chiedermi se è troppo alta o troppo bassa se troppo snob o ha basso status se è troppo ricca oppure sfigata che telefono ha che auto ha che viaggi fa che lavoro fa ecc, se vedo una figa tutte queste cose non me le chiedo (intanto ci faccio sesso e poi si vede), non ci vedo nulla di strano in questo!!!!!!!!!!
 
Ma io non capisco cosa ci trovate di strano????????????????????????? 🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔🤔

Anch’io se vedo una figa non mi faccio problemi, se una non mi convince comincio a chiedermi se è troppo alta o troppo bassa se troppo snob o ha basso status se è troppo ricca oppure sfigata che telefono ha che auto ha che viaggi fa che lavoro fa ecc, se vedo una figa tutte queste cose non me le chiedo (intanto ci faccio sesso e poi si vede), non ci vedo nulla di strano in questo!!!!!!!!!!
Detto da uno che si spara 20lt di Copa Cola...
 
Detto da uno che si spara 20lt di Copa Cola...
Ma l’hai capito che è stata una strategia per uscire dall’alcolismo, e tra l’altro ci sono riuscito
Hai mai sentito che una delle componenti (spesso addirittura la principale) delle dipendenze é la gestualità? Stesso motivo per cui é stata inventata la sigaretta elettronica!
Ora infatti non bevo più tutti quei litri di Coca Cola, ora sto a 2 lt e tra domani e lunedì passerò a 1 lt e poi a 0 (anche perché a me nemmeno piace la Coca Cola*)

* sia chiaro ‘non mi piace’ non significa che mi disgusta come le verdure, ma che per me ha lo stesso sapore dell’acqua, quindi ora che sono uscito dalla dipendenza da alcol non vedo perché dover comprare un’acqua che costa 4 volte di più
 
Indietro
Top