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

Have you ever heard of something called "Cython"?

Categories: General, Tech | Pubby Cash Received:  0

It sounds a great deal like Python, and it is. Be that as it may, Python is a deciphered programming language. Various investigations propose that Python is much slower than various assembled programming dialects including C and C++. Numerous software engineers settle on different supersets of Python programming dialects to quicken code execution speed. Cython is a well-known superset of Python. As an accumulated programming language, Cython encourages software engineers to help the execution of code with C-like execution. The engineers can load and utilize the augmentation modules legitimately in the Python code through the import explanation. Essentially, Cython is only a superior variant of Python. This is the reason Cython is better: Since Python is a deciphered programming language, software engineers need mediators to change over Python code into machine code. Each time a software engineer runs a Python program, the code should be parsed and deciphered before execution. Then again, Cython is a gathered programming language. The Cython projects can be executed straightforwardly by the CPU of the hidden PC without utilizing any translator. This enormously speeds up your application just as eliminating CPU utilization....  Read more

Tricky Business...

Categories: General, Tech, Gaming | Pubby Cash Received:  10

Have any of you heard of this Python module called Pygame? Pygame is a cross-platform set of Python modules designed for writing video games. It includes computer graphics and sound libraries designed to be used with the Python programming language. Pygame can be installed on basically any platform, with the most popular being Windows and Mac. It's relatively easy to install on Windows—a simple pip install pygame should do the trick. However, if you have an outdated Mac like me, installing Pygame is a whole other story. Just typing python3 -m pip install -U pygame --user in your outdated Mac machine won't cut it, and that was going to be a problem. I looked for answers in Stack Overflow, Github, Google, but none of them seemed to work. I tried uninstalling Python3 and my current code editor, "PyCharm", but that didn't seem to work either. So from then on, coding with Pygame had to be done on my Windows computer, which isn't always comfortable. Yesterday, I tried to install a new module on my Mac that would allow me to develop mobile apps. I tried, and it didn't work. At the same time, I remembered my previous failed attempt to install Pygame. This time, I carefully inspected every single line in the documentation and scrolled down the download page for further tips on Mac installation until I found an older version of Pygame that might work. I carefully copied python3 -m pip install -U pygame==2.0.0.dev6 --user into the terminal and executed the command. It worked....  Read more

Uggggh!

Categories: General, Tech | Pubby Cash Received:  0

Wouldn't it be great if there was an app that could turn your completed website into a mobile app that could be downloaded in the app store? Sounds fantastic to me, because then I wouldn't have to write all of that additional code just for developing an app. So I Google searched websites that claimed they could "turn my website into a mobile app for free". I went onto a few of the top hits and tried out some of the features. I just provide them with the URL for my website and they do the rest. I could style the thumbnail, the theme, and all of the other decorative arts. After all of that was finished, I clicked the "Create App" button, which to my disappointment brought me to a membership page. It told me that I had to purchase a license or some other gibberish that I had to purchase. I thought, what's the point of putting "free" in the keywords when the website is anything but "free"? This website was a joke, and so were all of the other top websites that offered the service. Instead of wasting my precious time trying to figure out a shortcut to solve this problem, I should now focus more on accomplishing this task myself without the use of those "free" services....  Read more

A Kivy Installation Problem on Python 3.8

Categories: Tech | Pubby Cash Received:  20

Kivy is a python module that can be used to develop apps on multiple platforms. To install it, go to kivy.org and find the installation instructions on your Windows or Mac system. However, if you are using Python 3.8, kivy might not be successfully installed, as kivy is not supporting this version right now. You will see a full screen of red warning text with a final error message like "ERROR: Command errored out with exit status 1". If this happens, don't worry. Copy and paste the following kivy installation code to the command line and install it again. pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/ ...  Read more

Data Science - A Promising Discipline in the 21st Century

Categories: Tech | Pubby Cash Received:  10

Data Science is not only a well paid career nowadays, but also evolves into the architecture of lots of other disciplines. As an engineer in traditional civil and environmental engineering disciplines, I recently started to learn data science because my job needs it as well. In many engineering applications, decisions need to made, not by human any more, but by machine. Think about a simple application: should a disinfectant dosing pump be turned on or turned off for water disinfection at a water treatment plant? During this COVID-19 crisis, the management at the plant might say, let's keep the pump running so that there will be enough disinfectant to kill the virus. However, too much disinfectant dosing can also have side effects on human health, which increases the amount of the carcinogenic disinfection byproducts. This is a kind of decision that grows complicated and needs backup based on data analysis. Machine learning is a branch of data science that uses techniques of regression, supervised clustering, etc, to predict the future, or the consequences, in this case, what will happen if the pump is turned on and what will happen if it is turned off. A wise decision is therefore can be made, which can ensure public health and even save people's lives. I could give millions of other examples that depend on all kinds of correct decisions made by machine based on the processing of tons of environmental data. The Tesla autopilot and the recent success of SpaceX rocket launch are one of them. Python - a coding tool, is indispensable for data science learning and applications, and actually falls into the discipline of data science itself and can aid learning. The following image shows the relationship of data science with other closely-related disciplines. You will know your hard-working direction if you want a well paid job and good career!
...  Read more

1 ... 4 5 6 ... 11

Daily Deals


MECHANICSBURG WEATHER