abhijit-hota

abhijit-hota

Curiosity driven developer solving problems in the right way by learning in depth.

Member Since 7 years ago

IIT Madras,

Experience Points
35
follower
Lessons Completed
58
follow
Lessons Completed
141
stars
Best Reply Awards
43
repos

1479 contributions in the last year

Pinned
⚡ A private Cards Against Humanity client
⚡ A React and Node.js app that searches for movies using the TMDB and OMDB database. ⚛✨🎥
⚡ Analyse and visualise your WhatsApp chats 📞📊📈
⚡ A matrix library for JavaScript with ability to calculate determinants, inverse, RREF and perform other simple matrix operations.
⚡ A CLI wrapper to use Dev.to
⚡ Monorepo for the TeamUp Student Portal for E-Cell
Activity
Nov
25
5 days ago
Nov
23
1 week ago
Activity icon
issue

abhijit-hota issue comment volta-cli/volta

abhijit-hota
abhijit-hota

Idea: Rename `volta install` to a different verb

The volta install command is a fairly common point of confusion for new users in two ways:

  1. It's overloaded: volta install both fetches a new version and changes the user's default. This may be unexpected or it may be difficult to discover when you're only looking for the latter behavior.
  2. It complicates teaching Volta's mental model of "install on demand". Strictly speaking, there's no reason we need to actually fetch a new Node version when setting the default - new versions are downloaded as soon as they're needed. We do it as a convenience, but by using install as the verb, it gives the impression that "installing" is a necessary step. That impression is compounded by the fact that in most of the other Node version management tools, users do have to manually install a version in order to use it.

Changing the command verb to something else (e.g. volta default, volta global, etc.) could help alleviate both of these concerns. It makes it more clear that the important part of the command is changing the default, rather than fetching the version. It also separates the commands from the other managers, helping make the mental model (Declare Your Tools, Don't Install Them) more grokkable.

It may result in an increase of questions like "How do I install a version?", but then we can answer those questions in a way that leads more directly to teaching the Volta paradigm: "You don't have to, you tell Volta which version you want to use and it will automatically install it"

abhijit-hota
abhijit-hota

@chriskrycho

I'm not sure if I can help much as I don't know a lot about drafting RFCs. (I went through the instructions here: volta-cli/rfcs). I can try, though.

I think a single line in the documentation in the Installing Node Engines section here might be helpful for now. We can also make it a call-out. I can work on a PR for the same.

As for the lack of time, I totally get it! Volta is evolving and I'm very thankful to the maintainers for working on that. :heart::zap:

Nov
22
1 week ago
Activity icon
issue

abhijit-hota issue comment volta-cli/volta

abhijit-hota
abhijit-hota

Idea: Rename `volta install` to a different verb

The volta install command is a fairly common point of confusion for new users in two ways:

  1. It's overloaded: volta install both fetches a new version and changes the user's default. This may be unexpected or it may be difficult to discover when you're only looking for the latter behavior.
  2. It complicates teaching Volta's mental model of "install on demand". Strictly speaking, there's no reason we need to actually fetch a new Node version when setting the default - new versions are downloaded as soon as they're needed. We do it as a convenience, but by using install as the verb, it gives the impression that "installing" is a necessary step. That impression is compounded by the fact that in most of the other Node version management tools, users do have to manually install a version in order to use it.

Changing the command verb to something else (e.g. volta default, volta global, etc.) could help alleviate both of these concerns. It makes it more clear that the important part of the command is changing the default, rather than fetching the version. It also separates the commands from the other managers, helping make the mental model (Declare Your Tools, Don't Install Them) more grokkable.

It may result in an increase of questions like "How do I install a version?", but then we can answer those questions in a way that leads more directly to teaching the Volta paradigm: "You don't have to, you tell Volta which version you want to use and it will automatically install it"

abhijit-hota
abhijit-hota

+1 to this. I just uninstalled NVM in favour of Volta. I installed Node v16 and then v14. I wanted to change the Node version to 16 again. I looked for a volta use by intuition but found out that volta install is the way to go which is, pretty confusing in my opinion given that I've already "installed" it.

Nov
18
1 week ago
Activity icon
issue

abhijit-hota issue GitHub-Campus-IITM/support

abhijit-hota
abhijit-hota

Please invite me to the GitHub Community Organization

Name

Abhijit Hota

Smail ID

[email protected]

Additional Context

Creating a new one since I didn't write the proper mail id in the last one.

Activity icon
issue

abhijit-hota issue GitHub-Campus-IITM/support

abhijit-hota
abhijit-hota

Please invite me to the GitHub Community Organization

Name

Abhijit Hota

Smail ID

CE19B033

Additional Context

I want the developer culture in insti to grow and a community is a big part of it. I hope we go somewhere from here.

Nov
16
2 weeks ago
started
started time in 1 week ago
Nov
12
2 weeks ago
Nov
10
2 weeks ago
Nov
8
3 weeks ago
started
started time in 3 weeks ago
Nov
6
3 weeks ago
started
started time in 3 weeks ago
Nov
4
3 weeks ago
started
started time in 3 weeks ago
started
started time in 3 weeks ago
Nov
2
4 weeks ago
Nov
1
4 weeks ago
Oct
27
1 month ago
Activity icon
issue

abhijit-hota issue comment karizma/vscode-scoped-sort

abhijit-hota
abhijit-hota

Help needed

Hello. I had a use-case and I've searched a lot of extensions but was unable to find an appropriate one. Wondering if this can achieved using yours!

So I have a bunch of HTML blocks like this:

<div class="parent">
    <div class="child">
        <h3>Zachary Garrett</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Elijah Tyler</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Earl Henry</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Herman Reed</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
</div>

I want to sort the .child blocks according to the h3 values. So the result would look like:

<div class="parent">
    <div class="child">
        <h3>Earl Henry</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Elijah Tyler</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Herman Reed</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Zachary Garrett</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
</div>

Can I achieve that somehow using this extension? Thanks.

abhijit-hota
abhijit-hota

That's great to know. Thanks a lot, @karizma !

Oct
25
1 month ago
started
started time in 1 month ago
Oct
14
1 month ago
started
started time in 1 month ago
Oct
12
1 month ago
started
started time in 1 month ago
Oct
9
1 month ago
Activity icon
issue

abhijit-hota issue comment karizma/vscode-scoped-sort

abhijit-hota
abhijit-hota

Help needed

Hello. I had a use-case and I've searched a lot of extensions but was unable to find an appropriate one. Wondering if this can achieved using yours!

So I have a bunch of HTML blocks like this:

<div class="parent">
    <div class="child">
        <h3>Zachary Garrett</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Elijah Tyler</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Earl Henry</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Herman Reed</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
</div>

I want to sort the .child blocks according to the h3 values. So the result would look like:

<div class="parent">
    <div class="child">
        <h3>Earl Henry</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Elijah Tyler</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Herman Reed</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Zachary Garrett</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
</div>

Can I achieve that somehow using this extension? Thanks.

abhijit-hota
abhijit-hota
Oct
8
1 month ago
Activity icon
issue

abhijit-hota issue karizma/vscode-scoped-sort

abhijit-hota
abhijit-hota

Help needed

Hello. I had a use-case and I've searched a lot of extensions but was unable to find an appropriate one. Wondering if this can achieved using yours!

So I have a bunch of HTML blocks like this:

<div class="parent">
    <div class="child">
        <h3>Zachary Garrett</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Elijah Tyler</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Earl Henry</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Herman Reed</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
</div>

I want to sort the .child blocks according to the h3 values. So the result would look like:

<div class="parent">
    <div class="child">
        <h3>Earl Henry</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Elijah Tyler</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Herman Reed</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
    <div class="child">
        <h3>Zachary Garrett</h3>
        <p>foo bar baz</p>
        <div class="something">
            lorem ipsum
        </div>
    </div>
</div>

Can I achieve that somehow using this extension? Thanks.

Sep
27
2 months ago
Activity icon
issue

abhijit-hota issue danpla/dpscreenocr

abhijit-hota
abhijit-hota

Tray icon mode?

I really love the program and am using it more than I thought I'd. Thank you!

However, I had a feature request: run in the background (preferably as a tray icon).

Activity icon
issue

abhijit-hota issue comment danpla/dpscreenocr

abhijit-hota
abhijit-hota

Tray icon mode?

I really love the program and am using it more than I thought I'd. Thank you!

However, I had a feature request: run in the background (preferably as a tray icon).

abhijit-hota
abhijit-hota

Oh, my bad. I must have missed among the previous issues while searching for a possible duplicate. Glad it's already addressed!

Any potential release date? Thanks for clarifying.

Sep
26
2 months ago
Activity icon
issue

abhijit-hota issue comment vitejs/vite

abhijit-hota
abhijit-hota

docs(jsx): add vite-react-jsx suggestion

Description

The mentioned plugin is really helpful (and is maintained by a member of the Vite team) and could help users finding a (better ?) solution instead of the proposed way of just injecting the import statement in jsxInject which seems hacky.

Additional context

This comment here at #2369


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention. (Sorry, my commit message isn't valid.)
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.
abhijit-hota
abhijit-hota

Sorry for the unmet promise. But I see it's resolved now. ( #5001 )

Thanks for the plugin!

Activity icon
issue

abhijit-hota issue danpla/dpscreenocr

abhijit-hota
abhijit-hota

Tray icon mode?

I really love the program and am using it more than I thought I'd. Thank you!

However, I had a feature request: run in the background (preferably as a tray icon).

started
started time in 2 months ago
started
started time in 2 months ago
Sep
18
2 months ago
Activity icon
issue

abhijit-hota issue comment vitejs/vite

abhijit-hota
abhijit-hota

docs(jsx): add vite-react-jsx suggestion

Description

The mentioned plugin is really helpful (and is maintained by a member of the Vite team) and could help users finding a (better ?) solution instead of the proposed way of just injecting the import statement in jsxInject which seems hacky.

Additional context

This comment here at #2369


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention. (Sorry, my commit message isn't valid.)
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.
abhijit-hota
abhijit-hota

@patak-js Sure! Will try to open a draft by EOD.

Activity icon
issue

abhijit-hota issue comment vitejs/vite

abhijit-hota
abhijit-hota

docs(jsx): add vite-react-jsx suggestion

Description

The mentioned plugin is really helpful (and is maintained by a member of the Vite team) and could help users finding a (better ?) solution instead of the proposed way of just injecting the import statement in jsxInject which seems hacky.

Additional context

This comment here at #2369


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention. (Sorry, my commit message isn't valid.)
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.
abhijit-hota
abhijit-hota

vite-react-jsx has been merged into the core as @vitejs/plugin-react

Wow! That's good to hear. Any specific release I should look out for?

Sep
8
2 months ago
started
started time in 2 months ago
Previous