Administrator

[email protected]

Total likes received: 73 | Pubby Cash: 277


Andy Tang is the creator of Gopubby.com who has a passion for programming and everything related to technology and is skilled in many areas of coding including Python, HTML/CSS, Bootstrap, and SQL. He is experienced with many Python modules including Pygame, Flask, BeautifulSoup, and Kivy. He also has a solid knowledge of Windows, Mac, and Linux/Unix operating systems.

My Articles: 48

Make your YouTube videos stand out

Categories: YouTube | Pubby Cash Received:  0

When it comes to YouTube, or any video editing experience, it is always important to make your video the one others click on. Unless you don't care, of course. So let's get started with the most helpful tips to increase your views on your video. The first thing is the thumbnail. Before anybody even can click on your video and see how amazing your content is, they have to see your thumbnail. If you just slap on some lame thumbnail (such as a blank screen), most people would just move on. Choose a really exciting clip from the video and use that or even better, create your own and add some text with bright, eye-catching colors to make your video stand out. They do their intros and endings the same way. They do clipart the same way. They do their music, text, and sound effects all in the same way. Those are all elements that you want to consider when decorating your video. Usually, a video consists of many recordings and clips. There's always an introduction and ending, along with some transitions along the way. Add some clipart! It'll make your video a lot more interesting, especially when you're talking the entire time. And to take it further, you use a green screen so the viewers know you mean business. The last step might not seem as important, but without a description, viewers might not know what to expect. If your video is like a tutorial, you could include timestamps in the description so the viewers wouldn't have to look for it in the video. A detailed description will also make others seem like you put in more time and effort into making your video, and they might like or share it with their friends (you'll never know!). I don't know about you, but during the ad at the start of the video, I usually scroll down to the description and comments....  Read more

Machine Learning in a Nutshell

Categories: Tech | Pubby Cash Received:  0

Have you used Siri, Alexa, or any other chatbot? I'm sure you have. Now many people wonder how on earth could a person inside that phone talk to you whenever you want. First of all, there's no person. It's all artificial intelligence. What's artificial intelligence, you ask? It's intelligence demonstrated by machines, unlike the knowledge displayed by humans and animals. The bot in your phone is demonstrating intelligence by communicating with you (picking up and understanding what you tell it). Some people don't stop there. How can a non-living "thing" be able to speak and understand? That all comes down to the art of coding. Which kind of coding? Machine learning is where you should look. It's the process of machine learning (basically how to train your "bot"). First, there is data collection. Your machine learning model will need lots of data to train it. Think of it like this: how would you learn a new language? You would learn each word, one by one until you know the entire language, right? The same goes for training your machine learning model. You feed it thousands (even millions) of samples so it can get a deeper understanding. However, there is one little note: don't feed it all of the data. People recommend using 80% of the data for training and the remaining 20% for testing. It's because when you're testing the data, you want to see how accurate the model is at predicting the values for the data. If the model has already seen the entire data set, then it will get 100% every time. (It's kind of like cheating in a sense) The second step is to choose the model. This step can get tricky, but you can also be creative. A machine learning model is a file that was trained to recognize certain types of patterns. You train a model over a set of data, providing it an algorithm that it can use to reason over and learn from those data. One of the most common models out there is the linear regression model. A linear regression model will draw a line given your data and predict the relationship between two variables or factors. The factor that is being predicted (the factor that the equation solves for) is called the dependent variable. (Just a quick note: if you like machine learning, then you must be into a lot of math!) Anyways, the third step is to evaluate the model. It's when the test data you set aside, in the beginning, will be used. Now you will see how accurate your model is. In most cases, the more you train your model, the more accurate it will be. If your model is performing at where you want it to be, it is time to use that model in your projects. Let's say you wanted to understand the relationship between drug dosage and blood pressure of patients. Here, you would collect samples of drug dosage and blood pressure and train your linear regression model....  Read more

Effectively Using APIs

Categories: Tech | Pubby Cash Received:  0

There's a product you want really bad, but it's sold out. And every time it becomes available again, you're always too late. Sounds like you need to do some coding that will track that website and whenever that product becomes available, your code will email you, letting you know. But doing so isn't that straightforward, as popular websites know this and will block you from scraping their data. That's when you turn to their API (or application programming interface). Most popular websites provide you with an API key which you can use in your code to query their data. However, there is a catch. Websites do not like programs (like the one you're going to make) that repeatedly access their website. It gets annoying very fast because that website has to serve other people and programs, not only you. So when such occurs, the website will block you yet again, saying that you have gone over the limit. This is why it is important to continuously monitor and revise your code so there aren't any uncontrolled infinite loops, for example. APIs are hosted on web servers. When you type www.google.com in your browser’s address bar, your computer is asking the www.google.com server for a webpage, which it then returns to your browser. Now when you want to track the price of a product, of course, you're not going to do that! You would write a neat program that does all of the tiring work for you. This data is usually returned in JSON format, but it can come in other formats too. To get the data, you have to request a web server. The server then replies with our data. Let's say you want to track the price of a motherboard you want on Amazon. First, you would need to create an AWS account and activate your Marketplace subscription. Once you get your API keys from there, it's time to use them. We are going to do this using Python. Pop open your Terminal or Command Prompt and type 'pip install amightygirl.paapi5-python-sdk' or 'pip3 install amightygirl.paapi5-python-sdk' to install the API package. Then, use the following Python 3 code and fill in the appropriate blanks with your API keys. In this example, we are searching for products with the name "Harry Potter" on it. Click this link to view the code for this program on GitHub....  Read more

Building a PC: Choosing the Right Power Supply

Categories: Tech | Pubby Cash Received:  0

It's always a pain when settling on a power supply, especially when it's the first time building a PC. There is no correct way or path to take when it comes to buying a power supply, but these helpful tips could save you some cash or preventing another trip to your nearest Micro Center. Buy a power supply from a reputable manufacturer, and look for reviews of it before you buy it. Corsair, Seasonic, and Antec are three manufacturers with reputations for producing high-quality power supplies, though even they may offer a few duds among all the studs. You don't want your PC to malfunction just because of some crappy PSU you picked up for 40 bucks. It is also important to understand the wattage rating of your power supply. If the maximum power of your combined system’s parts is 300 watts, a 600-watt PSU would be a good fit. Now if you have higher-ended components in your PC, maybe a 1200-watt PSU would work better in this case. You can get by with lower-capacity units if you don't think you'll ever need to extend your framework, but if you can afford it, choosing a higher-capacity PSU is a better bet. Another consideration is cabling. Power supplies are available with hard-wired cabling, with partially modular cabling, or with fully modular cabling. In modular power supplies, you can add or remove cabling from the PSU as needed to avoid case clutter. Make sure that your power supply provides you with everything you need to power your PC. That includes sufficient PCIe cables, plenty of SATA connectors, maybe some MOLEX wires, and all of the other necessities. With a well-functioning and satisfactory power supply doing its job in the computer case, there's no need to stress about explosions or smoke in your office....  Read more

So many MSI boards

Categories: Tech | Pubby Cash Received:  0

When buying a motherboard, it is important to choose the right brand and size that will suit your needs, as you may already know. MSI makes great, durable, and sleek boards. Upon searching popular motherboards on the web, three main types. Those are the MEG, MPG, and MAG. First, with the MEG models, the motherboards are designed mainly for enthusiasts, and you can remember that with the "E" meaning "excellent". These boards are top-notch and are MSI's flag-shipped products. Next, the MPG series is built for performance, with the "P" standing for "performance". These boards will have mainstream gaming features, along with aesthetic combined. Lastly, the MAG boards are their arsenal series. These focus on functionality so they are often cheaper. Now with all of the series clarified, it is obvious that the MEG is the way to go for serious people like me. Let's say you decide to buy the MEG Z490 modal, which is a good choice, but even that modal has smaller sub-modals. We'll compare the Godlike to the Unify. Both are MEG Z490 models, but their prices undergo a huge change (former being $750+ and latter being $270+). Why? There are many reasons. The Godlike features more high-speed ports (with two Thunderbolt 3 ports) while the Unify has none. Moreover, the Godlike has more memory support along with a speaker. Additional diagnostics include 2-Digit Debug LED, BIOS Selection, Clear CMOS, Power, Reset, ReTry, Safe Boot, and Slow Mode. I think the $750+ motherboard is overkill considering my usage. The Godlike is for extreme gamers or professional video editors. There is also a $400 modal which is also a MEG Z490 called the ACE. It boasts of 2.5G LAN and Gigabit LAN and has most of the Godlike's statistics. It lies in between the Unify and the Godlike. So which one is the best? It depends on your interests and budget. For me, I think the middle class would work for me. A $400 ACE should be capable of handling all of my processes and tasks....  Read more

1 2 3 4 ... 10

Daily Deals


MECHANICSBURG WEATHER