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...]

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 / 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: [email protected]

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 / Golden_Paths_Knowledge_Management.md
Last active April 18, 2024 13:06
Golden Paths and Knowledge Management from the trenches

Context

Starting from my conversations with SJ and my Underlay Discourse notice "Ideas for community engagement" (a mashup on a Jupyter Binder contraption, Spotify Documentation as Code "Golden Paths" concept and value-based architecture), I was encouraged to write an article/essay/paper/something for KFG Commonplace microjournal on the topic of Golden Paths and "self-documenting solutions".

I find the topic very engaging, and having wrestled with wikis and knowledge management in general, as well as from a bit of research discovering the "documentation as code" concept, I would like to fashion something readable in that domain.

As I just created a pubpub profile, and can't create a commonplace pub (or know where to put it), I'll sta

@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
@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 / 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])