En
All English articles are marked under this category
-
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 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….
-
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!
So if you are a poor guy with a little Rasperry Pi 2 in your pocket, you can try to learn the magic following three easy steps
- Install Docker on Rasperry Pi 2 looking at https://blog.alexellis.io/getting-started-with-docker-on-raspberry-pi/
- Play a little with the following images https://github.com/alexellis/docker-arm/tree/master/images or try something of more difficult like running a blog: https://blog.alexellis.io/keeping-shipping-your-blog/
- Study the magic of Docker file, starting from the official documentation
Read More -
Qualche 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 -
In this second article I will continue my jorney on LambdaMoo code base. The C code is very well written. Sometimes the API abuse global variable to avoid passing around identifier like output database file descriptor or the like.
Because a lot of the system has been written in the Moo language, the core is composed of:
Read More -
After a bunch of years, I am happy to announce StereoSID 2.0.6 is here to stay. It spots a new sid_player example and some optimization on the I2C implementation. https://github.com/daitangio/sid-arduino-lib
-
On these days my greek daemon (the one which talk to me about deep nerd programming) was interested on LambdaMoo.
LambdaMoo is an Object Oriented Multi User Dungeon born back in 1995. A MUD was a text based system you log in, talk with other, create adventures and so on. LambdaMoo has a script language and the entrire system could be customized.
The LambdaMoo last version 1.8.3 was a work in progress in 2008. LambdaMoo today is 23 years old.
So my daemon asked me: if you were able to do a tech refresh of LambdaMoo, waht will you eventually suggest?
To respond to this question, I need to study the original code
Read More -
From an internal email of a very very big corporate company
Incident Background: BIGPROJECT has been unavailable since APAC SOD due to a data refresh activity being wrongly triggered in from UAT to Production environments.
[...manual recovery instruction follows... ]Business Impact
- BIGPROJECT is unavailable for all users in the bank
- BIGPROJECT2 platform which sits on BIGPROJECT is unavailable this includes the Click-to-chat serviceCurrent Status
- Initial attempt of flashback Database to restore from the last good restore point failed due to errors due to absence of flashback logs– this was a quicker option, but now ruled out.
- Currently going ahead with full restoration in the Primary database – this activity is tentatively supposed to take 8-9 hours (in place of 6 hours earlier mentioned)
After 5 hours in another email they dare to say:
Read More -
After some trial and error, I decided to switch to a new syntax highlighter library, mostly because the old one stopped working. I am very satisfied with Crayon because it is backward compatible with the previous plugin based on SyntaxHighlighter3 and offer also a nice in-line editor.
Read More -
Sometimes I need a very very fast start on emacs. If you have the same need, put this in your init.el and live happy:
(cua-mode) (setq select-active-region nil) (setq mouse-drag-copy-region t) (global-set-key [mouse-2] 'mouse-yank-at-click)
