Skip to main content
pkglog
BlogSeriesAbout
KO

인기글

  • 1 Vercel 배포 실전: Git 연동, 환경 변수 실수, Edge vs Node 런타임, ISR, 빌드 실패 대응
  • 2 Cloudflare Pages 배포: GitHub 연동, Wrangler CLI, Pages Functions와 Vercel·Netlify 비교
  • 3 개인 프로젝트에 쓸 수 있는 무료 공개 API 100선: 날씨·지도·금융·AI·공공데이터
  • 4 AAC 오디오 코덱: LC-AAC·HE-AAC 압축 원리와 FFmpeg 인코딩 설정
  • 5 C++ nlohmann/json 실전: 파싱·커스텀 타입 직렬화·에러 처리와 자주 틀리는 동작

최근 업데이트

  • 개발자를 위한 AI 프롬프트 엔지니어링 | ChatGPT·Claude·Cursor 실전 Oct 2, 2026
  • 바이브 코딩을 제대로 쓰는 법: Cursor·Copilot·Claude의 컨텍스트 수집과 검증 습관 Oct 2, 2026
  • LeetCode 패턴: 두 포인터와 슬라이딩 윈도우 | 템플릿과 C++/Python Oct 2, 2026
  • 기초 정렬 알고리즘: 버블·선택·삽입 정렬의 동작과 O(n²)인 이유 Oct 2, 2026
  • 고급 정렬: 퀵·병합·힙 정렬이 O(n log n)인 이유와 선택 기준 Oct 2, 2026

Tag: random

4 posts

All posts

  • Jun 10, 2026 13 min read Intermediate

    C++ random | Engines, distributions, and replacing rand()

    C++11 random: random_device seeding, mt19937, uniform and normal distributions, shuffle, weighted picks, threading, and when to use a cryptographic RNG.

  • Jun 10, 2026 20 min read Intermediate

    C++ std::random_device | Hardware entropy for seeding

    How random_device maps to OS entropy, using entropy(), seed_seq for mt19937, UUID and token examples, performance vs mt19937.

  • Jun 10, 2026 16 min read Beginner

    C++ Random Numbers in Practice: Seeding, Reproducibility, and Common Pitfalls

    Practical C++ <random> pitfalls: why rand() % n is biased, why one 32-bit seed is not enough for mt19937, why the same seed gives different numbers on different compilers, and when you need a CSPRNG instead.

  • Jun 1, 2026 14 min read Intermediate

    C++ Random Distributions: Choosing and Using uniform, normal, Poisson, and discrete

    C++11 random distributions explained by what they model: uniform, normal, Bernoulli, binomial, Poisson, exponential, and discrete, plus range rules, reset(), per-call parameters, and the modeling mistakes that skew simulations.

pkglog

Notes on C++, backend, and DevOps problems, written and maintained by 0xmote.

Content

Blog Series Glossary

Info

About Contact FAQ Sitemap

Legal

Privacy Policy Terms of Use

© 2026 pkglog. All rights reserved.

Built with Astro

This site uses cookies for traffic analysis and personalized ads served via Google AdSense. See our Privacy Policy for details.