Category: Developer Tools

Let’s Create a Tiny Programming Language
Post

Let’s Create a Tiny Programming Language

Originally posted on css-tricks. By now, you are probably familiar with one or more programming languages. But have you ever wondered how you could create your own programming language? And by that, I mean: A programming language is any set of rules that convert strings to various kinds of machine code output. In short, a programming language...

PyScript Beta Lets You Run Python in the Browser
Post

PyScript Beta Lets You Run Python in the Browser

Originally posted on makeuseof. JavaScript has long dominated client-side web programming, but could a new Python framework shake things up? PyScript is a framework, built with Pyodide, allowing you to run Python code in a browser. It’s still in its infancy, but the dev team has recently released a beta version. Using the tool, developers...

Go: The language of cloud-native development
Post

Go: The language of cloud-native development

Originally posted on sdtimes. The Go programming language is continuing on a path of accelerated adoption and is beloved by the developers that use it. This is evidenced by several recent developer surveys, as well as sentiments expressed by developers who use the language. In JetBrains’ 2021 State of Developer Ecosystem report, Go was among the top...

Parsing data with strtok in C
Post

Parsing data with strtok in C

Originally posted on opensource. The strtok function is a handy way to read and interpret data from strings. Use it in your next project to simplify how you read data into your program. Some programs can just process an entire file at once, and other programs need to examine the file line-by-line. In the latter...

8 great new JavaScript language features in ES12
Post

8 great new JavaScript language features in ES12

Originally posted on infoworld. ECMAScript 2021 highlights include replaceAll(), promise.any(), AggregateError, and new logical assignment operators, for starters. Let’s dive in. The JavaScript language specification, also known as ECMAScript or ES, is a living document, modified every year in response to evolving needs. While JavaScript started as a scripting language, the ECMAScript specification overview notes that...

Kanban vs Scrum: Which One Should You Use
Post

Kanban vs Scrum: Which One Should You Use

Originally posted on makeuseof. The two most popular project management methods are Kanban and Scrum. But what’s the difference between the two and which should you use? Despite how easy it may seem, there’s a bit learning curve in understanding the project management methodologies of Kanban and Scrum. Without comprehending what they are, choosing which...

How to Use Python to Reverse a String
Post

How to Use Python to Reverse a String

Originally posted on makeuseof. Either one of these approaches works, so find out which is most suitable for you. Python has many useful string functions, like casefold() which converts a string to lower case. There is no string-reversing function built into the language. However, there are two simple approaches you can use to reverse a...

The Go Programming Language and Environment
Post

The Go Programming Language and Environment

Originally posted on cacm.acm. Go is a programming language created at Google in late 2007 and released as open source in November 2009. Since then, it has operated as a public project, with contributions from thousands of individuals and dozens of companies. Go has become a popular language for building cloud infrastructure: Docker, a Linux...

The Distressed Code Review
Post

The Distressed Code Review

Originally posted on dev. The Problem I had an experience with a company I worked with years ago. Their code-review process was broken. It took weeks or more to get a review completed. It was all done in the name of writing “good code,” but the result was less than effective. What I started to...

Behold, React 18 !
Post

Behold, React 18 !

Originally posted on dev. A new version of React was released on the 29th of March this year. The latest version, React 18, includes some out-of-the-box improvements, including concurrent rending, new APIs, and much more. In this article, we shall go through some of the new features that have been introduced in React v18. What...

How to Execute SQL Queries in Python and R Tutorial
Post

How to Execute SQL Queries in Python and R Tutorial

Originally posted on datacamp. Learn easy and effective ways to run SQL queries in Python and R for data analysis and database management. What is SQL Structured Query Language (SQL) is the most common language used for running various data analysis tasks. It is also used for maintaining a relational database, for example: adding tables,...

Logging in Python
Post

Logging in Python

Originally posted on machinelearningmastery. Logging is a way to store information about your script and track events that occur. When writing any complex script in Python, logging is essential for debugging software as you develop it. Without logging, finding the source of a problem in your code may be extremely time consuming. After completing this...

10 CSS Generators for Web Development
Post

10 CSS Generators for Web Development

Originally posted on dev. Many of the new CSS3 properties have different browser implementations, which is one of the biggest problems. To make a simple shadow compatible across as many browsers as possible, you have to remember quite a bit of code. Using these tools, you can easily generate all the code you need with...

Programmatic SEO with Next.js
Post

Programmatic SEO with Next.js

Originally posted on dev. This article will cover one of the hottest terms today in the marketing world – Programmatic SEO, and show real-life examples using Next.js. What is Programmatic SEO? In short, we are leveraging code to generate organic landing pages at scale, specifically for SEO. Remember how when you search Google for the best romantic...

11 Bite-Sized Python Recipes You Must Know
Post

11 Bite-Sized Python Recipes You Must Know

Originally posted on makeuseof. These code samples will help you learn about Python basics and solve common everyday challenges. Many programmers like Python for its simple and concise syntax. These Python recipes are small sample programs that you can use to solve common daily problems. Use these easy-to-digest Python recipes and take your coding efficiency...

Beyond SQL: 8 new languages for data querying
Post

Beyond SQL: 8 new languages for data querying

Originally posted on infoworld. SQL has dominated data querying for decades. Newer query languages offer more elegance, simplicity, and flexibility for modern use cases. For the last three decades, databases and Structured Query Language (SQL) were almost synonymous. Anyone who wanted to retrieve information from a database had to learn SQL. Anyone who wanted to...

What are go workspaces and how do I use them?
Post

What are go workspaces and how do I use them?

Originally posted on dev. I previously blogged about generics being added as part of the Go 1.18 release. There was another quality of life improvement that was added with this release called “Go workspaces”. This is what the release notes said about workspaces: In this blog post, we are going to explore what Go workspaces are and...

Data Visualization in Python with matplotlib, Seaborn and Bokeh
Post

Data Visualization in Python with matplotlib, Seaborn and Bokeh

Originally posted on machinelearningmastery. Data visualization is an important aspect of all AI and machine learning applications. You can gain key insights of your data through different graphical representations. In this tutorial, we’ll talk about a few options for data visualization in Python. We’ll use the MNIST dataset and the Tensorflow library for number crunching...

The Anatomy Of My Ideal React Component
Post

The Anatomy Of My Ideal React Component

Originally posted on dev. import { useEffect, useState } from 'react' import { Link } from 'react-router-dom' import styled from 'styled-components' import tw from 'twin.macro' import { USER_ROUTES, useUser } from 'modules/auth' import { Loader } from 'modules/ui' import { usePost } from 'modules/posts' import { EmptyFallback } from './emptyFallback' const StyledContainer = styled.div` ${tw`w-100...

8 Sweet Treats in Modern C#
Post

8 Sweet Treats in Modern C#

Originally posted on dev. 8 Sweet Treats in Modern C# C# through the Ages Many, many eons ago ✨, C# ’twas but an archaic, OOP focused language. Alas, ’tis no more! Many updates and feature requests later C# has evolved, shedding the object focused shackles of its past, becoming a modern, functional, programming language. Here are 8 🔥 sizzling 🔥 features to...