Member

[email protected]

Total likes received: 64 | Pubby Cash: 792


My Articles: 44

Analytical tools for measuring website traffic

Categories: Tech | Pubby Cash Received:  0

In this article, I'm introducing two analytical tools for measuring website traffic. One is Google Analytics. It provides a free block of javascript code that you can insert into the head of an HTML page. The tracking operation functions by retrieving data about the page request and sending this information to the Analytics server. In the Google Analytics page, you can find in-depth details about visitors on your website, including page views, locations, traffic sources, real-time activities. A feature I find extremely helpful is that you can add multiple users or administrator accounts so that the website owner does not need to share his or her owner account credentials to other helpers, such as moderators who help to maintain the website. The other web analytical tool I've used is http://web.51.la. Same as Google: A free block of javascript code that needs to go within the head of each HTML page. It offers the majority of functions as Google Analytics except the multiple users per account feature. In addition, 51.la allows visitors to view the web traffic if the website owner permits, and the charts illustrated are easier to read than Google Analytics. The downside is that the language 51.la uses is Chinese. You need to be bilingual to get the most power out of it. ...  Read more

Beautiful Soup

Categories: Tech | Pubby Cash Received:  0

Beautiful Soup is not a soup here. It is a python module that is written for web scraping - extracting data from websites. If you want to scrape contents from large websites such as Facebook and Twitter, they have specific APIs for web developers to do so, and they would rather like you to do it through their APIs. The Beautiful Soup is extremely useful if you are thinking of scraping data from small or medium websites. To do it, you need to pip install several modules: BeautifulSoup4, lxml, html5lib, and requests, and include the following statements in the py file: from bs4 import BeautifulSoup import requests You can read the complete documentation of BeautifulSoup4 here. The deals page in the menu of this website is an example that BeautifulSoup4 is employed as an engine to extract the latest and hottest deals from external websites. Do check it out!...  Read more

Google Adsense vs. Amazon Affiliate Program

Categories: Tech | Pubby Cash Received:  0

Google Adsense and Amazon Affiliate Program are both ad programs that pay commission to users. As a youtuber, I received payment from Google Adsense by allowing it to playing ads in my uploaded videos. However, Google cares about the quality of your video content. If the number of your subscribers is greater than 1000 and the watch hours of your videos are greater than 4000, in other words, only when the quality of your videos is approved by the market, Google will make this ad option visible to you. I have to say, this bar is a little bit high. You really need to make videos of the best content before you can make money from them. Same thing applies to Google Adsense when it comes to website ads. If a website has limited valuable content, or does not have sufficient page views, Google will not post ads there. Amazon Affiliate Program is different. It sets a low bar. Anyone can create an account and display their ads. However, the account will be discontinued if the number of click-through purchases is not satisfied. The current rule is: within 180 days, a minimum of 3 click-through purchases need to be made. This does not sound too difficult compared to Google Adsense. The commission calculation algorithm of Amazon Affiliate program is different from Google Adsense, too. All of these need to be considered when picking the best ad partner. ...  Read more

What can members in higher status do?

Categories: Tech | Pubby Cash Received:  0

Membership is a way to maintain loyalty to an entity and is widely used by companies, websites, and self-media. Higher levels of membership should have more privileges than regular membership. For example, I have been a frequent flyer with United Airline in past years, and their high membership status is very difficult to achieve and maintain. The highest level of membership I had with them was the Gold status. I flied over 50,000 miles per year and purchased more than 5K dollars per year on air fare of their flights to achieve that status. And that status can only last one year! What benefits I had with a gold status? As far I can remember, I can have a free upgrade to a seat with 6" more leg room, a better potential to be selected to upgrade to a business class if lucky, separate check-in line and early boarding, free admission to their lounges, two free checked baggage, more choices when redeeming their membership points to airline tickets, and two business class upgrade vouchers that can be redeemed for any passenger on regional flights if lucky. Does that sound appealing to you? For this website, I think vouchers can be provided to higher status members so that they can purchase in the shop at higher discounted rate, in addition to moderation privileges. We are soliciting your inputs on membership privileges. Please direct your inputs to the administrator at [email protected]. ...  Read more

Logics and Algorithms are important for computer science

Categories: Tech | Pubby Cash Received:  0

It is common for a beginner programmer trying to master as many syntax as possible for each specific language he or she is learning. This is fine. However, one cannot neglect the training of logics and algorithms, which are more important than the syntax itself. If you cannot memorize a specific syntax, as long as you have internet, you can easily find it on websites such as Stackoverflow, W3schools, and so on. However, if you cannot figure out the logics and algorithms, no one can help you. For example, gopubby is featured with a "like" mechanism that gives pubbies options of liking an article or unliking an article. It sounds simple, but you need to figure out the following logics and realize them with correct algorithms: When one article is liked by one pubby, the following incidents will happen: (1) the number of likes for the author of the article should increase by 1; (2) the user ids who like the article will be linked to the article; (3) the author of the article cannot like his/her own article; (4) when the article's full information is displayed, the user ids who likes the article should be pulled out from the database and converted back to usernames; (5) if the total likes of an author reach a specific threshold value, the membership status of the author should increase by one level. When one article is unliked by one pubby, the incidents that will happen are as follows: (1) the number of likes for the author of the article should decrease by 1; (2) the user id who unlikes the article that originally links to the article should be removed; (3) if the total likes of an author fall down below a specific threshold value, the membership status of the author should decrease by one level. I highly recommend this book that does a very well job surveying the most important computer algorithms currently in use and providing a full treatment of data structures and algorithms for sorting, searching, graph processing, and string processing—including fifty algorithms every programmer should know. ...  Read more

1 ... 7 8 9

Daily Deals


MECHANICSBURG WEATHER