Compare commits

..

4 commits

9 changed files with 470 additions and 403 deletions

18
TAGS.md Normal file
View file

@ -0,0 +1,18 @@
# JOL Taxonomy
Jessica OnLine endorses use of the following taxonomy categories:
* family
* games
* hardware
* howto
* shit's on fire yo
* software
* trans
* review
## Changelog
### 2024-08-25
Added initial list of tags.

File diff suppressed because it is too large Load diff

View file

@ -44,4 +44,8 @@ defmodule JOL.Blog do
posts -> posts
end
end
def format_date(date) do
Calendar.strftime(date, "%Y-%m-%d")
end
end

View file

@ -2,7 +2,7 @@
<%= for post <- @posts do %>
<div class="post-summary">
<p class="post-date"><date><%= post.date %></date></p>
<p class="post-date"><date><%= JOL.Blog.format_date(post.date) %></date></p>
<h3> <.link href={~p"/blog/#{post.slug}"}><%= post.title %> </.link> </h3>
<p><%= raw post.lede %></p>
</div>

View file

@ -4,8 +4,7 @@ defmodule JOLWeb.PageController do
@spec home(Plug.Conn.t(), any()) :: Plug.Conn.t()
def home(conn, _params) do
conn
|> assign(:page_title, "Home")
|> render(:home)
|> render(:home, page_title: "Welcome!", posts: JOL.Blog.recent_posts())
end
def about(conn, _params) do

View file

@ -8,6 +8,16 @@
<p>I write here about those things, about general tech dorkery, and about my experience with being <strong>super</strong> trans and learning who I am.</p>
</div>
<div>
<h2>Recent Posts</h2>
<ul class="recent-posts">
<%= for post <- @posts do %>
<li>
<date><%= JOL.Blog.format_date(post.date) %></date>
<.link href={~p"/blog/#{post.slug}"}><%= post.title %> </.link>
</li>
<% end %>
</ul>
</div>
</div>

View file

@ -0,0 +1,32 @@
+++
slug = "thoughts-on-zed"
title = "Zed: Early Thoughts"
date = 2024-08-24T15:37:07.509694-04:00
draft = false
[taxonomies]
# An array of quoted strings
tags = ["software", "review"]
+++
![](/images/zed-screenshot.png)
I've been using [Zed](https://zed.dev) a bit, and as a software developer on the internet, I have *thoughts.* I'm using it to write Elixir/Phoenix, HTML/CSS, and some Markdown, and it's trying to take the place of the venerable Emacs (running [DOOM](https://github.com/doomemacs/doomemacs).
In no particular order:
* A truly open-source editor! Written in Rust! Finally, a modern editor that isn't a Microsoft embrace/extend/extinguish vector!
* Goddammit is that a Github sign-in link? Shit.
* The built-in vim mode isn't bad, but it pales in comparison to `evil-mode`. Specifically I can't highlight a region and `:%s/search/replace/g` inside it.
* I think having `:` open the command palette is a bad idea. The way one uses the command palette vs vim-style commands has less overlap than you'd think.
* It's pretty! Look I'm not immune to eye-candy, and Emacs has always ranked low in that area.
* I'm not getting anything from elixir-ls. Even *Emacs* automatically installs and sets that up so...y'know, damn. Two demerits, Mr. Zed.
* Same with speling check in things like Markdown files.
* Like most things, it ignores the "Emacs-keys" GTK setting &emdash; not being a GTK app I'm not shocked, but things like Firefox respect it, so it *can* be done. Ctrl-A not going to beginning of line, for instance.
* Not sure I love this though:
![the Zed Roadmap for 2024 includes "embrace AI" as one of the three items on the list.](/images/zed-roadmap-2024.png)
I'm running solo at the moment so I haven't tried any of the "multiplayer" remote-pairing stuff. I *believe* it's behind a Github-login though, and I wish that weren't the case.
Overall: three stars, worthy of your time and attention, also please stop using Microsoft products.

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB