boneskull, to programming

Hi, I'm looking for a J-O-B. I love building dev tools & maintaining . recently: maintainer of (automation framework for arbitrary devices). before: OSPO, core, Mocha, etc. I am on the @jsparty podcast. I am cool and smart and funny. 20 YoE. remote only

brad_frost, to random
@brad_frost@mastodon.social avatar

I'd watch a documentary about jQuery.

tanepiper,
@tanepiper@tane.codes avatar

@criswell @brad_frost Well there's some truth. A lot of what we'd call 'the modern web' was born out of that and - so many tools and concepts

ssoper, to programming
@ssoper@noc.social avatar

question for other devs out there. is there a way to get the predictability of reproducible versioning between dev and deployed without having to lock down your package.json to exact versions? concern is that locking down versions now introduces a quarterly upgrade cycle that sucks up dev time. i'm also not a fan of dependabot's yarn.lock only updates.

this whole convo started w/ 13.3.1 release with a nasty bug.

aral, to programming
@aral@mastodon.ar.al avatar

Just released #JavaScript #Database (#JSDB)¹ version 3.0.0

Breaking change²: data is now evaluated in virtual machine contexts.

If you were persisting custom objects³ and referencing classes from global scope (globalThis) to have your objects keep their types when read, you must now explicitly register your list of custom classes using the new classes property of the options object when calling JSDB.open().

¹ https://codeberg.org/small-tech/jsdb#javascript-database-jsdb
² https://codeberg.org/small-tech/jsdb/src/branch/main/CHANGELOG.md#3-0-0-2023-04-28
³ https://codeberg.org/small-tech/jsdb#custom-data-types

aral,
@aral@mastodon.ar.al avatar

PS. I’ll update Kitten¹ with the latest JSDB today.

¹ https://codeberg.org/kitten/app

#Kitten #Domain #JSDB #SmallWeb #SmallTech #web #dev #nodeJS #database

smallcircles, to programming
@smallcircles@social.coop avatar

Build lightweight cross-platform desktop apps with , , and

An alternative to , not based on and . Neutrinalo uses the existing web browser library in the operating system.

https://neutralino.js.org/

jo, to fediverse

I saw @Uraael mention how their engagement had really skyrocketed with the influx of folks from at calckey.social and they posted a screenshot of their activity graph. Thought I'd heck mine, too.

Yeah, that's absolutely crazy. 😅

maegul,
@maegul@hachyderm.io avatar

@jo One thing that attracted me to (in conversation with a recent migrant to there) was that it's a nodejs based codebase, which makes it more likely that I'd one day dig into the internals (than say Ruby/Mastodon or Elixir/Akkoma).

How do you find developing a *key platform? Is being based a factor in your liking it?

wiredprairie, to programming
@wiredprairie@mastodon.social avatar

I'm enjoying the ease of use of the npm package 'postgres'. I'd tried a few other options that were a bit more "ORM" and not had great success.

It's not simple -- but that's good as it's feature set is definitely robust. Also works well with Typescript.

It took me about 45 minutes to swap from Kysely.

https://www.npmjs.com/package/postgres

alexzeitler, to opensource
@alexzeitler@mastodon.social avatar

Sometimes it takes an all nighter to get things going

aral, to programming
@aral@mastodon.ar.al avatar

Wondering how to get readline working in a non-primary Node.js cluster process while keeping colour output via Chalk in your CLI app?

(I’m pretty sure you’re not but, hey, I ran into this today and I’m documenting it in hopes it might help someone else sometime.)

Check out the implementation in Kitten’s development-time process manager (this little file is what Kitten uses in place of a heavyweight module like Nodemon):

https://codeberg.org/kitten/app/src/branch/readline-under-cluster/build-templates/kitten-process-manager.js

aral, to programming
@aral@mastodon.ar.al avatar

The Stripe API doesn’t include a way to validate publishable and secret API keys.

Here’s a simple function you can use to do that:
https://codeberg.org/aral/gists/src/branch/main/validateStripeKey.md

#Stripe #API #stripeAPI #JS #NodeJS #web #dev #gist

rauschma, to programming
@rauschma@fosstodon.org avatar
schizanon, to linux
@schizanon@mas.to avatar

Developers: It takes a really long time to delete my node_modules directory
: What do you want us to do about it?
Developers: I don't know, use a better filesystem or something?
Microsoft: Here, have an entire fucking virtual machine that you can use to run
Developers: ...this is fine actually

CobyPear, to programming

Heya, I'm looking for my next role! I am a Full Stack Node.js developer but I would love my next role to be backend focused (or game dev but I'm not so sure how to make that switch!).

I'm a quick learner and I love making tools for other developers to be more productive like SDKs and CLIs.

I am located in the US, remote jobs preferred.

Please reach out if you know of anything, thanks!

aral, (edited ) to programming
@aral@mastodon.ar.al avatar

SystemError typedef for Node.js (gist)

https://codeberg.org/aral/gists/src/branch/main/SystemError.md

Node.js doesn’t expose the SystemError class in any way. This JSDoc type definition works around this limitation.

Update: Yeah, Node.js should really just expose the SystemError class because this is ridiculous.

mjgardner, (edited ) to programming
@mjgardner@social.sdf.org avatar

This is hilarious. A engineer invented to make command line scripting easier with , because at a certain point scripts get too complicated and you need a Real Language.

https://github.com/google/zx/

This is exactly ’s use case from thirty-six years ago. But the kids want everywhere and would rather it take more work to convert their ascended scripts to a vastly different syntax.

https://github.com/google/zx/issues/581#issuecomment-1516573139

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

@sullybiker Yep. And I just found out that this isn’t even the first time the kiddies have done this.

https://github.com/shelljs/shelljs

is a portable implementation of commands on top of the API. […] say goodbye to those gnarly scripts!”

Of course, also exists if you want Unix commands that work the same everywhere. It has exactly four dependencies to download from outside of the core.

https://perlpowertools.com

kerfuffle, to programming
@kerfuffle@mastodon.online avatar

What kind of laptop do (//) around here use for running ? Brand, custom build company?

thisismissem, (edited ) to tech
@thisismissem@hachyderm.io avatar

Okay, okay, at @nova's behest, an post:

Hi 👋🏻 I'm Emelia, from , , I'm trans queer and kinky.

I'm a princess 👸🏻 currently working most with , currently working on Fediverse Trust & Safety tooling

I'm most known for my work on , and contribute to & other fediverse software

In 2020, I became the of Unobvious Technology, aiming to improve the safety, and profitability of and advance the

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • GTA5RPClips
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • everett
  • Youngstown
  • mdbf
  • Durango
  • slotface
  • rosin
  • thenastyranch
  • kavyap
  • modclub
  • anitta
  • cubers
  • tester
  • osvaldo12
  • tacticalgear
  • ethstaker
  • ngwrru68w68
  • khanakhh
  • Leos
  • normalnudes
  • cisconetworking
  • provamag3
  • megavids
  • lostlight
  • All magazines