Backend developer interested in distributed systems, cloud tech stacks, and building websites 馃寪
Using KaTeX in hugo
Using KaTeX in Hugo for math typesetting Rendering latex in hugo can be achieved using KaTeX. This gives us the ability to render equations like below efficiently: $\displaystyle\sum\limits_{i=0}^n i^3$ Steps to follow We want to implement it in such a way that any pages that uses math typesetting can be earmarked with math: true in front-matter and then optionally katex will render the formulas given as below: $\displaystyle\sum\limits_{i=0}^n i^3$ with:...
Taxi Cab Geometry and Manhattan Distance
Problem Given two points $P_1$ & $P_2$ in a grid, and you need to reach from one of the cells to the other, Allowed moves will be up, down, left and right. What is the minimum steps required to reach the destination? TaxiCab Geometry and Manhattan Distance Going by euclidean geometry in a 2D surface, distance between any given two points $(x_1,y_1)$ and $(x_2,y_2)$ is: $d = \sqrt{(y_2^{2}-y_1^{2})-(x_2^2-x_1^2)}$ This is the straight line distance drawn as a diagonal between the two points....
Janus WebRTC Server Plugin Interface
Introduction This article and video will go through the janus plugin interface. So a brief introduction about janus-server would be that it is a WebRTC server which facilitates creation of WebRTC media communication channels and the exchange of communication. You can visit their website for a more detailed communication regarding this software. Janus has a plugin interface through which we can create multiple addons that work over WebRTC where one such example would be Video Room....
Debugging Chromium with VSCode
Chromium-WebRTC WebRTC is an open source project providing Real-Time Communication between multiple devices. It was open sourced by google, and the specification is available in IETF. One of the interesting features I鈥檝e been using in WebRTC is screen-sharing. So we wanted to tinker with it and understand the architecture and flow on how it manages to avail this feature cross OS platform. The below mentioned method may not be the easiest and efficient way to get to know the underlying flow of WebRTC....