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

Sublime Text vs. Pycharm, Which One is Better?

Categories: Tech | Pubby Cash Received:  20

Text editor is essential for python programming. Specifically, the default notepad that comes with the computer should be avoided, as it does not provide the debugging ability. The text editors programmers use have a fancy name: IDE, which is the abbreviation of Integrated Development Environment. IDE provides features like autocomplete, libraries, compiling, debugging, executing, etc., in one place to make tasks simpler. So far I've used PyCharm for several months and just switched to Sublime Text. Here is a review of what I feel about the two IDEs. 1. Both Pycharm and Sublime Text have the free version and the paid version. The paid version of PyCharm costs $199 per user per year, while the paid version of Sublime Text cost $80 per user. As for the free version, PyCharm is more clean, while Sublime Text prompt you to purchase from time to time when you are trying to save a file, which can be annoying. 2. PyCharm creates a virtual environment, which makes the launching process long. If you have an old computer like I do, it takes over 1 minute to launch the program. Sublime Text is more clean and opens in the blink of an eye, and thus is better in this aspect. 3. PyCharm is more GUI based, as you can click a button to run a py file after you add it to the configurations. Sublime Text is more terminal based. You must run command lines in terminal windows to test your file. But it does not slow you down at all as long as you are experienced in doing this. 4. Sublime Text has some cool features such as generating dummy text by typing "lorem" in an HTML file, populating a schema of an HTML file by typing "html", freely enlarging and reducing font sizes on screen by pressing Ctrl + or Ctrl -, auto wrapping codes, freely changing indentation styles, displaying codes full screen, etc, that PyCharm does not have. My preference goes towards Sublime Text at this time, as it speeds up my old computer. There are some other well-known python IDEs, such as Spyder, Pydev, Idle, Atom, Jupyter Notebook, etc. I could try them all one day. ...  Read more

GoPubby Update

Categories: News | Pubby Cash Received:  0

GoPubby.com just announced the release of 20 new unique badges which can be earned and displayed on your home page. While some are easier to earn than others, all of the tasks that Pubbies would take to earn those badges are possible. Let’s just briefly mention some of those badges. The easiest badge to earn is the Novice badge. All you need to do is post an article to earn this badge. There are many hard badges to earn, such as the A-Gang badge. To earn this one, you would have to be promoted to Moderator. Currently, these badges are just for show, but we might place a value on each badge so you would get a certain amount of Pubby Cash when you earn a new badge. We are also planning on adding a customer shop with items that can be purchased with your Pubby Cash. Possible items include lottery tickets and status upgrades at the moment. With the shop in place, you could actually put your well-earned Pubby Cash to good use! Stay tuned for further details regarding these changes....  Read more

Connection of three "no-mirror display" monitors to one computer

Categories: Tech | Pubby Cash Received:  10

Experienced writers need big monitors. Although you can purchase one super big monitor with a size of 38" or above, the price is too high and it is not adaptable to different writing scenarios. For example, landscape is the default orientation of a monitor. When you are writing, there is a lot of unused space to the left and right of the word processing window. If you enlarge the text size to fill the entire window, the vertical view would be restricted. In this case, you may want to rotate the monitor and use in a portrait mode. If you only have one monitor, no matter the monitor is big or small, it is not practical to change back and forth between the landscape and portrait modes frequently. Thus, a secondary monitor that is oriented in a fixed portrait mode in addition to a primary landscape mode monitor would be very handy. Mac is relatively weak compared to Windows in this case, as its ability to extend screens to multiple monitors in an extended screen mode is restricted. If you don't have the latest mac products, it is likely that your mac system would support mirror display only. But mirror display is useless, since our purpose is to write, not to give presentations to people. With a Windows system, even for my $300 bucks old desktop computer, extended display mode can be easily set. I have one 27" monitor in landscape mode connected to a HDMI port, one 24" monitor in portrait mode connected to a VGA port, and the third 24" one in portrait mode connected to a USB 3.0 port. You will need to buy a USB 3.0 to HDMI port converter to add the third monitor. I've put the link below. I'm not in short of screen any more! ...  Read more

What was the name again?

Categories: Tech, Education | Pubby Cash Received:  0

Programming is fun, but it isn't fun when you forget or confuse your variables. It’s annoying to have to remember so many similarly-named variables. “User”, “user”, “users”, all have the same spelling, but their values are different. But how do I know that? Usually, a capital letter at the start of a variable indicates that a variable is an object. Use plural nouns for lists, tuples, and dictionaries because they store multiple values. Singular nouns are used for a single value such as “5” or “Pubby”. Don’t be afraid to make your variable name long because most IDE’s have autofill. Name variables according to the type of data that it will store. For example, you would store “8” in the variable “number”, but you wouldn’t store “8” in “first_names”. Variables names must start with a letter or an underscore, and the remainder of your variable name may consist of letters, numbers, and underscores. Also, avoid using the lowercase letter "l", uppercase, "O" and uppercase ‘I’. Why? Because the "l "and the "I" look a lot like each other and number 1. And "O" looks a lot like "0". Knowing how to skillfully name and use your variables will seem like a life hack, or at least a programming hack! ...  Read more

Differences between ranks and levels

Categories: Tech, Education | Pubby Cash Received:  10

People might be confused about the differences between ranks and levels. In this article, I will explain their concepts and why they need to be separated. Take academic ranks in the United States as an example. Academic ranks are the titles, relative importance and power of professors, researchers, and administrative personnel held in academia. The most common hierarchy for professors are three ranks: assistant professor, associate professor, and full professor. In some cases, chaired professor is also considered as a rank higher than regular full professor. In addition to ranks, the academia also has levels. Ranks are the titles printed on business cards to show people, while levels are different. Levels are mainly used internally for salary reference. In China, professors have 13 levels despite that the ranks are only 4. Their relationship between levels and ranks are as follows: Full Professor Level 1: Full professors who are academicians Level 2: Full professors who gain "Thousand Talent" titles and the like Level 3: Full professors who gain "Youth Thousand Talent" titles and the like Level 4: Full professors with no honorary titles Associate Professor Level 5, Level 6, Level 7 Assistant Professor Level 8, Level 9, Level 10 Technician Level 11, Level 12, Level 13 As far as I know, the base salary for a level 9 assistant professor is 5K while a level 4 full professor is 10K in China. In addition, levels sometimes can be used externally and printed on business cards. For example, a Level 2 Full Professorship is right below academicians and definitely worth bragging about. However, it will be weird if professors in lower ranks advertise their levels. Who cares an assistant professor is level 8, level 9, or level 10? The rank is what really matters. For the pubbies community, there are four ranks: member, community member, staff, and head staff. This resembles the real civilian world scenario that there is no need to introduce more ranks than needed. Otherwise, it will be hard for people to memorize and instantly see their differences. For example, military ranks are many, but how many people can tell major and captain, which rank is higher? Instead, the use of multiple levels within a certain rank is appropriate and efficient for internal promotions and salary raises. ...  Read more

1 ... 7 8 9 ... 11

Daily Deals


MECHANICSBURG WEATHER