출처: https://news.hada.io/topic?id=18189
Introducing Randflake ID: a distributed, uniform, unpredictable, unique random ID generator
Randflake ID는 분산 환경에서 사용할 수 있는 64비트 고유 식별자 생성 시스템이다.
- 예측 불가능성: 블록 암호를 사용하여 다음/이전 ID 예측이 불가능
- 고유성 보장: 타임스탬프, 노드 ID, 시퀀스 번호를 조합
- 분산 환경 지원: 최대 131,072개의 노드 지원
- 높은 처리량: 초당 최대 17,179,869,184개의 ID 생성 가능
이 문서는 PHP 8 기준으로 게임 서버 개발에 필요한 핵심 개념과 패턴을 소개합니다. 각 섹션마다 예제 코드와 간단한 연습 문제를 포함하고 있습니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
def write_code_to_markdown_split(repo_path, output_dir, max_size_mb=10): | |
""" | |
저장소 내의 소스 코드를 재귀적으로 읽고, | |
Markdown 형식으로 10MB 미만의 파일로 분할해서 출력하는 스크립트 | |
""" | |
if not os.path.exists(output_dir): | |
os.makedirs(output_dir) |
-
(2025.04.17)VS Code의 Copilot과 Copilot Chat의 기능과 활용 방법
-
(2025.04.05)Visual Studio Code의 Agent mode란? 활성화 방법과 활용 팁
-
(2025.04.23)Visual Stuid Copilot - 적응형 붙여넣기로 손쉽게 조정 가능
-
(2025.03.25)[Visual Studio Code 1.98의 AI 기능](https://docs.google.com/document/d/e/2PACX-1vT_uMzIak_O5zMLJ7gdTbzpo8DRx
NewerOlder