02 Sep 2017
MediaRecorder WebAPI makes media recording super easy.
It allows storing chunks of data from a media stream as blobs, which can later be concatenated and saved as a single file.
As time passes, more sources of media streams are added.
We can capture media from:
- Media Devices
- Media Elements:
27 Aug 2017
It’s hard to pin down why JSON transfers is so popular.
But one thing’s for sure, it is not the most efficient when it comes to data transfers.
The nested nature of JSON makes it prone to redundant storage and transferring redundant JSON files only puts strain on the server’s and the client’s bandwidth.
It is always a good idea to deflate your JSON data before transferring to the other side.
30 Jul 2017
In the past week, I learned that the RGB values stored in digital media are not the same as they were recorded.
This isn’t some lossy compression algorithm artifact, but rather a clever tactic.
The range of all possible intensity values is reduced.
In the days when storage spaces were tiny and these adjustments helped.
But the same adjustments can hinder photo editing processes.
22 Jul 2017
Obfuscation is the process of making something obscure, unclear, or unintelligible.
Obfuscation techniques, such as markup mangling, work great for deterring people from understanding the codebase.
Beyond that, mangling serves no purpose for the end user.
Recently, I came across a new and very unique obfuscation technique.
One that focuses on the content rendered on the screen, not the underlying code.
25 Jun 2017
Writing a good, healthy, bug-free service-worker script and its installer script is a pretty hefty task.
There are multiple pitfalls and they aren’t always visible before time.
The worst part is, if something goes wrong, things can get out of hand pretty quickly.
Just watch this talk by Alexander Pope - ServiceWorkers Outbreak.