My Hive Posts

    Written by Coding Defined who lives and works in India building useful things. You should follow him on Twitter

    Lovely & Colorful Scene in Village

    April 30, 2019
    lovely-and-colorful-scene-in-village

    Recently I have been to my Village, Ramsara in Rajasthan. It was raining when I reached there and the scene was awesome afterward as shown below. ![](https://cdn.steemitimages.com/DQmUgzyE8MEVMrP1AsnqRiXswi8LT3hQPuW8vJJqYkNQAsM/image.png)

    Upload Images and Few Bug Fixes in KnackSteem

    March 05, 2019
    upload-images-and-few-bug-fixes-in-knacksteem

    ### Repository & Pull Requests https://github.com/knacksteem/knacksteem https://github.com/knacksteem/knacksteem.org/pull/140 https://github.com/knacksteem/knacksteem.org/pull/148 https://github.com/knacksteem/knacksteem-api https://github.com/knacksteem/knacksteem-api/pull/30 ![](https://cdn.steemitimages.com/DQmRPexzp1ht41W1x6rLBhTVx4MCPDsJm14rx42TuWsGrxQ/image.png) ### What is KnackSteem? Knacksteem is an open source platform on the Steem blockchain that seeks to reward talents on a much broader scale, which eradicates partiality, and infuses transparency, on the blockchain. The initial goal of Steemit, which was to reward quality content was defeated in the sense that, creators of absolutely great content weren't recognized, and really cool talents were ignored. This major problem was the bane that stirred up the idea, creation, and finally, the development of Knacksteem. Talents and skills would never go unrecognized and unrewarded. The organization of Knacksteem makes this possible. Source: https://steemit.com/knacksteem/@harry-heightz/knacksteem-the-new-den-of-talents-on-steem-blockchaingeneral-overview-and-personal-opinions-ideas-id-7dya4bjgagg ### New Features - Image Upload We are using Digital Ocean Spaces for Uploading the Images. We are DO Spaces API, which provides RESTful XML API for programmatically managing the data. The API is inter-operable with Amazon's AWS S3 API that means it allows you to interact with the service while using the tools you already know. ![](https://cdn.steemitimages.com/DQmS5MFrNTZWBG5WHi13mm3UdH6NdizisQNWkk45ppZ6d8t/image.png) Commits : https://github.com/knacksteem/knacksteem.org/pull/140/commits/1db24aa8f84703adad9518915255bdfec74eeaf5 More Info About the Digital Ocean Spaces with React.js can be found at : https://www.codingdefined.com/2019/03/upload-images-to-digital-ocean-spaces.html We are also checking if the File is only Images so that user will not upload Audio, Video or any other files ![](https://cdn.steemitimages.com/DQmUqWEoPGAayZqZVmYbZKu8tMkW6yDU1VK2koidAHHwsf6/image.png) Commits : https://github.com/knacksteem/knacksteem.org/pull/140/commits/4652eb6d56c770b837fd5780c5981f0fa86cf3a9 ### Bug Fixes - A Lot of bug fixes have been done One of the Issues which we were facing is that whenever there was @ we were adding the "knacksteem.org/" in front of it, now if there was a Steemit Link then it is just tampering the whole link. To fix this I have changed the Regex to get only @ which has a space in front of it. Though its not a full proof fix but it will not tamper the links as of now. Commit : https://github.com/knacksteem/knacksteem.org/pull/148/commits/305142d25ece329b9b0a596292bbc4df5bb546a9 ### GitHub Account https://github.com/codingdefined

    Announcement Feature, Post Payout and Bug Fixes in KnackSteem

    February 22, 2019
    announcement-feature-post-payout-and-bug-fixes-in-knacksteem

    ### Repository & Pull Requests https://github.com/knacksteem/knacksteem https://github.com/knacksteem/knacksteem.org/pull/111 https://github.com/knacksteem/knacksteem.org/pull/116 https://github.com/knacksteem/knacksteem.org/pull/120 https://github.com/knacksteem/knacksteem.org/pull/124 https://github.com/knacksteem/knacksteem.org/pull/126 https://github.com/knacksteem/knacksteem.org/pull/127 ![](https://cdn.steemitimages.com/DQmRPexzp1ht41W1x6rLBhTVx4MCPDsJm14rx42TuWsGrxQ/image.png) ### What is KnackSteem? Knacksteem is an open source platform on the Steem blockchain that seeks to reward talents on a much broader scale, which eradicates partiality, and infuses transparency, on the blockchain. The initial goal of Steemit, which was to reward quality content was defeated in the sense that, creators of absolutely great content weren't recognized, and really cool talents were ignored. This major problem was the bane that stirred up the idea, creation, and finally, the development of Knacksteem. Talents and skills would never go unrecognized and unrewarded. The organization of Knacksteem makes this possible. Source: https://steemit.com/knacksteem/@harry-heightz/knacksteem-the-new-den-of-talents-on-steem-blockchaingeneral-overview-and-personal-opinions-ideas-id-7dya4bjgagg ### New Features - Announcement Post Showing on Right Upper Corner We should show the last post made from Official KnackSteem account as an Announcement Post. Thus using teh Config value of the Official account taking the most recent post from the Service. ![](https://cdn.steemitimages.com/DQmWM2B5YpRPkGpG9eaXntU1ZPHQitg9Daf2xh4Z2P1nLbe/image.png) Commits : https://github.com/knacksteem/knacksteem.org/pull/120/commits/71c147f018736dcd6dc2832006f802b111c88890 ### New Features - Post Payout, Rewards Information Added Till now we do not have any mechanism to change the rewards of the Post i.e. 100% Steem Power, 50 % or Declined so now people can choose the reward as per their need. Also showing the Post Payout in 2 decimal places. Commits : - https://github.com/knacksteem/knacksteem.org/pull/124/commits/c20985723940c8b302a6014ca3bfa899366e81d6 - https://github.com/knacksteem/knacksteem.org/pull/124/commits/4109ffe70cfa84d14a6837ba32073ed510c41074 ### Bug Fixes - A Lot of bug fixes have been done Voting slider showing to non-logged in users - Even though people cannot vote without login, voting slider was visible for non logged in user. https://github.com/knacksteem/knacksteem.org/pull/111/commits/658bbf0ef10c9f0bd6a5cac104eb400734bdab5d Some pages should not be accessed when not logged in or administrative pages - Restricted access to the pages for general users if they have not been logged in. ![](https://cdn.steemitimages.com/DQmQQMJmHysZg6FWnepLshA14N3Xr1V4Anyt6UGmwvznzJJ/image.png) https://github.com/knacksteem/knacksteem.org/pull/111/commits/1c4944163cff96c33fc471fa64f92191ae6f0779 https://github.com/knacksteem/knacksteem.org/pull/111/commits/144a8f452ce245dfea6b44c773cc259b7663efed Infinite scroll being infinite where there are not more posts - We were calling the API whenever we scroll at the bottom thus restricting it when we do not have more data https://github.com/knacksteem/knacksteem.org/pull/111/commits/df22c3fb5265f129064d67ed6297a9f455865027 We also have an issue recently where all the API calls made to steemjs.com was throwing error and because of that our application was not loading. Had to change all the API calls to get directly from api.steemit.com. https://github.com/knacksteem/knacksteem.org/pull/127/commits/43c792fd704f1ff8b9188f51bf39024e66503b30 ### GitHub Account https://github.com/codingdefined

    GitHub Pull Request Showing Commits which are already on the Target Branch

    February 19, 2019
    github-pull-request-showing-commits-which-are-already-on-the-target-branch

    It happens with me sometimes that if I have created a Pull Request which is merged and if I try to create another Pull Request, the commits made in the first Pull Request still shows. Though the code changes in the pull request did not appear, the commits show. For me whenever I create a Pull Request I always check the commits first made only in that Pull Request, so I wanted a way to fix that. I have an option of Rebase though which technically GitHub should do whenever the Pull Request is merged. But the problem with rebase is that you need to create an extra commit and I usually want to keep my commits as minimum and meaningful as possible. So what I actually do is to run the below commands which delete the branch from Local as well as Remote and then merged the branch from the Remote Repository. ``` git push --delete origin develop git checkout master git branch -D develop git checkout -b develop git fetch upstream git merge upstream/develop git push origin develop ``` I know its not the best solution but it works in my case to keep my Pull Request as clean as possible.

    Voting Slider and Scoring Slider Added to KnackSteem

    February 11, 2019
    voting-slider-and-scoring-slider-added-to-knacksteem

    ### Repository & Pull Requests https://github.com/knacksteem/knacksteem https://github.com/knacksteem/knacksteem.org/pull/93 https://github.com/knacksteem/knacksteem.org/pull/101 https://github.com/knacksteem/knacksteem.org/pull/102 ### What is KnackSteem? Knacksteem is an open source platform on the Steem blockchain that seeks to reward talents on a much broader scale, which eradicates partiality, and infuses transparency, on the blockchain. The initial goal of Steemit, which was to reward quality content was defeated in the sense that, creators of absolutely great content weren't recognized, and really cool talents were ignored. This major problem was the bane that stirred up the idea, creation, and finally, the development of Knacksteem. Talents and skills would never go unrecognized and unrewarded. The organization of Knacksteem makes this possible. Source: https://steemit.com/knacksteem/@harry-heightz/knacksteem-the-new-den-of-talents-on-steem-blockchaingeneral-overview-and-personal-opinions-ideas-id-7dya4bjgagg ### New Features - Implemented Voting Slider for Upvoting and Downvoting a Post In my previous post I have only implemented Upvote and Downvote which will send 100% weight. So the task pending was to implement the Voting Slider, thus implemented the Voting Slider based on which the weight will be send for upvoting or downvoting as shown below. ![](https://cdn.steemitimages.com/DQmex3UgiHZEEhpb9iP9dH7mj8JxLgkmqSjEkR2eEbLviY8/image.png) Commits : https://github.com/knacksteem/knacksteem.org/pull/93/commits/43bce09677464c14e5314c7620a5495f36b1137d ![](https://cdn.steemitimages.com/DQmSVuFmhdU9xP4g7JQ5U2KuP5T8pRMDQ1HzDKTVAYnnjVw/image.png) ### New Features - Implemented Scoring Slider for Scoring Contributions by Moderators We have used the same Voting Slider which we have used for Upvoting and Downvoting to score the Contributions for Moderators. This is actually better because then we do not have to recreate our component and use the same component. Commits : https://github.com/knacksteem/knacksteem.org/pull/102/commits/b99b73c01407ec5672dc7b43b24e637dd252adf1 ### New Features - Showing KNT Tokens Though it was a small feature but now users can see their KNT tokens from their profile ![](https://cdn.steemitimages.com/DQmPkcpEbmMz6nfNzM6RGCes1vi5C5ZUg1eVn7XgEfdT9Rt/image.png) Commits : https://github.com/knacksteem/knacksteem.org/pull/101/commits/b59077333e4085bf7d83b3df604e4035dfb116cb ![](https://cdn.steemitimages.com/DQmaM1hTaSs1BWH7HNqBehDbmwiPjj5GRarLboMMjqQsVRX/image.png) ### GitHub Account https://github.com/codingdefined

    Downvoting, Upvoting, Guidelines Added to KnackSteem

    January 29, 2019
    downvoting-upvoting-guidelines-added-to-knacksteem

    ### Repository & Pull Requests https://github.com/knacksteem/knacksteem-api https://github.com/knacksteem/knacksteem.org/pull/85 https://github.com/knacksteem/knacksteem.org/pull/88 ### What is KnackSteem? Knacksteem is an open source platform on the Steem blockchain that seeks to reward talents on a much broader scale, which eradicates partiality, and infuses transparency, on the blockchain. The initial goal of Steemit, which was to reward quality content was defeated in the sense that, creators of absolutely great content weren't recognized, and really cool talents were ignored. This major problem was the bane that stirred up the idea, creation, and finally, the development of Knacksteem. Talents and skills would never go unrecognized and unrewarded. The organization of Knacksteem makes this possible. Source: https://steemit.com/knacksteem/@harry-heightz/knacksteem-the-new-den-of-talents-on-steem-blockchaingeneral-overview-and-personal-opinions-ideas-id-7dya4bjgagg ### New Features - Downvoting and Un-Voting of Post ![](https://cdn.steemitimages.com/DQmUxT1HvfV8hUuZiBsnt9YxRNvKdbeDH9Gj3pthKQAox2k/image.png) Upvoting was already added. In this contribution, I have added Downvoting and Unvoting feature. One of the main thing added is to get information about the votes of the post, be it positive or negative. Based on that we show the count of the upvote. ![](https://cdn.steemitimages.com/DQmPmRf2Nkxx4uUmNC4vkCbEqjM5o7gjPkrv88ranVBAYeT/image.png) ### New Features - Adding Guidelines Added the guidelines of KnackSteem ![](https://cdn.steemitimages.com/DQmegdyN3swzvK17cD9uSiY8zjFsMFx1r9KLkowTcwQPRP7/image.png) ### Bug Fixes - Fixing Search Functionality Search was not working Because we were using USERLIST_GET_SEARCH and ARTICLES_GET_SEARCH but that was removed somehow, so instead of creating again, used the existing one. ### GitHub Account https://github.com/codingdefined

    A Cheat Day on the day of Republic Day

    January 27, 2019
    a-cheat-day-on-the-day-of-republic-day-8b245e0217288

    Yesterday was a Republic Day in India and it was a proud moment for all Indians. I am actually controlling my food habit to kind of restrict myself within 1600 calories, but I could not hold myself back to go to Taco Bell for a monthly cheat day. I love Burrito and Taco and I can eat them anytime. So it was a dinner time when I went and have veg Burrito, Corn Salad and Veg Taco. ![image](https://img.esteem.ws/p0kowhor2k.jpg) ![image](https://img.esteem.ws/c7ukjlvjr7.jpg) ![image](https://img.esteem.ws/105xgyphzo.jpg) ![image](https://img.esteem.ws/vo5lbawjbq.jpg) The Taco and Burrito fillings were paneer though Taco Bell has three flavours, but I like paneer much more than others. Have you been to Taco Bell?

    2018 Year in Review as an Open Source Developer

    January 03, 2019
    2018-year-in-review-as-an-open-source-developer

    As a Full-Time Developer working 9 to 5 Job or even more on some days, it's very hard to get some time to work on Open Source Projects. Though looking at the GitHub which gives me the idea about my contributions in 2018 i.e. [199 contributions in 2018](https://github.com/codingdefined?tab=overview&from=2018-12-01&to=2018-12-31). Though it's not bad, but I would like to start spending more time on Open Source Projects from this year. ![2018.PNG](https://cdn.steemitimages.com/DQmeVr5ZmYNb68jjbCCbG2xvJzLABcoknBJCq1M9v1VEmAh/2018.PNG) And I must say @utopian-io has the bigger role to play when bringing the masses to work on Open Source Projects. If I go through the 2017 Year where I have just done over 80 open source contributions, 199 looks great. Though it's not great by any means which I would like to change in 2019. One more thing I would like to change in 2019 as compared to 2018 is to focus on one thing completely before jumping on any other thing. I also want to take at least 3 courses this year from Udemy and want to become a better developer. Happy New Year Guys

    Dinner at The Irish House

    December 15, 2018
    dinner-at-the-irish-house-f369139817b3a

    Yesterday we had a small office party at The Irish House, and had some of the nice dishes for dinner. ![image](https://img.esteem.ws/9j3x027tnx.jpg) We went to Whitefield and that is to the VR Mall. The Irish House was at the 3rd floor of the VR Mall. The VR Mall is all set for Christmas celebration, as there were lights and christmas tree setup. ![image](https://img.esteem.ws/vcvwm3ixi1.jpg) Now coming back to the party, started with a Bourbon mocktail which is a new arrival in the store just for Christmas Celebration. I must say you should try it at least once. ![image](https://img.esteem.ws/m9jszlpd8v.jpg) Then we had starters and main dishes. Though I relly do not like the main dish much but the starter was really good. ![image](https://img.esteem.ws/owxsazviyr.jpg) ![image](https://img.esteem.ws/mtqzxy77i8.jpg) Camera : Nokia 6

    A Security Breach in Quora

    December 04, 2018
    a-security-breach-in-quora

    I got a email yesterday that around 100 million users of Quora were affected by unauthorized access to their server. A lot of users data was compromised as a result of this breach, and the breacher gets access to account information like name, email, IP, user ID, password, questions and answers written, linked account data etc... Now this will really benefit Steem or Musing.io, if really marketed well. For example if Musing starts advertising that your security is our top priority and we will never have a security breach then we will surely get a lot of users migrating from Quora. The Full Email >We are writing to let you know that we recently discovered that some user data was compromised as a result of unauthorized access to our systems by a malicious third party. We are very sorry for any concern or inconvenience this may cause. We are working rapidly to investigate the situation further and take the appropriate steps to prevent such incidents in the future. >What Happened >On Friday we discovered that some user data was compromised by a third party who gained unauthorized access to our systems. We're still investigating the precise causes and in addition to the work being conducted by our internal security teams, we have retained a leading digital forensics and security firm to assist us. We have also notified law enforcement officials. >While the investigation is still ongoing, we have already taken steps to contain the incident, and our efforts to protect our users and prevent this type of incident from happening in the future are our top priority as a company. >What information was involved >The following information of yours may have been compromised: >Account and user information, e.g. name, email, IP, user ID, encrypted password, user account settings, personalization data Public actions and content including drafts, e.g. questions, answers, comments, blog posts, upvotes Data imported from linked networks when authorized by you, e.g. contacts, demographic information, interests, access tokens (now invalidated) Non-public actions, e.g. answer requests, downvotes, thanks Non-public content, e.g. direct messages, suggested edits Questions and answers that were written anonymously are not affected by this breach as we do not store the identities of people who post anonymous content. >What we are doing >While our investigation continues, we're taking additional steps to improve our security: >We’re in the process of notifying users whose data has been compromised. Out of an abundance of caution, we are logging out all Quora users who may have been affected, and, if they use a password as their authentication method, we are invalidating their passwords. >We believe we’ve identified the root cause and taken steps to address the issue, although our investigation is ongoing and we’ll continue to make security improvements. We will continue to work both internally and with our outside experts to gain a full understanding of what happened and take any further action as needed. >What you can do >We’ve included more detailed information about more specific questions you may have in our help center, which you can find here. >While the passwords were encrypted (hashed with a salt that varies for each user), it is generally a best practice not to reuse the same password across multiple services, and we recommend that people change their passwords if they are doing so. >Conclusion >It is our responsibility to make sure things like this don’t happen, and we failed to meet that responsibility. We recognize that in order to maintain user trust, we need to work very hard to make sure this does not happen again. There’s little hope of sharing and growing the world’s knowledge if those doing so cannot feel safe and secure, and cannot trust that their information will remain private. We are continuing to work very hard to remedy the situation, and we hope over time to prove that we are worthy of your trust. >The Quora Team