-
Thinking in Angular 4: Templates
Jul 28, 2018 · 2 min read ·
To understand Angular 4, after the “Hero” tutorial you should start from the Template syntax.
We highlighted some statement in red below:
Data direction Syntax Type One-way from data source to view target \{\{expression\}\} [target]="expression" bind-target="expression" Interpolation Property Attribute Class Style One-way from view target to data source (target)="statement" on-target="statement" Event Two-way [(target)]="expression" bindon-target="expression" Two-way Binding types other than interpolation have a target name to the left of the equal sign, either surrounded by punctuation (
[],()) or preceded by a prefix (bind-,on-,bindon-).The target name is the name of a property. It may look like the name of an attribute but it never is. To appreciate the difference, you must develop a new way to think about template HTML.
Read More -
UPDATED and BUGFIXED!
MicroPython Repl command line is very nice, because you can telnet to the chip and read-and-evaluate python code. It is a great way of learning embedded IoT. The bad thing you cannot copy file while it is running, so experimenting get bad.
Read More -
Because some friend of mine did not know about RUP, and deal with waterfall process, I decided to make a small recall for all poor young Project Manager dealing with bad developers, bad consultants and so on, out of there. From Wikipedia:
The Rational Unified Process (RUP) is an iterative software development process framework created by the Rational Software Corporation, a division of IBM since 2003.[1] RUP is not a single concrete prescriptive process, but rather an adaptable process framework, intended to be tailored by the development organizations and software project teams that will select the elements of the process that are appropriate for their needs. RUP is a specific implementation of the Unified Process.
Read More -
After a summer sale rush I got a 27’’ Philips monitor for less than 170 €, preferring it to the 24''
A 16:9 27’’ monitor give you a lot of space: you eclipse IDE works better because:
- you actually see the console logs while you edit the code
- you can split your IDE in 4 and have a quad-view
- you can open two virtual machine in a remote desktop and have them side by side
- you get two monitors in one
-
I tuoi amici prendono in giro Di Maio, ripetendo le sue sparate sul taglio delle pensioni d'oro?
I tuoi colleghi imitano Salvini che cita errnoeamente il duce?
Senti di aver votato per dei mentecatti?
Nessun problema, con lo spray Saldimaio, una spruzzata e via!
Ad appena 100€ al litro!
Read More -
Sei un Renziano pentito? Addirittura un fan di Rifondazione?
Ti senti comprensivo ma non troppo?
Danno fastidio anche a te i barboni che muoiono sotto casa d’inverno?
Ecco la soluzione:
Colluttorio Saldimaio, per chi è debole di sinistra, ma vuole una soluzione a costo zero.
Attenzione: contien traccce di destra.
Read More -
Le cose importanti per un bimbo di otto anni.
-
C’è una ragione precisa perché epidemicamente ho sempre considerato Twitter, Facebook e in generale i social il posto sbagliato per esprimere le proprie idee politiche.
Il twitt veloce genera consenso oppure scatena gli haters, gli “odiatori” d’istinto. Un giornalista ha detto venerdì sera che “Approfondire è diventato un privilegio”.
Vediamo di capire perché.
Read More -
Ad un aperitivo, di un venerdì di fine maggio era seduta una perfetta visione del nostro paese. Quattro papà, uno che ha votato Lega, uno cinquestelle, uno partito democratico e uno forza italia.
Ascoltando la discussione, avreste capito moltissimo di dove stiamo andando.
Read More -
I stumbled upon John Resing’s GraphQL (jQuery creator, by the way):
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more
(Bold are mine, from GraphQL)
Read More -
An year ago, we discovered MSWindows was developed on Git as revision control System
On this week, Microsoft decided to buy GitHub. I suppose they had a tons on projects on GitHub platform already!
By the way, GitLab (the first competitor) now offers the Enterprise edition to open source project….
-
A tutti gli assidui utilizzatori delle macchine per il pane, suggeriamo il seguente lievito madre, che dà ottimi risultati.
Inoltre contrariamente a quanto suggerito nelle istruzioni, se usate una macchina per il pane è sufficiente aumentare le dosi standard suggerite dal manuale di istruzione delle macchine di appena 0,5 cucchiani, e servirsi negli impasti di farina manitoba (bastano 100g) per ottenere ottimi risultati.Altri consigli li trovate qui.
-
Cloud, DevOps, and Microservices are three strong forces are melting together.
Containers is the key technology around them. Before docker, horizontal scaling via VM spinning was feasible but a slow speed, compared to the speed of a docker container boot.
So do you want to learn docker without going out of business? Let’s go!
Read MoreQualche mese fa avevo sviluppato una applicazione IoT per misurare la temperatura e spedire i dati ad una coda mqtt. Poi c’era uns server che collezionava i dati. Totale: tre server, con tre punti di fallimento ma architettura molto “cool”
In effetti però la potenza dei moderni chip embedded è tale che è possibile implementare una soluzione completamente asincrona “alla Erlang”. Con meno di 8 euro, potete procuravi il chip esp8266 su Amazon
Read More
