create account

RE: Part 0: Create STEEM web applications with Django and Steem-Python by mstafford

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @steempytutorials/re-mstafford-re-steempytutorials-part-0-create-steem-web-applications-with-django-and-steem-python-20190129t012802665z

· @mstafford ·
> There is indeed a lot of stuff that can be done and I will be busy for a while.

I'm excited to see the tutorials you put together. I'm sure I'll learn some stuff -- and it'll at least be a good refresher how to get everything working nicely. One thing I for sure need to learn about is writing good tests. I kinda just skipped that part and went straight to work and never looked back -- bad practice.

> How do you verify if a user actually made a run?

Considering things are teeny tiny right now -- I haven't really worried about people lying and logging a run anyways. Most users have been logging activities by uploading a GPS file, because ultimately, they're more concerned about their training than they are about gaming the system. I've built in a couple checks to make sure that it's not a duplicate GPS file a user is uploading, and to check the start-times and speeds to see if anything is funky.

I've put some thought into:
* switching it to *require* that the activity be created from GPS tracking data (like a garmin TCX or GPX or whatever).;
* shortly, I'll be adding some information on flagging, and a button to flag -- so users can determine if they think a run is fake. Run gets flagged below a threshold? It's eliminated from the pool and the 'athlete' doesn't get a payout at the end of the week.

The site is a big W.I.P and I tend to break it a couple times each week. But it has been a lot of fun learning how to do everything.

***

PS. Let me know if you do a tutorial on setting up SteemKeychain and / or getting it to work with Django. I haven't looked into it yet -- but it's on my radar.
👍  
properties (23)
authormstafford
permlinkre-steempytutorials-re-mstafford-re-steempytutorials-part-0-create-steem-web-applications-with-django-and-steem-python-20190129t015051304z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-01-29 01:50:51
last_update2019-01-29 01:50:51
depth3
children0
last_payout2019-02-05 01:50:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,622
author_reputation63,425,345,982,192
root_title"Part 0: Create STEEM web applications with Django and Steem-Python"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,086,466
net_rshares20,277,094,233
author_curate_reward""
vote details (1)