Code Monkey home page Code Monkey logo

Hi there 👋

import asyncio
import random
from itertools import count


async def describe(description: str) -> str:
    await asyncio.sleep(random.random() / 10)
    print(description)
    return description


async def main() -> None:
    descriptions = [
        describe("Simulation Engineer"),
        describe("Python Developer"),
        describe("Rust Enthusiast"),
    ]
    tasks = [asyncio.create_task(description) for description in descriptions]
    await asyncio.gather(*tasks)


if __name__ == "__main__":
    cnt = count()
    while True:
        print(f"Cycle {next(cnt)}: ")
        asyncio.run(main())
        print()
Cycle 0:
Simulation Engineer
Python Developer
Rust Enthusiast

Cycle 1:
Rust Enthusiast
Simulation Engineer
Python Developer

Cycle 2:
Python Developer
Rust Enthusiast
Simulation Engineer
...

Jerry Wu's Projects

aoc2023-python icon aoc2023-python

A faithful record of my journey through Advent of Code 2023 using Python.

arrow icon arrow

🏹 Better dates & times for Python

awesome-cae icon awesome-cae

A curated list of awesome CAE frameworks, libraries and software.

awesome-polars icon awesome-polars

A curated list of Polars talks, tools, examples & articles. Contributions welcome !

awesome-quarto icon awesome-quarto

A curated list of Quarto talks, tools, examples & articles! Contributions welcome!

awesome-surreal icon awesome-surreal

A curated list of SurrealDB resources, tools, utilities, and applications.

axum icon axum

Ergonomic and modular web framework built with Tokio, Tower, and Hyper

book-tw icon book-tw

Rust 程式設計語言(正體中文翻譯)

commonplace icon commonplace

A basic Python-based publishing platform based around the idea of commonplace books

easy-edgedb icon easy-edgedb

An illustrated textbook designed to be a one-stop shop for learning EdgeDB

edgedb-ia icon edgedb-ia

EdgeDB learning material in Traditional Chinese.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.