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

chrisminnick, to programming
larnius, to programming
@larnius@mastodontech.de avatar

Day 39 of #100daysofcode #webdev is done, and it was again all about the four different kinds of loops in #javascript in action. The sheer amount of helper constants is kind of overwhelming for me, and I think I'll have to repeat some of the lectures before moving on. Day 40 up to day 40 are a milestone project, so I will find out quite quickly how well I understood all the control structure stuff...

davidbisset, to php
@davidbisset@phpc.social avatar
faassen, to programming
@faassen@fosstodon.org avatar

Programming language communities are interesting and affect your experience. A little thread.

1/6

faassen,
@faassen@fosstodon.org avatar

JavaScript for a while was a lingua franca language; it being the language on browsers it attracted a lot of people with different "home language" backgrounds, OO and functional, which lead to a creative ferment.

3/6

zackery, to programming

npm install looking at my available storage.

#npm #webdev #javascript

davidbisset, to programming
@davidbisset@phpc.social avatar
dredmorbius, to programming

Is there a way to invoke Mozilla's Readability.js from a Linux / MacOS bash shell for a specific URL and save the output somewhere?

I'd like to test some issues I'm having with an Android app, but can't update and install the app on my device (which I apparently "use" but do not "own" or "control").

And/or a quick-start / idiot's guide to Android app building and packaging might be useful.

(I have worked out that an APK is just a structured ZIP file.)

leanpub, to programming
@leanpub@mastodon.social avatar

Complete Guide to Modern JavaScript: Learn everything from the basics of JavaScript to the new ES2022 features http://leanpub.com/courses/leanpub/completeguidetomodernjavascript by Alberto Montalesi is the featured course on the Leanpub homepage! https://leanpub.com

djvdq, to programming
@djvdq@mastodon.social avatar

I know exactly nothing about frontend development and I have to develop frontend to my FastAPI app ASAP.

How to do it fastest and easiest? Using one of the frameworks or maybe plain HTML/CSS/JS will be better?

katerberg, to programming

It's not a new article, it outlines a heuristic about code folders that "feels right" to me, particularly after being stuck in codebases for a long time: https://koenvangilst.nl/blog/code-colocation-is-king

I love how generally goes with the fractal structure of files, but I'm trying to see how does it since it seems like it might not be as opinionated about this.

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/

itnewsbot, to programming
@itnewsbot@schleuss.online avatar

How to use async and await in JavaScript - One of the nicest improvements to developer experience in recent JavaScript history i... - https://www.infoworld.com/article/3328099/javascript-async-and-await-explained.html#tk.rss_all

asahi95, to programming

If I built my site, no will be used, only :blobcatcomfy:

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

thomasreggi, to programming

Sitting outside in soho applying for jobs signaling to the world I am a programmer.

feditips, to random
@feditips@mstdn.social avatar

I don't think people are realising the danger the Fediverse is in.

The only thing stopping corporations and VCs taking over this place is that the Fediverse is spread out on many different servers, which makes it very difficult to purchase.

If most of the Fediverse ends up on mastodon.social, which is now a strong possibility, there will be nothing to stop most of it being sold to Musk or Zuckerberg or whoever.

The bigger mastodon.social becomes, the more likely a buyout is to happen.

(1/4)

kkarhan,
@kkarhan@mstdn.social avatar

@feditips And this should all not be the case.

Granted, as a / - will outlive anyway, just as & outlived & .

At most Mastodon will die out like , & nowadays and ["Server"] in the future...

davidbisset, to programming
@davidbisset@phpc.social avatar

Nice to see an update from the WP Feature (former WP Notify) project! Apparently there’s a “ based system for displaying notifications” being worked on.

You can test w/ feature plugin.

https://make.wordpress.org/core/2023/04/25/wp-feature-notifications-2023-status-update/

fell, (edited ) to programming
@fell@ma.fellr.net avatar
fell, to programming
@fell@ma.fellr.net avatar

I cannot browse the #web without all these extensions:

  • Adblocker
  • I don't care about cookies
  • Redirector

I hate the abomination humanity has created. #JavaScript is a blessing and a curse. But mostly a curse.

mlibby, to programming

I'm tired of seeing and described as "modern frameworks".

What's even remotely "modern" about them at this point? They're bloated dinosaurs that are one comet strike away from being next week's Active Server Pages.

I think I'd vastly prefer a post-modern framework. Like something that keeps me from writing any JS in the first place.

Blazor in .NET, Phoenix LiveView in Elixir, and Yew in Rust... those are actual modern web frameworks.

isa, to programming

setTimeout(callback, 0) is an old developer's commentary on the state of .😄


didek, to programming
@didek@101010.pl avatar

JavaScript developer playing Minecraft:

"What framework do you recommend that compiles to pure command blocks?"

sarajw, to programming
@sarajw@front-end.social avatar

Is there a handy little website starter somewhere, with a live JavaScript RSS parser on it? As in, doesn't need deployment to get the latest feed, but does it on the client side?

I know I could learn and do it from scratch, but sometimes I just wanna copy, adjust, prettify...

54gradsoftware, to php German

Moin, wir sind und eine kleine Softwareentwicklungsfirma aus . Unser Schwerpunkt liegt auf Webentwicklung mit und vielem mehr. Wir lieben Open Source Technologien und sind auch pro bono aktiv.
Mehr Infos auf unserer Website https://54gradsoftware.de/
Die Toots kommen hauptsächlich von @sabrinkmann

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