In my last post I went over how gRPC fares against the REST services.
This is amazing for
The question gives us the input in the form of a file path
which represents the following
dir contains an empty sub-directory
subdir1 and a sub-directory
subdir2 containing a file
The length of absolute length of the longest file path. This includes:
\tlength, each tab character is considered as 1 length unit
So for the above input example, the answer would be adding up the length of
dir -> subdir2 -> file.txt
The directory structure looks like the classic folder structure on our laptops, where each file is nested under a folder…
REST is the ubiquitous way of writing APIs for as long as I can remember. Today I want to introduce you to a new way of writing APIs.
Have you met
gRPC is a relatively new way to write APIs and consume them as if you’re just calling a function.
I recently was asked to help on a project where the team was trying to get the test coverage for e2e tests also known as component tests. I initially tried to say that component tests run on the actual application process and not in the context of a test/source file. So the app is a black box to the running tests and can’t be instrumented for getting coverage.
I was wrong!
The way a Java app runs is quite similar to a NodeJS app. A bundle in Java world is called a jar. …
This was my reaction too when I took this path. I’ve been a frontend engineer for as long as I can remember and I absolutely love it to the core.
When I started my career in 2010 and learnt a handful of functions of
jQuery with which I could add, remove or animate stuff on the browser screen it almost felt like magic. I have never been more excited to work/debug web apps within a browser, it feels home.
Last year I happened to work on projects which were infra heavy, and they introduced me to technologies like
Note-taking is a highly underrated ability to preserve context over time. You might have heard about
Foam (which is similar but open source and lets you write notes, categorize them, link them all from inside
It also lets you publish them for easy viewing on a browser.
I recently went down this rabbit-hole to try and find the best setup for it. I liked the plain foam-template but I wanted the published version to look like a Digital Garden.
If you asked me a month back that would I ever write a book?, I would have answered with a resounding NO. As I thought writing and publishing a book would be so much work and you’d need editors/reviewers and publishing houses to back it!
Don’t believe me??
Redux has been infamous lately for bringing a lot of boilerplate and ceremony, which we’ll see isn’t quite true. It really shines when you add Types to it but writing Types take time. And who has time when you’ve to ship a ton of features?
I’ve been doing some experiments on how to reduce the types, plus all third-party dependencies to something simple and yet tight.
Redux actions are plain objects which are sent(dispatched) to the store and ultimately end up changing state via reducers. …
PWAs have been gaining popularity for quite sometime now. Crafting a good, performant experience is continuous journey.
So before even embarking on the PWA journey, we should invest time on setting up the development workflow.
This separates great apps from apps that were great once.
I want every Pull Request on this repository from now on to be tested and audited for performance issues.
junior dev, always.