all repos — website.git @ 982e42a5afe3a3c553be7c35d689d81e1a86f59b

Files for the website.

some real content
Gio e@mail
Sat, 14 Feb 2026 21:34:29 -0500
commit

982e42a5afe3a3c553be7c35d689d81e1a86f59b

parent

71b0af2f96b31d7ea5b153e55e075279ea0722e6

M content/posts/first.mdcontent/posts/first.md

@@ -1,6 +1,7 @@

+++ title = "Debug Post" date = 2024-02-28 +render = false +++ ## First Article
A content/posts/taumeba.md

@@ -0,0 +1,78 @@

++++ +title = "CTF Write Up: Evolution Edition" +date = 2025-09-27 ++++ + +I am choosing to make/post this write-up first because I am particularly fond of the question. +Not often do you see evolutionary biology appear in a cybersecurity competition but here it is. + +## The Problem + +Here you must submit a json file containing a floating point array that represents 100 genomes. +The server scores this genome and if you get the right one within some tolerance you get the flag. +Our team was one of this first to get this problem done, it may not have been immediately obvious to others. + +### Evolutionary Algorithm + +Nature's way of optimizing a space characterized by trillions of variables to an unknowable objective function. +You should consider it impressive, you are a result of this method of optimization. +I implemented it in the following way: select the top ten genomes, duplicate them 10 times with random variation and +resubmit the new 100 genomes to the server. + +## Code +```python +#!/bin/python +import json +import random +import subprocess +import numpy as np + +def generate_samples(num_samples=100, array_length=10): + data = { + "samples": [ + [random.random() for _ in range(array_length)] + for _ in range(num_samples) + ] + } + return data + +def get_genetic_fitness(strains): + result = subprocess.run( + ["nc","chal.sunshinectf.games","25201"], + input=strains.encode(), + capture_output=True + ) + out_text = result.stdout.decode() + print(out_text) + #out_text= string + lines = out_text.splitlines() + fitness = "\n".join(lines[7:]) + return json.loads(fitness) + +def get_studs(fitness,samples): + indices = np.argsort(fitness["scores"])[-10:] + genomes = [] + for i in indices: + genomes.append(samples["samples"][i]) + return genomes + +def generate_new_samples(genomes, repetitions=10, mutation_rate=0.1): + sample_array = [] + for genome in genomes: + for _ in range(repetitions): + sample_array.append([i+random.uniform(-mutation_rate, mutation_rate) for i in genome]) + data = { + "samples": sample_array + } + return data + +if __name__ == "__main__": + taumaeba_strains = generate_samples() + while True: + genetic_fitness = get_genetic_fitness(json.dumps(taumaeba_strains)) + elite_genomes = get_studs(genetic_fitness,taumaeba_strains) + taumaeba_strains = generate_new_samples(elite_genomes) + #json.dumps(samples) +``` + +
A content/posts/tungsten_man.md

@@ -0,0 +1,21 @@

++++ +title = "Drawn Image #1" +date = 2025-02-23 ++++ + +![Image 1](/sketch_7.png) + +## The Process +This is one of the first images I drew where I rendered the image in the style of the painter. +The flesh of the creature was satisfactory to my standards the large sphere of tungsten however was not. +Reflections are hard to get right in the endevours of graphical engineering and art but yield great improvements in realism. +The creature itself was inspired from the stone scholar character from the artbook _Vermis_. + +## The Lore +This is a mascot that promotes the consumption of dietary tungsten, deficiency of which +causes the disease _Ligma_. +He has features designed to appeal to the discerning youth of the world. +The body is being crushed by a tungsten sphere which evokes the "Drop a Large Block of Ice on your Head" +challenge that was popular on _Vine_ back in 2016. +The skin is colored to represent the creatures blood being replaced with microplastic laden water, relating to those who inhaled large quantities of microplastics from disposable vapes. +The bowed legs and unflattering physique of the creature challenges beauty norms by making everyone else attractive in comparison.
M static/style.cssstatic/style.css

@@ -41,7 +41,7 @@ body {

font-family: Hurmit,monospace ; font-size: 13pt; background: #000007 ; - color: #DDDDCE ; + color: #DDDCE8 ; display: grid; justify-content: center; }
M templates/index.htmltemplates/index.html

@@ -14,8 +14,8 @@

{% block content %} {% set posts_section = get_section(path="posts/_index.md") %} -<img src="/winthrop_quotes.jpg" alt="This alt text is in quotes"> -<img src="/Amarna_Chudeological_Expedition.jpg" alt="I wanted the Thor art parody, for some reason its not on Soybooru"> +<!--<img src="/winthrop_quotes.jpg" alt="This alt text is in quotes">--> +<!--<img src="/Amarna_Chudeological_Expedition.jpg" alt="I wanted the Thor art parody, for some reason its not on Soybooru">--> <h2> Recent </h2> <ul> {% for page in posts_section.pages %}