15,891,136 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Artificial Intelligence
Artificial Intelligence
Neural Networks
Machine Learning
Deep Learning
ML.Net
Big Data
Data Science
Tensorflow
ChatGPT
Internet of Things
Internet of Things
Arduino
Edge Device
Raspberry-Pi
Wearables
IoT Edge
Industrial IoT
DevOps
DevOps
Agile
Automation
Continuous Build
Continuous Delivery
Continuous Deployment
Continuous Integration
Deployment
Git
Installation
Integration Testing
Load Testing
Quality Assurance
TFS
Unit Testing
Testing
Containers
Containers
Docker
Kubernetes
Virtual Machine
High Performance Computing
High Performance Computing
GPU
Parallel Processing
Parallelization
Vectorization
Hosted Services
Hosted Services
AWS
Cordova
ExtJS
Google Cloud
Microservices
PhoneGap
Serverless
Storage
Web Hosting
WordPress
Azure
Security
Security
Blockchain
Cryptography
Encryption
Identity
Identity Server
Web Development
Web Development
Blazor
CSS3
Flask
HTML5
Kestrel
LESS
Nginx
Node.js
React
SCSS
Spring
Vue.js
ASP.NET
CSS
Apache
HTML
IIS
XHTML
Mobile Apps
Mobile Apps
Flutter
Ionic
iOS
Nativescript
React Native
Xamarin
Windows Mobile
Android
Desktop Programming
Desktop Programming
Cocoa
Electron
QT
Universal Windows Platform
X11
Windows Forms
ATL
MFC
Swing
Win32
WTL
WPF
XAML
System
Database Development
Database Development
Data Visualization
Elasticsearch
Lucene
MariaDB
MongoDB
NoSQL
PostgreSQL
Redis
MySQL
SQL Server
Productivity Apps and Services
Productivity Apps and Services
LibreOffice
OpenOffice
Sharepoint
Team Communication Tools
Biztalk
Microsoft Office
SAP
Game Development
Game Development
Doom
Kinect
Playstation 4
Playstation 5
Unity
Unreal
XBox
Multimedia
Multimedia
Audio
Image Processing
Video
Audio Video
DirectX
GDI
GDI+
OpenGL
General Programming
General Programming
Algorithms
Compression
Computational Geometry
Emulation
Exceptions
File
Internet
Localization
Memory Management
Optimization
Parser
Performance
Regular Expressions
Sorting
State Machines
Architecture
Design / Graphics
Printing
String
Threads
Usability
Programming Languages
Programming Languages
ASM
Bash
Basic
COBOL
Dart
Go
Haskell
Kotlin
Lua
Pascal
R
Razor
Rust
Scala
Swift
Typescript
Objective C
Visual Basic
VBScript
C++
C#
F#
FORTRAN
Java
Javascript
Perl
Python
Ruby
SQL
PHP
PowerShell
XML
Articles by Peter Occil (Articles: 10, Tip/Tricks: 4)
Articles: 10, Tip/Tricks: 4
Articles
Technical Blogs
Tips and Tricks
Reference Articles
Projects
Average article rating: 4.85
Desktop Programming
Windows Forms
Creating a Calculator App with the CBOR Library
10 Nov 2015 Updated:
26 Nov 2015
Rating: 4.00/5 Votes: 3 Popularity: 1.91
Licence: Public Domain Views: 17,604
Bookmarked: 6
Downloaded: 326
Please
Sign up or sign in
to vote.
Describes details of how a calculator program is implemented with the help of my CBOR library
General Programming
Algorithms
Bernoulli Factory Algorithms
23 Sep 2020 Updated:
2 Sep 2021
Rating: 5.00/5 Votes: 12 Popularity: 5.40
Licence: Public Domain Views: 28,370
Bookmarked: 20
Downloaded: 159
Please
Sign up or sign in
to vote.
Algorithms to turn biased "coin flips" into biased "coin flips", and how to code them.
Partially-Sampled Random Numbers for Accurate Sampling of Continuous Distributions
30 Jun 2020 Updated:
16 Mar 2022
Rating: 5.00/5 Votes: 6 Popularity: 3.89
Licence: Public Domain Views: 28,031
Bookmarked: 9
Downloaded: 2
Please
Sign up or sign in
to vote.
Python code for partially-sampled random numbers for accurate arbitrary-precision sampling
Randomization and Sampling Methods
4 Jun 2017 Updated:
29 Dec 2022
Rating: 4.90/5 Votes: 85 Popularity: 9.37
Licence: Public Domain Views: 198,283
Bookmarked: 123
Downloaded: 2,969
Please
Sign up or sign in
to vote.
Has many ways applications can sample using an underlying (pseudo-)random number generator and includes pseudocode for many of them.
Programming Languages
C#
Concise Binary Object Representation (CBOR) in C#
16 Apr 2015 Updated:
27 Apr 2018
Rating: 4.83/5 Votes: 11 Popularity: 4.83
Licence: Public Domain Views: 40,593
Bookmarked: 15
Downloaded: 253
Please
Sign up or sign in
to vote.
A C# implementation of Concise Binary Object Representation, in the public domain
Markdown
Color Topics for Programmers
23 Aug 2017 Updated:
30 Aug 2020
Rating: 4.89/5 Votes: 89 Popularity: 9.49
Licence: Public Domain Views: 112,049
Bookmarked: 133
Downloaded: 1,428
Please
Sign up or sign in
to vote.
Discusses color spaces, color generation, and other general color topics commonly faced by programmers
Random
The Most Common Topics Involving Randomization
15 Jun 2020 Updated:
29 Dec 2020
Rating: 5.00/5 Votes: 3 Popularity: 2.39
Licence: Public Domain Views: 11,294
Bookmarked: 9
Downloaded: 0
Please
Sign up or sign in
to vote.
Some of the most common random generation questions based on a Q&A site question analysis.
Random Number Generator Recommendations for Applications
5 Mar 2016 Updated:
26 May 2021
Rating: 4.91/5 Votes: 91 Popularity: 9.60
Licence: Public Domain Views: 182,032
Bookmarked: 158
Downloaded: 0
Please
Sign up or sign in
to vote.
Most apps that use random numbers care about either unpredictability, high quality, or repeatability. This article explains the three kinds of RNGs and gives recommendations on each kind.
Web Development
HTML
Graphics Filters for the HTML 3D Canvas
20 May 2015 Updated:
20 May 2015
Rating: 5.00/5 Votes: 2 Popularity: 1.51
Licence: Public Domain Views: 8,262
Bookmarked: 1
Downloaded: 0
Please
Sign up or sign in
to vote.
Explains graphics filters for the HTML 3D canvas, and how they work in my public domain HTML 3D library.
Public-Domain HTML 3D Library
15 Apr 2015 Updated:
21 Apr 2017
Rating: 4.99/5 Votes: 31 Popularity: 7.30
Licence: Public Domain Views: 66,844
Bookmarked: 40
Downloaded: 1,593
Please
Sign up or sign in
to vote.
A public domain JavaScript library for easing the development of HTML 3D applications
Average blogs rating:
No blogs have been submitted.
Average tips rating: 4.71
Programming Languages
Javascript
The "Camera" and the Projection and View Transforms (Public Domain Geometry Utilities Library) [Tip/Trick]
9 May 2015 Updated:
17 Jan 2019
Rating: 4.43/5 Votes: 3 Popularity: 2.11
Licence: Public Domain Views: 15,053
Bookmarked: 4
Downloaded: 0
Please
Sign up or sign in
to vote.
Describes projection and view transforms commonly used in 3D graphics, such as perspective and orthographic transforms
Web Development
HTML
Public Domain Color Picker for HTML [Tip/Trick]
12 May 2015 Updated:
12 May 2015
Rating: 0.00/5 Votes: 0 Popularity: 0.00
Licence: Public Domain Views: 14,041
Bookmarked: 2
Downloaded: 52
Please
Sign up or sign in
to vote.
A public domain JavaScript color picker
Parametric Curves and Surfaces in the Public Domain Geometry Utilities Library [Tip/Trick]
12 May 2015 Updated:
28 Jan 2019
Rating: 5.00/5 Votes: 3 Popularity: 2.39
Licence: Public Domain Views: 19,721
Bookmarked: 5
Downloaded: 0
Please
Sign up or sign in
to vote.
Describes parametric curves and surfaces and how to generate them using my public-domain HTML 3D library
LESS
A LESS Stylesheet Template for Beautiful Typography [Tip/Trick]
1 Sep 2015 Updated:
1 Sep 2015
Rating: 0.00/5 Votes: 0 Popularity: 0.00
Licence: Public Domain Views: 6,612
Bookmarked: 5
Downloaded: 0
Please
Sign up or sign in
to vote.
This page introduces a LESS template that sets fonts and font features for CSS stylesheets.
Average reference rating:
No reference articles have been posted.
Average project rating:
No projects have been posted.
Peter Occil
United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.