Monday, 25 January 2021

DVI Resources

http://hint.fm/wind/

http://www.stefanieposavec.com/writing-without-words

GESTALT priniciples

https://www.youtube.com/watch?v=G-xD1bDoNl4

Visual Perception

https://www.youtube.com/watch?v=ZlkcuS5iw4w


Additive to play with colors

https://color.method.ac/

https://material.io/design/color/the-color-system.html

Saturday, 16 January 2021

Limits - Race between two variables while some explode and while some vanish.

Limits - Race between two variables while some explode and while some vanish.

Limit is like log and modulo, an algebraic construct. 

Discontinuity has a major impact over limits. For a Limit to exists, the function or variable should be rotating or keep moving. Two Discontinuity exists - 1. Infinite Discontinuity (Asymptotes), 2. Definite Discontinuity - Floor/Ceil function, Manual - IN reality, functions are discontinuous at various points or not defined.

Derivative can be defined only with Limit reducing the difference / gap, to get a particular value of a function. It is a special kind of math with properties.

References:

https://byjus.com/maths/limits-and-derivatives/

Saturday, 2 January 2021

Data Structures in Python without any special class

Unlike many languages, data structures in python makes use of the no special class rather uses simple syntax to represent them directly.

 Below table gives a very much required summary of frequently used data structures.


 

 


Some Most Useful functions in python for anyone who is getting started

For any language learner who is getting started, learning ways to unblock oneself becomes one of the most important part to keep self encouraging.

type of any variable

>>> st="Narendran"
>>> type(st)
<class 'str'>
>>> num = 123
>>> type(num
... )
<class 'int'>
>>>

help with type

help(str)

dir with any variable

dir(st)

Monday, 14 December 2020

Maven Tips

Maven Tips Link

https://dzone.com/articles/5-maven-tips

https://zeroturnaround.com/rebellabs/your-maven-build-is-slow-speed-it-up/

https://zeroturnaround.com/rebellabs/maven-cheat-sheet/

Helpful Maven Build Commands

  1.  Resume Build
    mvn -rf <module-name> clean install
  2. Parallel Builds
    mvn -T <no. of Threads> install
    mvn -T <no. of CPU Cores>C install
  3. Build Selective Modules
    mvn -pl <module-name1>,<module-name2> clean install
  4. Build Selective Module and its dependencies
    mvn install -pl <module-name> -am
  5. Build Selective Module and its dependents
    mvn install -pl <module-name> -amd
  6. Build Selective Module and its dependents at the same time exclude a dependent
    mvn install -pl <module-name>,!<dep-module-name> -amd

Few Skip Activities to Improve Build productivity in Maven

  1. Skip Unit Test
    mvn install -Dmaven.test.skip=true
  2. Skip FindBugs Analysis
    mvn install -Dfindbugs.skip=true
  3. Skip Online Build (Offline build)
    mvn -o install
  4. Skip Cleaning, only package or install
  5. Skip Unrequired Modules - By building selective modules.
  6. Skip Assembly (moving packages and other simple assemblies), If required.

Helpful Maven Analysis Commands

  1. Generate Dependency Tree - Finding the Dependencies
    mvn dependency:tree
  2. Generate Dependency Tree of a particular Module in MultiModule Project - Finding the Dependents
    mvn dependency:tree -Dincludes=<group-id>:<artifact:id>
    example:
    mvn -o dependency:tree -Dincludes=com.wildcraft:app -DappendOutput=true -DoutputType=dot -DoutputFile=C:/dependencyTree.dot
  3. Filter includes with LIKE option with * - Filtering the Dependents
    mvn dependency:tree -Dincludes=<group-id partial name>.*
    example:
    mvn -o dependency:tree -Dincludes=com.aris.* -DoutputType=dot -DoutputFile=dependencyTree.dot

Combine dot format in GraphViz

While checking list of dependents of a Module, one might required to combine various digraphs generated by maven with command - mvn -o dependency:tree -Dincludes=<module-name> -DappendOutput=true -DoutputType=dot -DoutputFile=<filepath>

GraphViz tool can be used to combine these multiple graphs with example command as below.

C:\Softwares\graphviz-2.38\bin>type C:\dependencyTree.dot | gvpack -u -o output.dot

Output file will be available at C:\Softwares\graphviz-2.38\bin

Friday, 20 November 2020

NEWS - What one should consume?

Everyday we end up reading something as NEWS and with mobile many topics are thrown over us in the name of notifications.

While reading NEWS today, I realized that how much the NEWS that we had a decade before than the NEWS that we see had changed.

"Doordharsan" was the only channel that there to watch when TELEVISION came to every home. Just like RADIO, Entertainment and NEWS were the only focus of the TELEVISION MEDIA. NEWS was not about ACTORS and Cinema. Nowadays, the first few topics in NEWS are mostly related to Cinema and Entertainment very rarely i could find the real NEWS.

Those old days, GOVEMENT elections, policies, regulations, disaster management were the topics that predominantly occupied NEWS. It was very much helpful for COMMON man to prepare oneself for any drought & famine. Even today the value of such information are very valuable. The velocity with which changes happening in and around us have changed, but there are few things which has not changed or going to be changing for another decade. For example Farming, Weather, Famine, Drought, Government elections, taxes, transport, petrol prize, gold prize are not going to change drastically. Industries, technologies, economics, trade and different kinds of entertainments are going to change slower or faster but they are going to affect us differently than prior said items.

It is better to stabilize oneself with NEWS which are slowly changing and have huge impact on daily life as given the example given above which are slowly changing or very important with not much drastic changes.

Monday, 12 October 2020

Entropy, Cross Entropy and KL Divergence

In the below video, following were my learning.

I learned entropy in information theory to check and encode bits to improve entropy and in decision tree formation based on test data (supervised learning).

Never combined entropy with probability distribution. To some extend I could remember Huffman encoding relation with probability and never with change in distribution.

Mostly I have considered probability distribution to be static, but in reality it is definitely it is dynamic except for rare cases.

Cross Entropy is an entropy with respect to actual vs predicted distribution and KL divergence is the change in entropy with predicted distribution from actual distribution.

Entropy = Cross Entropy + KL Divergence

https://www.youtube.com/watch?v=ErfnhcEV1O8

Skill, Knowledge and Talent

I kept overwhelming with data, information, knowledge and wisdom over a period of time. And I really wanted to lean towards skilling on few ...