Skip to content

Instantly share code, notes, and snippets.

View UncleCJ's full-sized avatar

Carl-Johan Sveningsson UncleCJ

View GitHub Profile

Hello dear, this got stuck in drafts, but I'm happy to finish it finally :-)

As I said, I've got a number of different thoughts I'd love to have in the mix. Do with them what you want, I hope they are useful.

I love the thought of the gnomes and making IT tangible through liberal anthropomorphizing. I think you know of Scandinavia and The World comic and maybe Hetalia, that could provide some inspiration.

ComputerCraft EDU v2 (version 2 has the simplified GUI) is very cute. Combining programming with Minecraft is a pretty promising environment to learn programming: http://youtu.be/ADTb6ifxWxw

When I searched for Curly Bracket ( http://curlybracket.se/ ) I found a pretty fun series from Swedish Radio P1: http://sverigesradio.se/sida/avsnitt?programid=4741

SMSTO:+46734481314:Skutan Foosball result: <Scania ID red player 1> <Scania ID blue player 1> [<Scania ID red player 2> <Scania ID blue player 2>] <Red score>-<Blue score> [duration, time, setting, heckling etc...]
@UncleCJ
UncleCJ / Manifesto for the change work we need.md
Last active July 7, 2020 20:32
A draft around which to structure my personal project to disrupt Git usage and training

I have been using and coaching teams on using Git since 2009 - and in this particular summer of 2020, my experience has made me as if pregnant with a change work gospel (centered around Git). I intend this as a brief draft of what I want to achieve.

You are very welcome to get in touch, contribute to or collaborate on this. Many parts I would like to make Open Source - though this is also my profession and I intend to sell coaching in this area. Find me here on GitHub, twitter or email: cj.sveningsson@gmail.com

Some perspectives I'd like to address:

  1. Developers must have effective paths to progress from inexperienced to craftsperson
  2. The crucial role of change work in systems development should be connected with adjacent fields such as lean, agile, clean code, architecture etc.
  3. Change work must be described in the modern contexts and tools people recognize
  4. Jargon and references to Git-specific concepts should be minimized, and the

Drafting scope for now:

  • Family trees
    • GEDCOM, new formats, proprietary eg. in FamilyTreeDNA web
    • Other genealogists
    • More or less reliable public collections
    • Higher order methods such as ancestral recombination graphs and tree sequences (combines with genetics)
    • Hard, factual relationship structure
    • Unified mesh out of the primitive mother-father-child motif
  • Genetics
@UncleCJ
UncleCJ / README.md
Last active July 29, 2022 11:17
The games I play

The games I (we) play

Hey, welcome! Would you like to enjoy some game with me (us)?

There are a few different places where we can connect:

  1. Steam - Find me as UncleCJ or use my Friend Code 64692491
  2. Board Game Arena - Find me as UncleCJ or the profile 87081256
  3. Tabletopia - I'm UncleCJ or the profile 1435719. Note: I mistakingly created another profile connected to my facebook account, will get rid of that
  4. Nintendo Switch Online - haven't played multiplayer online, but our user is CJenny

How to use Gephi to visualize from Wikidata

I'm a long-time fan of the graph visualization tool Gephi and since Wikimania 2019 I got involved with Wikidata. I was aware of the Gephi plugin "Semantic Web Importer", but when I check it out, I only find old tutorials connecting to DBpedia, not Wikidata:

@UncleCJ
UncleCJ / colorcodes.py
Created April 12, 2024 19:17
Script to generate color codes from the color wheel to be used with an... ancestral wheel
from typing import Tuple
from colorsys import rgb_to_hsv, hsv_to_rgb
def hex_to_floats(h: str) -> Tuple[float, float, float]:
i = int(h, 16)
return tuple(
(i // 256 ** position & 255)
/ 255
for position in [2, 1, 0])
@UncleCJ
UncleCJ / GEDCOM-MyHeritage-sanitation.sh
Last active April 14, 2024 08:33
I frequently need to migrate my family tree from its main location in MyHeritage to the Gramps application. MyHeritage has a number of issues in its gedcom export, such as inconsistent line endings and even (swedish) multibyte UTF-8 characters broken over multiple lines (within gedcom notes). Using this as a filter - I lose less data. Finalize w…
#!/usr/bin/env bash
# See https://www.gramps-project.org/wiki/index.php/Gramps_and_GEDCOM
set -Eeuo pipefail
for COMMAND in dos2unix sed tr grep
do
if ! command -v $COMMAND &> /dev/null
then
@UncleCJ
UncleCJ / SuperTool-Note-Regex-Collator
Created April 16, 2024 14:18
One of my first attempts at a somewhat advanced Gramps SuperTool script. Gramps is an open source genealogy software, and the purpose of this script is to iterate over a number of Citations (or anything which holds notes), matching, rewriting and summarising matches to a list of regular expressions. In this case, one regex match NAD citations an…
[Gramps SuperTool script file]
version=1
[title]
SuperTool-Note-Regex-Collator
[description]
[category]
Citations