Tippy Development Log #694201337

in tippy •  7 years ago  (edited)

A concentrated analysis and debugging of the Tippy source code is currently under way. I've spent a few hours previously going through and systematically testing functions and features to see if they are operating as intended. The results are a bit saddening to say the least, With a large number of bugs coming to light after moving the project from my laptop to main workstation.

Rather than get discouraged I view this as a chance to nip bugs in the ass and get the code right now rather than scrambling to deploy a fix later once live. While not the best nor most seasoned codester we have on STEEM I'll keep bashing away at it persistently until Tippy works 100%

The Incomplete List of Functions & Buggery

Gone through and tested functions to see what is causing grief and what appears to be working properly. This list may not be complete but rather serves as a list of things to start deploying fixes for in hopes of finalizing the Tippy source code, launching the service and going open source.

Installation and Setup - ✖ Bugged, Not creating files FU win10
Update Profile on Startup - ✔FIXED (Had it commented out... Durrrr)
Catchup offline blocks - ✔FIXED (Seems to be syncing properly now)
20 Sec Comment Queue - ✖ Bugged, Does not follow FiFo design
3 Sec Voting Queue - ✖ Bugged, Does not follow FiFo design
Fix Random service exits - ✖ Bugged (only happens after large sync)

@Tippy Help & Commands
CommandUsageWorking / Bugged
tip-tTip a user✔ Both STEEM & SBD Working
powerup-pPowerup user✖ Not registering
balance-bCheck Balance✔ Both STEEM & SBD Working
stats-sView Statistics✖ broken due to missing files
info-iMore Info✔ Functioning as Intended
ping-oCheck Status✔ Functioning as Intended
vote-vUpvote post✔FIXED (Misleading console output)
flag-fFlag post✔FIXED (Had an improper variable in function)
roll-dRoll dice✔ Functioning as Intended
Admin Commands
Call
Usage
Working / Bugged
feeSet Tipping Fee✔ Functioning as Intended
service stopShuts Down The Service✔FIXED (Seems to halt service now!)
uptimeDisplay Uptime Info in Console✔FIXED (Tippy saw info in string... lol)
debugTurns Debug Output On or Off✔FIXED (Helps if I use correct command..)

Other functions that need looked at / fixed / implemented:

  • Redesign statistics handling to make more efficient
  • Enforce block save height on anything to do with balances
  • More debugging output
  • Improve error handling
  • Allow financing others accounts through memo
  • Improve memo handling
  • Implement multi tip/command messages
  • Recode certain functions to minimize disk usage
  • More security features and error recovery
  • Look into alternative means of user data storage / backups
  • Display Last Checkpoint Block Height on Profile ✔Implemented
  • Clean up / finish console monitoring output

Weighing in at just under 2200 lines of nodeJS it seems I've got more than a little bit of work left to do before Tippy is ready to launch. Will be using this as a testing post. Please feel free to mess around with the bot but know it is BUGGY right now and I offer no support or warranty on it as it currently sits. Please refrain from depositing any more than you are willing to write off as a donation, although I'll try to make sure peoples funds aren't lost. No promises though, this is experimental alpha version software and should be treated as such. Till next time: "Just the tip!"

In the next little bit I'll start plugging away at Tippy. A good supper is in order and a quick store run to load up on caffeine is a must before getting settled in for the night to sort through and fix code. It's going to be a long night of staring at tippy's mind and adjusting it to run better.

Bugs Smooshed So Far This Coding Burst:
7

  • Update Profile on Startup - ✔FIXED
  • Admin Debug Toggle on/off - ✔FIXED
  • Admin Service Stop Call - ✔FIXED
  • Admin Uptime Toggle - ✔FIXED
  • Vote Post Command - ✔FIXED (may limit/randomize/premium)
  • Flag Post Command - ✔FIXED (moved to admin only)
  • Catchup offline blocks - ✔FIXED (Seems to be syncing properly now)

Features Implemented This Session:
1

  • Display Last Checkpoint Block Height on Profile ✔Implemented

Vote @KLYE for Witness
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

You're doing great work @klye, keep on going!

Thank you punreal for that little boost! Nipped one silly error in the butt... Now to fix the 99 remaining ones!

Have a gooder. :D

@tippy balance

@klye's Account Balance:
1.899 STEEM
$0.999 SBD

🤖 @Tippy - STEEM & SBD Text-to-Tip Service - by @KLYE 🤖
( click reply & type @tippy help for commands )

@tippy tip punreal 0.001 steem

I love this post
Upvote and resteem

Much appreciated! <3

  ·  7 years ago (edited)

Great work @klye!

It's @klye......not @kyle 😂😂😂

@tippy flag
test per @kyle request

Thanks for the help fam.

@OriginalWorks Mention Bot activated by @marcovanhassel. The @OriginalWorks bot has determined this post by @klye to be original material and upvoted it!

OW2.gif

To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message!

For more information, Click Here!

Cool man. Thank you

I'd like to do more, but lack the SP 👍😊

  ·  7 years ago Reveal Comment

@klye - Wow this is a very good article Sire. Its very useful. And i love this very much. Great job Sire.Keep it up... Therefore, I wish to ReSteem your post Sire.

+W+ [UpVoted & ReSteemed]

Great information, Thanks for sharing.

nice project. What type of user on steemit would use this @tippy service?

Anyone who'd rather not have to tab over to the wallet to send extra STEEM / SBD to an author crush of theirs. :)

@tippy tip j4y 0.001 STEEM

Nope. Tippy you messed up again... ffs

@tippy debugmode off

@tippy fee 1%

@tippy tip j4y 0.001 STEEM

That one worked... Seems debugmode messes up sending, or perhaps it was because my workstation had been locked and had tippy running in the background.. Will investigate.

Run around the hill and head back home all jacked up and debug the hell out of it!!!

@tippy stats

@klye's Account Balance:
1.990 STEEM
$0.999 SBD

🤖 @Tippy - STEEM & SBD Text-to-Tip Service - by @KLYE 🤖
( click reply & type @tippy help for commands )

lol.. Where the hell...

Ah I guess it just took command from the first one in the help list... hahahah

@tippy stats

@tippy stats

ok.. So the stats files aren't being created on init / setup..

@tippy -p klye 0.010 STEEM

@tippy debug on

@tippy -p klye 0.010 STEEM

@tippy help

@Tippy Help & Commands
CommandUsageExample
tip-tTip a user@tippy tip klye 1.337 STEEM
powerup-pPowerup user@tippy powerup klye 0.690 STEEM
balance-bCheck Balance@tippy balance
stats-sView Statistics@tippy stats
info-iMore Info@tippy info
ping-oCheck Status@tippy ping
vote-vUpvote post@tippy vote
flag-fFlag post@tippy flag
roll-dRoll dice@tippy roll 20
Admin Commands
Call
Usage
Example
feeSet Tipping Fee@tippy fee 1%
service stopShuts Down The Service@tippy service stop
uptimeinfoDisplay Uptime Info in Console@tippy uptimeinfo on/off
debugTurns Debug Output On or Off@tippy debug on/off

🤖 @Tippy - STEEM & SBD Text-to-Tip Service - by @KLYE 🤖
( click reply & type @tippy help for commands )
  ·  7 years ago (edited)

@tippy debug on

@tippy debug off

mmmm. yus tippy

@tippy uptimeinfo on

@Tippy Information & Fees

This STEEM network text tipping service created by @steemtqa & @klye
More information to come!


@Tippy - Steemit Text-to-Tip Service - Tip Without Ever Leaving The Page!

🤖 @Tippy - STEEM & SBD Text-to-Tip Service - by @KLYE 🤖
( click reply & type @tippy help for commands )

@tippy flag

@tippy debug on

@tippy vote

@tippy powerup klye 0.001 STEEM

@tippy powerup klye 0.001

@tippy powerup klye 0.001 STEEM

@tippy powerup tippy 0.001 STEEM

Ok.. so you'll power yourself up but not others.. dafak

@tippy tip steemitqa 0.001 steem "Steeeemitkwa!"

Appears to be a stubborn little bot. You'll have to discipline it harder🗣.

Keep at it my man! we'll get it there!! thx for working on this!

@tippy upvote

Looks good.

@tippy flag

LOL. Tippy that is an upvote you silly bastard bot!

@tippy vote

@tippy vote

@tippy flag

WOOT. Good job my boy!

@tippy coffee

@tippy balance