Home About My Portfolio Privacy Policy Terms

Tuesday, 30 August 2022

toastKing.js : A new JavaScript library!





toastKing.js is a light-weight JavaScript library for creating non-blocking, beautiful notification messages. 
I am very fond of beautiful notification or toast messages. They are often used in web applications. I searched the internet for such libraries and found some, but the problem was that they are very mediocre in looks or a kind of boring. Then I decided to make a library for notification cum toast messages that will be very beautiful in terms of graphics and will have some interactive features. Before developing the library, I made a layout of it, which looks like this:



After completing the design, I started the coding part. All the CSS and HTML is dynamic. User need not to including any additional CSS or HTML in his program.
For docs, please visit the github page of toastKing : https://rudraworks.github.io/toastKing/

Monday, 8 August 2022

Optimal String Search Using Genetic Algorithm


Optimal String Search Using Genetic Algorithm

About Genetic Algorithms (GA)

In Computer Science and Operations Research, Genetic Algorithms are often used for find the optimal solution of a optimization problem, more formally, GAs are heuristic algorithms. 
GAs are based on Darwin's theory of natural selection. i.e. survival of the fittest.

Heuristic Algorithms: In mathematical optimization and computer science, heuristic is a technique designed for solving a problem more quickly when classic methods are too slow or for finding an approximate solution when classic methods fail to find any exact solution.


Steps followed in designing a genetic algorithm 




What I have made?

I have made a simulation of GA in which the algorithm goes on computing until it founds the optimal string.