Skip to content

Commit

Permalink
Install lightweight version of Emacs.
Browse files Browse the repository at this point in the history
  • Loading branch information
wmedrano committed May 14, 2024
1 parent 3b86fc2 commit 47646b2
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install Deps
run: |
sudo apt-get update
sudo apt-get -y install emacs
sudo apt-get -y install emacs-nox
- name: Checkout
uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion build.el
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The static site is output into the site directory."
:sitemap-filename "index.org"
:html-link-home "/.."
:html-link-up "./index.html")))
(org-html-head "<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\"/>")
(org-html-head "<link rel=\"stylesheet\" type=\"text/css\" href=\"/style.css\"/>")
(org-html-validation-link nil))
(org-publish-project "wmedrano-site" nil)
(copy-file "src/style.css" "site/style.css" t)))
Expand Down
52 changes: 28 additions & 24 deletions src/posts/gitlab.org
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
GitHub and GitLab are code hosting platforms. After using both, I
prefer to keep my solo development needs on GitHub. It's not that
GitHub is significantly better than GitLab, but its slightly better
and lets be get back to focusing on my dev work.
and lets me get back to focusing on my dev work.

* Basics
:PROPERTIES:
Expand All @@ -35,33 +35,35 @@ For my hobbyist needs, they both:
:CUSTOM_ID: Considerations-gackdb9067k0
:END:

** Speed
** Latency
:PROPERTIES:
:CUSTOM_ID: CategoriesSpeed-d8ci1d9067k0
:END:

GitHub just feels snappier. I can't help but get annoyed at how
sluggish page loads are in GitLab. Doing a quick comparison, I found
that loading the "Changes" tab for a Merge Request takes about ~2.5s~
before any reviewable code appears on the screen. Similarly, GitHub
takes about ~1.0s~ to display code.
sluggish page loads are in GitLab. Doing a quick comparison of the
code review page, I found that GitLab takes about 2.5s while GitHub
only takes around 1.0s before displaying any code.

Really, this is the make or break feature for most of my usage. The
sluggishness of GitLab gives my mind enough time to wander and get
bored. This is especially bothersome for the moments where I'm locked
in and highly productive.
in and highly productive. Most people may not mind, but I'm pretty
sensitive to latency.


** Community
:PROPERTIES:
:CUSTOM_ID: CategoriesCommunity-3eei1d9067k0
:END:

Community is pretty important for the small libraries I
develop. Although I have no expectation that anyone will use my niche
library, it does happen from time to time. Its always a good feeling
when someone contributes back a great feature to even a niche library
like [[https://github.com/wmedrano/livi-rs][livi-rs]].
Surprisingly, some of the small libraries I use have had a small
amount of success in the open source community. Although I had no
expectation that anyone would find, or even use my libraries, it's
satisfying when someone finds my library and finds it useful. It's
even more satisfying when someone contributes back a good feature to
even a small library like
[[https://github.com/wmedrano/livi-rs][livi-rs]].

GitHub's community eclipses GitLab. Anecdotally, I've noticed most
projects I use or have had any contribution to tend to be on
Expand All @@ -74,12 +76,14 @@ appreciate contributors.
:CUSTOM_ID: CategoriesCommunityLibraryEngagementCaveats-1nxih7a067k0
:END:

All of my libraries are on GitHub while I only have binaries on
GitLab. Libraries tend to attract at least a few users so it may be
worth it to experiment with the amount of engagement the equivalent
GitLab package would have. Unfortunately, Open Source development is
only a side project as my main job eats most of my development time
and energy.
All of my libraries are on GitHub while I only have few prototype
binaries on GitLab. Libraries tend to attract at least a few users so
it may be worth it to experiment with the amount of engagement the
equivalent GitLab package would have. Unfortunately, Open Source
development is only a side project as my main job eats most of my
development time and energy. Despite this, it does feel like the
libraries on find on GitHub tend to have more contributor than the
ones on GitLab.


** CI
Expand All @@ -100,10 +104,10 @@ a few other cases.

GitLab's ecosystem is a bit more barebones. You write YAML that also
executes commands, but there is no ecosystem of actions/commands like
GitHub. Unpopular opinion, but I prefer not having to import magical
actions to accomplish tasks. GitLab also had the extra benefit that
you can provide specific artifacts/files/directories and export
them. I used this to surface code coverage and test
GitHub. Unpopular opinion, but I prefer not using magical actions
(specific to GitHub) to accomplish tasks. GitLab also had the extra
benefit that you can provide specific artifacts/files/directories and
export them. I used this to surface code coverage and test
results. Additionally, I ran benchmarks in the CI which exported
HTML. The frontend was then able to provide a link to the HTML.

Expand All @@ -122,8 +126,8 @@ request.
I'm not an expert in security or reliability. I also don't use GitHub
or GitLab at my professional work. However, I see more headlines about
GitLab going down. Some famous incidents include GitLab calling
deleting its database [[https://news.ycombinator.com/item?id=13537052][[hackernews post]​]] or tthe password reset exploit
[[https://thehackernews.com/2024/05/cisa-warns-of-active-exploitation-of.htm][[hackernews post]​]].
deleting its database [[https://news.ycombinator.com/item?id=13537052][(hackernews post)]] or tthe password reset exploit
[[https://news.ycombinator.com/item?id=39159002][(hackernews post)]].


** Features & UX
Expand Down
7 changes: 5 additions & 2 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.content {
padding: 1rem
body {
margin: auto;
max-width: 50rem;
padding: 1rem;
font-family: verdana, sans;
}

0 comments on commit 47646b2

Please sign in to comment.