mstdn.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A general-purpose Mastodon server with a 500 character limit. All languages are welcome.

Administered by:

Server stats:

7.2K
active users

#npm

5 posts5 participants1 post today

I'm on the hunt for a #TextToSql package for #Node. That is, an #npm package that takes an #SQL database, analyzes its structure, and can then transform natural language input into a query, run it, and bring me back the results.

Although it's #Python and so not relevant for me, I've found a very impressive solution in the form of VannaAI (github.com/vanna-ai/vanna).

Their core is available in PyPI under MIT and the code looks clean and shin!

When contributing to #PHP #OSS dependencies, I usually used "composer --prefer-source" to get the dependencies installed as git repos.This way, when I make modifications, I can test them inside a larger codebase immediately while easily being able to check my changes and commit+push them upstream.

What is the process for #JavaScript? Is there a similar pattern with #NPM? Or what is the approach JavaScript OSS contributors take?

Today, I released 'steploop', a TypeScript/JavaScript package that provides a fully-featured main-loop which acts as a strong foundation for building loops that execute at a consistent, specified rate. It is inspired by game engine main-loops like Godot's MainLoop or Unity's Update() loop.

Source code: github.com/nickesc/steploop

a foundation for building loops that execute at a consistent, specified rate - nickesc/steploop
GitHubGitHub - nickesc/steploop: a foundation for building loops that execute at a consistent, specified ratea foundation for building loops that execute at a consistent, specified rate - nickesc/steploop

I hate the #npm website. Just spend a good 20 minutes trying to login because they want you to login with a username but the registration was done with email (which what is what gets autofilled since it is stored in my password manager). After four password resets (and receiving a too_many_requests) I finally noticed the issue.

Seriously, if you associate a username with email that hard you either allow both or inform if the user check if the login contains an username. 😡