- November 28, 2019
CSS, Front End Development, ...
In this series, we will be building front-end app Currency Converter using Vue and Vuetify. The code for this is here. Please note that the code has been committed under commits matching with Parts. So for complete code for this tutorial, please refer to commit branch “part-1”. Pre-requisites: Please ensure that npm-cli is installed. You […]
- November 14, 2019
Back End Development, Django, ...
Ian Schneider This is a list of what I do when I setup a new DRF project. I am assuming that pipenv is already installed. Also, assuming that Python 3.5+ already installed in the base environment. For those in Python<3.5, please refer here for options. create new environment: pipenv shell pipenv install django djangorestframework markdown […]
- September 8, 2019
Take a look at this code. All it does is return a list with appended parameter. In case no list is supplied, it defaults to an empty list and appends to it. Or is it???
def add_to_list(item, item_list=):
add_to_list("gold") # expected: ["gold"] #actual: ["gold"]
add_to_list("silver") # expected: ["silver"] #actual: ["gold","silver"]
Look at the second result. We expected [“silver”] expecting the item to be appended to an empty list as […]
- April 22, 2019
Data Science, Keras, ...
We will analyze the famous IRIS dataset. Before we start, here are the basic steps that any typical Machine Learning based Data Analysis workflow consists of. (Note: if text inside figure appears small, please increase the font size temporarily by Ctrl+roll-mouse-scroller) Most of our time will be spent in Phases 1 and 2. Source code […]
Linting is a must for any python project. Two options are used most (in order of usage and popularity) 1) flake8 – most used by open source python projects 2) pylint – enabled by default in many IDEs like Visual Studio Code Many folks run both. I chose flake8. Primary reason is that out of […]
- January 9, 2019
cx_Freeze is a tool to create Python executable. Steps: Open Anaconda prompt. Goto Windows-icon. Type “Anaconda Prompt”. Select the suggestion shown. Set the Anaconda virtual environment in the Anaconda prompt. activate ch2_venv “ch2_venv” happens to be my virtual env. You choose yours. then use pip to install like so: pip install cx_Freeze pip install idna […]
- December 21, 2018
Data Science, Python
Download the dataset from here :https://www.kaggle.com/tmdb/tmdb-movie-metadata Lets take a look at the dataset:
I got hit by this warning upon Debug-> Attach To Process. No matter what I did the breakpoints would not be hit. Then I figured out the issue. In my case, the problem happened because Visual Studio 2017 was not able to guess the correct version of .NET Framework used in the assembly. It was […]
- September 12, 2018
.NET, Back End Development, ...
#.NET, #ASP, #ASP.NET, ...
Recently, I was working on an enterprise project using Windows Forms and needed a logger that was thread-safe, allowed both structured and text based logging and provided an options to integrate email sending as well. Two options came standard NLog or log4Net. Had a brief look at both. log4Net looked like more of XML configuration. […]