From 991128cb3f74da808998a3678bab4a1045e37568 Mon Sep 17 00:00:00 2001 From: trimill Date: Tue, 28 Jan 2025 12:32:04 -0500 Subject: [PATCH] update website --- .gitignore | 3 ++- flaskr/templates/index.html | 5 ++-- flaskr/templates/projects.html | 26 ++++++++++++------- .../templates/projects/converter/measures.js | 18 +++++++------ requirements.txt | 8 ++++++ 5 files changed, 38 insertions(+), 22 deletions(-) create mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore index c92b71a..0d5da6e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ venv/ -*/__pycache__/ \ No newline at end of file +*/__pycache__/ +init/ diff --git a/flaskr/templates/index.html b/flaskr/templates/index.html index 1b21999..d631795 100644 --- a/flaskr/templates/index.html +++ b/flaskr/templates/index.html @@ -12,9 +12,8 @@

Projects

@@ -24,7 +23,7 @@

Contact

Email: trimill@trimillxyz.org
- Discord: trimill#6898
+ Discord: trimill
Matrix: @trimill:matrix.org
Forgejo: trimill
GitHub: trimill
diff --git a/flaskr/templates/projects.html b/flaskr/templates/projects.html index b208ddf..adc0df5 100644 --- a/flaskr/templates/projects.html +++ b/flaskr/templates/projects.html @@ -9,19 +9,11 @@ using WASM and WebGPU.

-

Talc

+

Talc

Talc is a procedural/functional programming language implemented in Rust. It supports several numeric types, first-class functions, file I/O, string manipulation, exceptions, - and several other features. -

- -

Quectocraft

-

- Quectocraft is an extensible, ultra-minimalist implementation of a Minecraft server. - By doing away with most features of the vanilla server (such as world generation and - interaction) it can run without consuming many system resources. It is written primarily - in Rust, but can load simple plugins written in Lua to add chat features and commands. + and several other features. See the docs here.

RSS Bundler

@@ -36,6 +28,20 @@ fiction project. It is written in JavaScript and uses D3.js.

+

Quectocraft

+

+ Quectocraft is an extensible, ultra-minimalist implementation of a Minecraft server. + By doing away with most features of the vanilla server (such as world generation and + interaction) it can run without consuming many system resources. It is written primarily + in Rust, but can load simple plugins written in Lua to add chat features and commands. +

+ +

Turmites

+

+ Turmite visualizer written in C using Raylib. +

+ +

complexpr

Complexpr is a toy programming language with an interpreter written in Rust. It is dynamically typed, with diff --git a/flaskr/templates/projects/converter/measures.js b/flaskr/templates/projects/converter/measures.js index ebd76f6..58db3c6 100644 --- a/flaskr/templates/projects/converter/measures.js +++ b/flaskr/templates/projects/converter/measures.js @@ -1,15 +1,15 @@ let length = { - units: ['Picometer', 'Nanometer', 'Micrometer', 'Millimeter', 'Centimeter', - 'Decimeter', 'Meter', 'Decameter', 'Hectometer', 'Kilometer', 'Megameter', - 'Gigameter', 'Barleycorn', 'Thou', 'Digit', 'Inch', 'Palm', 'Stick', 'Hand', + units: ['Quectometer', 'Rontometer', 'Yoctometer', 'Zeptometer', 'Attometer', 'Femtometer', 'Picometer', 'Nanometer', 'Micrometer', 'Millimeter', 'Centimeter', + 'Decimeter', 'Meter', 'Decameter', 'Hectometer', 'Kilometer', 'Megameter', 'Gigameter', 'Terameter', 'Petameter', 'Exameter', 'Zettameter', 'Yottameter', 'Ronnameter', 'Quettameter', + 'Barleycorn', 'Thou', 'Digit', 'Inch', 'Palm', 'Stick', 'Hand', 'Link', 'Foot', 'Yard', 'Rod', 'Fathom', 'Chain', 'Shackle', 'Cable', 'Furlong', 'Mile', 'Nautical Mile', 'League', 'AU', 'Light-Year', 'Smoot'], common: 'Meter', ctype: 'mul', select: ['Meter', 'Foot'], - conversions: [1e-12, 1e-9, 1e-6, 0.001, 0.01, - 0.1, 1, 10, 100, 1000, 1e+6, - 1e+9, 127/15000, 0.0000254, 0.01905, 0.0254, 0.0508, 0.0762, 0.1016, + conversions: [1e-30, 1e-27, 1e-24, 1e-21, 1e-18, 1e-15, 1e-12, 1e-9, 1e-6, 0.001, 0.01, + 0.1, 1, 10, 100, 1000, 1e+6, 1e+9, 1e+12, 1e+15, 1e+18, 1e+21, 1e+24, 1e+27, 1e+30, + 127/15000, 0.0000254, 0.01905, 0.0254, 0.0508, 0.0762, 0.1016, 0.201168, 0.3048, 0.9144, 5.0292, 1.852, 20.1168, 27.432, 185.2, 201.168, 1609.344, 1852, 4828.032, 149597870700, 9460730472580800, 1.7], custom: [['Foot', 'Inch', 12], ['Yard', 'Foot', 3], ['Mile', 'Foot', 5280], @@ -96,10 +96,12 @@ let energy = { } let computing = { - units: ['Bit', 'Kibibit', 'Kilobit', 'Mebibit', 'Megabit', 'Gibibit', 'Gigabit', 'Tebibit', 'Terabit', 'Pebibit', 'Petabit', 'Ebibit', 'Exabit', 'Zebibit', 'Zettabit', 'Yobibit', 'Yottabit', 'Nibble', 'Byte', 'Kibibyte', 'Kilobyte', 'Mebibyte', 'Megabyte', 'Gibibyte', 'Gigabyte', 'Tebibyte', 'Terabyte', 'Pebibyte', 'Petabyte', 'Ebibyte', 'Exabyte', 'Zebibyte', 'Zettabyte','Yobibyte', 'Yottabyte'], + units: ['Bit', 'Kibibit', 'Kilobit', 'Mebibit', 'Megabit', 'Gibibit', 'Gigabit', 'Tebibit', 'Terabit', 'Pebibit', 'Petabit', 'Ebibit', 'Exabit', 'Zebibit', 'Zettabit', 'Yobibit', 'Yottabit', 'Ronnabit', 'Ronnabyte', 'Quettabit', 'Quettabyte', 'Nibble', 'Byte', 'Kibibyte', 'Kilobyte', 'Mebibyte', 'Megabyte', 'Gibibyte', 'Gigabyte', 'Tebibyte', 'Terabyte', 'Pebibyte', 'Petabyte', 'Ebibyte', 'Exabyte', 'Zebibyte', 'Zettabyte','Yobibyte', 'Yottabyte', 'Robibit', 'Robibyte', 'Quebibit', 'Quebibyte'], common: 'Byte', ctype: 'mul', select: ['Gigabyte', 'Megabyte'], - conversions: [1/8, 2**7, 10**3/8, 2**17, 10**6/8, 2**27, 10**9/8, 2**37, 10**12/8, 2**47, 10**15/8, 2**57, 10**18/8, 2**67, 10**21/8, 2**77, 10**24/8, 1/2, 1, 2**10, 10**3, 2**20, 10**6, 2**30, 10**9, 2**40, 10**12, 2**50, 10**15, 2**60, 10**18, 2**70, 10*21, 2**80, 10**24], + conversions: [ + 1/8, 2**7, 10**3/8, 2**17, 10**6/8, 2**27, 10**9/8, 2**37, 10**12/8, 2**47, 10**15/8, 2**57, 10**18/8, 2**67, 10**21/8, 2**77, 10**24/8, 2**87, 10**27/8, 2**97, 10**30/8, + 1/2, 1, 2**10, 10**3, 2**20, 10**6, 2**30, 10**9, 2**40, 10**12, 2**50, 10**15, 2**60, 10**18, 2**70, 10*21, 2**80, 10**24, 2**90, 10**27, 2**100, 10**30], custom: [] } diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..ac922ad --- /dev/null +++ b/requirements.txt @@ -0,0 +1,8 @@ +blinker==1.9.0 +click==8.1.8 +Flask==3.1.0 +itsdangerous==2.2.0 +Jinja2==3.1.5 +markdown2==2.5.3 +MarkupSafe==3.0.2 +Werkzeug==3.1.3