summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-07-29 01:21:06 +0200
committermms <michal@sapka.me>2024-07-29 01:21:06 +0200
commit59c1bd35f72287109fe2dac254f193b0ce0b7edb (patch)
tree915155413e06700da1ab369db730f673056f0330
parentf864511fe699fec99da4c45b37f17600f3516e71 (diff)
feat(index): emacs content
-rw-r--r--content-org/blog.org31
-rw-r--r--layouts/partials/homepage/emacs.html24
2 files changed, 43 insertions, 12 deletions
diff --git a/content-org/blog.org b/content-org/blog.org
index 27b7954..7ee231d 100644
--- a/content-org/blog.org
+++ b/content-org/blog.org
@@ -8,13 +8,42 @@
#+HUGO_SECTION: blog
-* 2024 [53/53] :@blog:
+* 2024 [53/54] :@blog:
:PROPERTIES:
:EXPORT_HUGO_SECTION: blog/2024
:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :image_dir "blog/images" :image_max_width 600
:EXPORT_HUGO_PAIRED_SHORTCODES: image yt
:END:
+** TODO Never invest in DRM-ed content
+When I was young and dumb, I bought a few movies on iTunes.
+I can still access them, as long as I have my AppleTV (which is it's last days).
+But I will never invest in an Apple Device unless Tim Cook resigns and someone makes a 180* for the company.
+
+I *bought* them, but I don't own them.
+All of this is becasue DRM.
+And breaking DRM is a crime, as per DMCA.
+
+In a completely unrelated news, Louis Rossmann talks about people loosing access to their bought online content.
+
+https://www.youtube.com/watch?v=RtTdOBCLsyo
+
+It's not that I am against digital purchases, but they need to be *[[/blog/2023/digital-ownership/][purchases]]*.
+Not a file poisoned by DRM, which removes any ownership.
+
+As with most of modern computer software, the crime is the only way forward.
+If you want to pay for something, be it on Steam of iTunes, you need to break the DRM.
+
+But the solution is simple: never buy anything that has any form of DRM.
+It's better to subscribe to something like Netflix.
+It still sucks, but at least they don't lie in your face.
+
+The better solution: purchase directly from authors (if there is an option) and download illegal copies of anything else.
+You can /share/ them with your friends!
+For this you need to buy hardware that is not locked, so no consoles or popular mobile phones - which is an additional plus!
+
+Also: don't call it piracy, this word implies that you made something immoral.
+Pirates murdered people!
** DONE Crowd Strike and single point of failure
CLOSED: [2024-07-22 Mon 21:35]
diff --git a/layouts/partials/homepage/emacs.html b/layouts/partials/homepage/emacs.html
index 4724e6d..0211e31 100644
--- a/layouts/partials/homepage/emacs.html
+++ b/layouts/partials/homepage/emacs.html
@@ -1,15 +1,15 @@
{{- $file := "emacs-logo.png" }}
{{- $path := printf "content_images/%s" $file}}
{{- $img := resources.Get $path }}
-{{- $img1x := $img.Resize "50x webp" }}
-{{- $img2x := $img.Resize "100x webp" }}
+{{- $img1x := $img.Resize "100x webp" }}
+{{- $img2x := $img.Resize "200x webp" }}
<section class="emacs">
<h2 id="emacs"><a href="#emacs">Emacs</a></h2>
- <div style="display: flow-root; vertical-align: middle;">
+ <div style="display: flow-root; vertical-align: top;">
<img
alt="Emacs logo"
- style="float: left; max-width: 20%; margin-right: 10px;"
+ style="float: right; max-width: 20%; margin-right: 20px;"
src="{{ $img1x.Permalink }}"
srcset="
{{ $img1x.Permalink }} 1x,
@@ -18,12 +18,14 @@
width="{{ $img1x.Width }}"
height="{{ $img1x.Height }}"
>
-
- After years of using (neo)vim, I've migrated fully to Emacs.
- Funny thing about this editor is that it's not only an editor but a style of life.
-
- </p>
- </div>
- {{ partial "menu.html" (dict "menuID" "emacs" "page" .) }}
+<ul style="margin-top: 0">
+ <li>Cool ways to use Emacs
+ {{ partial "menu.html" (dict "menuID" "cool-emacs-ways" "page" .) }}
+ </li>
+ <li>Appendix
+ {{ partial "menu.html" (dict "menuID" "cool-emacs-appendix" "page" .) }}
+ </li>
+</ul>
+</div>
</section>