Anup Bishnoi Almanac
19 Nov 2021Values, Who I Am, How To Deal With Me
Here’s a new project I’m spending nights and weekends on, a math learning game that teaches how to solve equations by rearranging them.
Essentially, Bazel is hard because it generates outputs in a parallel file system hierarchy, instead of putting outputs in the same folder as source code.
Ever wanted to delete bash colors from a file buffer, the ones that look like ^[[1;38m
?
It’s 2021, and frontend state management is still hard. But you know what, you don’t need to use React or build your entire app with React to get the benefits of top-down uni-directional state-driven UI updates.
I finally figured it out. What I basically love about programming is that it involves higher-order thinking as compared to going about your life.
There is an infinity of things you could possibly be doing at any given moment. Every idea can be low or high value, over a short or long term. So how do you choose?
Let’s build an Augmented Reality Drum Set that lets you play drums with your full body without any musical instruments! What? Yes. Stand in front of camera 👀, bang imaginary drums with your hands 🥁, drums play for real! 📻🎶
Benefits of a mono-repo, based on experience from working at Netflix, Blippar, and Aurora.
Let’s implement the basic React API in a tweet, with React DOM & State management as a separate plugin in another tweet.
Let’s implement Fractals with JavaScript, and make it fit in a tweet! 280 characters worth of code creates these amazing patterns:
First in a series, let’s write slackbots that can fit in a tweet, and see how far that can go. This one is an app with a few slash commands that answer any darn question you ask it!
setTimeout
, setInterval
and requestAnimationFrame
seem to be commonly
misunderstood, and yet they are really simple to just tinker with thanks to
browser consoles.
jQuery Mobile has a concept of pages
at its core. Top-level div
s can be specified as pages and you each page becomes a mobile screen
with transitions between them. The pattern shown here can be used to integrate templating into your jQuery Mobile app easily, using Underscore templates
(or jQuery tmpl if you prefer).
A quick and dirty solution for the times when you want to connect to Firebase from the server, and not directly from the client browser, exposing Firebase data as simple asynchronous calls in Node.js.
Get a quick list of resources in your website that loaded slowly during page load, using Chrome DevTools.
Getting MySQL data out from Amazon RDS databases is frustratingly hard and makes you want to kill yourself when it finally works without the port number.
Sometimes you need a sequence of callbacks to run synchronously and break out of the whole sequence as soon as one of them fails.
Logging that looks good and helps you debug
faster.