Setting up code lens for Rust.
CodeLens is a very useful feature for developers to easily identify the actions or references in a particular file. This article explores using the Neovim LSP code lens and hover action features to run or debug Rust applications.
Getting back to basics to hack the terminal and shell.
In the previous article, I walked through with you command-line tools to use for faster file system navigation. Unix-like (UN*X or *nix) systems, with history date back to the 70s, have various functionalities that even daily users may not be fully aware of.
This article explores the basics of Unix-like systems (specifically Linux) and tips and tricks that could help improve our productivity and development workflow.
Let’s briefly talk about the basics. You can check out the References section or the Wikipedia links for more details. …
Tips and tricks for a better coding experience.
I walked through with you the tips and tricks using
tree-sitter in my previous article. This article continues to explore how we can improve our coding experience using Neovim.
nvim-ts-hint-textobject is a plugin using
tree-sitter that provides region selection using hints on the abstract syntax tree of a document. This is intended to be used for pending operator mappings.
packer.nvim, I install and configure the plugin.
config = function()
vim.cmd [[omap <silent> m :<C-U>lua require('tsht').nodes()<CR>]]
vim.cmd [[vnoremap <silent> m :lua require('tsht').nodes()<CR>]]
luafile % and
Let’s create presentations the developer’s way.
I showed you how to use VSCode, Emacs, and Vim/Neovim to create presentations in earlier articles. As developers, rather than using presentation software, we should use tools and technologies that we are familiar with to make presentations to fit our development workflow.
This article explores using open source libraries to make interactive and attractive presentations.
Let’s get started with Slidev, which uses an extended Markdown format to store and organize your slides in a single plain text file.
Tips and tricks for a better coding experience.
With the introduction of LSP (Language Server Protocol) support starting release 0.5, Neovim is gaining popularity among developers. Besides LSP, Neovim 0.5 adds support for tree-sitter, a tool that serves as a parsing library.
Parsing your code into a syntax tree allows for manipulating the structure of your code in a more intelligent way than is currently possible with regular expressions. This allows for improved and faster
This article explores how we can leverage nvim-treesitter for a better coding experience.
Using any plugin…
Auto-generate GraphQL APIs for your databases.
I talked about generating REST APIs in 5 minutes and using GraphQL to serve machine learning models in earlier articles. GraphQL, by Facebook, is gaining popularity among developers. In this article let’s explore open-source platforms that can help us automatically generate GraphQL APIs for databases.
Let’s set up a PostgreSQL database with data for demonstration purposes.
I am going to use the following
docker-compose.yml to set up PostgreSQL and
adminer to manage the database.
Note that I set the default network to
Open-source Rust utilities for developers.
Rust is ranked as the “most-loved” language by developers consecutively for the past few years. There are many great applications, libraries, and utilities that have been developed using Rust. Many of them improve the performance, security, user experiences, and functionalities of existing tools.
In this article, let’s go through some of the useful utilities for developers. Some of them may be lesser-known (compared to
dust, etc) but you should try out to see if they can fit into your development workflow.
Alacritty, written in Rust, has been one of the…
Building a developer portal using
Backstage to unify all your infrastructure tooling, services, and documentation to create a streamlined development environment from end to end.
As developers, we build products, applications, and portals for others to use. As the team grows in size, slowly it becomes more challenging to deliver high-quality code.
In this article, let’s go through
Backstage. This is an open-source platform for building developer portals to enable product teams to quickly ship high-quality code without compromising autonomy.
Let’s get started by creating a standalone
Practical deep learning using AWS SageMaker, AWS Lambda, and API Gateway.
In the previous article, we go through the basics of SageMaker on training, testing, and deployment of a machine learning model. We are particularly using the XgBoost sample notebook to predict potential customers that are most likely to convert based on customer and aggregate level metrics.
In this article, let’s use a deep learning model provided by AWS SageMaker, and expose the endpoint leveraging Lamba and API Gateway.
Learn how to serve machine learning model using AWS SageMaker and the Python Boto3 library.
In my previous articles, we used different technology stacks to serve the machine learning model. E.g.,
In this article, let’s start to explore AWS SageMaker. …
Software engineer, Data Science and ML practitioner.