Vue.js – Nonlinear Sliders with Computed Properties

While working on the forthcoming version of my DoubleUSM script – which I’m porting to HTML Panels – I’ve run into the following problem: how do you fit a large range (say, 1..500, with floating point precision) into a Slider which has, at best, less than 200 possible, real slots? Nonlinear sliders and VueJS Computed Properties are the answer, read along.

I’m authoring a new Course! And it’ll be on… Photoshop Scripting

You might have noticed that updates on my blog are getting a bit sparse: no worries, I’m up and running as usual. Actually I’m busy as hell – which is quite ironic, since I’d aim for a simple(r) life.

But anyway: one year ago I started writing my Photoshop HTML Panels Development course, which I’ve successfully published in late March 2016. I’m now back at my desk, working on a very similar project, and targeting no less than… Photoshop Scripting.

Arrivederci, Fotografia Reflex

Ieri mattina, 29 settembre, mi trovavo a Milano. Avevo appena concluso una riunione presso EIZO quando il telefono ha suonato: era Luca Forti, editore assieme al padre Giulio della rivista Fotografia Reflex con la quale ho collaborato per più di tre anni. Luca mi chiamava per informarmi che la rivista avrebbe chiuso. Avevo già scritto il mio … Continua la lettura di Arrivederci, Fotografia Reflex

Aggiungere l’inverso

In questo articolo esamineremo una tecnica veloce ed efficace per scurire il cielo. L’effetto si può ottenere in diversi modi, ma questo è particolare perché si basa su una proprietà apparentemente banale che lega un’immagine al proprio negativo. Per capire di cosa si tratta, torniamo a un modello già esaminato. Siamo all’interno di una sala dotata … Continua la lettura di Aggiungere l’inverso

Vue.js – Binding a Component in a v-for loop to the Parent model

Learning Vue.js is fun – if I run into a problem that has taken me some head scratching time to solve and/or and no easy Stack Overflow answer, why not writing a blog post for you and my future self? :-)

Today’s stumbling block is bi-directionally binding of a Component (v-model), to the root data object – being the Components generated in a v-for loop. Sounds unclear? Think about a lot of instances of a Component containing, say, checkboxes or radiobuttons, automatically generated from an array. It’s a quite frequent scenario, at least in my projects, so let’s have a look.

HTML Panel Tips #22: Protecting your Code

About one year ago I had a so-called “aha moment” and decided to write a book. I had two or three subjects in mind, first choice was HTML Panels’ Licensing Solutions – i.e. how to build trial versions, anti-piracy systems, and the like. Luckily, and I really mean: luckily, I changed my mind and tackled a topic appealing to a slightly broader audience: the HTML Panels Development course was born.

Still, licensing systems in the context of HTML Panels are a soft spot of mine (see my old post about partial serial number verification), and I wish I had time to write that book! I did build, from my biased point of view, very good prototypes back then: for instance implementing RSA encryption, or server-side automatic licensing files delivery to be used in conjunction with e-commerce providers.

Whatever you choose to do, you’re protection system must rely on secured code that nobody can look at – which is what this article is all about.