Elder Moderator

[email protected]

Total likes received: 94 | Pubby Cash: 873


Evan is a person who does coding. He codes with Python and watches videos of bootstrap. That's it.

Articles Liked by Me: 53

Don’t You Hate It When a Little Error in Your Code Takes an Entire Day to Fix?

Categories: Tech, Education | Pubby Cash Received:  30

I know, debugging applications can sometimes be an unwelcome activity. You’re busy working under a time crunch and you just want it to work. However, at other times, you might be learning a new language feature or experimenting with a new approach and want to understand more deeply how something is working. Regardless of the situation, debugging code is a necessity, so it’s a good idea to be comfortable working in a debugger. Additionally, I have some more useful tips that can help you better debug your program.

  1. Make sure to test your program frequently. This way, any errors that occur can be easily found as there are only so many places you’ve changed in the code.
  2. When you know where the error is, try many different methods to get it to work. Most bugs are just one tiny little misspelling or logic fallacy. Sometimes, the brutal trial and error can be the best way to get something to work.
  3. Consult help when you need it. Websites like Stack Overflow and Github offer solutions to anything you could encounter. Try Googling the error that shows up in your debugger and you just might find what you’re looking for.
  4. Skillfully use the print statement. It was the first line of code I learned in Python. Place print statements throughout the code and anywhere the print statement doesn’t execute, you know there’s an error.
By knowing how to properly and skillfully debug your program, you could save hours of valuable time and effort.

...  Read more

Issuance of a Virtual Currency - Pubby Cash

Categories: Tech | Pubby Cash Received:  60

Pubby Cash is a virtual currency that is issued, managed, and controlled by GoPubby.com. Like other virtual currencies, Pubby Cash relies on a system of trust and is not issued by a banking regulatory authority. It derives its value based on a underlying mechanism: appreciation of article creation work by the fellow pubbies and appreciation of the moderation work loads by the moderators during the article publication processes. It is also backed by the underlying asset - the supreme quality of each article that is published on GoPubby.com and gains a number of likes. Pubby Cash can be used in circulation among the members of the online pubbies community who transact online for supporting the author of an article, for peer-to-peer payments, and for the purchase of virtual goods and services. I have several recommendations for the admin team to consider regarding the promotion of Pubby Cash : Ways of Gaining Pubby Cash : 1. Absolutely writing. As long as pubbies write, they should be awarded certain amount of Pubby Cash for appreciation of their devoted work and time. We could set up a base salary, say 40 weekly, as long as they are active and publish at least one article in a week. The base salary commensurate with experience. For pubbies in higher rank, it should be higher. 2. Gaining likes. Writing is not a the sole purpose. We need to award pubbies who write high-quality and in-depth articles. Undoubtedly, such articles will gain a number of likes and extra Pubby Cash should be given correspondingly as a bonus in addition to the base salary to those pubbies. 3. Helping moderation. Moderation as a moderator is a volunteering work for the pubbies' community. For pubbies who work temporarily as moderators should be awarded with extra Pubby Cash for compensation of their extra work and time devoted to maintaining the online community. 4. Peer-to-peer transfer. Other pubbies can transfer their Pubby Cash to you to show their support on one of your articles, or simply transfer to you for the online goods and services you could offer. 5. Exchange with real currency. If a pubby would like to support the running and growth of the website by donating real money, the website should respond with giving back the Pubby Cash at a fixed exchange ratio (say $1 USD = 100 Pubby Cash) as a sort of appreciation. Note that, this is economics as it comes to currency issues and is quite complicated. There should be no other uncontrollable means of gaining the Pubby Cash . Otherwise, inflation will occur for sure and the issuance of the currency will fail in the end. The value of Pubby Cash definitely lies in a fact that it can be used...  Read more

How to Lure People to Your Website

Categories: Tech, Education | Pubby Cash Received:  20

You just bought a domain and you want more viewers to go on your website. How can you accomplish this most efficiently? You should first consider keeping the layout simple. The simpler your website layout, the better. That doesn’t mean it has to be boring, but it does mean it should focus on the essentials. Clean, functional layouts make your site easier to load, navigate, and use on different platforms and devices. Additionally, enhance your website design with eye-catching colors. Pick a color that will provide the foundation of your entire website design, and then choose a contrasting accent color for important buttons and other interface elements. You can learn more about choosing the right color palette for your brand. It is also important to keep your website mobile-friendly as up to 70% of web traffic comes from a mobile device. That means there’s a good chance that someone visiting your site for the first time is using their smartphone. And if the mobile experience is negative, you’ve just lost a customer. Lastly, make good use of resources as you advertise your website on the many social media sites such as Facebook, Twitter, and Instagram. Make sure you are always available for contact so users can report any possible bugs that may affect the user experience. With all things considered, your website will be like no other! ...  Read more

How to populate WTForms MultiCheckboxField

Categories: Tech | Pubby Cash Received:  10

It is very tricky to have a MulticheckboxField populated via WTForms with Flask. The field cannot be directly imported. You have to manually make a class using two other imported modules: widgets and SelectMultipleField! See code below: from flask_wtf import FlaskForm from wtforms import widgets, SelectMultipleField class MultiCheckboxField(SelectMultipleField): widget = widgets.ListWidget(prefix_label=False) option_widget = widgets.CheckboxInput() tag = [(0, 'General'), (1, 'Tech'), (2, 'Gaming'), (3, 'YouTube'), (4, 'Sports'), (5, 'Arts'), (6, 'News'), (7, 'Events'), (8, 'Education'), (9, 'Market')] class PostForm(FlaskForm): tags = MultiCheckboxField('Tags', choices=tag, coerce=int) ...  Read more

Can hashed password be decrypted?

Categories: Tech | Pubby Cash Received:  10

Account security is the most critical thing you need to consider when surfing the internet. Even the most 'secure' websites such as Equifax - an agency that store 800 millions of users' social security number information had a data breach and resulted in the most harm to users. (Check if you are affected by Equifax data breach here) Here are my recommendations when you surf the internet: Make at least three security levels of passwords for high-risk, medium-risk, low-risk websites. For high-risk website logins (such as online forums), only use the lowest security level password. For email logins (such as gmail, hotmail), use the medium security level password. For banking account logins, use the highest security level password. This way, the passwords are easily managed and memorized. Even if any of a high-risk website's database is breached and the password you used there is decrypted, your accounts with email and banking websites are still safe. Here is a question you may have: Is this website high-risk, medium-risk, or low-risk? As far as I know, this website uses the industry-grade and battle-tested bcrypt algorithm to securely hash and salt passwords to ensure extra level of account security. Even if the database is breached by hackers, the hashed passwords cannot be retrieved. This is different from some high-risk websites that passwords are not properly encrypted and administrators can see everything in their control panel. Therefore, I would classify this website as a medium-risk website. Therefore, do not use a password you used to access your banking account here. Also use a password that is different from your email's password, for a piece of mind. ...  Read more

1 ... 8 9 10 11

Daily Deals


MECHANICSBURG WEATHER