← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 54
  1. My understanding of SBI Max Gain loan account

    Note: This is my rudimentary, superficial, not-yet-verified understanding of SBI Max Gain account.

  2. A primer on car insurance (in India)

    The concept of car insurance Suppose a mishap occurs that involves your car and someone else.

  3. Improved font rendering in Guix

    There is a neat trick to make fonts on Linux look thicker and smoother and sharper.

  4. git stage over git add

    I've come to prefer git stage to git add.

  5. On Stephen Baxter's Manifold books

    So I finished Stephen Baxter's World Engines duology yesterday.

  6. Tip for my future self: If Emacs throws an arcane error — project--read-file-name: Wrong type argument: stringp, nil — while trying to find a file in a git project (C-x p f), then one likely reason is that the git project is empty.

  7. How I configured OS-specific fonts in Emacs

    Here is the Elisp snippet: (let ((font-value (cond ((eq system-type 'gnu/linux) "Source Code Pro-12:weight=medium") ((eq system-type 'darwin) "Source Code Pro-17:weight=medium")…

  8. A case of unsoundness in TypeScript

    TypeScript provides a construct called a call signature to annotate a callable object with properties in JavaScript.

  9. The underlying principles I was able to boil it all down to the following: Either individually annotate the function parameters and its return value with their respective types; or annotate the variable that holds a function with the function's type.

  10. I often like to develop and test small JavaScript code directly in a browser console.

  11. Someone's high hopes- to dash or not to dash

    Someone close to you is brimming with optimism – that something they are anticipating is going to transpire in their favour.

  12. Copying all files of a directory, including hidden ones, with cp

    There are two directories - a non-empty src and an empty dest.

  13. Proximity of an error in static and dynamic languages

    A thread on Hacker news got me thinking today.

  14. Design Rework #1 - reworking my university hoarding

    Original hoarding I found this hoarding while passing by my university - VNSGU.

  15. Making tanstack docs more accessible with Stylus

    This post adds another Stylus fix to the list written by wezm.

  16. Use cases for <form method="dialog">

    I've started using a relatively less known value of the <form> element's method attribute, called dialog, for the following scenarios: when a form is submitted via AJAX. when a form is a multi-step wizard, where each step is a form in itself, and I have to

  17. Name your SQL constraints

    I learnt the hard way, while trying to amend the structure of a database instantiated at more than one place, that its best to explicitly name the SQL constraints like a foreign key.

  18. Connecting to MySQL running on NixOS on local network

    The big picture This setup aims to allow connections to a MySQL database hosted on my NixOS workstation, only on local network.

  19. Flossing - do orthodon't. There is no try.

    Flossing - do orthodon't.

  20. Being chill

    One guiding principle to be a chill person is pretty clear to most people: Let go of what you can't control.

  21. A mental model for Linux file, hard and soft links

    What makes a file in Linux?

  22. The Trumping Joke

    I was always skeptical about how the Joker takes over the Mob in The Dark Knight.

  23. Different kinds of simple

    This post is syndicated from my response to a Lobste.rs story titled How 1 Software Engineer Outperforms 138 - Lichess Case Study.

  24. Ki modal editor - first impressions

    Copy-pasting my comment in a converstion on lobste.rs titled Wonderful vi: I will put another one in the ring: Ki Ki is similar to vim in that it uses modal editing.

  25. How I use :has() selector to add table of contents

    Copy-pasting my comment in a converstion on lobste.rs titled The Undeniable Utility Of CSS :has: My most recent favourite use of :has was to target insertion of a table of contents (TOC) on pages of my website.

  26. Forgotten lesson remembered after staring 5 minutes at the screen: innerHTML cannot contain a <script> tag.

  27. Cool ways to generate a UUID

    OK, may be not cool enough for Linux veterans, but cool enough for me!

  28. Choosing curious over judgmental

    Be curious, not judgmental.

  29. Scripting with Scala

    Scala 3.5's CLI now makes scripting with scala seamless!

  30. Task failed successfully - Linux edition

    I did something to GNU pinfo.

  31. British v/s American comedy dramas

    They always felt different from each other, but I could never quite put a finger on the difference.

  32. Stubborn pop-up on Mutual Fund Utilities (MFU) website

    Table of contents Table of contents The problem The solution Tip for Mutual Fund Utilities (MFU) users: While transacting for a new folio, if you are stuck at "Nominee Verify" pop-up even after verifying the nominee(s), then check that: Whether there are…

  33. Effective Scala, part 8 - OO concepts

    Flip the perspective on tools like interfaces and traits.

  34. Series - Effective Programming in Scala

    This is a series of articles I wrote while going through the Coursera Course Effective Programming in Scala.

  35. Effective Scala, part 7 - entry point of a project

    While a scala worksheet are evaluated from top to bottom, a scala project needs an entry point.

  36. Effective Scala, part 6 - Scala Build Tool (SBT)

    Table of contents Table of contents Configurations in build.sbt Scoping a Setting src/project dir contains configuration about SBT - build.properties to specify sbt version, plugins.sbt to specify sbt plugins, and so on. src/build.sbt contains the configu…

  37. Effective Scala, part 5 - collections

    Table of contents Table of contents Infix construct operators Immutable operators Mutable operators List Option Operations on collections can be classified into: construct ops (::, +:, :+, +, ++); query ops (size, empty, head, tail, find, filter); and tra…

  38. Effective Scala, part 4 - function v/s method

    A function is a value in Scala, while a method is not.

  39. Effective Scala, part 3 - compatibility roulette

    Table of contents Table of contents Problem Attempt 1 Attempt 2 TL;DR Conclusion I am going through the course Effective Programming in Scala on Coursera, and ran into build import errors in the very first assignment (fireworks).

  40. Effective Scala, part 2 - domain modelling

    Finding the right level of abstraction is more important than the best level of abstraction.

  41. Effective Scala, part 1 - elements of a program

    Table of contents Table of contents Value (or Data in this context) Literal (Data) Type Expression Program Another perspective on Type Value (or Data in this context) A value is the representation of some entity that can be manipulated by a program.

  42. An overview of OCaml editor tooling

    Table of contents Table of contents Relevant background Package and build tooling Editor service - Merlin Editor service - LSP How everything comes together merlin v/s ocaml-lsp Feature parity Dependency on dune Speed Editing setups Official, popular setu…

  43. Memorising branch order in git rebase

    In a git rebase x command, is x being rebased on the current branch, or vice versa?

  44. I switched to fish shell Nope. Back to bash.

    Table of contents Table of contents Update: 5 May 2024 Original article Update: 5 May 2024 I have come crawling back to bash.

  45. Make an opam local switch and dune init project work together

    Table of contents Table of contents Local switch in opam dune init project The problem Attempt 1 Attempt 2 Solution What next?

  46. Table of contents Table of contents Problem Hacky solution Update (23 Feb 2024) : Better solution Problem OCaml compiler failed to build on my M1 Macbook with Apple's Silicon architecture. $ opam switch create . 4.14.1 -y --deps-only <><> Installing new…

  47. List of movies better than their book counterparts

    This list will likely (hopefully) remain short.

  48. An elegant triplet of fonts

    I use the following set of fonts.

  49. How to mark up a code snippet in HTML

    Suppose, we want to mark up the following multi-line snippet of JavaScript code: function hello(name) { return "Hello, " + name; } A JavaScript function that greets a user Joe with "Hello, Joe!"

  50. Location of emacs config

    I prefer to keep user configuration inside the standard XDG_CONFIG_HOME, which typically points to ~/.config/.