GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Ledmington/personal: An archive of my personal little projects.

BranchesTags
Open more actions menu

Latest commit

 

History

91 Commits
91 Commits

Folders and files

NameName
Last commit message
Last commit date
36_cards
36_cards
 
 
aliquot
aliquot
 
 
bandwidth
bandwidth
 
 
buckets
buckets
 
 
chem_speller
chem_speller
 
 
codegen
codegen
 
 
compression
compression
 
 
conjugate_gradient
conjugate_gradient
 
 
crawler
crawler
 
 
cuthill_mckee
cuthill_mckee
 
 
diet
diet
 
 
disk_bench
disk_bench
 
 
escaping_the_black_hole
escaping_the_black_hole
 
 
gitstats
gitstats
 
 
grover
grover
 
 
kmeans
kmeans
 
 
kruskal_clustering
kruskal_clustering
 
 
lennard_jones
lennard_jones
 
 
lev
lev
 
 
linear_regression
linear_regression
 
 
magicsquare
magicsquare
 
 
matmul
matmul
 
 
merge
merge
 
 
mergesort
mergesort
 
 
min
min
 
 
mincorr
mincorr
 
 
mulper
mulper
 
 
multiply_strings
multiply_strings
 
 
necklace
necklace
 
 
orologio
orologio
 
 
parallel_file
parallel_file
 
 
paroliere
paroliere
 
 
pca
pca
 
 
poly
poly
 
 
quad-tree
quad-tree
 
 
queue
queue
 
 
sea_battle
sea_battle
 
 
secret_code
secret_code
 
 
simulated_annealing
simulated_annealing
 
 
square_packing
square_packing
 
 
trie
trie
 
 
uncertain_value
uncertain_value
 
 
word_guesser
word_guesser
 
 
xor
xor
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

Welcome to Ledmington's personal repository

This repository is an archive for my personal little projects. Too little to get each one a dedicated repo. These programs are mostly implementation of strange data structures or algorithms to beat some real-world games. I usually implement these in a day or two, just for fun. For this reason, they may have some serious bugs. If you happen to find one, please let me know.

I hope you'll find something useful :)

Games

  • 36_cards is a little Python script that calculates the probability of winning a card solitaire game called "36 cards".
  • escaping_the_black_hole is a C++ algorithm which simulates random matches for a board game I invented (which is called "Escaping the Black Hole") in order to find the best deck composition.
  • merge is a minimal "merge" game like Little Alchemy.
  • orologio is a little Python script that calculates the probability of winning a card solitaire game called "Orologio" (the clock).
  • paroliere is a C implementation of a brute-force algorithm that finds all possible italian words in a game of "Paroliere" (it's very similar to Ruzzle).
  • secret_code is a C implementation of an algorithm that wins the game "Secret Code" against you (the game is similar to Mastermind).
  • sea_battle is a Rust implementation of a simple algorithm to win at "Sea Battle" (or Battleships).
  • word_guesser is a simple C game that guesses your word through binary search.

Algorithms and Data Structures

  • buckets is a comparison between different algorithms solving a problem which I think is NP-hard but I cannot find in the literature
  • codegen is a personal java implementation of a simulated annealing algorithm trying to find the optimal code which solves a given problem
  • compression is an attempt to invent a simple compression algorithm based on repeated subsequences of bits: it contains both the original Java implementation and a new C99 implementation
  • conjugate_gradient is a personal Rust implementation of the Conjugate Gradient method and an attempt to make it more stable by using the Kahan sum in the dot product
  • cuthill_mckee is a personal Rust implementation and visualization of the Cuthill-McKee algorithm
  • diet is a personal java implementation of the simplex algorithm applied to solve the "diet problem"
  • disk_bench is a comparison of different disk scheduling algorithms in Rust
  • grover is a small Rust implementation of Grover's quantum search algorithm
  • kmeans is a little Rust implementation of the K-Means algorithm with plot generation.
  • kruskal_clustering is a Rust implementation of a simple clustering algorithm based on Kruskal's algorithm for the minimum vertex cover.
  • lennard_jones is a Rust comparison between a usual gradient descent algorithm and simulated annealing when looking for the global minimum of a Lennard-Jones cluster of N particles
  • lev is a personal C++ implementation of various algorithms to compute the Levenshtein distance and one simple command-line application to find the most similar lines in a file
  • linear_regression is a personal Rust implementation of a linear regressor with a plot of the dataset
  • mergesort is a performance comparison between 5 different C implementations of the Merge-Sort algorithm.
  • min is an experimental non-deterministic minimization algorithm.
  • necklace is a little Python script that compares some algorithms which solve the necklace problem.
  • pca is a personal Rust implementation of a simple algorithm to compute the principal component analysis on an hypercube, project it onto 2d space and then plot it
  • poly is a java implementation of Newton's method to find roots of a polynomial in the complex plane
  • quad_tree is a performance comparison between serial and parallel implementations of the naive algorithm and a quad-tree when counting the collisions between some 2D circles.
  • queue contains my personal implementation of Circular Queue with Fixed Size (CQFS, for short) with tests and a little benchmark.
  • simulated_annealing contains a personal Rust implementation of the Simulated Annealing algorithm applied to the Rosenbrock function, along with a plot of its journey.
  • square_packing is an attempt to find the optimal square packing inside a square for n=12.
  • trie is a C implementation of the "Trie" data structure.
  • xor contains the 128, 256 and 512-bit implementations of the simple XOR hash algorithm.

Others

  • aliquot is a little java program to compute the Aliquot sequence.
  • bandwidth is a personal C/C++ implementation of a memory bandwidth benchmark to be compared to the de-facto standard: STREAM.
  • chem_speller is a python implementation of the algorithm to spell words only with atomic symbols which doesn't cheat unlike the original.
  • crawler is a little Python script that randomly explores all web pages, starting from one link and looking for new URLs inside the HTML code received.
  • gitstats is a little Rust program which generates a plot with the number of files and lines of code over time in a git repository.
  • magicsquare is a parallel C+OpenMP program that searches non-trivial magic squares.
  • matmul is a little benchmark to compare the speed of a naive matrix multiplication between: C++, vectorized C++ (with google highway), Java and vectorized Java (with the Vector API)
  • mincorr is a little C program that finds the array with minimum correlation with a given array.
  • mulper is a little java program to find the smallest numbers with the highest multiplicative persistence.
  • multiply_strings is a little experiment with the concept of "multiplying strings".
  • uncertain_value is a small library trying to implement interval/uncertainty arithmetic to help finding floating-point accuracy losses in algorithms. This little library has later become a project on its own here.

About

An archive of my personal little projects.

Topics

algorithmscdata-structuresgamesjavapythonrust

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.