Building an API with Rust using Tokio and Warp.
A sample project that uses Warp and Tokio to build a simple asynchronous API.
This tutorial introduces the Warp framework by building an asynchronous CRUD API. I wrote this with the following goals in mind:
1. Become familiar with the Warp framework.
2. Become more familiar with using async/await in Rust
3. Get a better understanding of API design in Rust
#rust #article #tokio #web #medium
A sample project that uses Warp and Tokio to build a simple asynchronous API.
This tutorial introduces the Warp framework by building an asynchronous CRUD API. I wrote this with the following goals in mind:
1. Become familiar with the Warp framework.
2. Become more familiar with using async/await in Rust
3. Get a better understanding of API design in Rust
#rust #article #tokio #web #medium
π€―3β€1π1
Which kind of content do you prefer?
Anonymous Poll
24%
Articles
6%
Video
64%
Tools & Libraries
3%
Original Articles
2%
Memes
1%
Pea soup
β€1π1π1
Practical Cryptography With Go.
This is a book about cryptography: how to communicate securely. There are several objectives that cryptography aims to solve: confidentiality, integrity, and authenticity. It also helps solve some other problems that come up in secure communications, but itβs important to remember that it isnβt a complete solution to security problems. In this book, weβll look at how to build secure systems; some of the problems that cryptography does not solve will also be pointed out. This book will attempt to guide you in your attempt to understand how to use cryptography to secure your services, and illustrate it using the Go programming language.
#go #book #free #cryptography
This is a book about cryptography: how to communicate securely. There are several objectives that cryptography aims to solve: confidentiality, integrity, and authenticity. It also helps solve some other problems that come up in secure communications, but itβs important to remember that it isnβt a complete solution to security problems. In this book, weβll look at how to build secure systems; some of the problems that cryptography does not solve will also be pointed out. This book will attempt to guide you in your attempt to understand how to use cryptography to secure your services, and illustrate it using the Go programming language.
#go #book #free #cryptography
β€1π₯1π1
Joy of Elixir is a gentle introduction to programming, aimed at people who already know some things about computers, but who have little-to-no programming experience. If you think you don't know enough about computers, well you got here already and that's enough!
This book will teach you the core concepts of the Elixir programming language in a fun and enjoyable way. If you're completely new to programming and you want to learn how to make a computer do things using the power of programming and you want to experience some joy while doing it, then read on!
#elixir #otp #erlang #book #free
This book will teach you the core concepts of the Elixir programming language in a fun and enjoyable way. If you're completely new to programming and you want to learn how to make a computer do things using the power of programming and you want to experience some joy while doing it, then read on!
#elixir #otp #erlang #book #free
β€1π1π₯1
Git Immersion is a guided tour that walks through the fundamentals of Git, inspired by the premise that to know a thing is to do it.
#book #git #guide #tour
#book #git #guide #tour
π₯2β€1π1
Tortoise ORM is an easy-to-use
Tortoise ORM was built with relations in mind and admiration for the excellent and popular Django ORM. It's engraved in its design that you are working not with just tables, you work with relational data.
#python #asyncio #async #orm #database #postgres #sqlite #mysql
asyncio ORM (Object Relational Mapper) inspired by Django.Tortoise ORM was built with relations in mind and admiration for the excellent and popular Django ORM. It's engraved in its design that you are working not with just tables, you work with relational data.
#python #asyncio #async #orm #database #postgres #sqlite #mysql
π2β€1π₯1
aiofiles is a library for handling local disk files in
Ordinary local file
#python #asyncio #io #files
asyncio applications.Ordinary local file
IO is blocking, and cannot easily and portably made asynchronous. This means doing file IO may interfere with asyncio applications, which shouldn't block the executing thread. aiofiles helps with this by introducing asynchronous versions of files that support delegating operations to a separate thread pool.#python #asyncio #io #files
β€1π1π₯1
There are almost 1000 of us now. If you enjoy this channel, share it with your friends, coulleges and cats.
Iβll be posting 10 great tools and libraries a day during the week when we reach 1000.
Thank you all, fellows! π»
Iβll be posting 10 great tools and libraries a day during the week when we reach 1000.
Thank you all, fellows! π»
π16π₯5π€―3π2β€1
This media is not supported in your browser
VIEW IN TELEGRAM
Phoenix LiveView Counter Tutorial.
LiveView?
Phoenix LiveView enables rich, real-time user experiences with server-rendered HTML.
Why?
There are several example apps around the Internet using Phoenix LiveView but none include step-by-step instructions a complete beginner can follow. This is the complete beginner's tutorial we wish we had when learning LiveView and the one you have been searching for!
What?
A complete beginners tutorial for building the most basic possible Phoenix LiveView App with no prior experience necessary.
Demo is available here: live-view-counter.herokuapp.com
#elixir #phoenix #liveview #tutorial
LiveView?
Phoenix LiveView enables rich, real-time user experiences with server-rendered HTML.
Why?
There are several example apps around the Internet using Phoenix LiveView but none include step-by-step instructions a complete beginner can follow. This is the complete beginner's tutorial we wish we had when learning LiveView and the one you have been searching for!
What?
A complete beginners tutorial for building the most basic possible Phoenix LiveView App with no prior experience necessary.
Demo is available here: live-view-counter.herokuapp.com
#elixir #phoenix #liveview #tutorial
π3π₯1π1
This media is not supported in your browser
VIEW IN TELEGRAM
django-admin-interface is a modern responsive flat admin interface customizable by the admin itself.
β’ Beautiful default django-theme
β’ Themes management and customization (you can customize admin title, logo and colors)
β’ Responsive
β’ Related modal (instead of the old popup window)
β’ Environment name/marker
β’ Language chooser
β’ List filter dropdown
β’ Foldable apps (accordions in the navigation bar)
β’ List filter sticky
β’ Form controls sticky (pagination and save/delete buttons)
#python #django #css #html #js #styled #responsive #ui
β’ Beautiful default django-theme
β’ Themes management and customization (you can customize admin title, logo and colors)
β’ Responsive
β’ Related modal (instead of the old popup window)
β’ Environment name/marker
β’ Language chooser
β’ List filter dropdown
β’ Foldable apps (accordions in the navigation bar)
β’ List filter sticky
β’ Form controls sticky (pagination and save/delete buttons)
#python #django #css #html #js #styled #responsive #ui
π3β€1π1
Trust DNS is a Rust based DNS client, server, and resolver.
Goals:
β’ Build a safe and secure DNS server and client with modern features.
β’ No panics, all code is guarded
β’ Use only safe Rust, and avoid all panics with proper Error handling
β’ Use only stable Rust
β’ Protect against DDOS attacks (to a degree)
β’ Support options for Global Load Balancing functions
β’ Make it dead simple to operate
#rust #dns #resolver #client #server #trust #dynamic #dnssec
Goals:
β’ Build a safe and secure DNS server and client with modern features.
β’ No panics, all code is guarded
β’ Use only safe Rust, and avoid all panics with proper Error handling
β’ Use only stable Rust
β’ Protect against DDOS attacks (to a degree)
β’ Support options for Global Load Balancing functions
β’ Make it dead simple to operate
#rust #dns #resolver #client #server #trust #dynamic #dnssec
β€2π2π₯1
Wails is a project that enables you to write desktop apps using Go and web technologies.
Consider it a lightweight and fast Electron alternative for Go. You can easily build applications with the flexibility and power of Go, combined with a rich, modern frontend.
#golang #og #gui #web #html #css #react #vue #linux #macos #windows
Consider it a lightweight and fast Electron alternative for Go. You can easily build applications with the flexibility and power of Go, combined with a rich, modern frontend.
#golang #og #gui #web #html #css #react #vue #linux #macos #windows
π2β€1π1
MarkupSafe implements a text object that escapes characters so it is safe to use in HTML and XML. Characters that have special meanings are replaced so that they display as the actual characters. This mitigates injection attacks, meaning untrusted user input can safely be displayed on a page.
#python #markup #pallets #html #jinja #markupsafe #template #engine
#python #markup #pallets #html #jinja #markupsafe #template #engine
π2β€1π1
WeasyPrint is a smart solution helping web developers to create PDF documents. It turns simple HTML pages into gorgeous statistical reports, invoices, tickets.
From a technical point of view, WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF. It aims to support web standards for printing. WeasyPrint is free software made available under a BSD license.
#python #css #pdf #html #style #pdf
From a technical point of view, WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF. It aims to support web standards for printing. WeasyPrint is free software made available under a BSD license.
#python #css #pdf #html #style #pdf
β€4π1π₯1
This media is not supported in your browser
VIEW IN TELEGRAM
Manage FastAPI is a CLI tool for FastAPI. Generating new FastAPI projects & boilerplates made easy.
Features π
β’ Creates customizable project boilerplate.
β’ Creates customizable app boilerplate.
β’ Handles the project structuring for you.
β’ Optional Dockerfile generation.
β’ Optional docker-compose generation for your project needs.
β’ Optional pre-commit hook generation.
#python #fastapi #api #backend #boilerplates #docker
Features π
β’ Creates customizable project boilerplate.
β’ Creates customizable app boilerplate.
β’ Handles the project structuring for you.
β’ Optional Dockerfile generation.
β’ Optional docker-compose generation for your project needs.
β’ Optional pre-commit hook generation.
#python #fastapi #api #backend #boilerplates #docker
π3π€3π2β€1
LocalStack is a cloud service emulator that runs in a single container on your laptop or in your CI environment. With LocalStack, you can run your AWS applications or Lambdas entirely on your local machine without connecting to a remote cloud provider! Whether you are testing complex CDK applications or Terraform configurations, or just beginning to learn about AWS services, LocalStack helps speed up and simplify your testing and development workflow.
#python #aws #local #serverless
#python #aws #local #serverless
β€1π₯1π1
Carbon Language: An experimental successor to C++
- Fast and works with C++
- Modern and evolving
- Welcoming open-source community
#carbon #cpp #successor #fast
- Fast and works with C++
- Modern and evolving
- Welcoming open-source community
#carbon #cpp #successor #fast
π5β€1π₯1
spaCy: Industrial-strength NLP
spaCy is a library for advanced Natural Language Processing in Python and Cython. It's built on the very latest research, and was designed from day one to be used in real products.
spaCy comes with pretrained pipelines and currently supports tokenization and training for 60+ languages. It features state-of-the-art speed and neural network models for tagging, parsing, named entity recognition, text classification and more, multi-task learning with pretrained transformers like BERT, as well as a production-ready training system and easy model packaging, deployment and workflow management. spaCy is commercial open-source software, released under the MIT license.
#python #nlp #data #science #ml #dl #neural #spacy #tokenization
spaCy is a library for advanced Natural Language Processing in Python and Cython. It's built on the very latest research, and was designed from day one to be used in real products.
spaCy comes with pretrained pipelines and currently supports tokenization and training for 60+ languages. It features state-of-the-art speed and neural network models for tagging, parsing, named entity recognition, text classification and more, multi-task learning with pretrained transformers like BERT, as well as a production-ready training system and easy model packaging, deployment and workflow management. spaCy is commercial open-source software, released under the MIT license.
#python #nlp #data #science #ml #dl #neural #spacy #tokenization
π₯4β€1π1π1
How finishing what you start makes teams more productive and predictable
Letβs be honest. When you read this postβs title, you thought it was obvious. Yet, most people donβt follow this simple piece of advice. You know that too, and thatβs probably what led you here.
What you donβt know is why so many people wonβt finish what they start and how to illustrate and quantify the impact of unfinished work. Thatβs what Iβll explain in this post.
#articleπ3β€1π₯1