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…
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.
Environment: ~1GB text file with ~6 million rows.
Let’s start from the easiest one; the standard “read all files in memory and search there”. Of course, the limit here is the total amount of RAM ( or in Java's case, XMX) available.
Total response time: 5.15 seconds
Not so bad but not so bright. Let’s keep going.✔️
Another method could be to use the standard java.util.Scanner. In this case, the file is not kept in memory but read one line at a time.
Total response time: 15.91 s
Wow, that’s bad. Solution rejected.✖️
Let’s do another jump in…
Every developer has had this experience: the software works fine in the local environment, but when the same version of the software is installed in the production environment, nothing works anymore.
How can this be possible? It’s the exact same version! It has to be the environment. So you spend hours trying to understand the difference between your local environment and the production one. And when you finally find it, it always turns out to be the tiniest thing. It might be a stupid environment variable that was initialized incorrectly. …
This is an elaboration of the original article for python written by Tobias Schlottke
— — — — — — — — — — — — — — — — — — — — —
TL;DR: check this Github repo.
Note: The first input is the File Image. Then, for every step, the input is the output of the previous one.
You will need https://github.com/zxing/zxing library:
The text at this point will contain a string like this:
HC1:6BdFOXN%TS3fDHPVO13J /G-/2YRVA.Q/R8NJE2FC1J9M$DIr9C3Ka9I0FULIRJPC%OQHIZC4.OI1RM8ZA.A53XHMKN4NN3F85QNCY0Or%0aVZ0r01HOC9JU0D0HT0rHB2PL/IBa09B9LW4T*8+DC9I0%YB+SG$*SBurgayE9*aFrJ7ID$0HY84Y*a9R1MR0J8-9+:I7/G90L.3T3*8%7TK3JE 4C-DM%2D-CY:aCYZ0PHN6D7LaLrK*2HG%89UV-0LZ 2ZJJ %C4IJZJJBYa43%8 C1VHLEC78aGr1TFrHM*K2ILS-O:Saf9UZ4+aFJE 4Y3LO78L:P…
Full code with standard docker files and basic angular and react application is available here. Read forward for a comprehensive explanation of the focal points of the implementation.
IMPORTANT NOTE: this is a rework and an expansion of the original article by Robin-Manuel Thiel “Dynamically set Angular Environment Variables in Docker”.
Used in a POD’s container using “valueFrom” to use just some of the ConfigMap data keys as environment variables:
Or “envFrom”( to define all of the ConfigMap’s data as container environment variables)
Wich from the point of view of the environment is equivalent to having the…
Let’s start with the easy part: installing the application that will transform your phone into an IP Webcam. (Requires Android 4.1 and up)
This application is completely free and it comes with several nice features as Video recording, Motion detection, Auto-start streaming at device BOOT, enhanced night video streaming, two-way audio, and several more.
To start the video streaming, you just have to be sure that your phone is connected to the…