The #stuff that catch my eyes ?

well ... listening to things and stuff, posting pictures of daily life and past lives ... how much more of me would you want ? i got some pictures i couldnt possibly post for real (not gore.com or anything)

...

even though im a raving lunatic i am me ... you see ? no salespitch

no media hype

no profile picture with a suit to hide the fact that my life consists of drag and inhere i am king ...

no offense, but ... marketing is marketing

life is life

i just read php 7.4 is on combell now (used to be my preferred service when i had money to pay for a REAL piece of server)

i am an absolute opposer of stuff like wordpress b/c it foregoes LEARNING how to , on the other hand, it enables a lot of people to do stuff they otherwise wouldnt, for instance for me, i could use stuff like wordpress for fixing cars or, wordpress for building brick walls that dont topple over since i suck at that, but that doesnt exist ...

from a technical p.o.v. however, wordpress is about as ... euhm censored as it can get .. slow
fake ... fashionable but in the end if you want to customize it you have to get to php anyway ...

so ....

(not a fan of python either ... but some things are unavoidable in some spaces ...)

some COOL STUFF in 7.4 ... the part where it says preloading ... the rest is really too technical for 'the general public im afraid' and its already a geek thing, right ?

so : just one thing : IF YOU'RE USING WORDPRESS, PLEASE UPGRADE YOUR PHP VERSION ... even mister wordpress himself would beg you to do that (fo sho, check it)


on the same not : as i'm a hobbyist, a rank amateur and a dabller, tinkerer and in essence according the Gary Gygax bible a multi-classer (knows a bit about everything but not a real expert in anything), perks being great view due to many viewpoints, downs being VERY SLOW LEVELLING, combined with being a force of chaos and the people in my head it does not lead to the classic definition of efficiency, but , i personally, dont care about that ... i dare say the shining wasn't written by "team king" and harry potter wasn't written by "team Rowling" ... in essence Gates wasn't made by "team gates" from the start and most of them were severe outsiders ,failures and what not, so ... if anyone tells you how to do it,

tell them :

74c.png

life's too short to live in other peoples eyes

, i was saying ? (im wasting time again arent i , i was programming a byte and started typing here ... which is NOT WORTH THE TIME INVESTED ...)

so why do i keep doing it ? something i'll have to figure out

i was saying , as a rank amateur i learn a little every time, if i didnt get interrupt by both "wewontletyou"-people or "iwillshowyoumanageyouandhelpyouuninvited"-people id probably move a lot faster because every time that happes my brain needs to calibrate back into my ZONE

here :

on references ...

using native functions over writing your own like 'duh' and indeed ... does machine language have objects ? (no it doesnt afaik) ... but references with a simple ampersand ?

yea, RTFA if interested its about optimizing for execution time


and ..

well , hm ...

i only function at night, despite what anyone says or tries, forcing me in daylight is counterproductive, i have lived at night since forever , basically since i left home ... its my natural habitat ... and here

when i try to get a byte into it, i tend to stick to stuff that gets me to my kiddie-comfortzone

or re-mastered or re-worked

it's soothing

the scene, man ... the scene, for some reason it seems to be like almost a viking thing or something ... i never heard much about 'the scene' on other continents and it mostly revolved around scandinavian bits and holland for some reason

mostly ... so scene-mentality prevails over marketeering the product ... (maybe that is why im dirt poor LOL ... well ... capability is not determined by power but you can't praise b/c peasant and stuff ... still i'm like that greek who knew nothing, compared to the people in groups like fairlight or booze desigen, or Oxy (or dozens of others), or someone like Jeff Minter who would in his spare time try to code games for machines that still required counting scanlines

i seriously know that i know nothing ... but it also makes the neo-program-style stand out a bit like

censored


hmm ... for one thing atm

im trying to automate what i can around the game , the parts connected to steem that is b/c (ans seriously since steem-engine) i find myself wasting like an hour or more at least doing all that DAILY ... given my state as a schroedingers cat nest and an ill-behaved particle one hour might as well be half a day at times
(time is not constant and i am un-stuck , but people who sometimes read things try all kinds of things ...BECAUSE THEY DONT KNOW WHAT IM SAYING ... which is fine, but the testing me is NOT)

so

Screenshot_2019-12-19_05-53-48.png

php is pretty, right ... not as pretty as perl was , not as pretty as linux shellshock can get but kinda pretty you can combine stuff like

return $line = "Received ".$value['amount']." from ".$value['from'].' , '.$value['memo'].' ('.$timestamp.')';

(and lots more) to oneliners (not as bad as perl or shell, but almost as bad as michael jackson ...)

the way ZeroDesign goes (is one of the people in my head)

would take some kind of a 2 page script and end up with

$account='sakhmet';
$from='upmewhale';
$result = get_10k($account);
$value=inc_wallet($result,$from);
$line[0] = getline($value);

which in the end gets something like

Screenshot_2019-12-19_06-08-23.png

when applied ... but it aint as pretty as shelling ...

for instance : one of the manymanymany sub-scripts originally written for the @tyrnannoght game (at first my intention was to have an ineractive set of posts where 'players' could leave commands daily, maybe something #steemquest would try to achieve over time

a bit like

#!/bin/bash
##################################
export LC_NUMERIC="en_US.UTF-8"
source ../include/paths.inc
source "$INCLUDESOURCEDIR"funcollection.inc

###???1?1?1?1?1?1?

source include/source/playerlocation.inc
source include/source/npclocation.inc
source include/source/citizenalias.inc
##################################
OUTFILES="TYRLOG TYRtxt"
##################################
echo "random" >>TYRtxt
echo "-" >>TYRtxt
##############################################
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# "here we could get problem with playernames"
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
##############################################
echo "here we could get problem with playernames"
#grep ^citizen "$GLOBALPROCESSDIR"TYR_active >data/citizens
NUMBER_OF_CITIZENS=$(cat "$GLOBALPROCESSDIR"list_allcitizens |wc -l)
rm data/vars/blindmelon_alms
while read CITIZEN
do
    if [ -a data/TMP/"$CITIZEN"alias ]
    then
        CITIZEN_ALIAS=$(<data/TMP/"$CITIZEN"alias)
    else
        CITIZEN_ALIAS=$CITIZEN
    fi
    citizenvarrels "$CITIZEN"
    #CITIZENLOCATION=$(citizenlocation $CITIZEN)
    #citizen_home=$(getcitizenstat "HME")
    echo $CITIZEN_ALIAS is in $CITIZENLOCATION >>TYRLOG
    CHANCE=$(( (RANDOM %100) +1 ))
    case "$CITIZENLOCATION" in
    "limbo")
    if [ "$CHANCE" -gt "50" ]
    then
        echo "$CITIZEN_ALIAS revived and washed up on the beach" >>TYRLOG
        ./TYR_move_character.sh0 "$CITIZEN" "washed-up beach"
        
    fi
    ;;
    "washed-up beach")
    if [ "$CHANCE" -lt "99" ]
    then
        if grep "$CITIZENLOCATION/" data/corpselocations
        then
            CORPSE=$(grep "$CITIZENLOCATION/" data/corpselocations |cut -d'/' -f2)
            grep "$CITIZENLOCATION/" data/corpselocations >>"$CITIZENLOCATION"LOG
            echo "$CITIZEN_ALIAS found $CORPSE" >>"$CITIZENLOCATION"LOG
            echo "$CITIZEN_ALIAS found $CORPSE" >>include/chunks/"sub_$CITIZENLOCATION"_npcactions.inc
            echo "$LOCATIONDIR$CITIZENLOCATION/$CORPSE" >>"$CITIZENLOCATION"LOG
            echo $LOCATIONDIR >>"$CITIZENLOCATION"LOG
            CORPSEFOLDER="$LOCATIONDIR$CITIZENLOCATION/$CORPSE"
            echo "$CORPSEFOLDER" >>"$CITIZENLOCATION"LOG
            cat "$CORPSEFOLDER/"*.pocket >>"$CITIZENLOCATION"LOG 
            echo $(cat "$CORPSEFOLDER/"*.pocket ) >>"$CITIZENLOCATION"LOG
            ZONEACCOUNTNAME=$(grep "$CITIZENLOCATION" "$GLOBALPROCESSDIR"alias |cut -d'|' -f1)
            echo "$ZONEACCOUNTNAME""|"$(cat "$CORPSEFOLDER/"*.pocket ) >>"$CITIZENLOCATION"LOG
            #maybe better grep citizen home + cat corpsecoins -> citizenhomezone (unless dies ? more compli?)
            echo "$ZONEACCOUNTNAME""|"$(cat "$CORPSEFOLDER/"*.pocket ) >> "$POCKETFEEDIR""$CORPSE"
            rm -r "$CORPSEFOLDER"
            sed -i "/$CORPSE/d" data/corpselocations
        fi
    fi
    if [ "$CHANCE" -lt "2" ]
    then
        echo "$CITIZEN_ALIAS died in $CITIZENLOCATION" >>TYRLOG
        ./TYR_move_character.sh0 "$CITIZEN" "limbo"
        
    fi
    if [ "$CHANCE" -gt "75" ] && [ "$CITIZENHOME" != "$CITIZENLOCATION" ]
    then
        echo "$CITIZEN_ALIAS moved to the western tunnels" >>TYRLOG
        ./TYR_move_character.sh0 "$CITIZEN" "western tunnels"
        
    fi
    ;;
    "western tunnels")
    if [ "$CHANCE" -lt "99" ]
    then
        if grep "$CITIZENLOCATION/" data/corpselocations
        then
            CORPSE=$(grep "$CITIZENLOCATION/" data/corpselocations |cut -d'/' -f2)
            grep "$CITIZENLOCATION/" data/corpselocations >>"$CITIZENLOCATION"LOG
            echo "$CITIZEN_ALIAS found $CORPSE" >>"$CITIZENLOCATION"LOG
            echo "$CITIZEN_ALIAS found $CORPSE" >>"$CITIZENLOCATION"txt
            echo "$LOCATIONDIR$CITIZENLOCATION/$CORPSE" >>"$CITIZENLOCATION"LOG
            echo $LOCATIONDIR >>"$CITIZENLOCATION"LOG
            rm -r "$LOCATIONDIR$CITIZENLOCATION/$CORPSE"
            sed -i "/$CORPSE/d" data/corpselocations
        fi
    fi
    if [ "$CHANCE" -lt "2" ]
    then
        echo "$CITIZEN_ALIAS died in $CITIZENLOCATION" |tee -a ${OUTFILES}
        ./TYR_move_character.sh0 "$CITIZEN" "limbo"
        #./TYR_get_characterlocations.sh0
    fi
    if [ "$CHANCE" -gt "75" ] && [ "$CITIZENHOME" != "$CITIZENLOCATION" ]
    then
        echo "$CITIZEN_ALIAS moved to the mudpits" |tee -a ${OUTFILES}
        ./TYR_move_character.sh0 "$CITIZEN" "mudpits"
        #./TYR_get_characterlocations.sh0
    fi
    ;;

    "mudpits")
    if [ "$CHANCE" -lt "99" ]
    then
        if grep "$CITIZENLOCATION/" data/corpselocations
        then
            CORPSE=$(grep "$CITIZENLOCATION/" data/corpselocations |cut -d'/' -f2)
            grep "$CITIZENLOCATION/" data/corpselocations >>"$CITIZENLOCATION"LOG
            echo "$CITIZEN_ALIAS found $CORPSE" >>"$CITIZENLOCATION"LOG
            echo "$CITIZEN_ALIAS found $CORPSE" >>"$CITIZENLOCATION"txt
            echo "$LOCATIONDIR$CITIZENLOCATION/$CORPSE" >>"$CITIZENLOCATION"LOG
            echo $LOCATIONDIR >>"$CITIZENLOCATION"LOG
            rm -r "$LOCATIONDIR$CITIZENLOCATION/$CORPSE"
            sed -i "/$CORPSE/d" data/corpselocations
        fi
    fi
    if [ "$CHANCE" -lt "2" ]
    then
        echo "$CITIZEN_ALIAS died in $CITIZENLOCATION"|tee -a ${OUTFILES}
        ./TYR_move_character.sh0 "$CITIZEN" "limbo"
        #./TYR_get_characterlocations.sh0
    else
        ALMCHANCE=$(( (RANDOM %100) +1 ))
        if [ "$ALMCHANCE" -lt "2" ]
        then
            echo "$CITIZEN_ALIAS gave alms to #blindmelon"|tee -a ${OUTFILES}
            #echo "$CITIZEN_ALIAS gave alms to #blindmelon" >>TYRLOG
            echo "1" >>data/TMP/blindmelon_alms
        fi
        TAVERNCHANCE=$(( (RANDOM %100) +1 ))
        if [ "$TAVERNCHANCE" -lt "50" ]
        then
            echo "$CITIZEN_ALIAS went to the mudpits tavern"|tee -a ${OUTFILES}
            #echo "$CITIZEN_ALIAS went to the mudpits tavern" >>TYRLOG
            echo "1" >>data/TMP/mudpitstavern_earnings
        fi
    fi
    if [ "$CHANCE" -gt "75" ] && [ "$CITIZENHOME" != "$CITIZENLOCATION" ]
    then
        echo "$CITIZEN_ALIAS moved to the forest down-below" |tee -a ${OUTFILES}
        ./TYR_move_character.sh0 "$CITIZEN" "forest down-below"
        #./TYR_get_characterlocations.sh0
    fi
    ;;
    "forest down-below")
    if [ "$CHANCE" -lt "99" ]
    then
        if grep "$CITIZENLOCATION/" data/corpselocations
        then
            CORPSE=$(grep "$CITIZENLOCATION/" data/corpselocations |cut -d'/' -f2)
            grep "$CITIZENLOCATION/" data/corpselocations >>"$CITIZENLOCATION"LOG
            echo "$CITIZEN_ALIAS found $CORPSE" >>"$CITIZENLOCATION"LOG
            echo "$CITIZEN_ALIAS found $CORPSE" >>"$CITIZENLOCATION"txt
            echo "$LOCATIONDIR$CITIZENLOCATION/$CORPSE" >>"$CITIZENLOCATION"LOG
            echo $LOCATIONDIR >>"$CITIZENLOCATION"LOG
            rm -r "$LOCATIONDIR$CITIZENLOCATION/$CORPSE"
            sed -i "/$CORPSE/d" data/corpselocations
        fi
    fi
    if [ "$CHANCE" -lt "2" ]
    then
        echo "$CITIZEN_ALIAS died in $CITIZENLOCATION" |tee -a ${OUTFILES}
        ./TYR_move_character.sh0 "$CITIZEN" "limbo"
        #./TYR_get_characterlocations.sh0
    fi
    if [ "$CHANCE" -gt "75" ] && [ "$CITIZENHOME" != "$CITIZENLOCATION" ]
    then
        echo "$CITIZEN_ALIAS moved to the eastern tunnels" |tee -a ${OUTFILES}
        ./TYR_move_character.sh0 "$CITIZEN" "eastern tunnels"
        #./TYR_get_characterlocations.sh0
    fi
    ;;

    *)
    echo "no random events in the lower wards this turn"|tee -a ${OUTFILES}
    ;;
    esac

done <"$GLOBALPROCESSDIR"list_allcitizens

echo "alms" >>TYRLOG
if [ -a data/TMP/blindmelon_alms ]
then
BLINDMELON_ALMS_TOTAL=$(cat data/TMP/blindmelon_alms|paste -sd+|bc)
echo "#blindmelon received $BLINDMELON_ALMS_TOTAL tin in alms from citizens"|tee -a ${OUTFILES}
./TYR_tyr_transactions.sh0 "tyrzone.tin01" "$BLINDMELON_ALMS_TOTAL" "tin" "#blindmelon" ".alms"
fi
echo "tavern" >>TYRLOG
if [ -a data/TMP/mudpitstavern_earnings ]
then
MUDPITSTAVERN_EARNINGS_TOTAL=$(cat data/TMP/mudpitstavern_earnings|paste -sd+|bc)
echo "#mudpitstavernkeeper made $MUDPITSTAVERN_EARNINGS_TOTAL tin from citizens"|tee -a ${OUTFILES}
./TYR_tyr_transactions.sh0 "tyrzone.tin01" "$MUDPITSTAVERN_EARNINGS_TOTAL" "tin" "#mudpitstavernkeeper" ".earnings"
fi

echo "shadydealer" >>TYRLOG
SHADYDEALER_CITIZENS=$(grep -f "$GLOBALPROCESSDIR"list_allcitizens data/characterlocations | grep -v limbo |wc -l)
SHADYDEALER_AMOUNT=$(( (RANDOM %"$SHADYDEALER_CITIZENS") ))
echo "#theshadydealer has made $SHADYDEALER_AMOUNT tin from shady citizens"|tee -a ${OUTFILES}
./TYR_tyr_transactions.sh0 "tyrzone.tin01" "$SHADYDEALER_AMOUNT" "tin" "#theshadydealer" ".earnings"

echo "foreigntraders" >>TYRLOG
NUMBEROFTRADERS=$(cat "$GLOBALPROCESSDIR"list_allnpcsponsorsaccounts|wc -l)
TRADERCHANCE=$(( (RANDOM %100) +1 )) #should be very low chance in the lower wards
echo "nr:"$NUMBEROFTRADERS"ch:"$TRADERCHANCE >>TYRLOG
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!" >>TYRLOG
if [ "$TRADERCHANCE" -lt "6" ]
then 
    echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >>TYRLOG
    CARAVAN=$(( (RANDOM %"$NUMBEROFTRADERS") +1 ))
    #CARAVAN=$(( (RANDOM %10) +1 ))
    echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >>TYRLOG
    echo "number:"$CARAVAN >>TYRLOG
    sed "${CARAVAN}q;d" "$GLOBALPROCESSDIR"list_allnpcsponsorsaccounts
    TRADERNAME=$(sed "${CARAVAN}q;d" "$GLOBALPROCESSDIR"list_allnpcsponsorsaccounts)
    echo "$TRADERNAME" >>TYRLOG
    TRADERBALANCE=$(grep "$TRADERNAME|" "$GLOBALPROCESSDIR"totalsum_npcsponsors_postformat|cut -d'|' -f2)
    TRADERUNPCT=$(echo "$TRADERBALANCE/100*5"|bc -l)
    echo $TRADERBALANCE >>TYRLOG
    echo $TRADERUNPCT >>TYRLOG
    ./TYR_tyr_transactions.sh0 "$TRADERNAME" "$TRADERUNPCT" "tin" "tyrzone.tin01" ".traders"
    TRADERURL="https://steemit.com/@$TRADERNAME"
    echo "[a foreign trader]($TRADERURL) $TRADERNAME has passed by the lower wards"|tee -a ${OUTFILES}
    #echo "[a foreign trader]($TRADERURL) $TRADERNAME has passed by the lower wards" >>TYRLOG

fi


echo "bboys" >>TYRLOG
BACKSTREETBOYS_LOCATION=$(echo $(npclocation "#thebackstreetboys"))
#this needs var from list_allcitizens in case of @citizenx or something
grep "$BACKSTREETBOYS_LOCATION" data/characterlocations|grep "/citizen" |cut -d"/" -f2 > data/TMP/bboysvics
echo "potential bboysvics :" >>TYRLOG
echo "---------------------" >>TYRLOG
cat data/TMP/bboysvics >>TYRLOG
while read CITIZEN
do
citizenalias
MUGCHANCE=$(( (RANDOM %100) +1 ))
if [ "$MUGCHANCE" -lt 11 ]
then
echo "1" >>data/TMP/bboys_earnings
RESISTCHANCE=$(( (RANDOM %100) +1 ))
CITIZEN_TRAIT="$(grep trait $(find location -maxdepth 3 |grep "citizen0/citizen0")| cut -d'|' -f2)"
if [ "$CITIZEN_TRAIT" == "outstanding citizen" ]
then
    if [ "$RESISTCHANCE" -lt 5 ]
    then
        echo "$CITIZEN_ALIAS died in a mugging" >>TYRLOG
        echo "rumour has it $CITIZEN_TRAIT $CITIZEN_ALIAS was mugged by #thebackstreetboys and died resisting" >>include/chunks/rumours.inc
        ./TYR_move_character.sh0 "$CITIZEN" "limbo"
        ./TYR_get_characterlocations.sh0
fi
elif [ "$RESISTCHANCE" -lt 50 ]
# can use traits to mod
then
    echo "$CITIZEN_ALIAS died in a mugging"|tee -a ${OUTFILES}
    echo "rumour has it $CITIZEN_TRAIT $CITIZEN_ALIAS was mugged by #thebackstreetboys and died resisting" >>include/chunks/rumours.inc
    ./TYR_move_character.sh0 "$CITIZEN" "limbo"
    ./TYR_get_characterlocations.sh0
fi
else
echo "$CITIZEN was not mugged (chance $MUGCHANCE)" >>TYRLOG
fi
done <data/TMP/bboysvics
#depending on citizen trait ? chance of resist/killed ?
#or move to behaviour ?
if [ -a "data/TMP/bboys_earnings" ]
then
BACKSTREETBOYS_AMOUNT=$(cat data/TMP/bboys_earnings|paste -sd+|bc)
echo "#thebackstreetboys has made $BACKSTREETBOYS_AMOUNT tin from shaking down citizens"|tee -a ${OUTFILES}
./TYR_tyr_transactions.sh0 "tyrzone.tin01" "$BACKSTREETBOYS_AMOUNT" "tin" "#thebackstreetboys" ".earnings"
fi


./TYR_navmsg_endscript.sh0 randomevents

that's just one of many, totalling already a few thousand lines of code before i decided steemit is really a cesspool where your money can get wrecked at any time by anyone who simply has more money

might makes right, so .. and then i found hostinger and cloudflare and cloudinary so i scrapped it for php ... found phaser and i found direction :)

but shell is prettier

...

#find all neg votes
grep -r '|-' |grep -v ".fee"|grep -v ".wtd"|grep -v ".out"|cut -d':' -f2|cut -d'|' -f1,4,5 > losers.inc

#remove in case of error filename
find -type f -name "-*" -exec rm {} \;

#remove in case of wrong file -> date
find -type f -name "20191211*" -exec rm {} \;

it gets even better with awksed and grepcat but well ...

geek enough ? don't define my by the past plz, but dont define me by the now, all of them is part of me i AM kiplings cat in a schroedingers cat nest

im not batcrazy

im catcrazy

...


i also have

only 60 sp on this account so RC ...


i DO, i do try to keep up ... from slashdot over torrentfreak and even a little crypto

weird ?

i mined bitcoin on a gpu and if i believed in it i would have on a cpu (maybe been on those nouveau-riches) but i didnt and i dont regret that, couldnt have known, so that's how old i am ...
i know vitalsky didnt invent running water and i know steemit didnt create the world

nobody even mentions satoshi anymore ... and its all gone to hell, the cypherpunks are in hiding and the marketeers have taken over

'crypto' by itself is far from interesting anymore , the actual value coins are out of my budget and the neo-chains turned de-centralization into a joke

despite that, i try to keep an eye on it

click to RTFA (on how scams on plustoken might be responsible for the current dip in BTC)

im already at 50% rc before posting this, so ... taht's not all my interests and certainly not all of me

Gabe is trying to lure money out of my pocket again with a strategic sale (as if i find time to finish games ...)

i bought a shirt recently so now they think i want to buy shirts twice a day , seven days a week and they keep coming

hm yea i like the style, id buy a lot more, i used to have a wardrobe and stuff

but ... im wasting time for five cents , i NEED

to learn

to stop writing

and focus on the stuff that matters :)

djàaaa né

yea i can go on for hours but im not here to profile me

i came for the money

it turned out they mean THEIR money
not mine



0
0
0.000
0 comments