leanpub, to react
@leanpub@mastodon.social avatar

Building Large Scale Web Apps: A React field guide https://leanpub.com/large-scale by Addy Osmani and Hassan Djirdeh is the featured book on the Leanpub homepage! https://leanpub.com @addyosmani

baumannzone, to javascript Spanish
@baumannzone@techhub.social avatar
keithjgrant,
@keithjgrant@front-end.social avatar

@baumannzone This has to do with how floating point numbers are stored (essentially, they’re fractions, not decimals). This occurs in most programming languages, not just JS. Look up “floating point rounding error”

keithjgrant,
@keithjgrant@front-end.social avatar

@baumannzone Here's python doing the exact same thing

toxi, to typescript
@toxi@mastodon.thi.ng avatar

Current status: Updating the https://thi.ng/geom readme to give a better overview of the full extensive API, ahead of the v8 release (soon)... Attached are screenshots of three sections of the readme showing:

  1. list of 32 shape types (both 2D and 3D)
  2. list of 54 polymorphic functions/operations to manipulate/convert/analyze shapes & shape hierarchies
  3. list of additional 40 shape creation functions

Still to come: Documenting the bundled preset implementations of:

  • vertex convolution kernels (3)
  • curve subdivision strategies (8)
  • polygon/polyline to bezier conversion strategies (3)
  • polygon tessellators (9)

(...and how most of these can be combined & applied iteratively. Some of the recent/existing examples are already hinting at the potential...)

#ThingUmbrella #Geometry #Visualization #SVG #Documentation #TypeScript #JavaScript

Screenshot of a section of the linked GitHub readme, showing a table of 54 polymorphic functions/operations to manipulate/convert/analyze shapes & shape hierarchies
Screenshot of a section of the linked GitHub readme, showing a list of links to additional 40 shape creation functions

nucliweb, to javascript
@nucliweb@webperf.social avatar

Comprehensive guide to JavaScript performance analysis using Chrome DevTools

https://blog.jiayihu.net/comprenhensive-guide-chrome-performance/

qaqelol, to opensource
@qaqelol@toots.niark.nexus avatar
ricmac, to javascript
@ricmac@mastodon.social avatar

This was the top performing post on @TheNewStack last week, so it seems there is a tremendous amount of interest in a post-React future among web developers. Maybe my Gmail analogy wasn’t far off after all ;) https://thenewstack.io/from-react-to-html-first-microsoft-edge-debuts-webui-2-0/ https://mastodon.social/@ricmac/112531029962000384

schizanon, to webdev
@schizanon@mastodon.social avatar

> Three.js introduces its own 'TSL' shader language as a way to write WebGPU shaders with JavaScript rather than the WebGPU Shading Language.

https://github.com/mrdoob/three.js/wiki/Three.js-Shading-Language

antaresphdev, to webdev Tagalog
@antaresphdev@mas.to avatar

Nagbibigay ang Web Platform Baseline ng malinaw na info tungkol sa mga bagong web platform features na puwede nang magamit sa mga production sites.

Tingnan ang details nito sa website ng Antares Programming: https://antaresph.dev/resources/baseline/

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

fetch-in-chunks: fetching large files in chunks, with parallel downloads, progress tracking and request abortion
@tomayac
https://github.com/tomayac/fetch-in-chunks/

jesus, to javascript
@jesus@mastodon.gamedev.place avatar
serapath, to web
@serapath@mastodon.gamedev.place avatar

Why don't iframe nest more than 2-3 times?
Is that because browsers or because web spec?

https://codepen.io/serapath/pen/jOoyRKJ?editors=0010

#web #dom #html #javascript

toxi, (edited ) to generative
@toxi@mastodon.thi.ng avatar

Added a new[1] configurable curve subdivision kernel for https://thi.ng/geom to (iteratively) subdivide polygons/polylines with displacement, allowing for super compact code, infinite variation, and beautiful results like shown...

[1] Actually been using this approach since 2010, initially for 3D mesh subdivisions (3rd image)

toxi,
@toxi@mastodon.thi.ng avatar
minioctt, to AdobePhotoshop Italian

Dovrei iniziare quantomeno a provare a fare certe pixel art che mi servono, se ho intenzione di fare i miei giochini, ma ho realizzato che sto un po’ rimandando… Ci ho pensato un attimo, e mi rendo conto che succede perché semplicemente non ho le condizioni esterne giuste per mettermi a disegnare quella roba: tutti i programmi (per PC) sono scomodi. 😶️

Più o meno su mobile (tablet o smartphone) qualcosa di agibile si trova, e riesco a disegnare senza incazzarmi affatto, anche se, ovviamente, non è il massimo… con il touch screen, tra le dita che coprono la vista, la generale imprecisione dei tocchi, e il fatto che quando sono a casa vorrei usare il potenzialmente più comodo PC per i disegnini pixellosi, non riesco granché ad accontentarmi. Appunto, su PC non ci sono software comodi, perché per qualche motivo l’ennesima devianza dei tempi moderni è che si debba usare il mouse e solo il mouse per disegnare pixel art — e voi sapete come sto io col mouse (mi accorgo ora di non averlo mai spiegato bene però… pazienza, un giorno scoprirete) — nonostante ai tempi antichi il topo non esisteva nemmeno, eppure con la tastiera si disegnava bene uguale. Vi giuro, non ho trovato un editor completo che sia uno che permetta di disegnare muovendo un cursore e piazzando il colore usando solo la tastiera, e questo per me è un problema più grande di quello che suona. 😩️

A dire il vero, ne ho trovato giusto qualcuno sperimentale, progettini iniziati per sfizio e mai finiti, con troppi compromessi e limitazioni che mi impediscono di prendere ed usarli con felicità; ve li elenco per pietà: cmdpxl, pypixelart, KDP, Pixkey e, Peachel. Stavo quasi pensando di usare programmi di fogli di calcolo per disegnare, che di base hanno un buon workflow per la tastiera (e a volte ci ho disegnato sopra…), e permetterebbero di usare le macro per implementare le funzioni di settore mancanti… ma mi sono subito scontrata con la realtà di: niente Excel su Linux (il 2007 va in Wine ma palle), LibreOffice Calc non permette di mappare a tasti il secchiello per colorare le caselle (non è chiaro se sia una funzione mancante oppure un bug), OnlyOffice Spreadsheet ha millemila bug tra cui problemi di ridimensionamento delle celle (non ho voluto nemmeno proseguire oltre quindi lmao), e sia Excel Online che Google Sheets fanno veramente cahare liquido. E allora, pure stavolta, l’ennesimo progetto laterale inizia… 🤬️

https://octospacc.altervista.org/wp-content/uploads/2024/05/image-7-960x481.pngL’ennesimo concretizzarsi del sesto corollario di Murphy (“Non ci si può mettere a far qualcosa senza che qualcos’altro non vada fatto prima”) mi stava facendo avvilire, ma non avevo altra scelta ormai, quindi ho iniziato, e ho deciso anche stavolta di creare un programma mio anziché forkarne uno esistente (sarà meno una rogna per me svilupparlo e mantenerlo). E, devo dire, è buono, perché tra ieri e oggi ci ho preso gusto: ho già la parte di base di disegno a posto, e ora posso implementare gli strumenti più utili e originali, ho un sacco di idee per rendere il disegno più veloce e piacevole che col mouse! Ma prima, sto finalizzando il formato “proprietario” dell’app… si, è quel plaintext lì anziché un banale JSON o un oscuro formato binario; ma voi non siete pronti, avrete altre foto solo tra un po’… 🙃️https://octospacc.altervista.org/2024/05/30/disegnare-senza-rogne/

minioctt,

btw
è davvero accaduto “creerò il mio editor di pixel art con blackjack e squillo di lusso” (implementerò un mini casinò direttamente nell’editor per tutti quei momenti in cui io o gli altri artisti ci rompiamo le palle di lavorare)

joelanman, to react
@joelanman@hachyderm.io avatar
daishi, to reactjs
@daishi@fosstodon.org avatar

🤩 Celebrating Waku (waku.gg) ⛩️ reaching 4k stars on GitHub! 🥳

  • 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