Animate like Flash, but in a cool way

Visualization of animation
Visualization of animation
Photo by the author.

Under today’s standards, web applications not only need to be fast and look cool, but they also need to give the feeling of being alive. The latter is quite hard to manage well. With CSS becoming super powerful, new ideas and concepts have been introduced (e.g. animations) that can provide the user with unforgettable experiences when done well.

Animations in CSS are a beast, and people are doing amazing things with them. Don’t believe me? Check out this alpaca built by CSS ninja Annie:

Perhaps you don’t need that level of complexity for your web app, but having a…

Web development can’t survive without encryption

A lock on a webpage
A lock on a webpage
Photo by the author.

As web apps continue to gain access to large amounts of sensitive data that belongs to people, organizations, and even governments, the threat to data security is at an all-time high. Since the early days of programming, programmers have used cryptography and encryption techniques to protect such sensitive data against malicious parties. Especially after the introduction of the internet, cryptography techniques play a crucial role in guaranteeing data security.

In web development, cryptography is often used to secure data while it is being transferred over a network or stored in databases. Most of the cryptographic operations are executed in a…

Know the ins and outs of this basic JavaScript array function

Image for post
Image for post
Image by the author

As one of the basic control structures in programming, loops are almost an everyday addition to the code we write. The classic for loop is one of the first code snippets we learn to write as programmers.

If you were a Javascript developer, you would know that Javascript is no stranger to iterating through the items of an array or a map using classic for loops. But did you know that Javascript has a much cleaner and safer method for the same task other than the simple for loop? It’s the Javascript forEach method.

Unlike the simple for loop, where…

Know the ins and outs of this basic JavaScript array function

Two hands holding puzzle pieces
Two hands holding puzzle pieces
Photo by the author.

JavaScript’s reducer is one of the most useful array methods in a developer’s arsenal. Introduced in ES5, it’s somewhat similar to the for…each and map methods that are used with arrays but improves on their performance and simplicity in specific situations.

The reduce method executes a callback function that we provide on each element stored in an array and outputs the final value the operation generates. It’s a cleaner way of iterating over and processing the data stored in an array.

Currently, it’s supported by all of the major browser versions and is available in Node.js from version 10.0 upwards.

INTERVIEW PREPARATION

Mastering the coding interview is a skill that you need to practice

Preparing for an interview
Preparing for an interview
Photo by the author.

You have the skills required to build amazing websites, complex applications, or fast and reliable APIs. You want to land your dream job as a developer, so you start taking interviews. All of a sudden, you question if everything you’ve been learning is right and whether you are ready to take on a job.

I think we have all been there. Interviewing as a developer is challenging and it’s a skill in its own right, as interview questions often cover topics we don’t usually work with. So what can we do to nail the interview and get the job? …

INTERVIEW QUESTIONS

Get familiar with the questions you’re likely to get in your next interview

Illustration of a man and woman in an interview situation, next to text reading, “Node.js Interview Questions.”
Illustration of a man and woman in an interview situation, next to text reading, “Node.js Interview Questions.”
Image by the author

Preparation is as important as knowledge for a successful programming interview. Preparation gives you the confidence to attend the interview without the nerves of uncertainty. This is especially true if you are facing a programming interview for the first time in your life.

To help Node.js developers achieve the necessary preparedness for an interview, I’ve put together a list of 15 commonly asked Node.js and web development related interview questions. These questions and answers will also prompt you to brush up on any area you feel needs improvement before the big interview.

In this article, we’re focusing on questions related…

Python productivity

Best VS Code Extensions
Best VS Code Extensions
Image by the author

We listed the best VS extensions for JS developers. Now, it’s time we do so for the Python community. Same as before: I’m a PyCharm user, I love PyCharm, and I won’t probably be changing editors anytime soon. But with all the hype around VS Code and so many people over Reddit and Twitter suggesting me the switch, I had to try it.

My VS Code experience was amazing, and even though my heart still belongs to PyCharm, VS Code is a fantastic product, I can 100% recommend. …

Learn how to work with dates and times in JavaScript

People consulting their schedule and a clock
People consulting their schedule and a clock
Photo by the author.

In theory, handling dates as a developer is as simple as creating, storing, and, if necessary, manipulating dates. But as a JavaScript developer, you would know this theory doesn’t hold after you start working with dates for real. On top of different date-time formats, you have to consider timezone and locale differences.

For this reason, plenty of JavaScript developers seek help from third-party libraries when they have to manage dates in an application. While these libraries reduce the task’s complexity, having a clear understanding of handling vanilla JavaScript dates has its benefits.

This tutorial will introduce you to working with…

Image for post
Image for post
Photo by Amanda Dalbjörn on Unsplash

Artificial Intelligence or, in short, AI is seeing a massive advancement in narrowing the gap between machines and humans. Researchers and practitioners all around the world have been working on various aspects of AI to develop epic procedures for this purpose. Computer vision is one of the domains of this field. The main aim of computer vision is to make the machines view the world just like humans do and use the knowledge for a wide number of activities, including image recognition, video recognition, Imagery analysis and classification, recommendation systems, and many more. Massive progress is seen in computer vision…

The guide to plotting data with Python and Seaborn

Seaborn logo with different plots
Seaborn logo with different plots
Photo by the author.

Data visualization is a technique that allows data scientists to convert raw data into charts and plots that generate valuable insights. Charts reduce the complexity of the data and make it easier to understand for any user.

There are many no-code tools to perform data visualization, such as Tableau, Power BI, ChartBlocks, and more. They are very powerful tools, and they have their audience. However, when working with raw data that requires transformation and a good playground for data, Python is an excellent choice.

Though more complicated — as it requires programming knowledge — Python allows you to perform any…

Juan Cruz Martinez

I’m an entrepreneur, developer, author, speaker, and doer of things. I write about JavaScript, Python, AI, and programming in general.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store