Skip to content
View jrycw's full-sized avatar
Block or Report

Block or report jrycw

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
jrycw/README.md

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

Pinned Loading

  1. posit-gt-2024 posit-gt-2024 Public

    Euro NCAP Safety Ratings - 2023

    Jupyter Notebook 2

  2. edgedb-ia edgedb-ia Public

    EdgeDB learning material in Traditional Chinese.

    EdgeQL 3

  3. ezp2p ezp2p Public

    This repository is designed to help users familiar with Pandas quickly transition to using Polars.

    10

  4. rust-tw/book-tw rust-tw/book-tw Public

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

    Rust 273 66

  5. py10wings py10wings Public

    The repo for https://ithelp.ithome.com.tw/2023ironman

    Python 1

  6. ithome2022-cae-ansa-lsdyna ithome2022-cae-ansa-lsdyna Public

    The repo for https://ithelp.ithome.com.tw/2022ironman

    Python 5 3