create account

TravelFeed – Modifying Hivemind by utopian.tasks

View this thread on: hive.blogpeakd.comecency.com
· @utopian.tasks ·
$70.90
TravelFeed – Modifying Hivemind
### Utopian for TravelFeed:
Utopian.io is running this task request on behalf of the TravelFeed Project.

<center>
![](https://i.imgur.com/McV0RIS.jpg)
</center>

#### Repository
https://github.com/travelfeed-io/hivemind

#### Details:
We need a modified Hivemind instance to power the GraphQL API of our dApp.   

The following modifications need to be made to the Hivemind code (Python):

`hive_posts_cache`:
- Only include posts with a minimum word count of 250 words and travelfeed in the tags and/or category.

- Add columns for `latitude` and `longitude` extracted from the post's json_metadata. [Here](https://steemd.com/travelfeed/@jpphoto/sample-location-post) is an example TravelFeed post with a location in the json_metadata. 
    - Scan the post body for a SteemitWorldMap code snippet ([swmregex](https://github.com/travelfeed-io/travelfeed-io/blob/master/utils/regex.js)) if no (valid) "coordinates" field is set in the json_metadata. 
    - If none of the above apply, default value is NULL.
- Add columns for `country`, `subdivision`, `area`, and `neighbourhood`
    - `country` (ISO 3166 country code)
    - `subdivision` (ISO 3166 code for state/province/territory..)
    - `area` (post code if applicable, otherwise, default to NULL)
    - `neighbourhood` (for rural areas name of larger region e.g. Black Forest, Outback, Mekong Delta, defaults to NULL if it cannot be determined). All names in English. Use a reverse Geocoding service to obtain these information based on the coordinates. Could be done with GeoPy and Nominatim.
- Add column for `curation_score`: Percentage of vote by @travelfeed. Defaults to 0.

`hive_accounts`:
* Add columns for `facebook`, `instagram`, `youtube`, `couchsurfing` populated from the json_metadata. Default to NULL.

#### Components
Calls from the API to the Hivemind database include:
- Location search: Get posts where latitude and longitude is in certain range, possibly sorted by proximity to a given location;
- Text search: Get posts by full text search;
- Feeds: Get posts where author / one or multiple tags / country / subdivision / area / neighbourhood matches/contains request; Get posts chronologically for all authors that are followed by a certain user.
- User search: Get user where location / Steem username / Steem display_name / instagram / facebook / twitter / youtube / couchsurfing ID matches request;
- Order posts by curation score or chronologically.

#### Deadline
25/3

#### Communication
Join the [TravelFeed Discord](https://discord.gg/jWWu73H) and reach out to jpphotography#4309 on Discord.

#### Github
https://github.com/travelfeed-io 

### Rewards Information:
Rewards generated by this task request will be sent as liquid STEEM to the task solver once the task is completed, as decided by the project owner. 

The task will be considered complete after it has been tested and accepted by the project owner and the solvers publish a Utopian post, explaining what they did in order to solve the task.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 251 others
properties (23)
authorutopian.tasks
permlinktravelfeed-modifying-hivemind
categoryutopian-io
json_metadata{"tags":["utopian-io","task-development","travelfeed"],"users":["travelfeed"],"image":["https://i.imgur.com/McV0RIS.jpg"],"links":["https://github.com/travelfeed-io/hivemind","https://steemd.com/travelfeed/@jpphoto/sample-location-post","https://github.com/travelfeed-io/travelfeed-io/blob/master/utils/regex.js","https://discord.gg/jWWu73H","https://github.com/travelfeed-io"],"app":"steemit/0.1","format":"markdown"}
created2019-03-20 21:02:30
last_update2019-03-20 21:02:30
depth0
children7
last_payout2019-03-27 21:02:30
cashout_time1969-12-31 23:59:59
total_payout_value53.655 HBD
curator_payout_value17.246 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,990
author_reputation38,345,857,993,507
root_title"TravelFeed – Modifying Hivemind"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id81,639,989
net_rshares108,723,218,115,921
author_curate_reward""
vote details (315)
@article.colector ·
#### @utopian really active and doing good working at steemit
need to your support  i am collecting charity to Buying Digital x-ray Machine for tuboclorsis patients--
 Please visit [Link 4 Charity](https://steemit.com/en/@article.colector/p932054hn)
 @utopian.io and his FANS+FOLLOWERS 
Need to your Support **live for others**
properties (22)
authorarticle.colector
permlinkre-utopiantasks-travelfeed-modifying-hivemind-20190321t180558560z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["utopian"],"links":["https://steemit.com/en/@article.colector/p932054hn"],"app":"steemit/0.1"}
created2019-03-21 18:06:03
last_update2019-03-21 18:06:03
depth1
children0
last_payout2019-03-28 18:06:03
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_length327
author_reputation4,163,918,744,113
root_title"TravelFeed – Modifying Hivemind"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id81,692,491
net_rshares0
@jarvie ·
$0.06
@travelfeed we researched what could be a much better location system message me. We had long conversations about what would be the best way to tag posts or images with a location. Let's chat 
👍  ,
properties (23)
authorjarvie
permlinkre-utopiantasks-travelfeed-modifying-hivemind-20190321t002706962z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"steempeak","app":"steempeak/1.9.0"}
created2019-03-21 00:27:06
last_update2019-03-21 00:27:06
depth1
children1
last_payout2019-03-28 00:27:06
cashout_time1969-12-31 23:59:59
total_payout_value0.042 HBD
curator_payout_value0.013 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length192
author_reputation388,491,264,112,133
root_title"TravelFeed – Modifying Hivemind"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id81,646,986
net_rshares88,065,415,778
author_curate_reward""
vote details (2)
@jpphotography ·
I'm curious to hear about that, just sent you a message!
properties (22)
authorjpphotography
permlinkre-jarvie-re-utopiantasks-travelfeed-modifying-hivemind-20190321t071949431z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"steempeak","app":"steempeak/1.8.4b"}
created2019-03-21 07:19:51
last_update2019-03-21 07:19:51
depth2
children0
last_payout2019-03-28 07:19: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_length56
author_reputation130,520,405,558,348
root_title"TravelFeed – Modifying Hivemind"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id81,664,176
net_rshares0
@monikaa ·
Ok got it I will definitely do it.

Posted using [Partiko Android](https://partiko.app/referral/monikaa)
properties (22)
authormonikaa
permlinkmonikaa-re-utopian-tasks-travelfeed-modifying-hivemind-20190321t022305153z
categoryutopian-io
json_metadata{"app":"partiko","client":"android"}
created2019-03-21 02:23:06
last_update2019-03-21 02:23:06
depth1
children0
last_payout2019-03-28 02:23:06
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_length104
author_reputation510,044,102,623
root_title"TravelFeed – Modifying Hivemind"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id81,650,712
net_rshares0
@pennsif ·
$0.04
This post has been included in the latest edition of  [**SoS Daily News**](https://steemit.com/steem/@pennsif/sos-daily-news-news-about-the-state-of-steem-20-march-2019) - a digest of all the latest news on the Steem blockchain.
👍  
properties (23)
authorpennsif
permlinkre-utopiantasks-travelfeed-modifying-hivemind-20190321t184828832z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"links":["https://steemit.com/steem/@pennsif/sos-daily-news-news-about-the-state-of-steem-20-march-2019"],"app":"steemit/0.1"}
created2019-03-21 18:48:30
last_update2019-03-21 18:48:30
depth1
children0
last_payout2019-03-28 18:48:30
cashout_time1969-12-31 23:59:59
total_payout_value0.030 HBD
curator_payout_value0.007 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length228
author_reputation636,410,097,572,565
root_title"TravelFeed – Modifying Hivemind"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id81,694,317
net_rshares61,565,240,345
author_curate_reward""
vote details (1)
@rmsbodybuilding · (edited)
I will skip the reward ;)
properties (22)
authorrmsbodybuilding
permlinkrmsbodybuilding-re-utopian-tasks-travelfeed-modifying-hivemind-20190321t000446713z
categoryutopian-io
json_metadata{"app":"partiko","client":"android"}
created2019-03-21 00:04:48
last_update2019-03-21 00:05:09
depth1
children0
last_payout2019-03-28 00:04:48
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_length25
author_reputation64,293,096,244,697
root_title"TravelFeed – Modifying Hivemind"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id81,646,294
net_rshares0
@steemitboard ·
Congratulations @utopian.tasks! You received a personal award!

<table><tr><td>https://steemitimages.com/70x70/http://steemitboard.com/@utopian.tasks/birthday1.png</td><td>Happy Birthday! - You are on the Steem blockchain for 1 year!</td></tr></table>

<sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@utopian.tasks) and compare to others on the [Steem Ranking](http://steemitboard.com/ranking/index.php?name=utopian.tasks)_</sub>


**Do not miss the last post from @steemitboard:**
<table><tr><td><a href="https://steemit.com/steemitboard/@steemitboard/steemitboard-witness-update-2019-05"><img src="https://steemitimages.com/64x128/http://i.cubeupload.com/7CiQEO.png"></a></td><td><a href="https://steemit.com/steemitboard/@steemitboard/steemitboard-witness-update-2019-05">SteemitBoard - Witness Update</a></td></tr></table>

###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-utopiantasks-20190511t145305000z
categoryutopian-io
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2019-05-11 14:53:06
last_update2019-05-11 14:53:06
depth1
children0
last_payout2019-05-18 14:53:06
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,034
author_reputation38,975,615,169,260
root_title"TravelFeed – Modifying Hivemind"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id84,668,610
net_rshares0