daanderson, to rust

I’ve been watching out for languages that could encroach on JavaScript’s power domain (the browser) for awhile. Since Node, it’s been able to play on other language’s turf, but not the other way around.

The idea that #rust could compete with #javascript on its home turf is one that I’ve watched carefully. The blocker seemed to be WASM bindings; that is, JS was still fastest at working the DOM.

That may no longer be the case.

https://joshmo.bearblog.dev/can-rust-beat-javascript-in-2023/

jtk, to rust
carlton, to programming
@carlton@fosstodon.org avatar

If anyone's got chops, thoughts on the best way to make a module available to require() from a PyPI installed package would be welcome on this ticket:

https://github.com/carltongibson/neapolitan/issues/8

npm link? NODE_PATH?
I'd very much like to avoid "Separate NPM package".

Folks must have done this. There must be a decent pattern 🤔

Ta!

nosherwan, to programming
@nosherwan@fosstodon.org avatar

🌐
Why you should Invest in
Web Components:

A very well written article, that argues why it is the best time to invest in Web Components rather than anyone else's flavor of the month Front End Framework.

https://blog.bitsrc.io/web-components-are-dead-long-live-web-components-1de76ab4890d




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 is done, and it was again all about the four different kinds of loops in 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.

#javascript

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 #courses #javascript #programming

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?
#frontend #javascript #html #css

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 #rails codebases for a long time: https://koenvangilst.nl/blog/code-colocation-is-king

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

smallcircles, to programming
@smallcircles@social.coop avatar

#NeutralinoJS

Build lightweight cross-platform desktop apps with #JavaScript, #HTML, and #CSS

An alternative to #Electron, not based on #Chromium and #NodeJS. 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 #softwaredevelopment #javascript

asahi95, to programming

If I built my site, no #Javascript will be used, only #HTML :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

#NodeJS #JavaScript #Deno #Postgresql #ECMAScript #TypeScript #NPM

thomasreggi, to programming

Sitting outside in soho applying for jobs signaling to the world I am a programmer. #deno #node #javascript #ipfs #npm #jobs

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.

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