Posts by Tag

javascript

How To Use Private Repo as NPM Dependency

In the last few days I have been working a lot on some private projects. For confidentiality reasons I can’t use public repositories, consequently not even t...

AI Single Word Portrait

I don’t know if it’s just my habit, or others too. But I often find myself reusing similar prompts to create images with AI. They aren’t necessarily long pro...

JS Tips #9: Highest Scoring Word

The problem today is quite simple. It concerns arrays, strings, and character encoding within JavaScript. In addition to a pinch of elementary mathematics, s...

JS Tips #8: How To Validate Sudoku Solutions

The today’s problem is interesting because I have always wanted to understand how to solve it. We are in the field of JavaScript (obviously), of two-dimensio...

JS Tips #7: Snail Sort

The problem today is a level 4 Kyu problem according to the CodeWars scale. It is a matrix problem in JavaScript. Or to put it another way, it is a problem o...

JS Tips #5: Common Denominators

Today’s task involves finding the common denominator of a series of fractions. Then, calculating the numerator of each fraction and returning a string with t...

JS Tips #4: Least Common Multiple

The problem today is about calculating the least common multiple of a set of numbers. In mathematics, the least common multiple of two positive integers a an...

JS Tips #3: Greatest common divisor

The problem today is related to mathematics. Specifically, it is about finding the greatest common divisor of two positive integers. In mathematics, the grea...

JS Tips #2: Format phone number by template

Today’s problem involves formatting a phone number based on a template. It is an interesting puzzle because it is very useful. I had the opportunity, some ti...

JS Tips #1: Human Readable Time

I have decided to continue writing my solutions to CodeWars puzzles in JavaScript and TypeScript. My goal is to continue practicing and not be satisfied with...

DevAdvent 2022: #23 Adding Big Numbers

We have reached the end of this DevAdvent 2022. And to end things beautifully, CodeWars proposes a level 4 kyu problem for me. And like any difficult problem...

DevAdvent 2022: #22 Survive the attack

The problem for today’s DevAdvent concerns comparing elements of two arrays. The interesting thing is how the problem is presented, through a real-world exam...

DevAdvent 2022: #21 Fibonacci Numbers

Christmas is approaching, and this DevAdvent 2022 is also coming to an end. I don’t have much time today, so I’ll settle for solving a small problem related ...

DevAdvent 2022: #20 Narcissistic Numbers

We are approaching Christmas, and therefore the end of DevAdvent. Today’s exercise also involves math and the properties of numbers. I must say that I am ple...

DevAdvent 2022: #19 Simple Pig Latin

The problem for today’s DevAdvent 2022 is about Pig Latin. But what is Pig Latin? It is a playful language, used among English-speaking children. To me, a na...

DevAdvent 2022: #15 Buying a Car

Today’s DevAdvent 2022 issue was particularly interesting. In itself it is not very complicated, it is about calculating the point of intersection of two cur...

DevAdvent 2022: #13 Growth of a Population

Today’s problem of my personal DevAdvent 2022 is about calculating percentages, population and number series trends. Or, to put it simply, how to make a simp...

DevAdvent 2022: #8 Descending Order

Today’s DevAdvent problem is an exercise in number ordering. But with an interesting variation: it requires you to break down a number and use its digits to ...

DevAdvent 2022: #6 Reverse Words

Today’s problem is how to reverse the order of the letters in a word, and of each word in a sentence. It’s a fairly simple problem but one that shouldn’t be ...

DevAdvent 2022: #5 Highest and Lowest

New day, new exercise for my DevAdvent 2022. Over the weekend I discovered a few other devAdvents but still decided not to follow any of them. Instead, I wil...

DevAdvent 2022: #2 You’re a square!

The second problem of my DevAdvent 2022 concerns square roots. The story of the problem is about cubes, squares and a passion for the numbers. But long story...

DevAdvent 2022: #1 Square Every Digit

The Twitter world is in turmoil. I’ve decided to abandon it. I am certainly missing something. For example I don’t know if anyone is organizing a DevAdvent l...

How To Show Notifications in Web Application

In the last month I worked on my side project, a web application that allows you to encrypt and decrypt text messages (DoCrypt.org). It’s still a work in pro...

Come mostrare notifiche in una web app

Nell’ultimo mese ho lavorato a un mio side project, un’applicazione web che permette di cifrare e decifrare messaggi di testo (DoCrypt.org). È ancora un work...

How to update Rollup to version 3

A few days ago Rollup reached version 3. I updated some of my projects, but it wasn’t a painless operation. There are some changes to the code, and some plug...

Come aggiornare Rollup alla versione 3

Qualche giorno fa Rollup ha raggiunto la versione 3. Ho aggiornato alcuni miei progetti, ma non è stata una operazione indolore. Ci sono alcune modifiche da ...

How To Code a Caesar Cipher in JavaScript

The elves have taken cybersecurity seriously. Like any fashion, it has also reached children. One of the little elves’ favorite games is writing encrypted me...

Come calcolare la temperatura percepita

Natale si avvicina e Babbo Natale sta ultimando i preparativi. Uno degli aspetti più delicati riguarda l’attrezzatura. La slitta è sottoposta a forti pressio...

Come Convertire Numeri Romani

Oramai gli elfi sono lanciatissimi. Hanno convinto Babbo Natale ad ammodernare tutto e stanno convertendo millenni di scartoffie in documenti digitali. Si so...

An Update For My Patreons (November 2021)

It’s been 3 months since I wrote Some notes about the future. It is time to see how it is progressing. Also because I haven’t published anything on Patreon i...

Come creare password con JavaScript

Il Polo Nord ha seri problemi di sicurezza. Prima Babbo Natale che perde il codice dei messaggi, adesso l’elfo responsabile delle chiavi si è accorto che ce ...

How To Implement a Linked List in JavaScript

It’s cold in the North Pole. I don’t understand why Santa Claus insists on spending most of the year there. But so it is, and we have to deal with it. Proble...

Come convertire numeri binari in testo

Oggi sono un po’ in ritardo. Ieri Babbo Natale ha fatto bisboccia e il puzzle di oggi è arrivato tardi. E non solo era in ritardo: ha anche pasticciato con i...

Come accoppiare ogni elemento di una lista

Dopo i problemi degli ultimi giorni gli elfi si meritano finalmente un po’ di riposo. Hanno così deciso di organizzare una festicciola. E già che ci sono pre...

How To Search a Word With Missing Letters

Something went wrong and the elves made a little mess. Some of the gifts ended up in the snow and the name tags were ruined. Fortunately, most of the letters...

Dolci di Natale

Finalmente gli elfi hanno messo da parte le ambizioni imprenditoriali e sono tornati a fare il loro lavoro: aiutare Babbo Natale con i doni per i bambini di ...

Scatole inscatolate

Gli elfi alla fine hanno fatto centro e gli affari della caffetteria continuano a crescere. Peccato che abbiano fatto un po’ di confusione con le scatole. O,...

How to check if a box fits in a box

The elves are in luck: the cafeteria business continues to grow. Too bad they made a bit of confusion with the boxes. They struggle to figure out how to box ...

How to slugify a string

New day and new Dev Advent Calendar 2021 puzzle to solve. Santa’s elves got a taste for coffee and decided to take the plunge: they want to jump into the wor...

App delivery per elfi

Giorno tre del mio Dev Advent Calendar 2021 e nuovo puzzle da risolvere. Gli elfi di Babbo Natale ci hanno preso gusto con il caffè e hanno deciso di fare il...

Come creare menu per elfi

Secondo giorno del Dev Advent Calendar 2021 e nuovo puzzle da risolvere. Gli elfi di Babbo Natale sono riusciti a trovare la renna Rudolf dispersa nella fore...

3 Ways To Find an Item in an Array of Arrays

Whenever Christmas approaches, my wife begins her Beads Advent Calendar. It’s something I’ve always envied her, her constancy and perseverance. On her advice...

Vai su ↑

JavaScript

Come creare un youtube player con Javascript

Uno dei miei progetti open source che ha avuto più successo è la mia raccolta di template per Construct 3. Non tanto la parte dedicata ai video giochi quanto...

Layers and Selections in SVG maps

Using SVG files to represent geographic maps offers other advantages, in addition to the ability to change the scale and position on the map. I can change th...

SVG Maps With HTML, JavaScript and Svelte

One of the benefits of SVG files is the ability to edit them with JavaScript in an HTML page. To simplify the process I create a small app with Svelte where ...

How to Convert GeoJSON to SVG

After converting a Shapefile to GeoJSON I can start creating the svg file. There are some repositories that can help. But I need something more specific.

How to Convert Shapefiles to GeoJSON

The last few months have been a bit chaotic. I concentrated on how to create, update and modify maps. The aim is to obtain maps in SVG and PDF that can be us...

Livelli e selezioni in una mappa SVG

Usare file SVG per rappresentare delle mappe geografiche offre altri vantaggi, oltre alla possibilità di cambiare la scala e la posizione sulla mappa. Posso ...

Convertire GeoJSON in SVG

Dopo aver convertito un Shapefile in GeoJSON posso cominciare a creare il file svg. Ci sono alcuni repository che possono aiutare ma per quello che serve a m...

Convertire Shapefile in GeoJSON

Gli ultimi mesi sono stati un po’ caotici. Tralasciando alcune questioni personali (e da un certo punto di vista globali) mi sono concentrato su come creare,...

How To Interact With Google Chart

A few days ago Corey Thompson added events to the charts of my previous tutorial. I admit that I have deliberately left the subject. However, I took advantag...

Menu for Android (English)

At first, I had decided to skip my weekly article on Construct 3. Then my android app was published on Google Play. What app? I created a demo of my menu for...

Menu in Android

Avevo oramai deciso di saltare il mio articolo settimanale su Construct 3 ma poi mi è arrivata una notifica: la mia app android è stata pubblicata sul Google...

Svelte, Electron & TypeScript (English)

I am continuing to explore the world of Svelte. Every day I am adding a little bit to my knowledge, and every day I am struggling with my limits. While I’m h...

Svelte, Electron & TypeScript

Sto continuando a esplorare il mondo di Svelte. Ogni giorno sto aggiungendo un pezzettino alla mia conoscenza, e ogni giorno mi scontro con i miei limiti. Se...

How to create menu in C3 (English)

This week I continued to explore Svelte. However, I was distracted by some new ideas. And this is one of the reasons why I started updating my blog again: ha...

Come creare un menu in c3

Continua la mia esplorazione di Svelte e mi sono lasciato un po’ distrarre. Uno dei motivi, se non il motivo principale, per il quale ho ricominciato ad aggi...

Menu in Construct 3 - WIP (English)

During this week I continued working on how to integrate Svelte and Construct 3. The first attempt ended in nothing. Why? Well, I wanted to make some kind of...

Menu in Construct 3 - WIP

Durante la settimana ho continuato a lavorare su come integrare Svelte e Construct 3. Il primo tentativo è finito in nulla. Come mai? Beh, volevo creare una ...

Svelte & GitHub Pages (English)

This is a simple reminder post. In the last few weeks I have been experimenting with Svelte and have focused especially on how to upload a static site to Git...

Svelte & GitHub Pages

Questo è un semplice post pro memoria. Nelle ultime settimane ho sperimentato con Svelte e mi sono concentrato in particolar modo su come caricare un sito st...

Petit Chevaux (English)

This week I completed the Svelte course. Now I can start experimenting. I’d like to recode my blog and my template repository with SvelteKit. However, there ...

Petit Chevaux

Questa settimana ho completato il corso su Svelte e ho cominciato a sperimentare. Mi piacerebbe convertire questo blog e il repository dei miei template (que...

Milan Districts (English)

Last week I was happy with my experiments with Svelte, not this week. I made several attempts but nothing really presentable. I’m running into some of my lim...

Milan Districts

Se la settimana scorsa ero contento per i miei esperimenti con Svelte, questa non è così. Ho fatto diversi tentativi ma nulla di davvero concreto. Mi sto sco...

Chrome Extension, Svelte & Construct 3

Questa settimana sono andato avanti con il corso su Svelte. Le cose stanno diventando interessanti e ho deciso di mettere alla prova le mie conoscenze creand...

ISS Tracker (English)

During this week I started experimenting with Svelte, a JavaScript compiler. I will most likely use it very often in the future. At the moment, however, I am...

ISS Tracker

Durante questa settimana ho cominciato a sperimentare con Svelte, un compilatore di JavaScript. Con buona probabilità lo userò molto spesso in futuro. Al mom...

UML for Database (English)

The past two weeks have been pretty hard. A sudden death hit my family, annihilating us. Programming has generally always been a safe heaven to take refuge i...

UML for Database

Le ultime due settimane sono state abbastanza dure. Un lutto improvviso ha colpito duramente la mia famiglia, annichilendoci. In genere la programmazione è s...

MS Access, Electron & Construct 3 (English)

This week’s template is a little less beautiful from a graphic point of view. It has been a very busy week at work, but I still wanted to publish something. ...

MS Access, Electron e Construct 3

Il template di questa settimana è un po’ meno curato dal punto di vista grafico. Non ho avuto il tempo, è stata una settimana molto intensa dal punto di vist...

Chaos Game (English)

Thanks to TᴀᴄᴋᴇʀTᴀᴄᴋᴇʀ 🐰 I discovered the existence of chaos games: a method of creating a fractal, using a polygon and an initial point selected at random i...

Chaos Game

Grazie a TᴀᴄᴋᴇʀTᴀᴄᴋᴇʀ 🐰 ho scoperto l’esistenza dei chaos games: un metodo per generare frattali a partire da un poligono e un punto a caso. Il meccanismo è ...

Geometric Draw (English)

A few days I was intrigued by a tweet from Martin Kleppe: he explained how to draw geometric patterns starting from a simple formula: (x ^ y)% 9 .

Geometric Draw

Qualche giorno fa sono incappato in un twitter di Martin Kleppe: mostrava come disegnare dei pattern geometrici a partire da una semplice formula: (x ^ y) % ...

Pomodoro Clock (English)

This week I present a “double project”. It’s a Pomodoro Clock living in the Windows taskbar. When the time runs out, a notification appears in the Windows no...

Pomodoro Clock

Il progetto di questa settimana è doppio. È un Pomodoro Clock che “vive” nella taskbar di Windows. Allo scadere del tempo appare una notifica nella barra del...

Floating Window (English)

This week I picked up Electron but something didn’t work as I expected. The latest updates of Construct 3, NodeJS and Electron have generated a bizarre combi...

Floating Window

Questa settimana ho ripreso in mano Electron ma qualcosa non ha funzionato come previsto. Gli ultimi aggiornamenti di Construct 3, di NodeJS e di Electron ha...

Mappe in Construct 3: Leaflet e OpenLayers

Era da un po’ che non giocavo con le mappe. L’ultimo tentativo risale oramai a qualche anno fa. Questa settimana, complice anche alcuni messaggi diretti su T...

Genetic Algorithms: Cannon (English)

For the past few days, I have continued to experiment with genetic algorithms. I built a cannon that learns by itself how to hit a target. The logic behind i...

Genetic Algorithms: Cannon

Nei giorni scorsi ho giocato ancora con gli algoritmi genetici. Mi serviva mettermi alla prova per testare la mia comprensione, quindi ho creato un cannone c...

Genetic Algorithms: Hello World!

La scorsa settimana è stata abbastanza complicata e non ho avuto molto tempo per sperimentare. Sono però riuscito a trovare il tempo per partecipare a una ja...

Genetic Algorithms: Hello World! (English)

Last week was pretty complicated and I didn’t have much time to experiment. But I managed to find the time to replicate a simple genetic algorithm to… write ...

Experiment: Multi Windows (English)

Today a quick thing about my latest experiment: a game on multiple windows. The repository on GitHub is still pretty bare, and the code is really “spaghetti”...

Experiment: Multi Windows

Oggi una cosa semplice e veloce per spiegare il mio ultimo esperimento, un sistema per creare un gioco su più finestre. Il repository su GitHub è ancora abba...

Deno, C3 & WebView (English)

For the past two weeks I have been experimenting with Deno, Construct 3 and Microsoft Edge WebView2. I went back to an old project and made some progress tha...

Deno, C3 & WebView

Nelle ultime due settimane ho sperimentato con Deno, Construct 3 e Microsoft Edge WebView2. Sono tornato a un mio vecchio, vecchissimo progetto e ho fatto al...

Mesh & Shapes (English)

I waited for the release of Construct 3 beta r235) before publishing this post. I needed the IWorldInstance.getMeshSize() function to be able to randomly cha...

Mesh & Shapes

Prima di scrivere questo post ho aspettato l’uscita dell’ultima beta di Construct 3 (la r235) e l’aggiunta della funzione IWorldInstance.getMeshSize(). Perch...

File System Access API (English)

This week I played with the File System Access API: this feature allow you to create web apps that can interact with files on the user’s local device. After ...

File System Access API

Questa settimana ho sperimentato con il recente File System Access API: è una tecnologia che permette di creare delle web app in grado di di interagire con i...

Construct 3 & YouTube (English)

Today’s template is about Construct 3 and YouTube. It’s very simple, because I just want to test the integration between these two tools. The result is nice ...

Construct 3 & YouTube

Il template di oggi riguarda Construct 3 e YouTube. È un progetto molto semplice, pensato con l’unico obiettivo di testare l’integrazione tra questi due mond...

Typo Battle (English)

My plan for 2021 is to publish a new template for Construct 3 every 15 days. My project is to publish on github on the 15th and 30th of each month. I also wa...

Typo Battle

Il mio progetto per il 2021 è di pubblicare ogni 15 giorni un nuovo template per Construct 3. Vuol dire il 15 (attorno al) e il 30 (attorno al) di ogni mese....

Alternative a Switch-Case in Javascript

Con l’inizio dell’anno nuovo ho ripreso in mano Construct 3. Il mio buon proposito è di rilasciare un template ogni 15 giorni, circa. Però mi sono accorto di...

Construct 3, Unit Test e JsUnit

Ultimamente, complice anche un libro regalato, sto rivalutando una mia vecchia idea: usare un approccio più TDD (Test Driven Development) nei miei esperiment...

Vai su ↑

Construct 3

Come creare un youtube player con Javascript

Uno dei miei progetti open source che ha avuto più successo è la mia raccolta di template per Construct 3. Non tanto la parte dedicata ai video giochi quanto...

Menu for Android (English)

At first, I had decided to skip my weekly article on Construct 3. Then my android app was published on Google Play. What app? I created a demo of my menu for...

Menu in Android

Avevo oramai deciso di saltare il mio articolo settimanale su Construct 3 ma poi mi è arrivata una notifica: la mia app android è stata pubblicata sul Google...

How to create menu in C3 (English)

This week I continued to explore Svelte. However, I was distracted by some new ideas. And this is one of the reasons why I started updating my blog again: ha...

Come creare un menu in c3

Continua la mia esplorazione di Svelte e mi sono lasciato un po’ distrarre. Uno dei motivi, se non il motivo principale, per il quale ho ricominciato ad aggi...

Menu in Construct 3 - WIP (English)

During this week I continued working on how to integrate Svelte and Construct 3. The first attempt ended in nothing. Why? Well, I wanted to make some kind of...

Menu in Construct 3 - WIP

Durante la settimana ho continuato a lavorare su come integrare Svelte e Construct 3. Il primo tentativo è finito in nulla. Come mai? Beh, volevo creare una ...

Petit Chevaux (English)

This week I completed the Svelte course. Now I can start experimenting. I’d like to recode my blog and my template repository with SvelteKit. However, there ...

Petit Chevaux

Questa settimana ho completato il corso su Svelte e ho cominciato a sperimentare. Mi piacerebbe convertire questo blog e il repository dei miei template (que...

Milan Districts (English)

Last week I was happy with my experiments with Svelte, not this week. I made several attempts but nothing really presentable. I’m running into some of my lim...

Milan Districts

Se la settimana scorsa ero contento per i miei esperimenti con Svelte, questa non è così. Ho fatto diversi tentativi ma nulla di davvero concreto. Mi sto sco...

Chrome Extension, Svelte & Construct 3

Questa settimana sono andato avanti con il corso su Svelte. Le cose stanno diventando interessanti e ho deciso di mettere alla prova le mie conoscenze creand...

ISS Tracker (English)

During this week I started experimenting with Svelte, a JavaScript compiler. I will most likely use it very often in the future. At the moment, however, I am...

ISS Tracker

Durante questa settimana ho cominciato a sperimentare con Svelte, un compilatore di JavaScript. Con buona probabilità lo userò molto spesso in futuro. Al mom...

UML for Database (English)

The past two weeks have been pretty hard. A sudden death hit my family, annihilating us. Programming has generally always been a safe heaven to take refuge i...

UML for Database

Le ultime due settimane sono state abbastanza dure. Un lutto improvviso ha colpito duramente la mia famiglia, annichilendoci. In genere la programmazione è s...

MS Access, Electron & Construct 3 (English)

This week’s template is a little less beautiful from a graphic point of view. It has been a very busy week at work, but I still wanted to publish something. ...

MS Access, Electron e Construct 3

Il template di questa settimana è un po’ meno curato dal punto di vista grafico. Non ho avuto il tempo, è stata una settimana molto intensa dal punto di vist...

Chaos Game (English)

Thanks to TᴀᴄᴋᴇʀTᴀᴄᴋᴇʀ 🐰 I discovered the existence of chaos games: a method of creating a fractal, using a polygon and an initial point selected at random i...

Chaos Game

Grazie a TᴀᴄᴋᴇʀTᴀᴄᴋᴇʀ 🐰 ho scoperto l’esistenza dei chaos games: un metodo per generare frattali a partire da un poligono e un punto a caso. Il meccanismo è ...

Geometric Draw (English)

A few days I was intrigued by a tweet from Martin Kleppe: he explained how to draw geometric patterns starting from a simple formula: (x ^ y)% 9 .

Geometric Draw

Qualche giorno fa sono incappato in un twitter di Martin Kleppe: mostrava come disegnare dei pattern geometrici a partire da una semplice formula: (x ^ y) % ...

Pomodoro Clock (English)

This week I present a “double project”. It’s a Pomodoro Clock living in the Windows taskbar. When the time runs out, a notification appears in the Windows no...

Pomodoro Clock

Il progetto di questa settimana è doppio. È un Pomodoro Clock che “vive” nella taskbar di Windows. Allo scadere del tempo appare una notifica nella barra del...

Floating Window (English)

This week I picked up Electron but something didn’t work as I expected. The latest updates of Construct 3, NodeJS and Electron have generated a bizarre combi...

Floating Window

Questa settimana ho ripreso in mano Electron ma qualcosa non ha funzionato come previsto. Gli ultimi aggiornamenti di Construct 3, di NodeJS e di Electron ha...

Mappe in Construct 3: Leaflet e OpenLayers

Era da un po’ che non giocavo con le mappe. L’ultimo tentativo risale oramai a qualche anno fa. Questa settimana, complice anche alcuni messaggi diretti su T...

Genetic Algorithms: Cannon (English)

For the past few days, I have continued to experiment with genetic algorithms. I built a cannon that learns by itself how to hit a target. The logic behind i...

Genetic Algorithms: Cannon

Nei giorni scorsi ho giocato ancora con gli algoritmi genetici. Mi serviva mettermi alla prova per testare la mia comprensione, quindi ho creato un cannone c...

Genetic Algorithms: Hello World!

La scorsa settimana è stata abbastanza complicata e non ho avuto molto tempo per sperimentare. Sono però riuscito a trovare il tempo per partecipare a una ja...

Genetic Algorithms: Hello World! (English)

Last week was pretty complicated and I didn’t have much time to experiment. But I managed to find the time to replicate a simple genetic algorithm to… write ...

Experiment: Multi Windows (English)

Today a quick thing about my latest experiment: a game on multiple windows. The repository on GitHub is still pretty bare, and the code is really “spaghetti”...

Experiment: Multi Windows

Oggi una cosa semplice e veloce per spiegare il mio ultimo esperimento, un sistema per creare un gioco su più finestre. Il repository su GitHub è ancora abba...

Deno, C3 & WebView (English)

For the past two weeks I have been experimenting with Deno, Construct 3 and Microsoft Edge WebView2. I went back to an old project and made some progress tha...

Deno, C3 & WebView

Nelle ultime due settimane ho sperimentato con Deno, Construct 3 e Microsoft Edge WebView2. Sono tornato a un mio vecchio, vecchissimo progetto e ho fatto al...

Mesh & Shapes (English)

I waited for the release of Construct 3 beta r235) before publishing this post. I needed the IWorldInstance.getMeshSize() function to be able to randomly cha...

Mesh & Shapes

Prima di scrivere questo post ho aspettato l’uscita dell’ultima beta di Construct 3 (la r235) e l’aggiunta della funzione IWorldInstance.getMeshSize(). Perch...

File System Access API (English)

This week I played with the File System Access API: this feature allow you to create web apps that can interact with files on the user’s local device. After ...

File System Access API

Questa settimana ho sperimentato con il recente File System Access API: è una tecnologia che permette di creare delle web app in grado di di interagire con i...

Construct 3 & YouTube (English)

Today’s template is about Construct 3 and YouTube. It’s very simple, because I just want to test the integration between these two tools. The result is nice ...

Construct 3 & YouTube

Il template di oggi riguarda Construct 3 e YouTube. È un progetto molto semplice, pensato con l’unico obiettivo di testare l’integrazione tra questi due mond...

Typo Battle (English)

My plan for 2021 is to publish a new template for Construct 3 every 15 days. My project is to publish on github on the 15th and 30th of each month. I also wa...

Typo Battle

Il mio progetto per il 2021 è di pubblicare ogni 15 giorni un nuovo template per Construct 3. Vuol dire il 15 (attorno al) e il 30 (attorno al) di ogni mese....

Construct 3, Unit Test e JsUnit

Ultimamente, complice anche un libro regalato, sto rivalutando una mia vecchia idea: usare un approccio più TDD (Test Driven Development) nei miei esperiment...

Reskyu (English)

I have completed and submitted my game for VimJam: Collectables (8 Bits to Infinity), 18-25 September 2020. The constraint was “Collectables”, the theme “The...

Reskyu (Vimjam Edition)

Ho completato e inviato il mio gioco per la VimJam: Collectables (8 Bits to Infinity), svoltasi dal 18 al 25 settembre (2020, ovviamente). Il vincolo era “Co...

One Color Idle Game

Nell’ultimo mese e mezzo, circa, ho sistemato alcuni vecchi template e progetti, rendendoli open source in un repository su GitHub dal nome molto fantasioso:...

Construct 3: creare un menù laterale

Dopo aver capito come gestire in maniera dinamica la grafica in Construct 3 è il momento di cominciare lavorare sul menù. Già, perché di fatto sta cominciand...

Construct 3: Media Query e grid system

Lavorando alla mia idea di un metodo semplice e veloce per personalizzare l’esportazione in HTML di progetti di Construct 3 mi sono nuovamente imbattuto in u...

Plugins for Construct 3: risistemato!

Ci ho messo 3 giorni, non so quante ore, ma alla fine soro riuscito a mettere un po’ di ordine nei miei repository. Adesso si può trovare tutti in un unico r...

Construct 3 ed Electron: avviare un gioco

Come preannunciato qualche giorno fa ho deciso di scrivere una breve guida, a mio uso e consumo, su come integrare un gioco creato con Construct 3 ed Electro...

Vai su ↑

Svelte

Layers and Selections in SVG maps

Using SVG files to represent geographic maps offers other advantages, in addition to the ability to change the scale and position on the map. I can change th...

Layers and Selections in SVG maps

Using SVG files to represent geographic maps offers other advantages, in addition to the ability to change the scale and position on the map. I can change th...

SVG Maps With HTML, JavaScript and Svelte

One of the benefits of SVG files is the ability to edit them with JavaScript in an HTML page. To simplify the process I create a small app with Svelte where ...

SVG Maps With HTML, JavaScript and Svelte

One of the benefits of SVG files is the ability to edit them with JavaScript in an HTML page. To simplify the process I create a small app with Svelte where ...

How to Convert GeoJSON to SVG

After converting a Shapefile to GeoJSON I can start creating the svg file. There are some repositories that can help. But I need something more specific.

How to Convert Shapefiles to GeoJSON

The last few months have been a bit chaotic. I concentrated on how to create, update and modify maps. The aim is to obtain maps in SVG and PDF that can be us...

Livelli e selezioni in una mappa SVG

Usare file SVG per rappresentare delle mappe geografiche offre altri vantaggi, oltre alla possibilità di cambiare la scala e la posizione sulla mappa. Posso ...

Livelli e selezioni in una mappa SVG

Usare file SVG per rappresentare delle mappe geografiche offre altri vantaggi, oltre alla possibilità di cambiare la scala e la posizione sulla mappa. Posso ...

Convertire GeoJSON in SVG

Dopo aver convertito un Shapefile in GeoJSON posso cominciare a creare il file svg. Ci sono alcuni repository che possono aiutare ma per quello che serve a m...

Convertire Shapefile in GeoJSON

Gli ultimi mesi sono stati un po’ caotici. Tralasciando alcune questioni personali (e da un certo punto di vista globali) mi sono concentrato su come creare,...

How To Interact With Google Chart

A few days ago Corey Thompson added events to the charts of my previous tutorial. I admit that I have deliberately left the subject. However, I took advantag...

5 Charts Example To Get You Started

The numbers explain the reality, but sometimes they are not clear. Series and reports are powerful but not always understandable tools. For this reason, it i...

How To Use BrowserView With Electron

One of the problems I’m facing with my gest-dashboard project is managing several windows with Electron. It is a more complex problem than I thought and it p...

Come usare BrowserView con Electron

Uno dei problemi che sto affrontando con il mio progetto gest-dashboard riguarda la gestione di diverse finestre con Electron. È un problema più complesso di...

Come Creare una Tabella con CSS Grid

In HTML le tabelle sono una cosa abbastanza complicata. Esistono dagli albori della rete e si portano dietro alcune problematiche non da poco. Sono ottime pe...

How To Document Svelte Components - Part 2

This post took me longer than expected. A little over a month. The two main repositories took me longer. This is to answer a question: how can I easily docum...

Come Documentare Componenti Svelte - Parte 2

Ci ho messo un po’ più tempo del previsto a scrivere questo post. Un mese, anzi poco più. Un po’ per alcuni problemi di salute, un po’ perché ha richiesto pi...

How to Document Svelte Components (English)

For the past two weeks, I have focused on how to quickly create documentation for my Svelte components. I don’t want to repeat my classic mistake: creating s...

4 Ways to Embed Code in Svelte

Sooner or later I will have to completely rewrite the code of my blog. Two years ago I switched from WordPress to Jekyll - it was a good choice. But the deep...

4 Modi per Mostrare Codice in Svelte

Prima o poi dovrò decidermi a riscrivere completamente il codice del mio blog. Due anni fa sono passato da WordPress a Jekyll: è stata una buona scelta. Ma p...

Svelte & Visual Regression Test (English)

I am more and more comfortable with test-driven development (TDD). Editing your code is easier by knowing right away when something is wrong. Of course I don...

Svelte e Visual Regression Test

Ammetto di trovarmi sempre più a mio agio con lo sviluppo guidato dai test (TDD - Test-driven development). Anche perché man mano che sorgono i problemi so d...

Creare e pubblicare un componente Svelte

I miei ultimi articoli sono stati dedicati a come creare pacchetti NPM, integrare Tailwind e Svelte ed eseguire test con Jest. Tutto questo perché? Per arriv...

Come testare app SvelteKit con Jest

Mi pare di averlo già accennato, uno dei miei punti deboli è la scarsa disciplina in fatto di test. È una cosa a cui devo metter mano, prima o poi. Meglio pr...

Tailwind CSS & Svelte (English)

As I said a few days ago I decided to focus on some more complex projects. The first is “GEST - Dashboard”. Bad enough name, but I’ll change it later. I need...

Tailwind CSS & Svelte

Come dicevo già qualche giorno fa ho deciso di concentrarmi su alcuni progetti più complessi. Il primo è “GEST - Dashboard”. Nome abbastanza brutto, lo ammet...

SvelteKit & Electron (English)

I have almost completed my idea of creating 3 templates for Svelte & Electron. There are still some details to fix but the main aspects are ok. The third...

SvelteKit & Electron

Il mio progetto di creare 3 template per Svelte è quasi giunto alla conclusione. Mancano ancora alcuni dettagli da sistemare ma posso dire di esserci, grosso...

Svelte, Electron & TypeScript (English)

I am continuing to explore the world of Svelte. Every day I am adding a little bit to my knowledge, and every day I am struggling with my limits. While I’m h...

Svelte, Electron & TypeScript

Sto continuando a esplorare il mondo di Svelte. Ogni giorno sto aggiungendo un pezzettino alla mia conoscenza, e ogni giorno mi scontro con i miei limiti. Se...

How to create menu in C3 (English)

This week I continued to explore Svelte. However, I was distracted by some new ideas. And this is one of the reasons why I started updating my blog again: ha...

Come creare un menu in c3

Continua la mia esplorazione di Svelte e mi sono lasciato un po’ distrarre. Uno dei motivi, se non il motivo principale, per il quale ho ricominciato ad aggi...

Menu in Construct 3 - WIP (English)

During this week I continued working on how to integrate Svelte and Construct 3. The first attempt ended in nothing. Why? Well, I wanted to make some kind of...

Menu in Construct 3 - WIP

Durante la settimana ho continuato a lavorare su come integrare Svelte e Construct 3. Il primo tentativo è finito in nulla. Come mai? Beh, volevo creare una ...

Svelte & GitHub Pages (English)

This is a simple reminder post. In the last few weeks I have been experimenting with Svelte and have focused especially on how to upload a static site to Git...

Svelte & GitHub Pages

Questo è un semplice post pro memoria. Nelle ultime settimane ho sperimentato con Svelte e mi sono concentrato in particolar modo su come caricare un sito st...

Petit Chevaux (English)

This week I completed the Svelte course. Now I can start experimenting. I’d like to recode my blog and my template repository with SvelteKit. However, there ...

Petit Chevaux

Questa settimana ho completato il corso su Svelte e ho cominciato a sperimentare. Mi piacerebbe convertire questo blog e il repository dei miei template (que...

Chrome Extension, Svelte & Construct 3

Questa settimana sono andato avanti con il corso su Svelte. Le cose stanno diventando interessanti e ho deciso di mettere alla prova le mie conoscenze creand...

Vai su ↑

typescript

Using Tailwind With Svelte and Construct 3

After resuming playing with Svelte, TypeScript, and Construct 3, it’s time to add Tailwind CSS to my test project. I’ve previously covered this topic in 2021...

Using TypeScript and Svelte in Construct 3

The latest version of Construct 3 introduces an interesting feature: the ability to use TypeScript. Ashley wrote a comprehensive guide on the various steps t...

How To Use Private Repo as NPM Dependency

In the last few days I have been working a lot on some private projects. For confidentiality reasons I can’t use public repositories, consequently not even t...

AI Single Word Portrait

I don’t know if it’s just my habit, or others too. But I often find myself reusing similar prompts to create images with AI. They aren’t necessarily long pro...

JS Tips #9: Highest Scoring Word

The problem today is quite simple. It concerns arrays, strings, and character encoding within JavaScript. In addition to a pinch of elementary mathematics, s...

JS Tips #8: How To Validate Sudoku Solutions

The today’s problem is interesting because I have always wanted to understand how to solve it. We are in the field of JavaScript (obviously), of two-dimensio...

JS Tips #7: Snail Sort

The problem today is a level 4 Kyu problem according to the CodeWars scale. It is a matrix problem in JavaScript. Or to put it another way, it is a problem o...

JS Tips #5: Common Denominators

Today’s task involves finding the common denominator of a series of fractions. Then, calculating the numerator of each fraction and returning a string with t...

JS Tips #4: Least Common Multiple

The problem today is about calculating the least common multiple of a set of numbers. In mathematics, the least common multiple of two positive integers a an...

JS Tips #3: Greatest common divisor

The problem today is related to mathematics. Specifically, it is about finding the greatest common divisor of two positive integers. In mathematics, the grea...

JS Tips #2: Format phone number by template

Today’s problem involves formatting a phone number based on a template. It is an interesting puzzle because it is very useful. I had the opportunity, some ti...

JS Tips #1: Human Readable Time

I have decided to continue writing my solutions to CodeWars puzzles in JavaScript and TypeScript. My goal is to continue practicing and not be satisfied with...

DevAdvent 2022: #23 Adding Big Numbers

We have reached the end of this DevAdvent 2022. And to end things beautifully, CodeWars proposes a level 4 kyu problem for me. And like any difficult problem...

DevAdvent 2022: #22 Survive the attack

The problem for today’s DevAdvent concerns comparing elements of two arrays. The interesting thing is how the problem is presented, through a real-world exam...

DevAdvent 2022: #21 Fibonacci Numbers

Christmas is approaching, and this DevAdvent 2022 is also coming to an end. I don’t have much time today, so I’ll settle for solving a small problem related ...

DevAdvent 2022: #20 Narcissistic Numbers

We are approaching Christmas, and therefore the end of DevAdvent. Today’s exercise also involves math and the properties of numbers. I must say that I am ple...

DevAdvent 2022: #19 Simple Pig Latin

The problem for today’s DevAdvent 2022 is about Pig Latin. But what is Pig Latin? It is a playful language, used among English-speaking children. To me, a na...

DevAdvent 2022: #15 Buying a Car

Today’s DevAdvent 2022 issue was particularly interesting. In itself it is not very complicated, it is about calculating the point of intersection of two cur...

DevAdvent 2022: #13 Growth of a Population

Today’s problem of my personal DevAdvent 2022 is about calculating percentages, population and number series trends. Or, to put it simply, how to make a simp...

DevAdvent 2022: #8 Descending Order

Today’s DevAdvent problem is an exercise in number ordering. But with an interesting variation: it requires you to break down a number and use its digits to ...

DevAdvent 2022: #6 Reverse Words

Today’s problem is how to reverse the order of the letters in a word, and of each word in a sentence. It’s a fairly simple problem but one that shouldn’t be ...

DevAdvent 2022: #5 Highest and Lowest

New day, new exercise for my DevAdvent 2022. Over the weekend I discovered a few other devAdvents but still decided not to follow any of them. Instead, I wil...

DevAdvent 2022: #2 You’re a square!

The second problem of my DevAdvent 2022 concerns square roots. The story of the problem is about cubes, squares and a passion for the numbers. But long story...

DevAdvent 2022: #1 Square Every Digit

The Twitter world is in turmoil. I’ve decided to abandon it. I am certainly missing something. For example I don’t know if anyone is organizing a DevAdvent l...

How To Show Notifications in Web Application

In the last month I worked on my side project, a web application that allows you to encrypt and decrypt text messages (DoCrypt.org). It’s still a work in pro...

Come mostrare notifiche in una web app

Nell’ultimo mese ho lavorato a un mio side project, un’applicazione web che permette di cifrare e decifrare messaggi di testo (DoCrypt.org). È ancora un work...

Vai su ↑

100DaysOfCode

Reskyu (English)

I have completed and submitted my game for VimJam: Collectables (8 Bits to Infinity), 18-25 September 2020. The constraint was “Collectables”, the theme “The...

Reskyu (Vimjam Edition)

Ho completato e inviato il mio gioco per la VimJam: Collectables (8 Bits to Infinity), svoltasi dal 18 al 25 settembre (2020, ovviamente). Il vincolo era “Co...

One Color Idle Game

Nell’ultimo mese e mezzo, circa, ho sistemato alcuni vecchi template e progetti, rendendoli open source in un repository su GitHub dal nome molto fantasioso:...

Medium e altri abbonamenti da fare

Alla fine ho deciso di abbonarmi a Medium, mi sono reso conto che non pagare 5€ al mese per un sito che consulto quotidianamente è, beh, non corretto. Nonost...

Code Something Weekly: Manifesto

Riprendo il discorso di ieri sui diversi tipi di progetto a cui si può lavorare. Ovviamente questo discorso vale in particolar modo per i progetti personali,...

Construct 3: creare un menù laterale

Dopo aver capito come gestire in maniera dinamica la grafica in Construct 3 è il momento di cominciare lavorare sul menù. Già, perché di fatto sta cominciand...

Construct 3: Media Query e grid system

Lavorando alla mia idea di un metodo semplice e veloce per personalizzare l’esportazione in HTML di progetti di Construct 3 mi sono nuovamente imbattuto in u...

Non c’è produttività senza ritualità

In questi giorni sto riflettendo a fondo su alcuni aspetti che riguardano il mio modo di lavorare. E di come gestisco il mio tempo. Ho letto alcuni articoli ...

Grazie per…

Dopo aver cominciato il mio primo Bullet Journal mi sono accorto di una cosa: era difficile rintracciare alcune informazioni nei miei appunti, anche utilizza...

Aphantasia, linguaggio e regia

Stavo rileggendo l’elenco delle cose che non hanno senso, per chi ha l’Aphantasia. E c’è una cosa che ho notato, complice anche reddit: la questione può ess...

Welcome Aphantasia!

Non ho mai usato granché reddit, ma in questi giorni mi sono trovato spesso a leggere nella sezione Aphantasia. C’è una discussione molto positiva, intitolat...

L’elefante nella stanza

A volte succede che, all’improvviso, tutto abbia un senso. Che i pezzetti del puzzle vadano al loro posto, come nel finale di un film. Questa è la sensazione...

Plugins for Construct 3: risistemato!

Ci ho messo 3 giorni, non so quante ore, ma alla fine soro riuscito a mettere un po’ di ordine nei miei repository. Adesso si può trovare tutti in un unico r...

Construct 3 ed Electron: avviare un gioco

Come preannunciato qualche giorno fa ho deciso di scrivere una breve guida, a mio uso e consumo, su come integrare un gioco creato con Construct 3 ed Electro...

San Valentino e il nuovo sito del matrimonio

Ed è quindi giunto il nostro primo San Valentino da sposini. Devo ammetterlo, sono emozionato. Come sono emozionato a ogni San Valentino, ma questa volta è d...

Non spezzare la catena dei 30 giorni

Ma c’è anche un’altra ragione per la quale è bene fare un passo alla volta: è più facile fare un passo ogni giorno che correre ogni giorno una maratona. E qu...

L’importanza delle piccole cose

Oggi, a pranzo, stavo parlando con mia moglie dei nostri blog. O, meglio, di come può essere frustrante imbarcarsi in articoli lunghi e complessi e che non r...

Perché è importante misurare i passi fatti

Ho cominciato a sistemare il sito del matrimonio e penso di essere andato abbastanza avanti. Quanto? In realtà non so bene perché uno dei miei problemi è la ...

Wedding Website Versione 2: cominciamo

Ci ho messo un pochino a trovare un titolo decente per questo post. Non l’ho trovato :smile:. Comunque, è il momento di passare al secondo obiettivo dei miei...

Bullet Journal e Lavoro

Ci sono tre cose fondamentali in un Bullet Journal: tieni tutto in un unico posto, scrivi a mano e rifletti sulle cose che fai. Se le ultime due sono tutto s...

Bullet Journal

Quindi, dicevo ieri delle tecniche per gestire meglio il tempo e di come mi stia trovando bene con il Bullet Journal (che io chiamo BuJo). Ma cosa è un Bulle...

Tecniche di Time Management

Quindi, ieri parlavo del perché è facile sbagliare la stima del tempo necessario a svolgere un lavoro. Oggi, invece, mi interessa capire come migliorare l’ef...

Perché sbaglio i tempi?

Una delle cose in cui trovo più difficoltà è calcolare il tempo necessario per svolgere un compito. Per dire, in questi 100DaysOfCode pensavo di sbrigare rap...

Perché Google Domains?

Contestualmente al trasloco da WordPress a Jekyll ho spostato anche il dominio dei blog da GoDaddy a Google Domains. Come mai? Beh, risposta scontata, perché...

Perché sono passato a Jekyll

Bene, il primo di tre obiettivi dei miei cento giorni è fatto: finire di sistemare il trasloco dei blog miei e di mia moglie da WordPress a Jekyll. Resta per...

Come creare un post con Jekyll

Rispetto a WordPress preferisco scrivere con Jekyll. Non so bene il perché, ma mi trovo meglio a scrivere su un file di testo, con Atom, rispetto che acceder...

Lazy Loading di immagini in Jekyll

Quando si comincia un lavoro si corre il rischio di non finirlo mai. Ma non per pigrizia. Al contrario per perfezionismo. Mi sono accorto di stare correndo l...

Jekyll e WebP

Ho cominciato a risolvere il problema del come usare immagini WebP con Jekyll. Sono riuscito a risolvere, forse, il problema. Non ho ancora testato a fondo i...

Chi non ha testa abbia gambe

Chi non ha testa, abbia gambe. O per lo meno un po’ di abilità nello scrivere codice. Perché dopo aver completato tutto o quasi, mi sono accorto di un errore...

Mostrare playlist Spotify su Jekyll

Continuando la risistemazione del blog di Tra Musica e Parole mi sono imbattuto in altro problema: come faccio a inserire una playlist Spotify in un blog cre...

Jekyll e classi

I primi giorni di questi #100DaysOfCode sono votati alla sistemazione del blog mio e di mia moglie. Sono sempre più convinto che trasferire il tutto da Wordp...

Jekyll e Cookie Consent

Dover rinunciare ai plugin è sia frustrante che interessante. Frustrante perché a volte è rilassante cliccare un pulsante e lasciare che la macchina faccia t...

Un nuovo inizio

Ogni tanto ci riprovo a scrivere, a programmare, a completare un progetto. La vita però si diverte a complicare le cose. Avevo promesso a me stesso di riprov...

Vai su ↑

TypeScript

Layers and Selections in SVG maps

Using SVG files to represent geographic maps offers other advantages, in addition to the ability to change the scale and position on the map. I can change th...

SVG Maps With HTML, JavaScript and Svelte

One of the benefits of SVG files is the ability to edit them with JavaScript in an HTML page. To simplify the process I create a small app with Svelte where ...

How to Convert GeoJSON to SVG

After converting a Shapefile to GeoJSON I can start creating the svg file. There are some repositories that can help. But I need something more specific.

How to Convert Shapefiles to GeoJSON

The last few months have been a bit chaotic. I concentrated on how to create, update and modify maps. The aim is to obtain maps in SVG and PDF that can be us...

Livelli e selezioni in una mappa SVG

Usare file SVG per rappresentare delle mappe geografiche offre altri vantaggi, oltre alla possibilità di cambiare la scala e la posizione sulla mappa. Posso ...

Convertire GeoJSON in SVG

Dopo aver convertito un Shapefile in GeoJSON posso cominciare a creare il file svg. Ci sono alcuni repository che possono aiutare ma per quello che serve a m...

Convertire Shapefile in GeoJSON

Gli ultimi mesi sono stati un po’ caotici. Tralasciando alcune questioni personali (e da un certo punto di vista globali) mi sono concentrato su come creare,...

How To Interact With Google Chart

A few days ago Corey Thompson added events to the charts of my previous tutorial. I admit that I have deliberately left the subject. However, I took advantag...

How to Test Electron Apps

In my last posts I talked about how to test Svelte components and NPM packages. My journey is not over. I have still to figure out how to test Electron appli...

Testare app ElectronJS

Gli ultimi miei articoli hanno parlato di come testare componenti e pacchetti npm. Ma il mio viaggio non è ancora concluso: mi manca da capire come testare a...

Svelte & Visual Regression Test (English)

I am more and more comfortable with test-driven development (TDD). Editing your code is easier by knowing right away when something is wrong. Of course I don...

Svelte e Visual Regression Test

Ammetto di trovarmi sempre più a mio agio con lo sviluppo guidato dai test (TDD - Test-driven development). Anche perché man mano che sorgono i problemi so d...

Creare e pubblicare un componente Svelte

I miei ultimi articoli sono stati dedicati a come creare pacchetti NPM, integrare Tailwind e Svelte ed eseguire test con Jest. Tutto questo perché? Per arriv...

Come testare app SvelteKit con Jest

Mi pare di averlo già accennato, uno dei miei punti deboli è la scarsa disciplina in fatto di test. È una cosa a cui devo metter mano, prima o poi. Meglio pr...

NPM Packages with TypeScript (English)

The more I play with the programming, the more I realize that I am often rewriting the same code. I therefore decided to upload some functions to NPM. But ho...

Creare NPM Package con TypeScript

Man mano che faccio i miei esperimenti mi sto accorgendo di avere alcuni pezzi di codice ripetuti spesso. Francamente inizia ad essere complicato tenere sinc...

SvelteKit & GitHub Pages (English)

I waited a few weeks before writing a new article about how to use Svelte with GitHub Pages. Today I’m interested in testing SvelteKit. This post will take t...

SvelteKit & GitHub Pages

Ho aspettato qualche settimana prima di scrivere un nuovo articolo su come usare Svelte con GitHub Pages. Oggi mi interessa testare SvelteKit. Questo post av...

SvelteKit & Electron (English)

I have almost completed my idea of creating 3 templates for Svelte & Electron. There are still some details to fix but the main aspects are ok. The third...

SvelteKit & Electron

Il mio progetto di creare 3 template per Svelte è quasi giunto alla conclusione. Mancano ancora alcuni dettagli da sistemare ma posso dire di esserci, grosso...

Svelte, Electron & TypeScript (English)

I am continuing to explore the world of Svelte. Every day I am adding a little bit to my knowledge, and every day I am struggling with my limits. While I’m h...

Svelte, Electron & TypeScript

Sto continuando a esplorare il mondo di Svelte. Ogni giorno sto aggiungendo un pezzettino alla mia conoscenza, e ogni giorno mi scontro con i miei limiti. Se...

How to create menu in C3 (English)

This week I continued to explore Svelte. However, I was distracted by some new ideas. And this is one of the reasons why I started updating my blog again: ha...

Come creare un menu in c3

Continua la mia esplorazione di Svelte e mi sono lasciato un po’ distrarre. Uno dei motivi, se non il motivo principale, per il quale ho ricominciato ad aggi...

Menu in Construct 3 - WIP (English)

During this week I continued working on how to integrate Svelte and Construct 3. The first attempt ended in nothing. Why? Well, I wanted to make some kind of...

Menu in Construct 3 - WIP

Durante la settimana ho continuato a lavorare su come integrare Svelte e Construct 3. Il primo tentativo è finito in nulla. Come mai? Beh, volevo creare una ...

Svelte & GitHub Pages (English)

This is a simple reminder post. In the last few weeks I have been experimenting with Svelte and have focused especially on how to upload a static site to Git...

Svelte & GitHub Pages

Questo è un semplice post pro memoria. Nelle ultime settimane ho sperimentato con Svelte e mi sono concentrato in particolar modo su come caricare un sito st...

Petit Chevaux (English)

This week I completed the Svelte course. Now I can start experimenting. I’d like to recode my blog and my template repository with SvelteKit. However, there ...

Petit Chevaux

Questa settimana ho completato il corso su Svelte e ho cominciato a sperimentare. Mi piacerebbe convertire questo blog e il repository dei miei template (que...

MS Access, Electron & Construct 3 (English)

This week’s template is a little less beautiful from a graphic point of view. It has been a very busy week at work, but I still wanted to publish something. ...

MS Access, Electron e Construct 3

Il template di questa settimana è un po’ meno curato dal punto di vista grafico. Non ho avuto il tempo, è stata una settimana molto intensa dal punto di vist...

Experiment: Multi Windows (English)

Today a quick thing about my latest experiment: a game on multiple windows. The repository on GitHub is still pretty bare, and the code is really “spaghetti”...

Experiment: Multi Windows

Oggi una cosa semplice e veloce per spiegare il mio ultimo esperimento, un sistema per creare un gioco su più finestre. Il repository su GitHub è ancora abba...

Deno, C3 & WebView (English)

For the past two weeks I have been experimenting with Deno, Construct 3 and Microsoft Edge WebView2. I went back to an old project and made some progress tha...

Deno, C3 & WebView

Nelle ultime due settimane ho sperimentato con Deno, Construct 3 e Microsoft Edge WebView2. Sono tornato a un mio vecchio, vecchissimo progetto e ho fatto al...

Vai su ↑

js

How To Use Private Repo as NPM Dependency

In the last few days I have been working a lot on some private projects. For confidentiality reasons I can’t use public repositories, consequently not even t...

AI Single Word Portrait

I don’t know if it’s just my habit, or others too. But I often find myself reusing similar prompts to create images with AI. They aren’t necessarily long pro...

JS Tips #9: Highest Scoring Word

The problem today is quite simple. It concerns arrays, strings, and character encoding within JavaScript. In addition to a pinch of elementary mathematics, s...

JS Tips #8: How To Validate Sudoku Solutions

The today’s problem is interesting because I have always wanted to understand how to solve it. We are in the field of JavaScript (obviously), of two-dimensio...

JS Tips #7: Snail Sort

The problem today is a level 4 Kyu problem according to the CodeWars scale. It is a matrix problem in JavaScript. Or to put it another way, it is a problem o...

JS Tips #5: Common Denominators

Today’s task involves finding the common denominator of a series of fractions. Then, calculating the numerator of each fraction and returning a string with t...

JS Tips #4: Least Common Multiple

The problem today is about calculating the least common multiple of a set of numbers. In mathematics, the least common multiple of two positive integers a an...

JS Tips #3: Greatest common divisor

The problem today is related to mathematics. Specifically, it is about finding the greatest common divisor of two positive integers. In mathematics, the grea...

JS Tips #2: Format phone number by template

Today’s problem involves formatting a phone number based on a template. It is an interesting puzzle because it is very useful. I had the opportunity, some ti...

JS Tips #1: Human Readable Time

I have decided to continue writing my solutions to CodeWars puzzles in JavaScript and TypeScript. My goal is to continue practicing and not be satisfied with...

DevAdvent 2022: #23 Adding Big Numbers

We have reached the end of this DevAdvent 2022. And to end things beautifully, CodeWars proposes a level 4 kyu problem for me. And like any difficult problem...

DevAdvent 2022: #22 Survive the attack

The problem for today’s DevAdvent concerns comparing elements of two arrays. The interesting thing is how the problem is presented, through a real-world exam...

DevAdvent 2022: #21 Fibonacci Numbers

Christmas is approaching, and this DevAdvent 2022 is also coming to an end. I don’t have much time today, so I’ll settle for solving a small problem related ...

DevAdvent 2022: #20 Narcissistic Numbers

We are approaching Christmas, and therefore the end of DevAdvent. Today’s exercise also involves math and the properties of numbers. I must say that I am ple...

DevAdvent 2022: #19 Simple Pig Latin

The problem for today’s DevAdvent 2022 is about Pig Latin. But what is Pig Latin? It is a playful language, used among English-speaking children. To me, a na...

DevAdvent 2022: #15 Buying a Car

Today’s DevAdvent 2022 issue was particularly interesting. In itself it is not very complicated, it is about calculating the point of intersection of two cur...

DevAdvent 2022: #13 Growth of a Population

Today’s problem of my personal DevAdvent 2022 is about calculating percentages, population and number series trends. Or, to put it simply, how to make a simp...

DevAdvent 2022: #8 Descending Order

Today’s DevAdvent problem is an exercise in number ordering. But with an interesting variation: it requires you to break down a number and use its digits to ...

DevAdvent 2022: #6 Reverse Words

Today’s problem is how to reverse the order of the letters in a word, and of each word in a sentence. It’s a fairly simple problem but one that shouldn’t be ...

DevAdvent 2022: #5 Highest and Lowest

New day, new exercise for my DevAdvent 2022. Over the weekend I discovered a few other devAdvents but still decided not to follow any of them. Instead, I wil...

DevAdvent 2022: #2 You’re a square!

The second problem of my DevAdvent 2022 concerns square roots. The story of the problem is about cubes, squares and a passion for the numbers. But long story...

DevAdvent 2022: #1 Square Every Digit

The Twitter world is in turmoil. I’ve decided to abandon it. I am certainly missing something. For example I don’t know if anyone is organizing a DevAdvent l...

Vai su ↑

ts

How To Use Private Repo as NPM Dependency

In the last few days I have been working a lot on some private projects. For confidentiality reasons I can’t use public repositories, consequently not even t...

AI Single Word Portrait

I don’t know if it’s just my habit, or others too. But I often find myself reusing similar prompts to create images with AI. They aren’t necessarily long pro...

JS Tips #9: Highest Scoring Word

The problem today is quite simple. It concerns arrays, strings, and character encoding within JavaScript. In addition to a pinch of elementary mathematics, s...

JS Tips #8: How To Validate Sudoku Solutions

The today’s problem is interesting because I have always wanted to understand how to solve it. We are in the field of JavaScript (obviously), of two-dimensio...

JS Tips #7: Snail Sort

The problem today is a level 4 Kyu problem according to the CodeWars scale. It is a matrix problem in JavaScript. Or to put it another way, it is a problem o...

JS Tips #5: Common Denominators

Today’s task involves finding the common denominator of a series of fractions. Then, calculating the numerator of each fraction and returning a string with t...

JS Tips #4: Least Common Multiple

The problem today is about calculating the least common multiple of a set of numbers. In mathematics, the least common multiple of two positive integers a an...

JS Tips #3: Greatest common divisor

The problem today is related to mathematics. Specifically, it is about finding the greatest common divisor of two positive integers. In mathematics, the grea...

JS Tips #2: Format phone number by template

Today’s problem involves formatting a phone number based on a template. It is an interesting puzzle because it is very useful. I had the opportunity, some ti...

JS Tips #1: Human Readable Time

I have decided to continue writing my solutions to CodeWars puzzles in JavaScript and TypeScript. My goal is to continue practicing and not be satisfied with...

DevAdvent 2022: #23 Adding Big Numbers

We have reached the end of this DevAdvent 2022. And to end things beautifully, CodeWars proposes a level 4 kyu problem for me. And like any difficult problem...

DevAdvent 2022: #22 Survive the attack

The problem for today’s DevAdvent concerns comparing elements of two arrays. The interesting thing is how the problem is presented, through a real-world exam...

DevAdvent 2022: #21 Fibonacci Numbers

Christmas is approaching, and this DevAdvent 2022 is also coming to an end. I don’t have much time today, so I’ll settle for solving a small problem related ...

DevAdvent 2022: #20 Narcissistic Numbers

We are approaching Christmas, and therefore the end of DevAdvent. Today’s exercise also involves math and the properties of numbers. I must say that I am ple...

DevAdvent 2022: #19 Simple Pig Latin

The problem for today’s DevAdvent 2022 is about Pig Latin. But what is Pig Latin? It is a playful language, used among English-speaking children. To me, a na...

DevAdvent 2022: #15 Buying a Car

Today’s DevAdvent 2022 issue was particularly interesting. In itself it is not very complicated, it is about calculating the point of intersection of two cur...

DevAdvent 2022: #13 Growth of a Population

Today’s problem of my personal DevAdvent 2022 is about calculating percentages, population and number series trends. Or, to put it simply, how to make a simp...

DevAdvent 2022: #8 Descending Order

Today’s DevAdvent problem is an exercise in number ordering. But with an interesting variation: it requires you to break down a number and use its digits to ...

DevAdvent 2022: #6 Reverse Words

Today’s problem is how to reverse the order of the letters in a word, and of each word in a sentence. It’s a fairly simple problem but one that shouldn’t be ...

DevAdvent 2022: #5 Highest and Lowest

New day, new exercise for my DevAdvent 2022. Over the weekend I discovered a few other devAdvents but still decided not to follow any of them. Instead, I wil...

DevAdvent 2022: #2 You’re a square!

The second problem of my DevAdvent 2022 concerns square roots. The story of the problem is about cubes, squares and a passion for the numbers. But long story...

DevAdvent 2022: #1 Square Every Digit

The Twitter world is in turmoil. I’ve decided to abandon it. I am certainly missing something. For example I don’t know if anyone is organizing a DevAdvent l...

Vai su ↑

dev advent

How To Code a Caesar Cipher in JavaScript

The elves have taken cybersecurity seriously. Like any fashion, it has also reached children. One of the little elves’ favorite games is writing encrypted me...

Come calcolare la temperatura percepita

Natale si avvicina e Babbo Natale sta ultimando i preparativi. Uno degli aspetti più delicati riguarda l’attrezzatura. La slitta è sottoposta a forti pressio...

Come Convertire Numeri Romani

Oramai gli elfi sono lanciatissimi. Hanno convinto Babbo Natale ad ammodernare tutto e stanno convertendo millenni di scartoffie in documenti digitali. Si so...

An Update For My Patreons (November 2021)

It’s been 3 months since I wrote Some notes about the future. It is time to see how it is progressing. Also because I haven’t published anything on Patreon i...

Come creare password con JavaScript

Il Polo Nord ha seri problemi di sicurezza. Prima Babbo Natale che perde il codice dei messaggi, adesso l’elfo responsabile delle chiavi si è accorto che ce ...

How To Implement a Linked List in JavaScript

It’s cold in the North Pole. I don’t understand why Santa Claus insists on spending most of the year there. But so it is, and we have to deal with it. Proble...

Come convertire numeri binari in testo

Oggi sono un po’ in ritardo. Ieri Babbo Natale ha fatto bisboccia e il puzzle di oggi è arrivato tardi. E non solo era in ritardo: ha anche pasticciato con i...

Come accoppiare ogni elemento di una lista

Dopo i problemi degli ultimi giorni gli elfi si meritano finalmente un po’ di riposo. Hanno così deciso di organizzare una festicciola. E già che ci sono pre...

How To Search a Word With Missing Letters

Something went wrong and the elves made a little mess. Some of the gifts ended up in the snow and the name tags were ruined. Fortunately, most of the letters...

Dolci di Natale

Finalmente gli elfi hanno messo da parte le ambizioni imprenditoriali e sono tornati a fare il loro lavoro: aiutare Babbo Natale con i doni per i bambini di ...

Scatole inscatolate

Gli elfi alla fine hanno fatto centro e gli affari della caffetteria continuano a crescere. Peccato che abbiano fatto un po’ di confusione con le scatole. O,...

How to check if a box fits in a box

The elves are in luck: the cafeteria business continues to grow. Too bad they made a bit of confusion with the boxes. They struggle to figure out how to box ...

How to slugify a string

New day and new Dev Advent Calendar 2021 puzzle to solve. Santa’s elves got a taste for coffee and decided to take the plunge: they want to jump into the wor...

App delivery per elfi

Giorno tre del mio Dev Advent Calendar 2021 e nuovo puzzle da risolvere. Gli elfi di Babbo Natale ci hanno preso gusto con il caffè e hanno deciso di fare il...

Come creare menu per elfi

Secondo giorno del Dev Advent Calendar 2021 e nuovo puzzle da risolvere. Gli elfi di Babbo Natale sono riusciti a trovare la renna Rudolf dispersa nella fore...

3 Ways To Find an Item in an Array of Arrays

Whenever Christmas approaches, my wife begins her Beads Advent Calendar. It’s something I’ve always envied her, her constancy and perseverance. On her advice...

Vai su ↑

machine-learning

How To Use AI To Create Art For Blog Images

Over the past few weeks, I’ve written a lot of posts about JavaScript. I realized that the images available online to illustrate mathematical and IT concepts...

10 AI Prompts For Geometric Abstract Images

My artistic experiments with Artificial Intelligence continue. These days I have created some geometric images. These are some of the prompts I liked the mos...

10 AI Prompts to Inspire Architecture Design

I’m continuing my exploratory journey into the art of Artificial Intelligence. After the post a few days ago on how Artificial Intelligences can create reali...

What Is Guidance Scale In AI Art Generation

In the last few days I have become obsessed with the art generated through Artificial Intelligence. I don’t have the knowledge to really understand how these...

Cosa significa guidance scale?

Negli ultimi giorni sono entrato in fissa con l’arte generata tramite l’Intelligenza Artificiale. Non ho le conoscenze necessarie per comprendere davvero il ...

Vai su ↑

stable-diffusion

How To Use AI To Create Art For Blog Images

Over the past few weeks, I’ve written a lot of posts about JavaScript. I realized that the images available online to illustrate mathematical and IT concepts...

10 AI Prompts For Geometric Abstract Images

My artistic experiments with Artificial Intelligence continue. These days I have created some geometric images. These are some of the prompts I liked the mos...

10 AI Prompts to Inspire Architecture Design

I’m continuing my exploratory journey into the art of Artificial Intelligence. After the post a few days ago on how Artificial Intelligences can create reali...

What Is Guidance Scale In AI Art Generation

In the last few days I have become obsessed with the art generated through Artificial Intelligence. I don’t have the knowledge to really understand how these...

Cosa significa guidance scale?

Negli ultimi giorni sono entrato in fissa con l’arte generata tramite l’Intelligenza Artificiale. Non ho le conoscenze necessarie per comprendere davvero il ...

Vai su ↑

image auto generated

How To Use AI To Create Art For Blog Images

Over the past few weeks, I’ve written a lot of posts about JavaScript. I realized that the images available online to illustrate mathematical and IT concepts...

10 AI Prompts For Geometric Abstract Images

My artistic experiments with Artificial Intelligence continue. These days I have created some geometric images. These are some of the prompts I liked the mos...

10 AI Prompts to Inspire Architecture Design

I’m continuing my exploratory journey into the art of Artificial Intelligence. After the post a few days ago on how Artificial Intelligences can create reali...

What Is Guidance Scale In AI Art Generation

In the last few days I have become obsessed with the art generated through Artificial Intelligence. I don’t have the knowledge to really understand how these...

Cosa significa guidance scale?

Negli ultimi giorni sono entrato in fissa con l’arte generata tramite l’Intelligenza Artificiale. Non ho le conoscenze necessarie per comprendere davvero il ...

Vai su ↑

Template

How to Test Electron Apps

In my last posts I talked about how to test Svelte components and NPM packages. My journey is not over. I have still to figure out how to test Electron appli...

Testare app ElectronJS

Gli ultimi miei articoli hanno parlato di come testare componenti e pacchetti npm. Ma il mio viaggio non è ancora concluso: mi manca da capire come testare a...

Svelte & Visual Regression Test (English)

I am more and more comfortable with test-driven development (TDD). Editing your code is easier by knowing right away when something is wrong. Of course I don...

Svelte e Visual Regression Test

Ammetto di trovarmi sempre più a mio agio con lo sviluppo guidato dai test (TDD - Test-driven development). Anche perché man mano che sorgono i problemi so d...

Creare e pubblicare un componente Svelte

I miei ultimi articoli sono stati dedicati a come creare pacchetti NPM, integrare Tailwind e Svelte ed eseguire test con Jest. Tutto questo perché? Per arriv...

Menu for Android (English)

At first, I had decided to skip my weekly article on Construct 3. Then my android app was published on Google Play. What app? I created a demo of my menu for...

Menu in Android

Avevo oramai deciso di saltare il mio articolo settimanale su Construct 3 ma poi mi è arrivata una notifica: la mia app android è stata pubblicata sul Google...

Svelte, Electron & TypeScript (English)

I am continuing to explore the world of Svelte. Every day I am adding a little bit to my knowledge, and every day I am struggling with my limits. While I’m h...

Svelte, Electron & TypeScript

Sto continuando a esplorare il mondo di Svelte. Ogni giorno sto aggiungendo un pezzettino alla mia conoscenza, e ogni giorno mi scontro con i miei limiti. Se...

Mesh & Shapes (English)

I waited for the release of Construct 3 beta r235) before publishing this post. I needed the IWorldInstance.getMeshSize() function to be able to randomly cha...

Mesh & Shapes

Prima di scrivere questo post ho aspettato l’uscita dell’ultima beta di Construct 3 (la r235) e l’aggiunta della funzione IWorldInstance.getMeshSize(). Perch...

File System Access API (English)

This week I played with the File System Access API: this feature allow you to create web apps that can interact with files on the user’s local device. After ...

File System Access API

Questa settimana ho sperimentato con il recente File System Access API: è una tecnologia che permette di creare delle web app in grado di di interagire con i...

Construct 3 & YouTube (English)

Today’s template is about Construct 3 and YouTube. It’s very simple, because I just want to test the integration between these two tools. The result is nice ...

Construct 3 & YouTube

Il template di oggi riguarda Construct 3 e YouTube. È un progetto molto semplice, pensato con l’unico obiettivo di testare l’integrazione tra questi due mond...

Typo Battle (English)

My plan for 2021 is to publish a new template for Construct 3 every 15 days. My project is to publish on github on the 15th and 30th of each month. I also wa...

Typo Battle

Il mio progetto per il 2021 è di pubblicare ogni 15 giorni un nuovo template per Construct 3. Vuol dire il 15 (attorno al) e il 30 (attorno al) di ogni mese....

One Color Idle Game

Nell’ultimo mese e mezzo, circa, ho sistemato alcuni vecchi template e progetti, rendendoli open source in un repository su GitHub dal nome molto fantasioso:...

Construct 3: creare un menù laterale

Dopo aver capito come gestire in maniera dinamica la grafica in Construct 3 è il momento di cominciare lavorare sul menù. Già, perché di fatto sta cominciand...

Construct 3: Media Query e grid system

Lavorando alla mia idea di un metodo semplice e veloce per personalizzare l’esportazione in HTML di progetti di Construct 3 mi sono nuovamente imbattuto in u...

Vai su ↑

devadvent

DevAdvent 2022: #23 Adding Big Numbers

We have reached the end of this DevAdvent 2022. And to end things beautifully, CodeWars proposes a level 4 kyu problem for me. And like any difficult problem...

DevAdvent 2022: #22 Survive the attack

The problem for today’s DevAdvent concerns comparing elements of two arrays. The interesting thing is how the problem is presented, through a real-world exam...

DevAdvent 2022: #21 Fibonacci Numbers

Christmas is approaching, and this DevAdvent 2022 is also coming to an end. I don’t have much time today, so I’ll settle for solving a small problem related ...

DevAdvent 2022: #20 Narcissistic Numbers

We are approaching Christmas, and therefore the end of DevAdvent. Today’s exercise also involves math and the properties of numbers. I must say that I am ple...

DevAdvent 2022: #19 Simple Pig Latin

The problem for today’s DevAdvent 2022 is about Pig Latin. But what is Pig Latin? It is a playful language, used among English-speaking children. To me, a na...

DevAdvent 2022: #15 Buying a Car

Today’s DevAdvent 2022 issue was particularly interesting. In itself it is not very complicated, it is about calculating the point of intersection of two cur...

DevAdvent 2022: #13 Growth of a Population

Today’s problem of my personal DevAdvent 2022 is about calculating percentages, population and number series trends. Or, to put it simply, how to make a simp...

DevAdvent 2022: #8 Descending Order

Today’s DevAdvent problem is an exercise in number ordering. But with an interesting variation: it requires you to break down a number and use its digits to ...

DevAdvent 2022: #6 Reverse Words

Today’s problem is how to reverse the order of the letters in a word, and of each word in a sentence. It’s a fairly simple problem but one that shouldn’t be ...

DevAdvent 2022: #5 Highest and Lowest

New day, new exercise for my DevAdvent 2022. Over the weekend I discovered a few other devAdvents but still decided not to follow any of them. Instead, I wil...

DevAdvent 2022: #2 You’re a square!

The second problem of my DevAdvent 2022 concerns square roots. The story of the problem is about cubes, squares and a passion for the numbers. But long story...

DevAdvent 2022: #1 Square Every Digit

The Twitter world is in turmoil. I’ve decided to abandon it. I am certainly missing something. For example I don’t know if anyone is organizing a DevAdvent l...

Vai su ↑

SvelteKit

How To Document Svelte Components - Part 2

This post took me longer than expected. A little over a month. The two main repositories took me longer. This is to answer a question: how can I easily docum...

Come Documentare Componenti Svelte - Parte 2

Ci ho messo un po’ più tempo del previsto a scrivere questo post. Un mese, anzi poco più. Un po’ per alcuni problemi di salute, un po’ perché ha richiesto pi...

How to Document Svelte Components (English)

For the past two weeks, I have focused on how to quickly create documentation for my Svelte components. I don’t want to repeat my classic mistake: creating s...

4 Ways to Embed Code in Svelte

Sooner or later I will have to completely rewrite the code of my blog. Two years ago I switched from WordPress to Jekyll - it was a good choice. But the deep...

4 Modi per Mostrare Codice in Svelte

Prima o poi dovrò decidermi a riscrivere completamente il codice del mio blog. Due anni fa sono passato da WordPress a Jekyll: è stata una buona scelta. Ma p...

Svelte & Visual Regression Test (English)

I am more and more comfortable with test-driven development (TDD). Editing your code is easier by knowing right away when something is wrong. Of course I don...

Svelte e Visual Regression Test

Ammetto di trovarmi sempre più a mio agio con lo sviluppo guidato dai test (TDD - Test-driven development). Anche perché man mano che sorgono i problemi so d...

Creare e pubblicare un componente Svelte

I miei ultimi articoli sono stati dedicati a come creare pacchetti NPM, integrare Tailwind e Svelte ed eseguire test con Jest. Tutto questo perché? Per arriv...

SvelteKit: tag e filtri

Dopo aver fatto i miei esperimenti ho cominciato (finalmente!) a lavorare su un progetto un po’ più utile: sto ricostruendo il mio sito di esperimenti di Con...

SvelteKit: routing from other folders

I am continuing to explore Svelte, SvelteKit and GitHub Pages. It’s pretty easy to create a blog and use mdsvex to process markdown files. But I think that t...

SvelteKit: routing da altre cartelle

Sto continuando ad esplorare Svelte, SvelteKit e GitHub Pages. Dopo aver capito come fare è abbastanza semplice creare un blog e usare mdsvex per processare ...

SvelteKit & GitHub Pages (English)

I waited a few weeks before writing a new article about how to use Svelte with GitHub Pages. Today I’m interested in testing SvelteKit. This post will take t...

SvelteKit & GitHub Pages

Ho aspettato qualche settimana prima di scrivere un nuovo articolo su come usare Svelte con GitHub Pages. Oggi mi interessa testare SvelteKit. Questo post av...

Vai su ↑

Components

Come Creare una Tabella con CSS Grid

In HTML le tabelle sono una cosa abbastanza complicata. Esistono dagli albori della rete e si portano dietro alcune problematiche non da poco. Sono ottime pe...

How To Document Svelte Components - Part 2

This post took me longer than expected. A little over a month. The two main repositories took me longer. This is to answer a question: how can I easily docum...

Come Documentare Componenti Svelte - Parte 2

Ci ho messo un po’ più tempo del previsto a scrivere questo post. Un mese, anzi poco più. Un po’ per alcuni problemi di salute, un po’ perché ha richiesto pi...

How to Document Svelte Components (English)

For the past two weeks, I have focused on how to quickly create documentation for my Svelte components. I don’t want to repeat my classic mistake: creating s...

4 Ways to Embed Code in Svelte

Sooner or later I will have to completely rewrite the code of my blog. Two years ago I switched from WordPress to Jekyll - it was a good choice. But the deep...

4 Modi per Mostrare Codice in Svelte

Prima o poi dovrò decidermi a riscrivere completamente il codice del mio blog. Due anni fa sono passato da WordPress a Jekyll: è stata una buona scelta. Ma p...

Vai su ↑

jekyll

Perché sono passato a Jekyll

Bene, il primo di tre obiettivi dei miei cento giorni è fatto: finire di sistemare il trasloco dei blog miei e di mia moglie da WordPress a Jekyll. Resta per...

Come creare un post con Jekyll

Rispetto a WordPress preferisco scrivere con Jekyll. Non so bene il perché, ma mi trovo meglio a scrivere su un file di testo, con Atom, rispetto che acceder...

Lazy Loading di immagini in Jekyll

Quando si comincia un lavoro si corre il rischio di non finirlo mai. Ma non per pigrizia. Al contrario per perfezionismo. Mi sono accorto di stare correndo l...

Jekyll e WebP

Ho cominciato a risolvere il problema del come usare immagini WebP con Jekyll. Sono riuscito a risolvere, forse, il problema. Non ho ancora testato a fondo i...

Chi non ha testa abbia gambe

Chi non ha testa, abbia gambe. O per lo meno un po’ di abilità nello scrivere codice. Perché dopo aver completato tutto o quasi, mi sono accorto di un errore...

Mostrare playlist Spotify su Jekyll

Continuando la risistemazione del blog di Tra Musica e Parole mi sono imbattuto in altro problema: come faccio a inserire una playlist Spotify in un blog cre...

Jekyll e classi

I primi giorni di questi #100DaysOfCode sono votati alla sistemazione del blog mio e di mia moglie. Sono sempre più convinto che trasferire il tutto da Wordp...

Jekyll e Cookie Consent

Dover rinunciare ai plugin è sia frustrante che interessante. Frustrante perché a volte è rilassante cliccare un pulsante e lasciare che la macchina faccia t...

Vai su ↑

Maps

Layers and Selections in SVG maps

Using SVG files to represent geographic maps offers other advantages, in addition to the ability to change the scale and position on the map. I can change th...

SVG Maps With HTML, JavaScript and Svelte

One of the benefits of SVG files is the ability to edit them with JavaScript in an HTML page. To simplify the process I create a small app with Svelte where ...

How to Convert GeoJSON to SVG

After converting a Shapefile to GeoJSON I can start creating the svg file. There are some repositories that can help. But I need something more specific.

How to Convert Shapefiles to GeoJSON

The last few months have been a bit chaotic. I concentrated on how to create, update and modify maps. The aim is to obtain maps in SVG and PDF that can be us...

Livelli e selezioni in una mappa SVG

Usare file SVG per rappresentare delle mappe geografiche offre altri vantaggi, oltre alla possibilità di cambiare la scala e la posizione sulla mappa. Posso ...

Convertire GeoJSON in SVG

Dopo aver convertito un Shapefile in GeoJSON posso cominciare a creare il file svg. Ci sono alcuni repository che possono aiutare ma per quello che serve a m...

Convertire Shapefile in GeoJSON

Gli ultimi mesi sono stati un po’ caotici. Tralasciando alcune questioni personali (e da un certo punto di vista globali) mi sono concentrato su come creare,...

ISS Tracker (English)

During this week I started experimenting with Svelte, a JavaScript compiler. I will most likely use it very often in the future. At the moment, however, I am...

ISS Tracker

Durante questa settimana ho cominciato a sperimentare con Svelte, un compilatore di JavaScript. Con buona probabilità lo userò molto spesso in futuro. Al mom...

Mappe in Construct 3: Leaflet e OpenLayers

Era da un po’ che non giocavo con le mappe. L’ultimo tentativo risale oramai a qualche anno fa. Questa settimana, complice anche alcuni messaggi diretti su T...

Vai su ↑

NPM

How To Document Svelte Components - Part 2

This post took me longer than expected. A little over a month. The two main repositories took me longer. This is to answer a question: how can I easily docum...

Come Documentare Componenti Svelte - Parte 2

Ci ho messo un po’ più tempo del previsto a scrivere questo post. Un mese, anzi poco più. Un po’ per alcuni problemi di salute, un po’ perché ha richiesto pi...

How to Document Svelte Components (English)

For the past two weeks, I have focused on how to quickly create documentation for my Svelte components. I don’t want to repeat my classic mistake: creating s...

Svelte & Visual Regression Test (English)

I am more and more comfortable with test-driven development (TDD). Editing your code is easier by knowing right away when something is wrong. Of course I don...

Svelte e Visual Regression Test

Ammetto di trovarmi sempre più a mio agio con lo sviluppo guidato dai test (TDD - Test-driven development). Anche perché man mano che sorgono i problemi so d...

Creare e pubblicare un componente Svelte

I miei ultimi articoli sono stati dedicati a come creare pacchetti NPM, integrare Tailwind e Svelte ed eseguire test con Jest. Tutto questo perché? Per arriv...

NPM Packages with TypeScript (English)

The more I play with the programming, the more I realize that I am often rewriting the same code. I therefore decided to upload some functions to NPM. But ho...

Creare NPM Package con TypeScript

Man mano che faccio i miei esperimenti mi sto accorgendo di avere alcuni pezzi di codice ripetuti spesso. Francamente inizia ad essere complicato tenere sinc...

Vai su ↑

Documentation

Come Creare una Tabella con CSS Grid

In HTML le tabelle sono una cosa abbastanza complicata. Esistono dagli albori della rete e si portano dietro alcune problematiche non da poco. Sono ottime pe...

How To Document Svelte Components - Part 2

This post took me longer than expected. A little over a month. The two main repositories took me longer. This is to answer a question: how can I easily docum...

Come Documentare Componenti Svelte - Parte 2

Ci ho messo un po’ più tempo del previsto a scrivere questo post. Un mese, anzi poco più. Un po’ per alcuni problemi di salute, un po’ perché ha richiesto pi...

How to Document Svelte Components (English)

For the past two weeks, I have focused on how to quickly create documentation for my Svelte components. I don’t want to repeat my classic mistake: creating s...

Vai su ↑

Medium

My Reading Tips #2

I keep putting my notes in order. This list of recommended posts is quite heterogeneous. But I think it’s worth keeping track of the most interesting things,...

Consigli di Lettura #2

Continuo con il mettere in ordine i miei appunti. Come ho già fatto settimana scorsa, questa collezione di post da leggere è abbastanza eterogenea. Penso per...

How To Interact With Google Chart

A few days ago Corey Thompson added events to the charts of my previous tutorial. I admit that I have deliberately left the subject. However, I took advantag...

Consigli di Lettura #1

Uno dei miei hobby preferiti è leggere. Leggo molto, libri e non solo. Però non prendo appunti su quello che leggo: questo è un mio limite, a cui devo prima ...

My Reading Tips #1

One of my favorite hobbies is reading. I read a lot, books and more. But I don’t take notes on what I read: this is my fault. I want to start keeping track o...

Gennaio 2022 - Medium

Non ho ancora deciso se posterò regolarmente degli aggiornamenti su Medium. Però voglio avere un luogo per tenere traccia di questo “esperimento” di scrittur...

My January 2022 Earnings

I haven’t decided yet if I will regularly post updates on Medium. But I want to have a place to keep track of this writing “experiment”. It is a topic that I...

Vai su ↑

Electron

How To Use BrowserView With Electron

One of the problems I’m facing with my gest-dashboard project is managing several windows with Electron. It is a more complex problem than I thought and it p...

Come usare BrowserView con Electron

Uno dei problemi che sto affrontando con il mio progetto gest-dashboard riguarda la gestione di diverse finestre con Electron. È un problema più complesso di...

SvelteKit & Electron (English)

I have almost completed my idea of creating 3 templates for Svelte & Electron. There are still some details to fix but the main aspects are ok. The third...

SvelteKit & Electron

Il mio progetto di creare 3 template per Svelte è quasi giunto alla conclusione. Mancano ancora alcuni dettagli da sistemare ma posso dire di esserci, grosso...

MS Access, Electron & Construct 3 (English)

This week’s template is a little less beautiful from a graphic point of view. It has been a very busy week at work, but I still wanted to publish something. ...

MS Access, Electron e Construct 3

Il template di questa settimana è un po’ meno curato dal punto di vista grafico. Non ho avuto il tempo, è stata una settimana molto intensa dal punto di vist...

Pomodoro Clock (English)

This week I present a “double project”. It’s a Pomodoro Clock living in the Windows taskbar. When the time runs out, a notification appears in the Windows no...

Pomodoro Clock

Il progetto di questa settimana è doppio. È un Pomodoro Clock che “vive” nella taskbar di Windows. Allo scadere del tempo appare una notifica nella barra del...

Vai su ↑

Database

How To Use VBA To Convert MDB To SQLite

In this article I report some parts of the code I used to create an application that converts MDB (Microsoft Access 2000) files into SQLite databases. I don’...

How To Convert MDB Files To SQLite Database

So how can I convert an MDB file to a SQLite database? At the end of the day the easiest way is to create an MDB databas,e to semi-automatically convert the ...

Usare VBA per convertire MDB in SQLite

In questo articolo riporto alcune parti del codice che ho usato per creare un’applicazione che converte file MDB (Microsoft Access 2000) in database SQLite. ...

Come convertire file MDB in database SQLite

Quindi, come posso convertire un file MDB in un database SQLite? Alla fin della fiera il modo più semplice è creare un database MDB da usare per convertire i...

UML for Database (English)

The past two weeks have been pretty hard. A sudden death hit my family, annihilating us. Programming has generally always been a safe heaven to take refuge i...

UML for Database

Le ultime due settimane sono state abbastanza dure. Un lutto improvviso ha colpito duramente la mia famiglia, annichilendoci. In genere la programmazione è s...

MS Access, Electron & Construct 3 (English)

This week’s template is a little less beautiful from a graphic point of view. It has been a very busy week at work, but I still wanted to publish something. ...

MS Access, Electron e Construct 3

Il template di questa settimana è un po’ meno curato dal punto di vista grafico. Non ho avuto il tempo, è stata una settimana molto intensa dal punto di vist...

Vai su ↑

Tailwind

Come Creare una Tabella con CSS Grid

In HTML le tabelle sono una cosa abbastanza complicata. Esistono dagli albori della rete e si portano dietro alcune problematiche non da poco. Sono ottime pe...

Svelte & Visual Regression Test (English)

I am more and more comfortable with test-driven development (TDD). Editing your code is easier by knowing right away when something is wrong. Of course I don...

Svelte e Visual Regression Test

Ammetto di trovarmi sempre più a mio agio con lo sviluppo guidato dai test (TDD - Test-driven development). Anche perché man mano che sorgono i problemi so d...

Creare e pubblicare un componente Svelte

I miei ultimi articoli sono stati dedicati a come creare pacchetti NPM, integrare Tailwind e Svelte ed eseguire test con Jest. Tutto questo perché? Per arriv...

Tailwind CSS & Svelte (English)

As I said a few days ago I decided to focus on some more complex projects. The first is “GEST - Dashboard”. Bad enough name, but I’ll change it later. I need...

Tailwind CSS & Svelte

Come dicevo già qualche giorno fa ho deciso di concentrarmi su alcuni progetti più complessi. Il primo è “GEST - Dashboard”. Nome abbastanza brutto, lo ammet...

Vai su ↑

svelte

Using Tailwind With Svelte and Construct 3

After resuming playing with Svelte, TypeScript, and Construct 3, it’s time to add Tailwind CSS to my test project. I’ve previously covered this topic in 2021...

Using TypeScript and Svelte in Construct 3

The latest version of Construct 3 introduces an interesting feature: the ability to use TypeScript. Ashley wrote a comprehensive guide on the various steps t...

How To Show Notifications in Web Application

In the last month I worked on my side project, a web application that allows you to encrypt and decrypt text messages (DoCrypt.org). It’s still a work in pro...

Come mostrare notifiche in una web app

Nell’ultimo mese ho lavorato a un mio side project, un’applicazione web che permette di cifrare e decifrare messaggi di testo (DoCrypt.org). È ancora un work...

How to update Rollup to version 3

A few days ago Rollup reached version 3. I updated some of my projects, but it wasn’t a painless operation. There are some changes to the code, and some plug...

Come aggiornare Rollup alla versione 3

Qualche giorno fa Rollup ha raggiunto la versione 3. Ho aggiornato alcuni miei progetti, ma non è stata una operazione indolore. Ci sono alcune modifiche da ...

Vai su ↑

Time Management

Medium e altri abbonamenti da fare

Alla fine ho deciso di abbonarmi a Medium, mi sono reso conto che non pagare 5€ al mese per un sito che consulto quotidianamente è, beh, non corretto. Nonost...

Code Something Weekly: Manifesto

Riprendo il discorso di ieri sui diversi tipi di progetto a cui si può lavorare. Ovviamente questo discorso vale in particolar modo per i progetti personali,...

Non c’è produttività senza ritualità

In questi giorni sto riflettendo a fondo su alcuni aspetti che riguardano il mio modo di lavorare. E di come gestisco il mio tempo. Ho letto alcuni articoli ...

Bullet Journal e Lavoro

Ci sono tre cose fondamentali in un Bullet Journal: tieni tutto in un unico posto, scrivi a mano e rifletti sulle cose che fai. Se le ultime due sono tutto s...

Bullet Journal

Quindi, dicevo ieri delle tecniche per gestire meglio il tempo e di come mi stia trovando bene con il Bullet Journal (che io chiamo BuJo). Ma cosa è un Bulle...

Tecniche di Time Management

Quindi, ieri parlavo del perché è facile sbagliare la stima del tempo necessario a svolgere un lavoro. Oggi, invece, mi interessa capire come migliorare l’ef...

Perché sbaglio i tempi?

Una delle cose in cui trovo più difficoltà è calcolare il tempo necessario per svolgere un compito. Per dire, in questi 100DaysOfCode pensavo di sbrigare rap...

Vai su ↑

Jest

Svelte & Visual Regression Test (English)

I am more and more comfortable with test-driven development (TDD). Editing your code is easier by knowing right away when something is wrong. Of course I don...

Svelte e Visual Regression Test

Ammetto di trovarmi sempre più a mio agio con lo sviluppo guidato dai test (TDD - Test-driven development). Anche perché man mano che sorgono i problemi so d...

Creare e pubblicare un componente Svelte

I miei ultimi articoli sono stati dedicati a come creare pacchetti NPM, integrare Tailwind e Svelte ed eseguire test con Jest. Tutto questo perché? Per arriv...

Come testare app SvelteKit con Jest

Mi pare di averlo già accennato, uno dei miei punti deboli è la scarsa disciplina in fatto di test. È una cosa a cui devo metter mano, prima o poi. Meglio pr...

Vai su ↑

NodeJS

How to Convert GeoJSON to SVG

After converting a Shapefile to GeoJSON I can start creating the svg file. There are some repositories that can help. But I need something more specific.

How to Convert Shapefiles to GeoJSON

The last few months have been a bit chaotic. I concentrated on how to create, update and modify maps. The aim is to obtain maps in SVG and PDF that can be us...

Convertire GeoJSON in SVG

Dopo aver convertito un Shapefile in GeoJSON posso cominciare a creare il file svg. Ci sono alcuni repository che possono aiutare ma per quello che serve a m...

Convertire Shapefile in GeoJSON

Gli ultimi mesi sono stati un po’ caotici. Tralasciando alcune questioni personali (e da un certo punto di vista globali) mi sono concentrato su come creare,...

How To Document Svelte Components - Part 2

This post took me longer than expected. A little over a month. The two main repositories took me longer. This is to answer a question: how can I easily docum...

Come Documentare Componenti Svelte - Parte 2

Ci ho messo un po’ più tempo del previsto a scrivere questo post. Un mese, anzi poco più. Un po’ per alcuni problemi di salute, un po’ perché ha richiesto pi...

How to Document Svelte Components (English)

For the past two weeks, I have focused on how to quickly create documentation for my Svelte components. I don’t want to repeat my classic mistake: creating s...

Vai su ↑

diario

My Reading Tips #2

I keep putting my notes in order. This list of recommended posts is quite heterogeneous. But I think it’s worth keeping track of the most interesting things,...

Consigli di Lettura #2

Continuo con il mettere in ordine i miei appunti. Come ho già fatto settimana scorsa, questa collezione di post da leggere è abbastanza eterogenea. Penso per...

Consigli di Lettura #1

Uno dei miei hobby preferiti è leggere. Leggo molto, libri e non solo. Però non prendo appunti su quello che leggo: questo è un mio limite, a cui devo prima ...

My Reading Tips #1

One of my favorite hobbies is reading. I read a lot, books and more. But I don’t take notes on what I read: this is my fault. I want to start keeping track o...

Gennaio 2022 - Medium

Non ho ancora deciso se posterò regolarmente degli aggiornamenti su Medium. Però voglio avere un luogo per tenere traccia di questo “esperimento” di scrittur...

My January 2022 Earnings

I haven’t decided yet if I will regularly post updates on Medium. But I want to have a place to keep track of this writing “experiment”. It is a topic that I...

The Journey of a Programmer - January 2022

A little over a month has passed since my last update: it’s time for a new update. Sooner or later I will be able to achieve regularity with these reports. I...

Il mio viaggio - Gennaio 2022

È passato poco più di un mese dal mio ultimo aggiornamento: direi che è l’ora di fare un punto sulla situazione. Prima o poi riuscirò a raggiungere una regol...

Vai su ↑

css

Using Tailwind With Svelte and Construct 3

After resuming playing with Svelte, TypeScript, and Construct 3, it’s time to add Tailwind CSS to my test project. I’ve previously covered this topic in 2021...

How To Show Notifications in Web Application

In the last month I worked on my side project, a web application that allows you to encrypt and decrypt text messages (DoCrypt.org). It’s still a work in pro...

Come mostrare notifiche in una web app

Nell’ultimo mese ho lavorato a un mio side project, un’applicazione web che permette di cifrare e decifrare messaggi di testo (DoCrypt.org). È ancora un work...

Vai su ↑

MS Access

How To Use VBA To Convert MDB To SQLite

In this article I report some parts of the code I used to create an application that converts MDB (Microsoft Access 2000) files into SQLite databases. I don’...

How To Convert MDB Files To SQLite Database

So how can I convert an MDB file to a SQLite database? At the end of the day the easiest way is to create an MDB databas,e to semi-automatically convert the ...

Usare VBA per convertire MDB in SQLite

In questo articolo riporto alcune parti del codice che ho usato per creare un’applicazione che converte file MDB (Microsoft Access 2000) in database SQLite. ...

Come convertire file MDB in database SQLite

Quindi, come posso convertire un file MDB in un database SQLite? Alla fin della fiera il modo più semplice è creare un database MDB da usare per convertire i...

Vai su ↑

Sqlite3

How To Use VBA To Convert MDB To SQLite

In this article I report some parts of the code I used to create an application that converts MDB (Microsoft Access 2000) files into SQLite databases. I don’...

How To Convert MDB Files To SQLite Database

So how can I convert an MDB file to a SQLite database? At the end of the day the easiest way is to create an MDB databas,e to semi-automatically convert the ...

Usare VBA per convertire MDB in SQLite

In questo articolo riporto alcune parti del codice che ho usato per creare un’applicazione che converte file MDB (Microsoft Access 2000) in database SQLite. ...

Come convertire file MDB in database SQLite

Quindi, come posso convertire un file MDB in un database SQLite? Alla fin della fiera il modo più semplice è creare un database MDB da usare per convertire i...

Vai su ↑

MDB

How To Use VBA To Convert MDB To SQLite

In this article I report some parts of the code I used to create an application that converts MDB (Microsoft Access 2000) files into SQLite databases. I don’...

How To Convert MDB Files To SQLite Database

So how can I convert an MDB file to a SQLite database? At the end of the day the easiest way is to create an MDB databas,e to semi-automatically convert the ...

Usare VBA per convertire MDB in SQLite

In questo articolo riporto alcune parti del codice che ho usato per creare un’applicazione che converte file MDB (Microsoft Access 2000) in database SQLite. ...

Come convertire file MDB in database SQLite

Quindi, come posso convertire un file MDB in un database SQLite? Alla fin della fiera il modo più semplice è creare un database MDB da usare per convertire i...

Vai su ↑

DB

How To Use VBA To Convert MDB To SQLite

In this article I report some parts of the code I used to create an application that converts MDB (Microsoft Access 2000) files into SQLite databases. I don’...

How To Convert MDB Files To SQLite Database

So how can I convert an MDB file to a SQLite database? At the end of the day the easiest way is to create an MDB databas,e to semi-automatically convert the ...

Usare VBA per convertire MDB in SQLite

In questo articolo riporto alcune parti del codice che ho usato per creare un’applicazione che converte file MDB (Microsoft Access 2000) in database SQLite. ...

Come convertire file MDB in database SQLite

Quindi, come posso convertire un file MDB in un database SQLite? Alla fin della fiera il modo più semplice è creare un database MDB da usare per convertire i...

Vai su ↑

Coronavirus

Coronavirus: Cinque

E niente, alla fine è cominciata davvero una specie di “Fase 2”. La vita sta cercando una sua normalità, in qualche forma. Milano è sempre vuota, ma lo è un ...

Coronavirus: Quattro

Oramai la vita ha preso una direzione tutta sua, nonostante i miei tentativi di tenerla sui suoi binari. Ogni settimana mi riprometto di ricominciare i 100 g...

Coronavirus: Tre

Questo mese di marzo è finito, praticamente. E i miei cento giorni sono rimasti bloccati, schiacciati dalle incombenze e dalla pandemia. Bloccati in un mondo...

Coronavirus: Due

Sono passati dieci giorni dall’ultima volta, dall’ultimo post. Nel frattempo Milano e l’Italia tutta è sprofondata nel lockdown, causa CoVid-19. Una grande f...

Coronavirus

Mi ero ripromesso di non parlare di attualità. Perché questo mio blog non è un blog di attualità. Non lo è e non lo vuol essere. Ma. Ma c’è sempre un ma. E o...

Vai su ↑

GitHub Pages

SvelteKit: tag e filtri

Dopo aver fatto i miei esperimenti ho cominciato (finalmente!) a lavorare su un progetto un po’ più utile: sto ricostruendo il mio sito di esperimenti di Con...

SvelteKit: routing from other folders

I am continuing to explore Svelte, SvelteKit and GitHub Pages. It’s pretty easy to create a blog and use mdsvex to process markdown files. But I think that t...

SvelteKit: routing da altre cartelle

Sto continuando ad esplorare Svelte, SvelteKit e GitHub Pages. Dopo aver capito come fare è abbastanza semplice creare un blog e usare mdsvex per processare ...

SvelteKit & GitHub Pages (English)

I waited a few weeks before writing a new article about how to use Svelte with GitHub Pages. Today I’m interested in testing SvelteKit. This post will take t...

SvelteKit & GitHub Pages

Ho aspettato qualche settimana prima di scrivere un nuovo articolo su come usare Svelte con GitHub Pages. Oggi mi interessa testare SvelteKit. Questo post av...

Vai su ↑

indice delle cose notevoli

Indice delle Cose Notevoli #5

Questa settimana non ho avuto molto tempo per scrivere, e in realtà nemmeno per leggere. Però sono comunque incappato in alcuni articoli interessanti. Penso ...

Indice delle Cose Notevoli #4

Rieccomi con un nuovo post della mia rubrica aperiodica. Oggi parlerò di React e Card, di siti monocromatici, di post-it e del perché é importante scrivere s...

Saturday On Medium

A few days ago, Attila Vágó published an interesting post about the progress of his stories on Medium. According to his experience, there are some Saturdays ...

Sabato su Medium

Qualche giorno fa, Attila Vágó ha pubblicato un post interessante sull’andamento delle sue storie su Medium. Secondo la sua esperienza, ci sono dei sabati ch...

Indice delle Cose Notevoli #3

Qualche mese ho scritto un paio di post riguardo a storie e post interessanti. L’idea originale era di creare una specie di rubrica periodica, con i miei con...

Vai su ↑

Progetti

Plugins for Construct 3: risistemato!

Ci ho messo 3 giorni, non so quante ore, ma alla fine soro riuscito a mettere un po’ di ordine nei miei repository. Adesso si può trovare tutti in un unico r...

Vai su ↑

ElectronJS

How to Test Electron Apps

In my last posts I talked about how to test Svelte components and NPM packages. My journey is not over. I have still to figure out how to test Electron appli...

Testare app ElectronJS

Gli ultimi miei articoli hanno parlato di come testare componenti e pacchetti npm. Ma il mio viaggio non è ancora concluso: mi manca da capire come testare a...

Construct 3 ed Electron: avviare un gioco

Come preannunciato qualche giorno fa ho deciso di scrivere una breve guida, a mio uso e consumo, su come integrare un gioco creato con Construct 3 ed Electro...

Vai su ↑

Aphantasia

Aphantasia, linguaggio e regia

Stavo rileggendo l’elenco delle cose che non hanno senso, per chi ha l’Aphantasia. E c’è una cosa che ho notato, complice anche reddit: la questione può ess...

Welcome Aphantasia!

Non ho mai usato granché reddit, ma in questi giorni mi sono trovato spesso a leggere nella sezione Aphantasia. C’è una discussione molto positiva, intitolat...

L’elefante nella stanza

A volte succede che, all’improvviso, tutto abbia un senso. Che i pezzetti del puzzle vadano al loro posto, come nel finale di un film. Questa è la sensazione...

Vai su ↑

YouTube

Come creare un youtube player con Javascript

Uno dei miei progetti open source che ha avuto più successo è la mia raccolta di template per Construct 3. Non tanto la parte dedicata ai video giochi quanto...

Construct 3 & YouTube (English)

Today’s template is about Construct 3 and YouTube. It’s very simple, because I just want to test the integration between these two tools. The result is nice ...

Construct 3 & YouTube

Il template di oggi riguarda Construct 3 e YouTube. È un progetto molto semplice, pensato con l’unico obiettivo di testare l’integrazione tra questi due mond...

Vai su ↑

Deno

Experiment: Multi Windows (English)

Today a quick thing about my latest experiment: a game on multiple windows. The repository on GitHub is still pretty bare, and the code is really “spaghetti”...

Experiment: Multi Windows

Oggi una cosa semplice e veloce per spiegare il mio ultimo esperimento, un sistema per creare un gioco su più finestre. Il repository su GitHub è ancora abba...

Deno, C3 & WebView (English)

For the past two weeks I have been experimenting with Deno, Construct 3 and Microsoft Edge WebView2. I went back to an old project and made some progress tha...

Deno, C3 & WebView

Nelle ultime due settimane ho sperimentato con Deno, Construct 3 e Microsoft Edge WebView2. Sono tornato a un mio vecchio, vecchissimo progetto e ho fatto al...

Vai su ↑

Machine Learning

Genetic Algorithms: Cannon (English)

For the past few days, I have continued to experiment with genetic algorithms. I built a cannon that learns by itself how to hit a target. The logic behind i...

Genetic Algorithms: Cannon

Nei giorni scorsi ho giocato ancora con gli algoritmi genetici. Mi serviva mettermi alla prova per testare la mia comprensione, quindi ho creato un cannone c...

Genetic Algorithms: Hello World!

La scorsa settimana è stata abbastanza complicata e non ho avuto molto tempo per sperimentare. Sono però riuscito a trovare il tempo per partecipare a una ja...

Genetic Algorithms: Hello World! (English)

Last week was pretty complicated and I didn’t have much time to experiment. But I managed to find the time to replicate a simple genetic algorithm to… write ...

Vai su ↑

Genetic Algorithms

Genetic Algorithms: Cannon (English)

For the past few days, I have continued to experiment with genetic algorithms. I built a cannon that learns by itself how to hit a target. The logic behind i...

Genetic Algorithms: Cannon

Nei giorni scorsi ho giocato ancora con gli algoritmi genetici. Mi serviva mettermi alla prova per testare la mia comprensione, quindi ho creato un cannone c...

Genetic Algorithms: Hello World!

La scorsa settimana è stata abbastanza complicata e non ho avuto molto tempo per sperimentare. Sono però riuscito a trovare il tempo per partecipare a una ja...

Genetic Algorithms: Hello World! (English)

Last week was pretty complicated and I didn’t have much time to experiment. But I managed to find the time to replicate a simple genetic algorithm to… write ...

Vai su ↑

CSS

Come Creare una Tabella con CSS Grid

In HTML le tabelle sono una cosa abbastanza complicata. Esistono dagli albori della rete e si portano dietro alcune problematiche non da poco. Sono ottime pe...

Tailwind CSS & Svelte (English)

As I said a few days ago I decided to focus on some more complex projects. The first is “GEST - Dashboard”. Bad enough name, but I’ll change it later. I need...

Tailwind CSS & Svelte

Come dicevo già qualche giorno fa ho deciso di concentrarmi su alcuni progetti più complessi. Il primo è “GEST - Dashboard”. Nome abbastanza brutto, lo ammet...

Vai su ↑

TailwindCSS

How To Use BrowserView With Electron

One of the problems I’m facing with my gest-dashboard project is managing several windows with Electron. It is a more complex problem than I thought and it p...

Come usare BrowserView con Electron

Uno dei problemi che sto affrontando con il mio progetto gest-dashboard riguarda la gestione di diverse finestre con Electron. È un problema più complesso di...

Tailwind CSS & Svelte (English)

As I said a few days ago I decided to focus on some more complex projects. The first is “GEST - Dashboard”. Bad enough name, but I’ll change it later. I need...

Tailwind CSS & Svelte

Come dicevo già qualche giorno fa ho deciso di concentrarmi su alcuni progetti più complessi. Il primo è “GEST - Dashboard”. Nome abbastanza brutto, lo ammet...

Vai su ↑

GitHub

NPM Packages with TypeScript (English)

The more I play with the programming, the more I realize that I am often rewriting the same code. I therefore decided to upload some functions to NPM. But ho...

Creare NPM Package con TypeScript

Man mano che faccio i miei esperimenti mi sto accorgendo di avere alcuni pezzi di codice ripetuti spesso. Francamente inizia ad essere complicato tenere sinc...

Vai su ↑

html

How To Show Notifications in Web Application

In the last month I worked on my side project, a web application that allows you to encrypt and decrypt text messages (DoCrypt.org). It’s still a work in pro...

Come mostrare notifiche in una web app

Nell’ultimo mese ho lavorato a un mio side project, un’applicazione web che permette di cifrare e decifrare messaggi di testo (DoCrypt.org). È ancora un work...

Vai su ↑

construct

Using Tailwind With Svelte and Construct 3

After resuming playing with Svelte, TypeScript, and Construct 3, it’s time to add Tailwind CSS to my test project. I’ve previously covered this topic in 2021...

Using TypeScript and Svelte in Construct 3

The latest version of Construct 3 introduces an interesting feature: the ability to use TypeScript. Ashley wrote a comprehensive guide on the various steps t...

Vai su ↑

Bullet Journal

Grazie per…

Dopo aver cominciato il mio primo Bullet Journal mi sono accorto di una cosa: era difficile rintracciare alcune informazioni nei miei appunti, anche utilizza...

Bullet Journal e Lavoro

Ci sono tre cose fondamentali in un Bullet Journal: tieni tutto in un unico posto, scrivi a mano e rifletti sulle cose che fai. Se le ultime due sono tutto s...

Bullet Journal

Quindi, dicevo ieri delle tecniche per gestire meglio il tempo e di come mi stia trovando bene con il Bullet Journal (che io chiamo BuJo). Ma cosa è un Bulle...

Vai su ↑

Obiettivi

Non spezzare la catena dei 30 giorni

Ma c’è anche un’altra ragione per la quale è bene fare un passo alla volta: è più facile fare un passo ogni giorno che correre ogni giorno una maratona. E qu...

L’importanza delle piccole cose

Oggi, a pranzo, stavo parlando con mia moglie dei nostri blog. O, meglio, di come può essere frustrante imbarcarsi in articoli lunghi e complessi e che non r...

Perché è importante misurare i passi fatti

Ho cominciato a sistemare il sito del matrimonio e penso di essere andato abbastanza avanti. Quanto? In realtà non so bene perché uno dei miei problemi è la ...

Vai su ↑

Plugin

Plugins for Construct 3: risistemato!

Ci ho messo 3 giorni, non so quante ore, ma alla fine soro riuscito a mettere un po’ di ordine nei miei repository. Adesso si può trovare tutti in un unico r...

Vai su ↑

recensione

Uncurled - Everything About Open Source

È da un po’ che non recensisco un libro, probabilmente sono un po’ fuori allenamento. Ma non importa, oggi voglio parlare di Uncurled (everything I know and ...

Vai su ↑

midjourney

Creare Prompts per Midjourney con ChatGPT

Oggi Medium mi ha consigliato un post di Tristan Wolff su come usare ChatGPT per creare prompt per Midjourney. È stata una lettura interessante e mi ha spint...

Vai su ↑

Matrimonio

San Valentino e il nuovo sito del matrimonio

Ed è quindi giunto il nostro primo San Valentino da sposini. Devo ammetterlo, sono emozionato. Come sono emozionato a ogni San Valentino, ma questa volta è d...

Wedding Website Versione 2: cominciamo

Ci ho messo un pochino a trovare un titolo decente per questo post. Non l’ho trovato :smile:. Comunque, è il momento di passare al secondo obiettivo dei miei...

Vai su ↑

Productivity

Strumenti utili per abbinare i colori

Oggi faccio una cosa diversa dal solito: mi appunto qui alcuni strumenti utili per abbinare colori. Perché anche quando si crea un prototipo vale la pena cre...

Musica per programmare

Uno degli ultimi post scritti da mia moglie su Tra Musica e Parole riguarda quale musica ascoltare mentre si lavora. Ho deciso di prendere esempio da lei, an...

Vai su ↑

TriJam

Triple Trijam 2020 - Chain Reaction

È passato un pochino dall’ultimo post. Le cose si sono normalizzate, più o meno, e la pandemia pare sotto controllo. Per lo meno qui, in questa parte del mon...

TriJam 68.9: Opposite Ends

Ho completato la mia prima Game Jam da… due anni? Tre? Non so più nemmeno da quanto tempo. Ed è andata che mi sono classificato… beh, dai, l’importante è par...

Vai su ↑

Jam

Reskyu (English)

I have completed and submitted my game for VimJam: Collectables (8 Bits to Infinity), 18-25 September 2020. The constraint was “Collectables”, the theme “The...

Reskyu (Vimjam Edition)

Ho completato e inviato il mio gioco per la VimJam: Collectables (8 Bits to Infinity), svoltasi dal 18 al 25 settembre (2020, ovviamente). Il vincolo era “Co...

Vai su ↑

Reskyu

Reskyu (English)

I have completed and submitted my game for VimJam: Collectables (8 Bits to Infinity), 18-25 September 2020. The constraint was “Collectables”, the theme “The...

Reskyu (Vimjam Edition)

Ho completato e inviato il mio gioco per la VimJam: Collectables (8 Bits to Infinity), svoltasi dal 18 al 25 settembre (2020, ovviamente). Il vincolo era “Co...

Vai su ↑

Vimjam

Reskyu (English)

I have completed and submitted my game for VimJam: Collectables (8 Bits to Infinity), 18-25 September 2020. The constraint was “Collectables”, the theme “The...

Reskyu (Vimjam Edition)

Ho completato e inviato il mio gioco per la VimJam: Collectables (8 Bits to Infinity), svoltasi dal 18 al 25 settembre (2020, ovviamente). Il vincolo era “Co...

Vai su ↑

Text

File System Access API (English)

This week I played with the File System Access API: this feature allow you to create web apps that can interact with files on the user’s local device. After ...

File System Access API

Questa settimana ho sperimentato con il recente File System Access API: è una tecnologia che permette di creare delle web app in grado di di interagire con i...

Vai su ↑

Editor

File System Access API (English)

This week I played with the File System Access API: this feature allow you to create web apps that can interact with files on the user’s local device. After ...

File System Access API

Questa settimana ho sperimentato con il recente File System Access API: è una tecnologia che permette di creare delle web app in grado di di interagire con i...

Vai su ↑

File System

File System Access API (English)

This week I played with the File System Access API: this feature allow you to create web apps that can interact with files on the user’s local device. After ...

File System Access API

Questa settimana ho sperimentato con il recente File System Access API: è una tecnologia che permette di creare delle web app in grado di di interagire con i...

Vai su ↑

API

File System Access API (English)

This week I played with the File System Access API: this feature allow you to create web apps that can interact with files on the user’s local device. After ...

File System Access API

Questa settimana ho sperimentato con il recente File System Access API: è una tecnologia che permette di creare delle web app in grado di di interagire con i...

Vai su ↑

Mesh

Mesh & Shapes (English)

I waited for the release of Construct 3 beta r235) before publishing this post. I needed the IWorldInstance.getMeshSize() function to be able to randomly cha...

Mesh & Shapes

Prima di scrivere questo post ho aspettato l’uscita dell’ultima beta di Construct 3 (la r235) e l’aggiunta della funzione IWorldInstance.getMeshSize(). Perch...

Vai su ↑

Pomodoro

Pomodoro Clock (English)

This week I present a “double project”. It’s a Pomodoro Clock living in the Windows taskbar. When the time runs out, a notification appears in the Windows no...

Pomodoro Clock

Il progetto di questa settimana è doppio. È un Pomodoro Clock che “vive” nella taskbar di Windows. Allo scadere del tempo appare una notifica nella barra del...

Vai su ↑

Access

MS Access, Electron & Construct 3 (English)

This week’s template is a little less beautiful from a graphic point of view. It has been a very busy week at work, but I still wanted to publish something. ...

MS Access, Electron e Construct 3

Il template di questa settimana è un po’ meno curato dal punto di vista grafico. Non ho avuto il tempo, è stata una settimana molto intensa dal punto di vist...

Vai su ↑

WinBox

UML for Database (English)

The past two weeks have been pretty hard. A sudden death hit my family, annihilating us. Programming has generally always been a safe heaven to take refuge i...

UML for Database

Le ultime due settimane sono state abbastanza dure. Un lutto improvviso ha colpito duramente la mia famiglia, annichilendoci. In genere la programmazione è s...

Vai su ↑

MermaidJS

UML for Database (English)

The past two weeks have been pretty hard. A sudden death hit my family, annihilating us. Programming has generally always been a safe heaven to take refuge i...

UML for Database

Le ultime due settimane sono state abbastanza dure. Un lutto improvviso ha colpito duramente la mia famiglia, annichilendoci. In genere la programmazione è s...

Vai su ↑

Chrome Extension

Chrome Extension, Svelte & Construct 3

Questa settimana sono andato avanti con il corso su Svelte. Le cose stanno diventando interessanti e ho deciso di mettere alla prova le mie conoscenze creand...

Vai su ↑

Playwright

How to Test Electron Apps

In my last posts I talked about how to test Svelte components and NPM packages. My journey is not over. I have still to figure out how to test Electron appli...

Testare app ElectronJS

Gli ultimi miei articoli hanno parlato di come testare componenti e pacchetti npm. Ma il mio viaggio non è ancora concluso: mi manca da capire come testare a...

Vai su ↑

Test

Vai su ↑

test

3 Ways To Find an Item in an Array of Arrays

Whenever Christmas approaches, my wife begins her Beads Advent Calendar. It’s something I’ve always envied her, her constancy and perseverance. On her advice...

Vai su ↑

performance

3 Ways To Find an Item in an Array of Arrays

Whenever Christmas approaches, my wife begins her Beads Advent Calendar. It’s something I’ve always envied her, her constancy and perseverance. On her advice...

Vai su ↑

regex

How to slugify a string

New day and new Dev Advent Calendar 2021 puzzle to solve. Santa’s elves got a taste for coffee and decided to take the plunge: they want to jump into the wor...

App delivery per elfi

Giorno tre del mio Dev Advent Calendar 2021 e nuovo puzzle da risolvere. Gli elfi di Babbo Natale ci hanno preso gusto con il caffè e hanno deciso di fare il...

Vai su ↑

Tables

Come Creare una Tabella con CSS Grid

In HTML le tabelle sono una cosa abbastanza complicata. Esistono dagli albori della rete e si portano dietro alcune problematiche non da poco. Sono ottime pe...

Vai su ↑

Chart

5 Charts Example To Get You Started

The numbers explain the reality, but sometimes they are not clear. Series and reports are powerful but not always understandable tools. For this reason, it i...

Vai su ↑

Browser

Come aprire cartelle e file con Chrome

Una delle difficoltà che sto incontrando lavorando sul progetto gest-dashboard è legato a come visualizzare cartelle dentro un browser. O, meglio, a come usa...

Vai su ↑

Server

Come aprire cartelle e file con Chrome

Una delle difficoltà che sto incontrando lavorando sul progetto gest-dashboard è legato a come visualizzare cartelle dentro un browser. O, meglio, a come usa...

Vai su ↑

Folder

Come aprire cartelle e file con Chrome

Una delle difficoltà che sto incontrando lavorando sul progetto gest-dashboard è legato a come visualizzare cartelle dentro un browser. O, meglio, a come usa...

Vai su ↑

Charts

How To Interact With Google Chart

A few days ago Corey Thompson added events to the charts of my previous tutorial. I admit that I have deliberately left the subject. However, I took advantag...

Vai su ↑

Shapefile

How to Convert Shapefiles to GeoJSON

The last few months have been a bit chaotic. I concentrated on how to create, update and modify maps. The aim is to obtain maps in SVG and PDF that can be us...

Convertire Shapefile in GeoJSON

Gli ultimi mesi sono stati un po’ caotici. Tralasciando alcune questioni personali (e da un certo punto di vista globali) mi sono concentrato su come creare,...

Vai su ↑

GeoJson

How to Convert Shapefiles to GeoJSON

The last few months have been a bit chaotic. I concentrated on how to create, update and modify maps. The aim is to obtain maps in SVG and PDF that can be us...

Convertire Shapefile in GeoJSON

Gli ultimi mesi sono stati un po’ caotici. Tralasciando alcune questioni personali (e da un certo punto di vista globali) mi sono concentrato su come creare,...

Vai su ↑

CSV

How to Convert Shapefiles to GeoJSON

The last few months have been a bit chaotic. I concentrated on how to create, update and modify maps. The aim is to obtain maps in SVG and PDF that can be us...

Convertire Shapefile in GeoJSON

Gli ultimi mesi sono stati un po’ caotici. Tralasciando alcune questioni personali (e da un certo punto di vista globali) mi sono concentrato su come creare,...

Vai su ↑

VBA

How To Use VBA To Convert MDB To SQLite

In this article I report some parts of the code I used to create an application that converts MDB (Microsoft Access 2000) files into SQLite databases. I don’...

Usare VBA per convertire MDB in SQLite

In questo articolo riporto alcune parti del codice che ho usato per creare un’applicazione che converte file MDB (Microsoft Access 2000) in database SQLite. ...

Vai su ↑

Visual Basic for Applications

How To Use VBA To Convert MDB To SQLite

In this article I report some parts of the code I used to create an application that converts MDB (Microsoft Access 2000) files into SQLite databases. I don’...

Usare VBA per convertire MDB in SQLite

In questo articolo riporto alcune parti del codice che ho usato per creare un’applicazione che converte file MDB (Microsoft Access 2000) in database SQLite. ...

Vai su ↑

Open Source

Uncurled - Everything About Open Source

È da un po’ che non recensisco un libro, probabilmente sono un po’ fuori allenamento. Ma non importa, oggi voglio parlare di Uncurled (everything I know and ...

Vai su ↑

Uncurled

Uncurled - Everything About Open Source

È da un po’ che non recensisco un libro, probabilmente sono un po’ fuori allenamento. Ma non importa, oggi voglio parlare di Uncurled (everything I know and ...

Vai su ↑

scrittura

Vai su ↑

intelligenza artificiale

Vai su ↑

nodejs

How to update Rollup to version 3

A few days ago Rollup reached version 3. I updated some of my projects, but it wasn’t a painless operation. There are some changes to the code, and some plug...

Come aggiornare Rollup alla versione 3

Qualche giorno fa Rollup ha raggiunto la versione 3. Ho aggiornato alcuni miei progetti, ma non è stata una operazione indolore. Ci sono alcune modifiche da ...

Vai su ↑

rollup

How to update Rollup to version 3

A few days ago Rollup reached version 3. I updated some of my projects, but it wasn’t a painless operation. There are some changes to the code, and some plug...

Come aggiornare Rollup alla versione 3

Qualche giorno fa Rollup ha raggiunto la versione 3. Ho aggiornato alcuni miei progetti, ma non è stata una operazione indolore. Ci sono alcune modifiche da ...

Vai su ↑

ms-access

How To Link Forms in Access

One of the problems I have most often faced with Microsoft Access is code duplication. Intended not only as a duplication of VBS code, but also of queries, m...

Vai su ↑

database

How To Link Forms in Access

One of the problems I have most often faced with Microsoft Access is code duplication. Intended not only as a duplication of VBS code, but also of queries, m...

Vai su ↑

tutorial

How To Link Forms in Access

One of the problems I have most often faced with Microsoft Access is code duplication. Intended not only as a duplication of VBS code, but also of queries, m...

Vai su ↑

text auto generated

Vai su ↑

arcgis

How To Add Google Maps To ArcGIS Pro

During the past few weeks, I started using ArcGIS Pro, perhaps the most powerful GIS software available on the market. ArcGIS Pro is a newer and advanced ver...

Vai su ↑

map

How To Add Google Maps To ArcGIS Pro

During the past few weeks, I started using ArcGIS Pro, perhaps the most powerful GIS software available on the market. ArcGIS Pro is a newer and advanced ver...

Vai su ↑

errori

Chi non ha testa abbia gambe

Chi non ha testa, abbia gambe. O per lo meno un po’ di abilità nello scrivere codice. Perché dopo aver completato tutto o quasi, mi sono accorto di un errore...

Vai su ↑

Google

Perché Google Domains?

Contestualmente al trasloco da WordPress a Jekyll ho spostato anche il dominio dei blog da GoDaddy a Google Domains. Come mai? Beh, risposta scontata, perché...

Vai su ↑

HTMLElement

Vai su ↑

Drag'n'Drop

Vai su ↑

Musica

Musica per programmare

Uno degli ultimi post scritti da mia moglie su Tra Musica e Parole riguarda quale musica ascoltare mentre si lavora. Ho deciso di prendere esempio da lei, an...

Vai su ↑

Colore

Strumenti utili per abbinare i colori

Oggi faccio una cosa diversa dal solito: mi appunto qui alcuni strumenti utili per abbinare colori. Perché anche quando si crea un prototipo vale la pena cre...

Vai su ↑

Unit Test

Construct 3, Unit Test e JsUnit

Ultimamente, complice anche un libro regalato, sto rivalutando una mia vecchia idea: usare un approccio più TDD (Test Driven Development) nei miei esperiment...

Vai su ↑

BrowserView

How To Use BrowserView With Electron

One of the problems I’m facing with my gest-dashboard project is managing several windows with Electron. It is a more complex problem than I thought and it p...

Vai su ↑

Review

Vai su ↑

guida

Vai su ↑

review

Vai su ↑

chatgpt

Creare Prompts per Midjourney con ChatGPT

Oggi Medium mi ha consigliato un post di Tristan Wolff su come usare ChatGPT per creare prompt per Midjourney. È stata una lettura interessante e mi ha spint...

Vai su ↑