Skip Navigation
ryanhe Ryan He @lemmy.pastwind.top

Linuxer, Pythoner, Kickstarter Backer, PC Gamer.

Founder of https://moe.pastwind.top mastodon instance.

打雜網管工程師&業餘Django+Vuejs工程師

Posts 50
Comments 0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top

Paolo Melchiorre - Database generated columns ⁽¹⁾: Django & SQLite

www.paulox.net Paolo Melchiorre - Database generated columns ⁽¹⁾: Django & SQLite

An introduction to database generated columns, using SQLite and the new GeneratedField added in Django 5.0.

Paolo Melchiorre - Database generated columns ⁽¹⁾: Django & SQLite
0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top
eddieantonio.ca {n} times faster than C …with Python

I was reading Owen Shepherd’s post “{n} times faster than C”, which explores how to hand-tune x86-64 assembly to make a certain problem faster (see below). Originally, this inspired me to write a short introduction to using Rust’s portable SIMD to manually speed up problems like this. I rewrote the ...

1
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top
www.dataroc.ca The most performant timestamp functions in Python

We explore different ways of getting the current timestamp in Python and profile their respective execution times.

The most performant timestamp functions in Python

Is time.time() the fastest? What if you need a datetime object: datetime.now(), datetime.utcnow()? Let's find out!

0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top
stackabuse.com Guide to Stacks in Python

While some data structures are versatile and can be used in a wide range of applications, others are specialized and designed to handle specific problems. One...

0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top

Python: Start using Factory Pattern design

0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top

How I improved my python code Performance by 371%!

1
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top

Python Profiling — Why and Where Your Code is Slow

0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top

Return VS Yield in Python — A Short Comic

0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top
pybit.es 6 Cool Things You Can Do With The Functools Module - Pybites

In this article let's look at the functools Standard Library module and 6 cool things you can do with it (be warned, a lot of decorators are coming your way!

6 Cool Things You Can Do With The Functools Module - Pybites
0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top
realpython.com How to Use Type Hints for Multiple Return Types in Python – Real Python

In this tutorial, you'll learn to specify multiple return types using type hints in Python. You'll cover working with one or several pieces of data, defining type aliases, and type checking with a third-party static type checker tool.

How to Use Type Hints for Multiple Return Types in Python – Real Python
0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top

Django + Vue + Vite: REST Not Required

1
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top
safjan.com Python Expertise Level - Self-Assessment

Sometimes you need to assess your own or candidate's level of expertise in Python programming. I have created some statements that roughly corresponds to the various level of expertise. Note that knowing programming language techniques contributes to expertise but does not make …

Python Expertise Level - Self-Assessment
0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top

Exploring the Exciting New Features of Django 5.0

0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top
death.andgravity.com Struggling to structure code in larger programs? Great resources a beginner might not find so easily

Are you having trouble making the modules work together in a larger project? Have you tried looking at popular projects as models, but were put off by their size and scope, or found it hard to see why they did the things they did? Resources about this do exist, but they're scattered all over, and mi...

0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top
www.techbeamers.com Higher Order Functions in Python

Higher-order functions in Python take functions as arguments, or return as results, making code more readable and reusable.

Higher Order Functions in Python
0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top
0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top
realpython.com Bypassing the GIL for Parallel Processing in Python – Real Python

In this tutorial, you'll take a deep dive into parallel processing in Python. You'll learn about a few traditional and several novel ways of sidestepping the global interpreter lock (GIL) to achieve genuine shared-memory parallelism of your CPU-bound tasks.

Bypassing the GIL for Parallel Processing in Python – Real Python
0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top
0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top
adamj.eu Introducing flake8-logging - Adam Johnson

The Python standard library’s logging module is a go-to for adding observability to applications. Many tools also integrated with it or enhance its capabilities, such as structlog and Sentry.

Introducing flake8-logging - Adam Johnson
0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top
florian-dahlitz.de Introduction To Python's Functools Module - Florian Dahlitz

Introducing Python's functools functions using real world examples.

Introduction To Python's Functools Module - Florian Dahlitz
0