[cathub] in a jiffy
the one man thing, ergo-therapeutic brainrot prevention, post number two (three this week, i think i can manage one a day , now ... about the money ? why are you people wrecking my money like that ? dumping prices into deep space zeroes? dont you know i need this for my epic?)
Trying to look like a pro yet i'm not, out of the chaos comes creation, i am Random of Amber ... not mister Formal Ed
ERROR: your includefile evaporated on the way in ... stats unavailable
2018-08-06
what's on the menu
i had this one alreayd anyway since i keep it as a bit of a log so i might as well, i can post a cute puppy named do you like puppies tomorrow if need be , i don't have a masterplan, i don't intentd to surprise, there's no ICO to get your billions before i have anything and when i do, its not to present to the board until i have my own and made at least my first million a few times, i dont fit in your world, i dont want lambos, i want what i want and you pushed too far, its beyond the point of no return
well its hot, i havent slept i was on a scripting session but i nearly didnt get anything done and woke up early and am now waiting for midnight after i dunk at 5
a few things in modified and stuff, but bla (and shit) ...
it's too hot, i cant bear this, im foggy ... need sleep but will hold out until five or nothing gets done again tonight
working on distrostats.sh0 right now (am i allowed to use that sacred word since i dont suck employer dick and i'm freeloading scum and i only put in anywhere between 8 and 16 hours a day in my chaotic way (if i only did four id get one to two at best) which should save quite some time running between pcs and copypasting, first things first, it goes faster the more you get , or so i think
upvotes inc on re-steems when i'm 100/100, anyone has some nitro to speed that up ? the .sh0 thing is just a three letter arcade or c64 hi-score thing, doesnt mean anything and its easy to chmod +x *.sh0 when i copy via GUI (doesnt set the flag) and distinguishes from other scripts i might use ever (but none so far) since those would be .sh, fyi
you do that on a windows system with a celeron cpu, let me see you do that on windows 10 on a celeron machine ...
all the desktop girls are my 3D-waifu and harem, as it is of now until out of here
the things and stuff
folder structure :
it's actually supposed to be a folder structure you can unzip anywhere and use as is without installing anything (you know how to rightclick/view image i suppose). Basically just a bunch of snips i scribbled up to do some things and view some things but, structure might be possible
commands available
parseaccounthistory_wrk.sh0 (several subroutines to parse data from an account history kept locally)
pretty_please.sh0 (something i got from stackoverflow that strips .json data into separate lines without having to install extra packages, which is the intention and so far, other than curl seems to work)
updatehistory_rudyardcatling.sh0 / updatehistory.sh (gets an accounts full history , incrementally depending on how much is already stored locally)
wurdamoney.sh0 [accountname] calculates the worth of a 100/100 vote on any given account (not counting delegation, only 'own' power)
findeligiblevoters.sh0 (parse list of accountnames (gathered from a post voted on in this case so far) check one by one the time of latest root post, it time <7days add to list of eligible) used to simplify finding the random people to vote on who participated (a LOT of accounts are stale, bots or re-steem only)
batchpay.sh0 using steempy make batch payments from flatfile listing accountnames
batchupvote.sh0 using steempy to vote on post (=top line from flatfile)
vote100notify_wrk.sh use with watch -n to have espeak every x seconds how many seconds left until next 100/100 vote
runvote8820.sh0 / runvote8820T.sh0 (well, duh)
checkbatch.sh0 / checkbatchT.sh0 (clears out duplicate, and obsolete permlinks)
post_wurdamoney.sh0 gets vote value from a single voter on a post (or will , right now just takes format post_wurdamoney.sh0 $1 $2 (where $2 is a number of shares taken from post .json under voters list), gives exact same value on rudyardcatling wurdamoney.sho as on the shares picked from post from a 100/100 rudyardcatling vote so should work
smallbots.sh0 (picks number of outgoing smallbot votes from rudyardcatling (without ownvotes) and prints - crude)
includes
the point would be to as many of these since they don't require separate PIDs
composemainbody.inc split from ubasti/ubasti, used to get all the necessary variables to include in a pre-formatted text body, can now be used for multiple types or repeating posts with changing vars
functions available
under /include ... well its not really /include but the intention is that it is , its not all functions it might just be sets of variables or ENV_VAR declarations for use in multiple scripts or commands with the linux shell source command
formatname.inc (used to make it independent wether user inputs @accountname or simply accountname
getacctvars.inc (basically meant to store lots more but atm only gets last tx , last tx number and last tx id of account)
getSP.inc (gets steem power of account by calculation (delegation not included) )
votersfrompost.inc (gets all voters on a certain post from the post.json and puts them in a nice small flatfile)
getvoteworth.inc (gets the sbd value of a 100/100 vote from accountname)
updatehist.inc (welleuh, updates history of $1 where $1 is accountname ofcourse)
removedupes.sh0 (check batchvote flatfiles and remove duplicates)
distrostats.sh0 (generate include files for accounts stats)
"projects"
steemterm : the eventual compilation , commands for now : help, clear, reload, sbi, upvotes, downvotes, transfers , display [on/off]
ubasti / sakhmet /maahes : used to generate the main body of the daily post and pick out the voters and non eligible voters from the last paid out post
deardiary generate intermed post from sections that can be altered separately, no more manual copy pasting the logo sections , no more manually copy pasting the section of winneris that stays the same
cathub generate post from sections that can be altered separately, no more manual copy pasting , sections consistent over time as they get adapted separately
signature ... does that need explanation after the rest still ?
steemUX
- 20180801
fixed checkbatch.shO and checkbatchT.sho , seriously lame loopy error, should weed out all the voted_on and beyond_votingtime now without error
modified autovote to print the time of next vote after printing time of last voted, i found myself trying to check too much ... which is again not the intention of trying to save time ... two voters in two terminals run smooth for 12 hours now (had to iron out a beatle due to some loopy loop i didnt even see at first) ... so maybe i'll try three at once :) less time spent on checking time is more time saved for doing stuff . . . i just don't like running automated systems on accounts that hold much so i will have to move sp to another and delegate ... or i wont feel comfortable
added post_wurdamoney.sh0 to calculate vote values from post voters based on shares, atm only accepts a number handpicked from a post .json as $2 , well this could be part of the start of fairness algorithm if i compare that to the total value of a 100/100 vote from the voter accounts SP i can see exactly , even if it says "100%" on steemd ... good job, cat , great idea , watch it be stolen and dont make a buck again
fixed composemainbody.inc for double entry in filter
- 20180803
modified maahes mainbody text
fixed updatehistory.sh0 (exit statement got stuck in , forgot... DU-Uh!)
figured out the howto on exact calc of distros $TOTALTRANSOUT
modified steemterm to copy transfer_out files to respective project/account folders
added rudyardcatling/smallbots.sh0 script to pick smallbot votes from account for .inc in recurring (crude)
modified ubasti maahes sakhmet mainbody text
changed ubasti.sh0 to printout total transout of all 3 at end
AlleyCat
pOINCgames
separate section required since that's not microsoft-free
things to do ? (lots)
switch as many commands as possible to includes (no new processes spawned while running, not much difference on todays machines but i like it and i will try to keep it built for speed and minimal network load)
split up functions as small as possible to make sure no network access is made that's not needed, network is the bottleneck for speed here after all
i found out how to get the whole chain locally, there's this script to download the chain incrementally but after days i got like 120mb so thats never gonna happen unless i leave it running for 10 years
see if i can make transactions like payments on the local network while that one syncs to the blockchain so the actual keys never have to leave ... IF POSSIBLE :p (or is that already happening with steempy?)
ofcourse, randomize the processs BUT id need to see vote value for that , i dont wanna elect anyone who will get a vote that turns to dust, thats an honourable mention with zero practical use, pragmacticalists like me (not a spelling mistake) cant have that ... i'm sure its possible but as i dont count this as getting paid it will happen in my time on my tempo, im sure no one has any reason to complain so far
switch pretty_please to include function
ponder specific vars in composemainbody on flag or switch to relative project and put them there like
- if [ -n "$RAFFLEVOTES" ]
then
RAFFLEVOTEFILE="$ACCOUNTURI""_rafflevotes"
RAFFLEVOTESELECTED=$(cat $RAFFLEVOTEFILE)
fi
can be put in either ubasti/ubasti without the conditional or in the mainbody where its conditional depending on flag $2
put composemainbody.inc autodeclined / non eligible in separate file
start my own bookmarks folder on alleycat.be this is how many times now ? trusting third parties and that cloud-shyte never works out
finally start that appgamekit thing simulating population and put that here too ...
fix ubasti / sakhmet comma problem on declined
ubasti doesnt auto-include rafflevotes anymore ?
look for a way to see if last root_post has already been voted on for ubasti
i wish there was a way to validate maybe there is , in case i get corrupt files or something since the history loads only the transactions that arent present locally to save time and bandwidth local files might get corrupted , maybe something md5ey ? another on the todo-stack
switch "vote of is worth" to "combined vote is worth" since the intention is to keep only enough to make sure a combined vote pushes the winner over dust treshold, its VAULT ACCOUNTS AFTER ALL
use small webapi to keep the distro accounts stats so i can wget them into the mainbody of any text
use small webapii to keep the mainbodies online, less local mo better
strikethrough fix updatehistory.sh0 to work over 10k tx DUDE
steemterm doesnt update history ???!?
modify steemterm "sbi" command to accept $2 or $3 as $ACCTNAME (-> all transfers to @sbi /| @drotto /|@ anything really)
different accounts work, add command to switch in terminal (or choose from list)
put the distrostats .inc files in a separate folder instead of deardiary and modify all projects using them accordingly, actually use "source ../include/paths.inc" as in all the rest ... CONSISTENCY PRECIOUS
strikethrough totally up wurdamoney.sh0 to add and subtract all delegation for fullvoteworth
fix parsing transout for alts b/c ubasti handles all payouts so the other two numbers stand still now (duh!)
add flag $2 to wurdamoney to pick either worth without or worth with delegation
something odd with updatehistory.sh0
/n while parsing problem for readersdigest
alleycat - use html page with dropdown select for styles, modify php to use different functions to render accordingly
findeligiblevoters ubasti can have two same number since it comes down from 255 ... needs autocheck and re-loop if necessary (or different api ... or more options in this one)
make autovote check for cashout_time BEFORE voting in case <12hours, maybe best after previous vote +2.5hrscheck
todo is growing again ... tsk ... modify smallbots.sh0 as function and specify amounts (paste) to show "number of trees planted"
make sure to make sure everyone understands there will never be trust again in van drukkerland for me
make enough money from one post per week to not make more than one post per week and focus on other things that do not require phoneboy and/or suitman to have the illusion to be the boss of me (cos thats never gonna happen again, im damaged)
get independent from handouts by government, employers lobby and benevolend enlighters
get rich or die trying
hunt down and exterminate whoever has been wrecking the sbd price fro a month now
never go for witness on steemit
much much more
get catfood
dont trust dogs
avoid humans
live by night (because i couldnt even type this post by day)
and so on ...
if you feel like this is @utopian-io go ahead but its one-man team so i dont know how open source that is lol
it's ergo-therapy
i need it for my epic
previous post(bottom up .. or was that top-down?) -> should link back all to the first one at the bottom
https://steemit.com/busy/@rudyardcatling/cathub-corrupted-numbers-and-cahz
https://steemit.com/rudyardcatling/@rudyardcatling/cathub-no-sleep-til
Let me enlighten you :: rules exist to discipline oneself, do not force them on someone else (Kongo - Ars nova cadenza)
You just planted 0.01 tree(s)!
Thanks to @rudyardcatling
We have planted already 3375.72 trees
out of 1,000,000
Let's save and restore Abongphen Highland Forest
in Cameroonian village Kedjom-Keku!
Plant trees with @treeplanter and get paid for it!
My Steem Power = 19262.81
Thanks a lot!
@martin.mikes coordinator of @kedjom-keku
thanks to the actual voters, motto arigatou - tou - tooooo ! ! !