ContentPosts from @shafislam..
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

PGP signatures on PyPI: worse than useless

A large number of PGP signatures on PyPI can’t be correlated to any well-known PGP key and, of the signatures that can be correlated, many are generated from weak keys or malformed certificates. The results suggest widespread misuse of GPG and other PGP implementations by Python packagers, with said.. read more  

Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Faster CPython at PyCon

In part one of the tale, Brandt Bucher looked specifically at the CPython optimizations that went into Python 3.11 as part of the Faster CPython project. More of that work will be appearing in future Python versions, but on day two of PyCon 2023 in Salt Lake City, Utah, Mark Shannon provided an over.. read more  

Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

My Favorite Python Packages for Building Flask Applications

When building Flask applications, use Python packages like APIFairy for APIs, Frozen-Flask for static websites, Flask-SQLAlchemy for databases, Gunicorn for production servers, pytest for testing, Flask-Login for user management, Flask-Sessions for sessions, pydantic for data validation, Flask-WTF f.. read more  

My Favorite Python Packages for Building Flask Applications
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Language Identification: Building an End-to-End AI Solution using PyTorch

This article explains how to perform language identification using Intel's PyTorch AI framework and Neural Compressor. It provides a code sample that uses the Hugging Face SpeechBrain toolkit and Common Voice dataset to train a model capable of identifying up to 93 languages. The article discusses o.. read more  

Language Identification: Building an End-to-End AI Solution using PyTorch
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Writing and debugging integration tests of multiple processes with Golang

This article discusses the technical details of writing integration tests for Golang, specifically for managing multiple sub-processes and attaching debuggers. It introduces a testing framework using YAML test definitions and a test runner. The framework allows for invoking Golang tests, reproducing.. read more  

Writing and debugging integration tests of multiple processes with Golang
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Building Snake Game In Golang: Complete Guide

Learn the basic concepts of Go programming language while building a game like Snake... read more  

Building Snake Game In Golang: Complete Guide
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Finding The Best Go Project Structure

This is the story of HUMAN Security's journey in search of the optimal project structure for Go. Throughout this process, the team made critical decisions based on thorough exploration and analysis, ultimately arriving at valuable conclusions. As a result, an open-source template repository was crea.. read more  

Finding The Best Go Project Structure
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Implementing a distributed key-value store on top of implementing Raft in Go

Raft is a distributed consensus protocol that uses leader election and log replication to manage a replicated state machine, with two key components being leader election and log replication. The protocol is implemented on top of a key-value store, and involves appending entries to a log that must b.. read more  

Implementing a distributed key-value store on top of implementing Raft in Go
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Golang Templating: Substituting Values Between Different YAML Files

Learn how to use Go templates to generate text output and replace placeholder variables with corresponding values. This tutorial includes how to generate dynamic content and replace values in YAML files and another Helm chart... read more  

Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Golang: Handling Terraform Files

The article discusses manipulating Terraform state files using Golang. It explains setting up the project, opening and manipulating the state file, and saving the changes. The code example demonstrates updating a variable value and executing a Terraform plan to reflect the changes... read more  

Golang: Handling Terraform Files