Understanding Binary Tree Traversal in Python
19 hours ago, devto

I decided the best way for me to understand basic data structures and algorithms is for me to write a little bit about them during my learning process. This is in no way an in-depth description of how these complex computer science concepts work. I'll be explaining things as though I'm talking to a 3-year-old. This is just a place for me to share simple notes and attempt to explain what I am learning. As I learn more, I'll publish more or update my postings. Like a diary but I'm gonna be talking...

37 Halloween Frontends🦇
19 hours ago, devto

🎃 Allow for some load time 🎃 What's not to love with Halloween? It is the candy corn of my sunken eye sockets! So this October, I set out to find the spookiest designs. Click to Start in order play music in the first window of tech magic below or click the 3rd spirit window's upper corner on this list to play spookie techie music or play both music together to be a super freak and feel free to share your thoughts or finds in the comments! Note: All works link to the creators for attribution a...

What is a Microcontroller?
20 hours ago, devto

Hello! What is a microcontroller? Its like a mini personal PC, controlling features of a larger component, without an Operating System. It contains a CPU,memory and input/output devices where it can send and receive signals. Microcontrollers also have ADCs and DACs, an ADC being a Analog to Digital Converter. It converts an analog signal, which consists of sine waves into a digital signal, denoted by square waves. The digital signal represents information as a series of binary digits (1 or 0). I...

Moderating a 220k Developer Community
20 hours ago, devto

I have just stepped down from moderating /r/reactjs, the "Front Page of React". Here is a braindump of learnings and recollections for my future self and others (like our new mods) who might be embarking on a similar journey. Why /r/reactjs Many people don't know that I basically started being Extremely Online™ because I was bored at work. Before 2014 I was a 100% passive consumer of Internet content. The finance day job didn't really encourage creating and engaging online. Someone turned ...

I’m Vaidehi Joshi, Senior Software Engineer at DEV/Forem- AMA
21 hours ago, devto

Hi! I’m Vaidehi Joshi, Senior Software Engineer at Forem. I’ll be joining Nick Taylor and Christina Gorton on Thursday, October 21st on thePracticalDev Twitch stream to talk about what I do as a senior software engineer at Forem, working with the Forem backend, and answering any of your questions! I would love to answer any questions you have about working as a software engineer, my past projects, open source, and more. Feel free to ask any questions you have in the discussion thread below...

When building tech, think like an early-stage founder
22 hours ago, devto

We are surrounded by tech mammoths. Take for example, Uber. Uber's engineering is fascinating. It has a complex SOA to tackle scalability, reliability, maintainability among others. It natural to fall for building something as complex for your side project, startup or even at your day job. But what we forget is that Uber started off as a monolith and only eventually moved to having tons of microservices. So where exactly should you begin? The trick is to think like an early-stage founder and bui...

How I Learned JAMStack
22 hours ago, devto

In July, I was asked to participate in a panel for GraphQL Summit and talk about JAMStack. I was so hype and excited!! I was going to have the opportunity to talk with some really cool people at a really cool conference. But there was 1 problem. I didn't know much of anything about JAMStack. HOW WAS I SUPPOSED TO LEARN JAMSTACK IN ENOUGH TIME TO TALK ABOUT IT AT A CONFERENCE WITH EXPERTS??????? Well there were a couple things I did so that I could hold my own in the conversation. Here's a quick ...

How does JavaScript work? 🤔
22 hours ago, devto

Did you know the simple statement of JavaScript needs a lot of work done behind the seen to get it executed? Hmm… So the browser doesn’t understand javascript directly. Then how are we going to ask the browser to do something? Let’s start with what language the browser understands. The browser only understands 0s and 1s language i.e. Statements in Binary/Bits format. We can’t convert our whole JavaScript into bits easily. So what should we do now? 🤔 JavaScript engine:- “Hey don’t worry I can h...

How to Deploy a Next.Js App to AWS ECS with HashiCorp Waypoint
23 hours ago, devto

Last week HashiCorp launched its latest open source project, Waypoint. Waypoint is a tool to streamline the build, deploy, and release workflow for all kinds of applications. Where Terraform focuses on provisioning infrastructure, Waypoint focuses on application deployment. It's an interesting new deployment tool. In this post, we are going to take waypoint for a spin and see what it is like to use it. Prerequisites Before we can dive into waypoint, we need to have a few things set up. Fir...

How to use Lodash with Vue
23 hours ago, devto

Lodash is a JavaScript library that is packed with a bunch of goodies 🍬. Unlike Halloween goodies that means you have to do laps around your neighborhood to burn those extra calories. These goodies are common utility functions so you can avoid re-inventing the wheel 👍 And when you're working on a startup project like me, it helps me to get up and running super fast 🦸‍♀️ Install Lodash with Vue # Yarn yarn add lodash # NPM npm i --save lodash Enter fullscreen mode Exit ...

5 Techniques I Use To Manage Stress As A Software Engineer
1 day ago, devto

If you are not a monk, stress is a part of your life. We face it constantly, at work, at home, in various life situations. And if we don't know how to manage it right, we will probably struggle with anxiety and be unproductive at work. So here are the 5 techniques I use to manage stress that you can try. 1. Morning Journal This is a technique I’ve been using for 3+ years and it’s freaking golden. Every morning I write two things: Brain dump. All thoughts, feelings, and experiences I want...

Demystifying DB-API
1 day ago, devto

DB-API is an acronym of DataBase Application Programming Interface and a library which lets python connect to the database server. Depending on which relational DB library you use, they have their own DB-API modules. Similar to the Web APIs we mostly deal with as developers, it is a computing interface specifically for databases between server-side and database and it enables us to communicate with a database using certain protocols such as TCP/IP. When we work on a client-side web application, ...

Natural Language Processing Performance Metrics (Benchmarks)
1 day ago, devto

Natural Language Processing is a very vast field of research and it consists of so many tasks like Machine translation, Question Answering, Text Summarization, Image captioning, Sentiment Analysis, etc. Researchers try to make different machine learning and deep learning models to solve these tasks. The most difficult job in NLP is to measure the performance of these models for different tasks. In other Machine learning tasks, it is easier to measure the performance because the cost function or ...

7 First Steps From Java Beginner to a Professional Java Dev
1 day ago, devto

Some time ago people found programming something unattainable, something that can be acquired by few. But those times are far behind us. Today, more and more people want to master programming skills. Fortunately, there are many beginner-friendly languages novice developers can start their path with, and Java is one of them. The web is full of helpful resources that will help to learn Java without a hassle and make a dive into programming smoother. In this post, I will show you that the path from...

10 useful HTML file upload tips for web developers
1 day ago, devto

Introduction The ability to upload files is a key requirement for many web and mobile applications. From uploading your photo on social media to post your resume on a job portal website, file upload is everywhere. As a web developer, we must know that HTML provides the support of native file upload with a bit of help from JavaScript. With HTML5 the File API is added to the DOM. Using that, we can read the FileList and the File Object within it. This solves multiple use-cases with files, i....

Tailwind + React: Setup and Design Patterns
1 day ago, devto

You can find all source code for this post in a starter template here. What is Tailwind? You've probably heard of Tailwind by now, but if you haven't, it is essentially a utility-first CSS framework and is much less opinionated compared to other CSS frameworks like Bootstrap and Foundation. According to tailwindcss.com, it is described as: A highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinion...

An Introduction To Kubernetes
1 day ago, devto

Have you ever wondered how companies like Facebook are able to serve applications to Billions of users, manage all the different application servers, updates, and the numerous application components? The answer lies in distributed computing. A distributed system is a system with multiple components that communicate and coordinate actions with one another to appear as a single application to the end-user.In this article, I will be discussing one tool to help achieve distributed computing-KUBERNET...

Chatbot Analytics: Essential Metrics & KPIs to Measure Bot Success
1 day ago, devto

Interaction with customers is essential for most businesses, especially online ones. Automating at least a part of this interaction using chatbots can be a great solution — if done right, of course. There is no question that chatbots are taking over most on-site interactions. For example, 69% of consumers prefer to use chatbots on account of the speed at which they can communicate with a brand. However, simply setting up chatbots is not enough to ensure customer satisfaction. There is an absolut...

Pairing with Community Member Eliot Sanford
1 day ago, devto

On October 8th, DEV Community member Eliot Sanford joined Christina and I on the pairing stream to work on an accessibilty issue. We had a lot of fun and got a proof of concept running on the frontend to lint markdown. Here's the full stream. Eliot is still working on the issue, so feel free to follow its progress. Highlight or Prevent Heading Level Errors in Markdown #4807 aitchiss posted on Nov 13, 2019 Is your feature request related to a problem? Please d...

Chrome extensions for developers to enhance productivity.
1 day ago, devto

This is the tailored list of extensions which I use almost on daily basis. These extension have helped me over time to increase productivity and get the best out of my time. I am sure some of these extensions will be helpful to you too. Vimium This extension is for all the Vim fans out there who like Vim’s navigation system. The extension will allow you to navigate browser like you navigate Vim. You will be able to scroll with h, j, k and l keys. Along with navigation, this also provide many h...

Next