16,016,882 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 .NET 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 CPallini (Articles: 8, Tip/Tricks: 8)
Articles: 8, Tip/Tricks: 8
Articles
Technical Blogs
Tips and Tricks
Reference Articles
Projects
Average article rating: 4.73
Desktop Programming
Win32
Plain C Resampling DLL
19 Dec 2007 Updated:
19 Dec 2007
Rating: 4.86/5 Votes: 40 Popularity: 7.63
Licence: CPOL Views: 201,232
Bookmarked: 53
Downloaded: 4,871
Please
Sign up or sign in
to vote.
A small DLL providing two functions to resample GDI-based bitmap
Internet of Things
Arduino
Wieganduino - Generate Wiegand Codes with Arduino
3 Jul 2018 Updated:
3 Jul 2018
Rating: 4.85/5 Votes: 6 Popularity: 3.77
Licence: CPOL Views: 39,498
Bookmarked: 3
Downloaded: 1,564
Please
Sign up or sign in
to vote.
Generate 26-bit Wiegand codes with Arduino Nano
Heat The Box - Temperature Control with Arduino Nano
7 Aug 2018 Updated:
7 Aug 2018
Rating: 5.00/5 Votes: 10 Popularity: 5.00
Licence: CPOL Views: 28,725
Bookmarked: 9
Downloaded: 431
Please
Sign up or sign in
to vote.
This article describes one of my experiments: a temperature control system for a cartoon box.
Programming Languages
C++
Gauss Newton for Zener
2 Jul 2019 Updated:
3 Jul 2019
Rating: 4.88/5 Votes: 7 Popularity: 4.13
Licence: CPOL Views: 10,864
Bookmarked: 6
Downloaded: 300
Please
Sign up or sign in
to vote.
Using the Gauss Newton method (non linear least squares) for computing the parameters of the exponential model of a Zener diode
LicenceProvider
26 Oct 2006 Updated:
26 Oct 2006
Rating: 4.28/5 Votes: 14 Popularity: 4.45
Licence: CPOL Views: 41,254
Bookmarked: 27
Downloaded: 1,037
Please
Sign up or sign in
to vote.
A small COM component (DLL) enabling scrips to provide Runtime Licence text for ActiveX controls.
Javascript
COMLicenceFinder: A small tool able to retrieve the Runtime Licence text of ActiveX controls
27 Oct 2006 Updated:
27 Oct 2006
Rating: 4.31/5 Votes: 14 Popularity: 4.48
Licence: CPOL Views: 28,694
Bookmarked: 24
Downloaded: 992
Please
Sign up or sign in
to vote.
Explains how to obtain the runtime licence of an ActiveX control in order to use it inside a script.
Shell
King MM - The Joys of a Harmony-less Life - Part 1, PIC32MM "Hello World!"
26 Jul 2017 Updated:
7 Jul 2018
Rating: 4.65/5 Votes: 9 Popularity: 4.44
Licence: CPOL Views: 20,592
Bookmarked: 4
Downloaded: 122
Please
Sign up or sign in
to vote.
Programming Microchip PIC32MM microcontrollers in C++ and assembly
Security
Cryptography
Being 'The Compiler': AES-128 Cipher for 8051, Assembly Implementation
12 Nov 2019 Updated:
14 Nov 2019
Rating: 5.00/5 Votes: 6 Popularity: 3.89
Licence: CPOL Views: 9,742
Bookmarked: 2
Downloaded: 417
Please
Sign up or sign in
to vote.
An assembly implementation of the AES-128 cipher algorithm for the 8051 microcontroller
Average blogs rating:
No blogs have been submitted.
Average tips rating: 4.97
General Programming
Algorithms
Heap Data Structure and Heap Sort [Tip/Trick]
28 Feb 2014 Updated:
3 Mar 2014
Rating: 4.89/5 Votes: 13 Popularity: 5.45
Licence: CPOL Views: 49,814
Bookmarked: 16
Downloaded: 0
Please
Sign up or sign in
to vote.
Simple approach to heap data structure and heapsort, using C and Lua
Programming Languages
Assembler
Fast Integer Square Root For 8051 [Tip/Trick]
28 Dec 2020 Updated:
28 Dec 2020
Rating: 5.00/5 Votes: 7 Popularity: 4.23
Licence: CPOL Views: 10,594
Bookmarked: 1
Downloaded: 69
Please
Sign up or sign in
to vote.
Fast integer square root computation in 8051 assembly
C
Random extraction of 5 cards from a deck [Tip/Trick]
26 Jan 2010 Updated:
26 Jan 2010
Rating: 4.96/5 Votes: 11 Popularity: 5.16
Licence: CPOL Views: 38,938
Bookmarked: 2
Downloaded: 0
Please
Sign up or sign in
to vote.
The question: "How can I extract 5 random cards from a deck?" (or similar), appears every now and then at the C/C++ forum.I use the following method:const int CARDS = 52;int card[CARDS]; // the 'card' array represents all of the cardsint i, deck_cards;// initializationfor (i=0;...
C#
Array-less Numerical Spiral Pattern [Tip/Trick]
19 Nov 2018 Updated:
19 Nov 2018
Rating: 5.00/5 Votes: 8 Popularity: 4.52
Licence: CPOL Views: 17,034
Bookmarked: 5
Downloaded: 179
Please
Sign up or sign in
to vote.
How to generate a spiral numerical pattern without using arrays
Parsing a postfix expression in C#, my naive approach [Tip/Trick]
22 Nov 2010 Updated:
22 Nov 2010
Rating: 5.00/5 Votes: 7 Popularity: 4.23
Licence: CPOL Views: 21,576
Bookmarked: 3
Downloaded: 0
Please
Sign up or sign in
to vote.
There was a request about in Q&A. The question was deleted, anyway I think the subject may be interesting.
C++11
Encrypt and Decrypt using 2x2 Hill Cipher [Tip/Trick]
1 Oct 2017 Updated:
1 Oct 2017
Rating: 5.00/5 Votes: 2 Popularity: 1.51
Licence: CPOL Views: 26,452
Bookmarked: 3
Downloaded: 533
Please
Sign up or sign in
to vote.
C++ implementation of 2x2 Hill cipher
Lua
Counting Occurrences [Tip/Trick]
5 Feb 2014 Updated:
6 Feb 2014
Rating: 4.91/5 Votes: 7 Popularity: 4.15
Licence: CPOL Views: 32,632
Bookmarked: 7
Downloaded: 63
Please
Sign up or sign in
to vote.
A simple algorithm for counting occurrences of symbols in files
Python
Recursive Permutations in Python [Tip/Trick]
28 Jan 2019 Updated:
28 Jan 2019
Rating: 5.00/5 Votes: 6 Popularity: 3.89
Licence: CPOL Views: 38,547
Bookmarked: 8
Downloaded: 0
Please
Sign up or sign in
to vote.
Computing permutations using recursion, in Python, for the absolute beginner
Average reference rating:
No reference articles have been posted.
Average project rating:
No projects have been posted.
CPallini
Software Developer (Senior)
Biotecnica Instruments S.p.A.
Italy
Debugging? Klingons do not debug. Our software does not coddle the weak. Bugs are good for building character in the user.
-- The Klingon programmer
Beelzebub
for his friends
[^]
.