Articles of the Week

Pubbies of the Week

Mac vs. Windows—Which is Better?

Categories: Tech | Pubby Cash Received:  0

These two popular companies are competing head to head. But which will take the crown? Many feel the cost of a Mac is too high for what you get, but others justify the heftier price tag by citing top-tier support, higher quality hardware, and the benefits of the Apple ecosystem. I use a Mac for all of my programming work just because it’s easier to use and navigate between my screens. Also, Macs have fewer viruses and require less maintenance. Because of the way apps are installed, it is very easy to remove unwanted files from your system. Windows, on the other hand, are more versatile and have greater compatibility with other services because it’s used around the world. Windows have more software and it is easier to download and install other applications on your computer because there are just more Windows applications out there. As a gamer, I understand that Windows has a much better gaming experience. Official Apple hardware offers a paltry selection of graphics cards. While you'll find more and more popular games—including several unique titles—available for OS X, if you want a bleeding-edge gaming experience you won't get it from a Mac. With all being said, I would recommend getting a Windows machine over a Mac because it is easier to modify and style to your preferences. I have a lot of apps on my Mac that can’t run without a compatibility layer. Although Windows may be less secure for those reasons, it is easy to install antivirus software that will take care of your system. The Dell XPS series are an excellent choice for Windows. Check them out here! ...  Read more

Logics and Algorithms are important for computer science

Categories: Tech | Pubby Cash Received:  10

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

The Mac Book Pro

Categories: Tech | Pubby Cash Received:  0

Do you know what a Mac Book Pro is? The Mac Book Pro is a computer that is made by apple. This computer features a well-designed trackpad and a very super great screen. Also, it is not very heavy and is easily portable. However, a downside to this product is that you can not plugin your SS nanochips or flash drives into it. But if you buy an adaptor, you could do it. That was the Mac Book Pro, by Apple. Check out the 16-inch model here! ...  Read more

Bootstrap learning

Categories: Tech | Pubby Cash Received:  10

You might see people list Bootstrap as one of their skills on resumes. However, Bootstrap does not sound to be a coding language or a regular computer skill. What is it? Bootstrap is an open source and powerful CSS product that is widely used for website developers to optimize the looking of their websites. You just need to link one piece of source code in the header of your HTML file and then Bootstrap will do all the formatting things for you as long as you refer to the right class names in div blocks. It is critical to know what those class names are. There are many classes for different HTML components such as buttons, input fields, columns, rows, etc. It is difficult for beginners to memorize all those class names. It is advised to print out a Bootstrap cheat sheet and take a 2-h online crash course to get an idea what each of the class is about. Practice makes perfect. You need to practice using these div classes often and feel free to create your own CSS file to override some of the Bootstrap CSS formatting, and then gradually, you will become proficient in CSS and website optimization. Interested in learning more about how you can customize your own website? Then check out this fantastic 5-star ebook that covers all of the fundamentals about Bootstrap on Amazon! ...  Read more

Programmers Make This Huge Time Mistake

Categories: Tech | Pubby Cash Received:  0

It is important to correctly use the datetime module in your program. Therefore, it is crucial to fully understand the meaning of each of the time formats that are commonly used. The datetime.utcnow() method will return the current UTC. An example of the format is 2020-06-03 13:08:44.408558. Now, look at another commonly used method, timedelta(). This method, after passing it some time parameters, will only return a time format with those parameters you passed. For example, if you code timedelta(hours=10), it will return 10:00:00. Notice the difference from the previous return value. The datetime method will display the exact time whereas the timedelta method will return the time that you specify. By failing to understand the format of these times, errors will arise when you are trying to compare or subtract the two times. Use the print() statement to help you better understand which time format is which. This well-organized and detailed book will give you all of the fundamentals regarding time usage and other python essentials. Check out this book on Amazon! ...  Read more

1 ... 28 29 30 ... 32

Daily Deals


MECHANICSBURG WEATHER