The activities we do to stay healthy are not spoken of for good manners, to avoid annoying the interlocutor. We tend to avoid talking about our sex life with the family because it’s terribly embarrassing. We don’t tell someone we’ve just met that he has parsley in his teeth.
But there isn’t any reason to don’t talk about the following things. Personally speaking, I can’t imagine how much even knowing just one of the following concepts would have changed my perspective. …
All the code including deploy (Docker-Swarm) and testing environment (JMeter) is available at https://github.com/GaetanoPiazzolla/spring-boot-vs-node-js free for you to play with and customize.
We will evaluate the performance of four REST JSON endpoints:
They found the hanging body on a sunny Monday afternoon. The screen was still displaying the last assigned task regarding a bug fix — misty, convoluted sentences without significance.
In the career of a developer this is a common part: the will to take an end to our pain. Suicide is never the answer — maybe we can reduce suffering related to bug fixing tasks using HAR files.
Content of the story:
In the next six sections there is my point of view about the 6 main DOWNSIDES of microservices development — and what I think could be done to reverse some of them to UPSIDES.
I would like to describe it all, starting from the review of my curriculum vitae, the “codility ”algorithm online code challenge, the phone screening interview, the onsite interview (with 5 different people about various topics), and the final call.
I will not report the precise questions that they asked me, but some general information about interviewing for Amazon, the evolution of the long and hard process, and some advice that I wish I had known before interviewing.
Unfortunately, I did not manage to pass the interview, but I’ve managed to learn a lot, about interviewing, about Amazon, about myself. I…
We found out that some users were editing malevolently the client storage to view hidden functionalities of our application.
Even if it’s not a best practice to rely on exposed data as WebStorage for these cases, we didn’t have the time for a refactor — so we decided to encrypt the values making them uneditable and unreadable.
It’s possible to edit local and session storage using any web browser developer tools:
The ingredients for the recipe are really cheap: we need a total of 300 lines of JS code, 40 lines of HTML, a sprinkle of 100 CSS lines; bake with npm, and here is the result:
FAANG companies ( Facebook, Amazon, Apple, Netflix, and Google) use tools like the one above (which I called “Direct Code”, not so original I know) while interviewing candidates.
There are lots of already made applications that do the same thing; I decided to build one on my own to understand what are the difficult tasks and issues at play while developing something like this.
Step 1) 😎 Deploy a cool new feature
Step 2) 😱 Panic after 4 days when someone tells you that the new code impacted another piece of the application, causing the override with nulls of several fields in the user table
Step 4) 💾 Recover some data from a past database dump
Step 5) 😱 Panic AGAIN when you notice that 6k user’s row are still missing data
Step 6) 🔎 Discover that using Kibana luckily you can manually recover user information written on Log
Step 7) 😱 Panic SOME MORE when you think that you have to do this…
I’ve come to know lately that the IMG tag has 3 attributes that if set correctly can greatly improve the loading time of a web page. Check them out!
This article is a summary of the article by smashing magazine, with focus on what I think are the most important features therein listed.
With this simple attribute on the IMG tag, clients will load the image when specified, eagerly or lazily.
alt="Description of the image"
loading="lazy" / "eager"
It’s a good strategy to avoid clogging the clients with several requests, loading the critical elements of the…
Tech. leader and passionate developer.