Category: General

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...

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...

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...

A Gentle Introduction to Serialization for Python
Post

A Gentle Introduction to Serialization for Python

Originally posted on machinelearningmastery. Serialization refers to the process of converting a data object (e.g. Python objects, Tensorflow models) into a format that allows us store or transmit the data and then recreate the object when needed using the reverse process of deserialization. There are different formats for serialization of data, such as JSON, XML,...

AWS: Here’s why we are investing in the Rust programming language
Post

AWS: Here’s why we are investing in the Rust programming language

Originally posted on zdnet. AWS engineers explain why developers should build infrastructure software on Rust. Cloud-computing giant Amazon Web Services (AWS) has outlined the reasons its engineers are embracing Rust, including that it’s a more energy-efficient programming language. Just seven years ago, the Rust programming language reached version 1.0, making it one of the youngest languages...

A Complete Guide to Python Dictionaries for Beginners
Post

A Complete Guide to Python Dictionaries for Beginners

Originally posted on dev. Table of Contents Introduction Definition Creating Python dictionary Accessing dictionary items Changing and Adding Values Removing Items Looping through a Dictionary Dictionary Methods To Sum It Up Introduction Python Dictionary is a composite data type. It is an ordered collection of data values that is used to store them. Each Dictionary...