From e6a61be86e5c173f1663da153a5f3d9029dc7787 Mon Sep 17 00:00:00 2001
From: Robert Prehn <3952444+prehnRA@users.noreply.github.com>
Date: Thu, 14 Mar 2024 04:28:20 -0500
Subject: [PATCH] Log link: shipping quality software...
---
lib/pre_dot_hn/link_log.ex | 3 ++-
site/link-log.yaml | 12 ++++++++++--
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/lib/pre_dot_hn/link_log.ex b/lib/pre_dot_hn/link_log.ex
index a810a24..27a1328 100644
--- a/lib/pre_dot_hn/link_log.ex
+++ b/lib/pre_dot_hn/link_log.ex
@@ -1,4 +1,5 @@
defmodule PreDotHn.LinkLog do
+ alias PreDotHn.Markdown
use Phoenix.Component
import Phoenix.LiveViewTest, only: [rendered_to_string: 1]
@@ -63,7 +64,7 @@ defmodule PreDotHn.LinkLog do
<%= for link <- @links do %>
<%= link["name"] %>
- <%= Earmark.as_html!(link["summary"]) |> Phoenix.HTML.raw() %>
+ <%= {:safe, Markdown.render(link["summary"])} %>
<% end %>
"""
diff --git a/site/link-log.yaml b/site/link-log.yaml
index 7f1bb3b..b7ac4d5 100644
--- a/site/link-log.yaml
+++ b/site/link-log.yaml
@@ -1,11 +1,19 @@
+- url: https://chaos.guru/essays/2024/hostile-environments/
+ name: "Luka Kladaric: Shipping quality software in hostile environments"
+ summary: |
+ A harrowing tale of fixing an unsustainable software project. I've been there.
+
+ After being there, I agree with one of Luka's takeaways-- you cannot wait for
+ permission to fix maintainability problems in software. You have do it. And if you
+ have to do it quietly and subvert "the process" to make it happen, do it anyway.
- url: https://pando.beehiiv.com/p/javascript-was-slowing-me-down-all-in-on-elixir
name: "Roberto Pando: Javascript was slowing me down. All in on Elixir"
- summary: >
+ summary: |
I love to hear these kind of stories about adopting Elixir. I went through a similar
arc when I moved from Python/Django, to Node, to Ruby/Rails, and finally to Phoenix/Elixir.
- url: https://darthmall.net/weblog/2023/rss/
name: "Evan Sheehan: RSS?"
- summary: >
+ summary: |
There's a swing back to RSS right now, which I think is good. But I also think that Evan's
thoughts here are good. RSS can't be the only solution for how we take in the web. It can't
be the only solution for how we decentralize the web again.