Readit News logoReadit News
pratyushmittal commented on Augment.vim: AI Chat and completion in Vim and Neovim   github.com/augmentcode/au... · Posted by u/knes
pratyushmittal · 6 months ago
I actively use Avante.nvim: https://github.com/yetone/avante.nvim

Why I like Avante over others?

1. Active development. @Yetone, the creator, is very transparent and active.

2. Supports almost all the models. Add your API key for whatever you want to use.

3. The prompts are very well optimised. Plus the team keeps improving them.

4. The code `diffs` very well handled. It is easy to `apply` changes.

5. Support for `@file` feature (select multiple files) has made it 5x more powerful.

6. Very transparent. We can see what we are doing. Very less "magic".

7. It runs on demand: no auto-suggestion magic.

pratyushmittal commented on Things I do every time I start a Django project   brntn.me/blog/six-things-... · Posted by u/8b16380d
instb3at · 3 years ago
I don't know why no one mentioned this.

https://cookiecutter-django.readthedocs.io

I use a modified version of this for all my projects. This one comes with all the goodies

pratyushmittal · 3 years ago
Yup, a custom cookiecutter template saves ton of time.

I created this one to create a production ready Django project in few minutes: https://github.com/Mittal-Analytics/django-cookiecutter

  Things this does:
  - README.md: setup readme with development setup
  - Django split settings: split settings for local, testing and production
  - Split requirements: split requirements.txt for local and production
  - Pre-commit hooks: setup pre-commit hooks for black and pyflakes
  - django-envoiron: database config and secrets in environment
  - editorconfig: sensible tab/space defaults for html, js and python files
  - remote-setup: setup hosting on uberspace
  - git push deployment: `git push live` makes the changes live
  - github actions for tests: run tests automatically on Github

pratyushmittal commented on Ask HN: Does anybody still use bookmarking services?    · Posted by u/joe8756438
pratyushmittal · 3 years ago
I (still) use Pinboard: https://pinboard.in/u:pratyush

  Reasons:
  1. Archives - those tutorials and guides stay when the original pages go 404
  2. API - I use the api to automatically post my bookmarks to my blog
  3. Full-text search: this is very very useful when needed
  4. Social Discovery: Search that niche website / app on Pinboard. It shows lots of other people who found that same thing as interesting. We can then follow them and subscribe to their favourites as RSS feed.

pratyushmittal commented on An experiment to test if Bionic Reading helps you read faster   blog.readwise.io/does-bio... · Posted by u/hoodwink
pratyushmittal · 3 years ago
I found Bionic 10% slower than Literata.

But I also found I am a verrrry slow reader. My reading speed came to 147 wpm. Any recommendation to improve this?

pratyushmittal commented on We Don’t Use Docker   launchyourapp.meezeeworko... · Posted by u/mundanerality
sonthonax · 4 years ago
Running where though? Locally? If not, why use Memcahed or Nginx?
pratyushmittal · 4 years ago
Nah, running on production.

For local I don't use Docker.

pratyushmittal commented on We Don’t Use Docker   launchyourapp.meezeeworko... · Posted by u/mundanerality
kureikain · 4 years ago
Postfix is really hard to run in container. Add rspamd, opendkim, opendmarc and I would just run them in their dedicated vm then.
pratyushmittal · 4 years ago
Panubo has a pretty good postfix images for Docker. It handles most of the stuff:

https://hub.docker.com/r/panubo/postfix/

Source: https://github.com/panubo/docker-postfix

pratyushmittal commented on We Don’t Use Docker   launchyourapp.meezeeworko... · Posted by u/mundanerality
pratyushmittal · 4 years ago
Hey, I too don't want to use Docker, but I find no alternative.

I use docker-compose to get these running: memcache, MySQL, NGINX and postfix

I tried other things: - Ansible: very slow and requires lot of config files - Bash scripts: requires lot of build steps in a language I don't really like - Fabric: good as the scripts are more pythonic, but still requires manual installation of all services

The good thing about Docker is its caching mechanism. It builds the containers only if there are any changes. What are other (containerless) solutions for that?

pratyushmittal commented on Google Finance Finally Updated   google.com/finance/quote/... · Posted by u/jbverschoor
pratyushmittal · 5 years ago
Please try out https://www.screener.in for Indian stocks. It is Bloomberg for common man.

We provide 10-15 years of financial history in a simple interface. Plus lots of tools for finding and analysing companies.

pratyushmittal commented on How I remember what I learn   vasilishynkarenka.com/lea... · Posted by u/flreln
pratyushmittal · 5 years ago
I used Anki to remember anything. It worked the best. It solved the purpose.

Then I read Erich Fromm's "To Have or To Be" - and it changed me. It made me question if I was just "having" all that knowledge or really "practicing" it.

It felt good to know lots of interesting facts of chemistry, physics, geography and code. But I just "had" them - never "enjoyed" them.

Will highly recommend the book. For a moment, pause and re-think, why do we need to remember everything?

u/pratyushmittal

KarmaCake day106October 29, 2012
About
I am a Chartered Accountant and love to create financial applications for value investors. I am currently working on a stock analysis and a screening web-app for the Indian markets. My favourite text editor is Sublime Text (with Emacs binding), favourite OS is Ubuntu and favourite programming language is Python.

I have a scrapbook at fully-faltoo.com and a financial blog at dalal-street.in

View Original