Useful tips for everyday
What is an access port vs a trunk port? These may also be referred to as “trunk” or “access” respectively. The purpose of a tagged…
Why Python is more productive? The Python Style Guide reinforces the message that code must be clear, concise and maintainable (“pythonic”). Python makes developers more…
Is factory a pattern? Factory method design pattern in Java. It is a creational design pattern which talks about the creation of an object. The…
How do I access the host port in a Docker container? To access host machine from the docker container you must attach an IP alias…
Why use residual connections? Residual connections are the same thing as ‘skip connections’. They are used to allow gradients to flow through a network directly,…
How do you perform feature selection with numerical input data? # example of mutual information feature selection for numerical input data. from pandas import read_csv.…
Can I rearrange photos in Facebook album? To reorder photos, open an album and hover over a photo. An icon depicting two crossed lines will…
How to determine overlap of two empirical distributions? Alternatively, notice that the desired point is the median of an equal mixture of the two distributions.…
Where does bash history get stored Linux? The bash shell stores the history of commands you’ve run in your user account’s history file at~/. bash_history…
What is the constructor for an object? In class-based object-oriented programming, a constructor (abbreviation: ctor) is a special type of subroutine called to create an…