Skip to content

Instantly share code, notes, and snippets.

View gamesguru's full-sized avatar

Shane Jaroch gamesguru

  • USA
View GitHub Profile
@gamesguru
gamesguru / Gemini-_17.md
Last active August 30, 2026 17:28
[GEMINI 3.1 DEEP RESEARCH] Decentralized Finality in Group Management CRDTs: Overcoming the Duelling Admins Problem Through Quorum-Bounded Frontiers and DAG Consensus

From: https://gemini.google.com/u/3/app/42f0b4f0f00e576c?pageId=none

you asked

now as an alternative to Kegan's arbiter-driven resolution, is there a more true peer-to-peer or decentralized solution to finality?

like bounding frontier by a quorum of online nodes (ones with PL > 0, if seeking to trivially avoid 51% attacks). Would this be a viable alternative or complementary solution?

it seems the methods and theories used in blockchain and cryptocurrencies may be relevant, although they require some adaptation to work with fully decentralized, appendable and non-POW based DAGs. I'm sure some researchers have looked into precisely this kind of problem before, tho. So let's dig up the gold waiting out there and find out all there is to know!

{
"old_verify_keys": {},
"server_name": "nutra.tk",
"signatures": {
"nutra.tk": {
"fn-dsa-512:BjDCRkH5l3MJzj-Xu1yq": "Oe3zpD5Av/JsoT51ch+T476Uw7umb2+AjoCRMRDG4w/x+T3k/H3AwiclouSybLvnWMazkqLlNy0XSnIeoqEcwrXRwkDMLjHLUeJvNPnuU3JMwYF4M5+4FW34sip8ZI7aYJA0koqmIOwP1qM5xExNlPuxukW2ORjFOq/B16Ps/iogkM24GKVJ/6bqIPrEg8EGwL6QjlFBcZsCH2IlGFRZM/XiJ9A8xhzDyxk0eb+W9bndSau7DYweifPPFsOtosif/rRGyIcoS0s66Xe41TfOmYdq2Kyzd+zOtq9J0VW2keGYWhB4aNiNYqSaub3UMTuEk77Cn1SPolT7dI604fhjKwuT7X6bRIEXVaFYfnSRmL9VCKudMUdJv6sm1MqdqEEi3VIKIiQ0L1XJFsSkCM4SB362YxScNhHySyK9WNIPecOUmvIY1tFjz2S5sXEfqmp7MsyhmSO5W0MxLvF6h+pUJvXSvemxiYG5v6ox/W0NkU2MNSCuli6U9sKyZxAzNThZ6xvrGv3RcZlMYfeQ7OYbTc7Raec0l5Iyk6twjwQX8RVZdwgqnTGXljtTp0/dpTxss9OZVxBHc4UbwKPZ2sOIkdi8ZKMh1C4RCHZGE6dImEpUiT7RSXGuFSGn4PcFB/qhxHa/FgjImE7ZHBzvHFOGrfG9ZFNoq8SFVJe/X0kaPTZieG/de1JvpOs7QwG2n42VudN7tPN85pDmGUPpC0SryD2eTzj/ex+qrRbxCMGZshOCZJNlPJBrp7idisPqv26z2WON80q5vx5lnUyu72BIJLuEQKji6X3+9RetVzG2dfiUvBnj/jCY2j03lXDb7ru+OJPSiXCVO7t70oqgpS8DlkNMlIMe35IjBO9ZF5x5AA
@gamesguru
gamesguru / state-res-output-unred-vs-m-org.log
Last active May 10, 2026 06:51
unredacted-org vs matrix-org STATE RES [Lobby]
uwu> yolo compare-remote-state !sM2LwqNHGQOgLf35gqxPMy9D7oYde2q9ADg8HPBM3kE unredacted.org matrix.org
Remote State Comparison for !sM2LwqNHGQOgLf35gqxPMy9D7oYde2q9ADg8HPBM3kE:
- Base: unredacted.org (1749 state events)
- at_event: $yK5yFAXGh_9kCsqjpSDgu_8PYrhOm37CNPZs_BXHwq4
--- vs matrix.org:
Only on unredacted.org: 15 Only on matrix.org: 8
IDs only on unredacted.org: [
$0-Rwh5ycT6Hwr9jkoiSsOSKW7HK_xiSrNyCvzh2Whcs (m.room.member @nex:nexy7574.co.uk) 2026-04-07 02:02:29 UTC
$1G1fRRAPaJZulwFUcfWufAu3W0O2lR_NOqvSstTjbMQ (m.room.member @funnyfuse:unredacted.org) 2026-01-28 19:46:13 UTC
@gamesguru
gamesguru / slapstreams.io-injection-script.css
Last active January 22, 2026 00:06
Customize slapstreams to prioritize the video player
/* 1. LAYOUT: Unlock full width for the page */
.container {
max-width: 100% !important;
width: 98% !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
/* 2. LAYOUT: Hide the Sidebar */
.col-md-4.wp-bp-sidebar-width {
@gamesguru
gamesguru / python-user-patch.md
Created January 13, 2026 04:34
Install Python at user level in recent version of macOS and Linux

The trick

mkdir -p ~/.config/pip
vim ~/.config/pip/pip.conf

(Precise location may vary depending on operating system.)

Add the following lines:

@gamesguru
gamesguru / .bashrc
Last active January 10, 2026 23:19
[bug-fix] .bashrc snippet allowing Antigravity/gemini-cli to see standard output
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
if [[ -n "$ANTIGRAVITY_AGENT" ]]; then
export PS1='$ '
unset HISTFILE
unset PROMPT_COMMAND
if [ -z "$ANTIGRAVITY_RECURSION" ]; then
# avoids a loop-crash, in case your ~/.profile calls ~/.bashrc
@gamesguru
gamesguru / rateMyProfessorsDeptAvg.js
Last active May 26, 2025 15:57
Script to load all professors and calculate a department's weighted average for ratings and difficulties.
/** SCORES (RESULTS)
Average rating at Oakland University: 3.12
Average difficulty at Oakland University: 3.56
Based on 123 professors and 4636 ratings in the Mathematics department.
https://www.ratemyprofessors.com/search/professors/716?q=*&did=38
Average rating at Oakland Community College: 3.44
Average difficulty at Oakland Community College: 3.35
Based on 14 professors and 132 ratings in the Mathematics department.
https://www.ratemyprofessors.com/search/professors/11931?q=*&did=38
@gamesguru
gamesguru / khaled-amazon-reading-book-chapters.cpp
Last active December 29, 2025 14:04
Solution to reading a book of chapters within given number of days
#include <bits/stdc++.h>
using namespace std;
int solution(vector<int> arr, int days_til_exam) {
// number of chapters
int n_chaps = arr.size();
// longest chapter
int m = *max_element(arr.begin(), arr.end());
@gamesguru
gamesguru / .screenrc
Created March 17, 2022 18:15
From Chris
defshell -bash
hardstatus alwayslastline
hardstatus string '%{= kw}%-w%{= BW}%50>%n %t%{= kw}%+w%<'
shelltitle ""
multiuser off
vbell_msg "Beep!"
startup_message off
defscrollback 40000
#terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
@gamesguru
gamesguru / .bash_profile
Created March 5, 2021 19:53
bash profile (macOS)
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
[[ -r "/usr/local/etc/bash_completion.d/python-argcomplete" ]] && . "/usr/local/etc/bash_completion.d/python-argcomplete"
_ssh()
{
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts=$(grep '^Host' ~/.ssh/config ~/.ssh/config.d/* 2>/dev/null | grep -v '[?*]' | cut -d ' ' -f 2-)