I know I will never write a post on this, really, not a complete post on this matter. But I am working on making service consume less memory, and for sure I will achieve that. By now this is just an idea of the result of the same request made by buffering a whole result […]
Building multi arch docker image from linux host
Key concepts Container manager.There is an actor, a daemon, or something that pull and run the right image when instructucted to do that.That means, you can use docker, docker swarm mode, kubernetes, k3s, or whatever daemon to monitor or just run containerbased on image taken from some place, and that daemon need to understand what […]
React server side rendering as a react based template engine
isomorphic javascript is a technology used to speedup rendering on browser, it can be used a pure version that is server-side-rendering (ssr) to generate template from a react app Motivation: Create a presentation template to be converted to pdf and configurable with data: produce formatted documents. Here:https://www.freecodecamp.org/news/server-side-rendering-your-react-app-in-three-simple-steps-7a82b95db82e/ This is the way the piece of server […]
Sicurezza, password salvate e Google
youhavebeenpawned! ( https://haveibeenpwned.com/ ) Google fortunatamente non sta a guardare, ma non può agire per noi. Fare click sull’avatar (in alto a destra) per gestire l’account Dove si atterra: Notare un segnale di allarme per problemi di sicurezza (esclamativo rosso): Vai a controllo password Password salvate compromesse Cambia ogni password compromessa Signin per ogni account […]
React Form, my wrong way
Today I had to face form definition in react and I was afraid to some kind of repeatitive task.I looked for in in google, I found formik, react-redux-form, but I see it too complex, or too heavy. I am using reactstrap for frontend and maybe there is a premium library for form, but I am […]
My 2 days Journey on moving services to a swarm
I work for starsellersworld.com, I wanted my company start to use tool for tracking project development in a centralized way, Jira was expensive as resource, and I can not ask such a step, so I asked a machine were to run Redmine. Then it cames the gogs, and, after little time, Jenkins. A number of […]
I stopped the data flow – on React best practices
Reading the interesting article from Dan Abramov:https://overreacted.io/writing-resilient-components/ I stopped at memoization. I did not know this technic before, but simply because nobody care so much about names before functional programming. And so I discovered how large is the cover of react hooks, useMemo() that does https://github.com/alexreardon/memoize-one In a cleaner way with the hook, in my […]
git-merge: the github conference
This is the list and summary of talks of the conference day, what last on me. The future of free software. In this talk Deb Nicholson talk about free software and the future. First of all she describe future, first by its view as a young girl, then using words from William Gibson: “The future […]
php zmq in docker and checking whether the C compiler works… no
I spent 2 hours of what it lasts of my life trying to understand what was the problem on installing php’s zmq extension in a docker running alpine as base image. I would like to share my experience here. During morning I would like to write supporting class for integrating zmq into our system and […]
News from Verona ( ReactJS Day – October, 5th, 2018)
I wrote some kind of report about ReacJS day – Verona, October, 5th. But my pc blocked (TODO: buy a new pc, once I understand which), I did not saved the document. I taked a screenshot. My experiment on React.context will focus on edit state of a page. Currently the page is made of various […]