🦆
CTO of LiveVoice; Consultant for Ruby/Rails projects
-
LiveVoice, Skyrail
- Vienna, Austria
- https://livevoice.io
- https://skyrail.dev
- in/sebi-p
Pinned Loading
-
pca.rb
pca.rb 1# This script implements a very basic PCA (Principal Component Analysis).
2# PCAs are often used as statistical method on data sets to reduce
3# dimensionality / complexity. This is done by finding new features which
4# maximize variance. PCAs can reduce dimensionality down to any number,
5# but lose information within the process. However, most of the time,
-
boids.rb
boids.rb 1# This script simulates flocking behavior of boids (bird-oid objects), based
2# on Craig Reynolds algorithm. Also inspired by: https://eater.net/boids.
3# It could probably be better optimized for performance, e.g. by using
4# Quadtrees. Utilizing the 'matrix' library for vector operations didn't
5# seem to improve speed.
-
phone_unlock_patterns.rb
phone_unlock_patterns.rb 1# This script calculates all possible paths through mobile phone unlock codes.
2# Results are sorted in a depth first manner. There are exactly 389,498
3# valid paths. However, Android only allows paths with length > 3, resulting
4# in only 389,112 paths[1].
5#
-
needleman_wunsch.rb
needleman_wunsch.rb 1# This script is an implementation of the Needleman-Wunsch algorithm for
2# sequence alignment (mostly used for nucleotide or protein sequences in
3# bioinformatics). The algorithm works by first computing a similarity matrix
4# and then backtrack the optimal paths. The scores/penalties for matches,
5# mismatches and gaps can be set. Complexity is O(n*m) where n and m are the
-
pile_of_sand.rb
pile_of_sand.rb 1# This script implements a simple cellular automaton to simulate sand,
2# inspired by the game "Noita". View introduce a grid which holds
3# boolean values (true means there is sand). Then, we define three
4# simple rules how those cells evolve. Finally, we advance this grid
5# over and over to get the simulation.
-
toothpick_sequence.rb
toothpick_sequence.rb 1# This simple script implements the 'Toothpick sequence' from the online
2# encyclopedia of integer sequences: A139250. This pattern was explained
3# in more detail in a Numberphile video.
4#
5# https://oeis.org/A139250
1,912 contributions in the last year
Day of Week | March Mar | April Apr | May May | June Jun | July Jul | August Aug | September Sep | October Oct | November Nov | December Dec | January Jan | February Feb | March Mar | ||||||||||||||||||||||||||||||||||||||||
Sunday Sun | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Monday Mon | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Tuesday Tue | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Wednesday Wed | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Thursday Thu | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Friday Fri | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Saturday Sat |
Less
No contributions.
Low contributions.
Medium-low contributions.
Medium-high contributions.
High contributions.
More
Contribution activity
March 2025
Created an issue in smartinez87/exception_notification that received 7 comments
Healthcheck 🤞
Hey there! I love this gem for its simplicity and that it doesn't introduce any dependencies on other error-reporting platforms. It's really a grea…
7
comments
Started 1 discussion in 1 repository
ddnexus/pagy
ddnexus/pagy
-
Ruby 3.4 Frozen Warning for Pagy Calendar
This contribution was made on Mar 4
116
contributions
in private repositories
Mar 3 – Mar 25