outofcontrol, to javascript
@outofcontrol@phpc.social avatar

A JS library inspired by Laravel 'Strings' offering a chainable API for streamlined string manipulation and facilitating common string operations in javascript with enhanced expressiveness.

Disclaimer: I’ve not tried it. However, I can see with some small projects that require minimal JS, it might be handy to use.

https://github.com/akcybex/jstr

#javascript #js #laravel

minioctt, to telegram Italian

[⤴️ https://octospacc.altervista.org/2024/01/13/wordpress-che-non-e/]

Dunque, quel bellissimo , che ho iniziato a realizzare appena 3 giorni fa… è già . Ehh, si, quel codice di lì non è proprio fatto per gestire un caricamento di dati troppo avanzato e tutto : nel suo normale caso d’uso riceve già preparato dal server, ed usa non , quindi tentare il che ho fatto io è chiaro porti a difficoltà. Si può fare, perché nella si può fare tutto, ma è un . …E un po’ me lo aspettavo, e lo sapevo da quando ho iniziato. 😁️

Considerate, questa mi era venuta per un motivo molto : era da un po’ che volevo implementare una vista più e con moderne (come lo scorrimento infinito, o la vista in contesto) per il nuovo, ma tenendo comunque io il controllo dei miei . Farlo dentro non mi va, dato che alla fine comunque dovrei usare , e a questo punto ho ritenuto l’idea di fare proprio una cosa a parte, che potesse potenzialmente essere facilmente adattata per prendere i anche da altre fonti (e lo fa, legge da ovunque, se opportunamente assemblato), qualora il Altervista dovesse avere dei problemi. 🧭️

Però, questa non è la mia a lungo termine. Per quello, in realtà, ho in mente un semi-segreto che iniziai mesi fa, ma che poi, presa da altre cose, non continuai. Doveva essere una per il Fediverso e, potenzialmente qualunque altro grazie ad un layer di astrazione di interno. È Il che vorrei far funzionare con una doppia , a o a “piazza” (stile Miiverse), e quindi in secondo luogo anche come Matrix, e in terzo e quarto per e standard… problema è che, dovendo non solo tutto il , ma anche svecchiare una spaventosa porzione del , non è affatto una cosa rapida arrivare ad uno stato di primissimo . 😳️

Insomma, è per questo che questa piccola , tirata su alla bene e meglio e che esiste in buona parte per via di non mio, l’ho chiamata “”. Continuerò ad aggiornarla, anche dopo che ora ho aggiunto l’ultima funzione fondamentale, ossia l’apertura di specifici? Probabilmente no, sarebbe meglio pensare a sistemare quell’altro progetto e fare un robo fatto bene. Importa qualcosa? Naaaah… come si dice, “the first rule of gun safety is to have fun“? Vale la stessa cosa per il , quando l’arma è la propria tastiera insomma. Basta sia stato . 😈️

https://octospacc.altervista.org/2024/01/16/spaghetti-a-breve-termine/

autumn64, to python

About me: #introduction #presentation
Hi! I'm Mónica Gómez, also known as Autumn64. I am a Computer Systems Engineering student from México, and I'm a proud trans woman.

I am also a #FLOSS developer. I code in #C, #Python and #JS, but I can code in a bunch of other languages as well.

I like to make #DnB #music, check it out here: https://tube.tchncs.de/c/autumn64_channel/video-playlists

If you wish to verify I am who I say I am, please check my public key: https://www.autumn64.xyz/key.html

More about me: https://codeberg.org/Autumn64/AboutMe/src/branch/main/README.md

martian, to gamedev

Since "Overreact" (my React/HTML/CSS game engine) survived its first major test last week, a 2-day hackathon at work, I've decided to focus on just 2D features, and use it to build and release a complete game! #gamedev #reactjs #js #webdevelopment

video/mp4

minioctt, to telegram Italian

Prima che commettesse quel gran bel po’ di trolling, seguivo alcuni di varia su … 🪵

Ora che mi sto ricordando, almeno quelli sto potendo importarli nel mio di , tramite , che mi genera i documenti per qualunque . 💬

Però… la media di di un non è granché adatta a consumare di quel tipo, spesso tanti e corti. E allora toh, in qualche quarto d’ora ho creato dei per la mia , che tagliano di molto i pezzi inutili della quando navigo nella mia cartella fatta apposta (mentre per tutte le altre fonti non c’è alcuna ). 🖌️

Ecco una (con il profilo ) di cosa ho fatto per ora, potete provare su https://feeds.octt.eu.org/ oppure rubare il per il vostro (sono tutte modifiche , tramite e ). ✨https://octospacc.altervista.org/2024/01/12/devo-aggregare-i-microblog/

screen-20240112-172504.2.mp4

viktor, to php
@viktor@me.dm avatar

Anyone affected by the tech layoffs and looking for a remote dev job, Nextcloud is hiring for #php #js #ios #android #webrtc and more:

➡️ https://nextcloud.com/jobs/

Boost for visibility pls 🙏

#opensource #foss #nextcloud #getfedihired #layoffs #jobsearch #jobs #devjobs #linux #oss #remotework

amxmln, to CSS
@amxmln@mastodon.design avatar

Does anyone know if there’s a way to get the corner radius of a screen in or ? 🤔 I think some native apps are able to adjust their UI to the display of the host and that’d be great for as well.

martian, to reactjs

"Overreact", the open-source React/HTML/CSS game engine I'm building now supports basic 3D stuff.

It's still very alpha, and pretty light on documentation, but I'm liking where it's heading! :-D

video/mp4

0x5DA, (edited ) to programming
@0x5DA@fosstodon.org avatar

== ANSWERED ==

am i going crazy?
(this is an excerpt, for brevity's sake. the real system is much more complicated.)

this JS code produces the correct result:

[..]  
target.addEventListener(eventName, () => handler());  

but this doesn't

target.addEventListener(eventName, () => { handler() });  

i would've thought these forms would be identical?
am i doing something stupid or is this a bug?

#js

jbzfn, to webdev
@jbzfn@mastodon.social avatar

🤔 Web developers: remarkably untalented and careless?
@baldur

「 So, just this once, I’d like to suggest that everybody in web dev point their dysfunctional novelty seeking (of which I suffer as well) in the direction of HTML and CSS. See how much can be done without JavaScript. It’s a lot! Then look at writing more lightweight JavaScript that’s layered on top of the HTML as enhancements 」

https://www.baldurbjarnason.com/2023/web-dev-untalented/

#Webdev #JS #Frontend

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

Soon you’ll be able to run any Kitten app directly from a git repository*

35 second demo:

https://vimeo.com/899533070

#Kitten #SmallWeb #git #demo #web #dev #html #css #js

michael, to javascript
@michael@thms.uk avatar
5t3ph, to CSS
@5t3ph@front-end.social avatar

🎁 Psst - are you caught up on the last few days of posts from including topics from @michelle, @claire, and @nilsbinder?

You are absolutely sure to learn something and be inspired!

https://12daysofweb.dev

viktor, to php
@viktor@me.dm avatar

If you're looking for remote dev job (#php #js #ios #android #webrtc), Nextcloud is hiring:

➡️ https://nextcloud.com/jobs/

Boosts appreciated!

#opensource #foss #getfedihired #fedihired #jobsearch #devjobs #jobs

Johnmingzed, to python

L'ironie d'avoir planché sur un POC d'application de recrutement sur le Fediverse, c'est que je doive tout de même utiliser LinkedIn & autres dans ma recherche d'emploi (qui ne peut malheureusement pas attendre la fin du dev de FatWork😅)

Je lance une bouteille à la mer, en croisant les doigts pour qu'un miracle de Noël 🎄 lui fasse croiser le chemin d'un recruteur.
📢 #Jechercheunjob de dev fullstack en CDI sur #Bordeaux sur technos #Python #JS ou #PHP 💻

https://jonathan.lesacteursduweb.fr

minioctt, (edited ) to AdobePhotoshop Italian

[⤴️ https://octospacc.altervista.org/2023/12/16/572]

La #app #Android fatta l’altro giorno ha svolto il suo lavoro, e programmarla così è stato furbo. 🌚️ Ho usato quindi:

  • Quella, per eseguire un piccolo #script #JS per monitorare gli #SMS in entrata, controllare che provengano dal mio numero di #telefono, e siano del tipo giusto (cioè, con il corpo HTML racchiuso all’interno di un elemento XML <post> che ho inventato di sana pianta), assemblarne multipli in una sola stringa di testo se necessario (per la prova di prima non lo è stato), e inviarli con un’apposita richiesta #HTTP ad…
  • Un workflow creato al volo su n8n (che gira sul mio #server), che usa la #API semplificata del plugin WP per pubblicare, dato che per qualche motivo il modulo WordPress integrato nella piattaforma non funziona per il mio #sito.

Tutto insieme, questo sistema mi ha permesso di pubblicare su #WordPress effettivamente tramite un messaggio SMS, inviato dal mio #smartphone principale, ricevuto dal secondario che ha #Internet e fa le sue cose. Nel video c’è la dimostrazione di quel post di prima, appunto; di sfondo, l’interfaccia di #n8n che si aggiorna per mostrare la nuova esecuzione avvenuta, e il #MicroBlog con il nuovo post arrivato… 🐵️

Ora, ripeto che questo era un #EsercizioDiStile, e per il momento nell’anno del signore #2023 non ho esigenza di postare così, ma forse il concetto generale potrebbe tornare utile per le emergenze, e in ogni caso certamente fa figo provare sulla mia #piattaforma l’ebrezza di una funzione che solo #Twitter di tutte ha avuto, e solo per poco tempo. 😤️

Se in futuro volessi davvero usarla, innanzitutto implementerei un sistema di #OTP, così che ogni volta che voglio pubblicare devo anche inserire un codice temporaneo (perché SMS è un colabrodo di protocollo, e sarebbe possibile per dei criminali inviare un messaggio che appare come dal mio numero), poi magari implementerei funzioni come la modifica dei post (oltre che qualche feedback per pubblicazione avvenuta con successo o meno, cosa che ho evitato ora perché dalla seconda #SIM non posso inviare messaggi, solo ricevere). Per chi vuole curiosare, il #JavaScript per #DroidScriptin e il JSON per n8n sono qui: https://gitlab.com/octospacc/Snippets/-/tree/main/SmsToWordpress. 🎀️

https://octospacc.altervista.org/2023/12/18/635/

#2023 #Android #API #app #DroidScriptin #EsercizioDiStile #HTTP #Internet #JavaScript #JS #MicroBlog #n8n #OTP #piattaforma #script #server #SIM #sito #smartphone #SMS #telefono #Twitter #WordPress

mez, to javascript
@mez@mastodon.nz avatar

Hey #JS #WebDev in a Class, getters can't take parameters, but they can return a function that does. Is there a material difference between that and a method? Compare get thing and findThing() below

class Foo {  
 things = [{id: 1}, {id: 2}];

 get thing() {  
 return id =&gt; this.things.find(item =&gt; item.id === id)  
 }

 findThing(id) {  
 return this.things.find(item =&gt; item.id === id)  
 }  
}  

Is there a performance or functional difference?

teleclimber, to webdev
@teleclimber@social.tchncs.de avatar

Really liking this post by @jaredwhite on #webcomponents and server side HTML generation. I strongly agree that I want to write in something that feels like #HTML, not #JS. (It's why I currently use #Vue -- the HTML-based template is pleasant)

https://www.spicyweb.dev/web-components-ssr-node/

dennisl, to webdev
@dennisl@mastodon.social avatar

Getting started with Web Performance 🚀 [Tip 3: As little JavaScript as possible] https://www.htmhell.dev/adventcalendar/2023/14/ #webperf #webdev #webdevelopment #javascript #js

joelanman, to webdev
@joelanman@hachyderm.io avatar

eh.. trying Prettier and not having a good time, I like to add new lines to make code more readable and it deletes them with no config to stop doing that. Don't think it's right for me, is there a more configurable alternative?
#webdev #js #css

andrew_chou, to programming
@andrew_chou@toot.cafe avatar

been doing some casual reading of Refract and it's quite nice!

https://refract.js.org/

curious if anyone's used it recently - seems like it's one of those things that doesn't need to be actively maintained because of its scope.

#Reactive #JS #frontend

5t3ph, to CSS
@5t3ph@front-end.social avatar

I am so thankful for the thoughtfulness and impressive thoroughness of the 12 Days of Web authors, and can't wait to begin sharing their insights with you on Wednesday!

Are you subscribed to updates or the RSS?

https://12daysofweb.dev

#CSS #HTML #JS

hazz223, to javascript
@hazz223@mstdn.social avatar

It's been a while since I last saw a repo that made me laugh

https://github.com/christina-de-martinez/babel-plugin-glowup-vibes

(Also, check out the issue page for extra fun)

#JavaScript #Node #JS #Programming #Funny #Tech

martian, to gamedev

Why did nobody tell me physics could be so much fun! Where have y'all been? 🤣

This is all running in the browser, built with React, rendering to HTML elements, styled with CSS, no canvas. 🎉✨💪

This feels so nice! #gamedev #js #reactjs #webdev #javascript

video/mp4

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