Kunal Bhalla

@Knl@sigmoid.social
34 Followers
78 Following
29 Posts

Finally added a "Rewrite $SLOW_DYNAMIC_LANG to $FAST_COMPILED_LANG" project to my career. As much as I expected the tradeoffs when I started, there's been an incredible amount of visceral satisfaction to seeing things that ran in ~20 minutes take ~10 seconds; and the hard to debug segfaults at the same time.

(Python -> C++20 with coroutines and all the shenanigans in this specific case.)

One zsh shortcut I find myself using a lot these days: I have `m` in command mode bound to `edit-command-line:`

```
autoload edit-command-line
zle -N edit-command-line
bindkey -M vicmd "m" edit-command-line
```

For particularly complex commands, I quickly drop into vim with (escape, m) and can easily manipulate, edit or simply parse them more easily. Save and exit drops me back on the command line with the text filled in, waiting for execution.

Finally moved over my post on ramping up on large software projects to org mode from a Google doc.

https://explog.in/notes/elephants/index.html

Eating Elephants

Resurrected my old macbook air 13' (mid-2012) with chrome os flex: playing with it and installing it were smooth and painless, and it has a little more power and RAM than most small chromebooks available today.

My ideal small laptop may just be a maxed out old 11inch macbook running chrome.

Set up https://github.com/zerolfx/copilot.el on my personal laptop/emacs. At one and the same time I feel much faster, but also interrupted a bit too frequently because I have to switch between writing code and reviewing the autocomplete. Will see if I stick with it.
GitHub - zerolfx/copilot.el: An unofficial Copilot plugin for Emacs.

An unofficial Copilot plugin for Emacs. Contribute to zerolfx/copilot.el development by creating an account on GitHub.

GitHub

I set up a 'now' page: https://explog.in/now.

Also on nownownow at https://nownownow.com/p/1f43.

Now

I suspect I've been underestimating #ChatGPT (if that was possible): using it to annotate code for typing, adding tests, asking API questions -- as long as it doesn't hallucinate too much -- is an excellent productivity booster.
Welcome to “Whose Plan is it Anyway?” where the OKRs don’t matter and everything is made up — just like the estimates.
After twelvety years in software development, I've come to the conclusion that the fastest way to deliver the right software is to deliver the wrong software sooner.