mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Wed Dec 18 03:25:44 EET 2024
Signed-off-by: Ari Archer <ari@ari.lt>
This commit is contained in:
parent
0b2e0d6c69
commit
e89bf4e973
3 changed files with 12 additions and 12 deletions
File diff suppressed because one or more lines are too long
|
@ -30,7 +30,7 @@
|
||||||
"width": 1290,
|
"width": 1290,
|
||||||
"height": 870,
|
"height": 870,
|
||||||
"alt": "A screenshot of a badly written blog post where most of the content is striked through and full of updates",
|
"alt": "A screenshot of a badly written blog post where most of the content is striked through and full of updates",
|
||||||
"purpose": "To illustrate the old \"Rust bad\" blog post from the legacy Ari-web blog.",
|
"purpose": "To illustrate the old \"Rust bad\" blog post from the legacy Ari-web blog",
|
||||||
"title": "Screenshot of \"Rust bad\"",
|
"title": "Screenshot of \"Rust bad\"",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"credit": "Ari Archer",
|
"credit": "Ari Archer",
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
"width": 2730,
|
"width": 2730,
|
||||||
"height": 1650,
|
"height": 1650,
|
||||||
"alt": "A multiplexed terminal window. The left pane shows a Cargo project setup of a simple game where it is installing 19 crates because we require the `rand` crate. The right pane shows the output binary, despide being advertised as static, depending on other standard dynamic libraries, as well as Cargo's large cache sizes",
|
"alt": "A multiplexed terminal window. The left pane shows a Cargo project setup of a simple game where it is installing 19 crates because we require the `rand` crate. The right pane shows the output binary, despide being advertised as static, depending on other standard dynamic libraries, as well as Cargo's large cache sizes",
|
||||||
"purpose": "To show the dependency hell and complexity of Rust as well as its size.",
|
"purpose": "To show the dependency hell and complexity of Rust as well as its size",
|
||||||
"title": "The Rustlang experience",
|
"title": "The Rustlang experience",
|
||||||
"license": "CC0-1.0",
|
"license": "CC0-1.0",
|
||||||
"credit": "Ari Archer",
|
"credit": "Ari Archer",
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
"width": 750,
|
"width": 750,
|
||||||
"height": 1200,
|
"height": 1200,
|
||||||
"alt": "The image illustrates the compilation times and binary sizes of a simple random number guessing game written in C and C++ through a terminal window. Two commands were run: the first one shows the compile time and binary size of the C version, and the C++ version is below showing the same information. The C++ one is slower to compile, but the size remains 14 KB",
|
"alt": "The image illustrates the compilation times and binary sizes of a simple random number guessing game written in C and C++ through a terminal window. Two commands were run: the first one shows the compile time and binary size of the C version, and the C++ version is below showing the same information. The C++ one is slower to compile, but the size remains 14 KB",
|
||||||
"purpose": "To juxtaposition Rust's apprach to a simple game with the simple approach C and C++ take.",
|
"purpose": "To juxtaposition Rust's apprach to a simple game with the simple approach C and C++ take",
|
||||||
"title": "C and C++ compilation times and binary sizes of a simple game",
|
"title": "C and C++ compilation times and binary sizes of a simple game",
|
||||||
"license": "CC0-1.0",
|
"license": "CC0-1.0",
|
||||||
"credit": "Ari Archer",
|
"credit": "Ari Archer",
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
"width": 400,
|
"width": 400,
|
||||||
"height": 400,
|
"height": 400,
|
||||||
"alt": "A quote by Terry A. Davis: \"An idiot admires complexity, a genius admires simplicity\"",
|
"alt": "A quote by Terry A. Davis: \"An idiot admires complexity, a genius admires simplicity\"",
|
||||||
"purpose": "To highlight the idea that intelligent individuals tend to appreciate straightforward solutions rather than convoluted ones, while less knowledgeable people may find complexity impressive simply because they do not understand it.",
|
"purpose": "To highlight the idea that intelligent individuals tend to appreciate straightforward solutions rather than convoluted ones, while less knowledgeable people may find complexity impressive simply because they do not understand it",
|
||||||
"title": "Terry A. Davis quote",
|
"title": "Terry A. Davis quote",
|
||||||
"license": "CC-BY-SA-4.0",
|
"license": "CC-BY-SA-4.0",
|
||||||
"credit": "Ari Archer (image), Terry A. Davis (quote)",
|
"credit": "Ari Archer (image), Terry A. Davis (quote)",
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
"width": 640,
|
"width": 640,
|
||||||
"height": 563,
|
"height": 563,
|
||||||
"alt": "A meme. At the top, black on white, the text reads \"Three generations of languages that will replace C\". Below the text, there's 3 men of differing ages around a couch. The oldest man has a text box above him with the PASCAL logo, middle-aged man - Java, and the youngest one of 3 - Rust logo",
|
"alt": "A meme. At the top, black on white, the text reads \"Three generations of languages that will replace C\". Below the text, there's 3 men of differing ages around a couch. The oldest man has a text box above him with the PASCAL logo, middle-aged man - Java, and the youngest one of 3 - Rust logo",
|
||||||
"purpose": "For irony purposes, to illustrate how people keep trying to \"replace C\" but never really do.",
|
"purpose": "For irony purposes, to illustrate how people keep trying to \"replace C\" but never really do",
|
||||||
"title": "3 generations of languages that \"replaced C\" (they didn't)",
|
"title": "3 generations of languages that \"replaced C\" (they didn't)",
|
||||||
"license": "Unknown",
|
"license": "Unknown",
|
||||||
"credit": "Author unknown",
|
"credit": "Author unknown",
|
||||||
|
@ -95,7 +95,7 @@
|
||||||
"width": 1320,
|
"width": 1320,
|
||||||
"height": 1020,
|
"height": 1020,
|
||||||
"alt": "A screenshot of a Rust example that intentionally causes a Rust panic by creating an error in the borrow checker at runtime. The compiler has a couple of warnings regarding unused variables, and after compiling the binary and running it, rust throws a borrow checker error",
|
"alt": "A screenshot of a Rust example that intentionally causes a Rust panic by creating an error in the borrow checker at runtime. The compiler has a couple of warnings regarding unused variables, and after compiling the binary and running it, rust throws a borrow checker error",
|
||||||
"purpose": "To show the runtime costs of Rust and its compiler not saying anything about a clear error in borrowing.",
|
"purpose": "To show the runtime costs of Rust and its compiler not saying anything about a clear error in borrowing",
|
||||||
"title": "Rust runtime costs",
|
"title": "Rust runtime costs",
|
||||||
"license": "CC0-1.0",
|
"license": "CC0-1.0",
|
||||||
"credit": "Ari Archer",
|
"credit": "Ari Archer",
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
"width": 960,
|
"width": 960,
|
||||||
"height": 204,
|
"height": 204,
|
||||||
"alt": "The search page on crates.io querying for \"random number\". The returned page states that there are 2077 total results for \"random number\" libraries",
|
"alt": "The search page on crates.io querying for \"random number\". The returned page states that there are 2077 total results for \"random number\" libraries",
|
||||||
"purpose": "To illustrate the overwhelming choice in the Rust ecosystem that even simple things like random number generators have over 2000 choices of libraries.",
|
"purpose": "To illustrate the overwhelming choice in the Rust ecosystem that even simple things like random number generators have over 2000 choices of libraries",
|
||||||
"title": "Rust's choice of random number generators",
|
"title": "Rust's choice of random number generators",
|
||||||
"license": "CC0-1.0",
|
"license": "CC0-1.0",
|
||||||
"credit": "Ari Archer",
|
"credit": "Ari Archer",
|
||||||
|
@ -121,7 +121,7 @@
|
||||||
"width": 640,
|
"width": 640,
|
||||||
"height": 482,
|
"height": 482,
|
||||||
"alt": "The Simpsons meme format where Homer closes the garage door on Flanders as he tries to talk to Homer. From top left the first pannel reads \"Have you heard about Rust?\" as the door begins closing. Second pannel reads \"Did you know that you can write safe code with it\" as the door is half-closed, then in the 3rd pannel - \"Without memory leaks and with high performance?\". The door finally closes and Homer looks at peace",
|
"alt": "The Simpsons meme format where Homer closes the garage door on Flanders as he tries to talk to Homer. From top left the first pannel reads \"Have you heard about Rust?\" as the door begins closing. Second pannel reads \"Did you know that you can write safe code with it\" as the door is half-closed, then in the 3rd pannel - \"Without memory leaks and with high performance?\". The door finally closes and Homer looks at peace",
|
||||||
"purpose": "To illustrate how hype leads to negative perception of the Rust community in a meme format.",
|
"purpose": "To illustrate how hype leads to negative perception of the Rust community in a meme format",
|
||||||
"title": "Have you heard about Rust?",
|
"title": "Have you heard about Rust?",
|
||||||
"license": "Unknown",
|
"license": "Unknown",
|
||||||
"credit": "Author unknown",
|
"credit": "Author unknown",
|
||||||
|
|
|
@ -1905,10 +1905,10 @@ def media(config: dict[str, typing.Any]) -> int:
|
||||||
MEDIA_INDEX[hash_hex].update(
|
MEDIA_INDEX[hash_hex].update(
|
||||||
{
|
{
|
||||||
"alt": iinput("alt text").strip("."),
|
"alt": iinput("alt text").strip("."),
|
||||||
"purpose": purpose,
|
"purpose": purpose.strip("."),
|
||||||
"title": title,
|
"title": title.strip("."),
|
||||||
"license": license,
|
"license": license,
|
||||||
"credit": credit,
|
"credit": credit.strip("."),
|
||||||
"ext": ext,
|
"ext": ext,
|
||||||
"mime": mime,
|
"mime": mime,
|
||||||
"uploaded": datetime.datetime.utcnow().timestamp(),
|
"uploaded": datetime.datetime.utcnow().timestamp(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue