[catHUB] project with no name v0.0 - the indie movie pt.1 the recap prequel to the sequel : mark your tings

in #rudyardcatling6 years ago (edited)

cathublogo1.png

so i need a "thing" and i dont write potter fiction and i dont have tickets to dubai on the weekly to go photograph my wrestlematches with crocodiles, yeti and mermaids ... So ...??? (well i'm not here for your entertainment, im here for my chance at life so maybe i can DO something for a change)

logo from somewhere quickrendered, will do a blender render sometime, am chaos, will not abide to your structures

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


2018-06-13
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.sh (several subroutines to parse data from an account history kept locally)

  • pretty_please.sh (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.sh / 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)

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) <--- alarming downtrend


"projects"

steemterm : the eventual compilation , commands for now : help, clear, reload, sbi, upvotes, downvotes, transfers


ubasti / sakhmet : 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

11/06/2008

  • reloaded all local history , reworked updatehistory.sh

  • modified ubasti mainbody text

  • ubasti mainbody include vars now : $ACCOUNTHANDLE, $AGE, $TOTALTRANSOUT , $SP , $VOTEWORTH , $PAIDPOST , $LASTSBDPAYOUT , $PREVREMAINDER , $NUMBERRECIPIENTS , $SHAREPP, $SBDDECLINED , $SBDRECIPIENTS , $RAFFLEVOTESELECTED , $REMAINDER

  • modified ubasti/updatehistory_ubasti.sh to work with folder structure for now

12/06/2008

gods dam time goes fast again ... what happened to last night ? o yea its summer , only five hours of darkness tops

  • added include/getvoteworth.inc [accounthandle] as function

  • moved ubasti $VOTEWORTH to get from function

  • moved steemterm/steemterm.sh0 $FULLVOTEWORTH to get from function

  • split up ubasti/ubasti to ubasti/ubasti(textbody) and include/composemainbody.inc (get and set all variables for generated posts)

  • modified ubasti/ubasti to work with commands/updatehistory.sh [accounthandle] io localfolderfile

  • removed formatname.inc , add $ACCOUNTHANDLE / $ACCOUNTURI in main ubasti/ubasti instead

  • removed all instances of "ubasti" in composemainbody.sh0 with relative variables and paths ::

  • switched to $ALLPOSTVOTERS instead of literal (grep line by line of all voters before filtering for bots and declines), also $POSTVOTERSDECLINED, $POSTVOTERSELIGIBLE

  • added findeligiblevoters.sh0 to filter only eligible accounts with root_posts younger than 7 days to @ubasti_paidpost_eligible_filtered (and it fucking works too HAHAH) to save time on selecting random rafflevotes, further automation easy other than actual voting on said posts (for now)

Screenshot from 2018-06-12 17-27-52.png

  • a little bit of sedation can work wonders until the pain comes back, after that ... it's downhill again ofcourse

  • include $RAFFLEVOTESELECTED in commands/composemainbody.inc its still manual but with the selection from findeligiblevoters.sh0 its a LOT less hassle picking a random number from eligible other than going over all 30 or more to see who might be


things to do ? (lots)


among others i might have already thought of or not

  • 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

  • add env_vars include to make it easy to use relative paths within the main folder and get rid of the symlinks which dont work when its copied to another place

  • find out what i need to get a localnode up and running (hopefully 240 gb is enough)

well ... 204 actually

  • 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

  • adapt sakhmet to get the body right

  • adapt both so the variables used are separate from the text body included

  • euhm ... now we filtered out the root_posts, maybe check for comments that arent stale yet in case someone quit trying because of (you know, why, elitist bastard) and just interacts a little here and there, but that will be for later, re-steems wont count and ...

  • 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

  • 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

  • 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

1.png


previous post -> should link back all to the first one at the bottom

https://steemit.com/rudyardcatling/@rudyardcatling/cathub-project-with-no-name-v0-0-the-indie-movie-pt-1-start-the-cleanup


as for the winner of random contest #4 ....
cooltext263015534343913.png

you didnt have to upvote, just give one relevant reply ... NOBODY DID but i did get six upvotes LOLOLOLOLOL

sorry mates ... no one gets the 0.078SBD, how SILLY IS THAT ?


it think thats about THAT silly

well that was the last contest for this account anyway


ya WUT ?

don't get personal now ... date ? i never "dated" in my life, i MEET people or i dont ... i know, facebook and all that right i was wondering why the pressure to get me back on ... so i was on for like what three weeks before i saw it for what it was : same old SHIT ...

keep in mind, i left HER ... i dont think ive been dumped , like EVER after i turned 20

yea, WHATEVER MAN I DONT HAVE TIME FOR THAT UNTIL IM OUT OF THIS


o dear ... i just rendered an oyster with pure mathematics

Screenshot from 2018-06-13 10-20-33.png

i didnt get my pearl yet though

amazing

AMAZING

i tell you ITS AMAZING, i can understand why creationists see hands of gods however

what I see is patterns

so i was looking for YAY i has 1000 followers but i wont post that until i have like 1100 you know, there's noise and debris

so

YAY followers

and i accidentally rendered an oyster

on math formulas

i could see the number 23 in that

the only decent movie jim carey ever made ?

NO, a display of how he was a REAL actor

once


Sort:  

Thank you so much for using our service! You were protected from up to 20% losses!

Help us grow by delegating to us! 100sp, 500SP, 1000SP, ANY SP

You just received 80.90% upvote from @onlyprofitbot courtesy of @rudyardcatling!

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.033
BTC 62559.43
ETH 3092.10
USDT 1.00
SBD 3.86