Viewing a response to: @mstafford/re-steempytutorials-part-0-create-steem-web-applications-with-django-and-steem-python-20190129t010812454z
Haha sorry my bad, I did not know about this 6 months ago. Have been looking to learn more about web development with Python and I believe a good way to learn is to write tutorials. There is indeed a lot of stuff that can be done and I will be busy for a while. I had a look at your website I like the idea. How do you verify if a user actually made a run?
author | steempytutorials |
---|---|
permlink | re-mstafford-re-steempytutorials-part-0-create-steem-web-applications-with-django-and-steem-python-20190129t012802665z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2019-01-29 01:28:09 |
last_update | 2019-01-29 01:28:09 |
depth | 2 |
children | 1 |
last_payout | 2019-02-05 01:28:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 357 |
author_reputation | 31,094,047,689,691 |
root_title | "Part 0: Create STEEM web applications with Django and Steem-Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 79,085,888 |
net_rshares | 13,951,993,003 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
mstafford | 0 | 13,951,993,003 | 100% |
> 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.
author | mstafford |
---|---|
permlink | re-steempytutorials-re-mstafford-re-steempytutorials-part-0-create-steem-web-applications-with-django-and-steem-python-20190129t015051304z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2019-01-29 01:50:51 |
last_update | 2019-01-29 01:50:51 |
depth | 3 |
children | 0 |
last_payout | 2019-02-05 01:50:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,622 |
author_reputation | 63,425,345,982,192 |
root_title | "Part 0: Create STEEM web applications with Django and Steem-Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 79,086,466 |
net_rshares | 20,277,094,233 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
steempytutorials | 0 | 20,277,094,233 | 100% |