This commit is contained in:
Emin Arslan 2024-10-30 18:18:30 +03:00
parent 4f0cccf078
commit c7c18a2ee9
12 changed files with 56 additions and 51 deletions

View File

@ -1,7 +1,10 @@
+++
type = misc
title = 'About'
date = 2024-10-24T23:17:52+03:00
draft = false
bio = true
+++
# About me

View File

@ -22,7 +22,7 @@ made a small change to the page, I had to manually rebuild it, then upload the
updated version to my server and put it in the web directory.
This is a cumbersome process. The whole point of using hugo is to *focus on the
writing*, so having to rebuild and reupload for every typo is... not great. I
writing*, so having to zip and reupload for every typo is... not great. I
wanted to be able to do a simple `git push`, and not worry about the rest.
The previous "manual" approach also depends on me having already installed all
@ -116,17 +116,18 @@ with each other.
Usually, on a server, each application *isn't* totally separate from each other
- for my own usecase, I want my git server (e.g. gogs) to automatically build
and update my website whenever I push to its git repository. That means my git
server and web server can't be *totally* separate, there's some amount of relation.
Pods can help with this.
server and web server can't be *totally* separate, there's some amount of
relation. Pods can help with this.
Pods allow you to create a "pod" containing several containers, sharing resources
with each other, etc. For example, I could run a pod with nginx and gogs running
in seperate containers - then, the nginx server could act as a reverse proxy based
on host name, showing the web page on emin.software, and the git server on
in seperate containers - then, the nginx server could act as a reverse proxy
based on host name, showing the web page on emin.software, and the git server on
git.emin.software. Nginx redirects to gogs which only binds to *the pod's
localhost address*, so only nginx can reach it. Likewise, a database server can
be added to the pod only for the git server to use, so that it can't be reached
from the outside the pod - and it is logically grouped along with the rest of the pod.
from the outside the pod - and it is logically grouped along with the rest of
the pod.
On top of this, pods can be built purely from a kubernetes-compatible configuration
file, so setting them up is relatively easy.
On top of this, pods can be built purely from a kubernetes-compatible
configuration file, so setting them up is relatively easy.

View File

@ -1,5 +1,5 @@
<!doctype html><html lang="en-us">
<head>
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -43,7 +43,7 @@
<meta property="og:url" content="https://emin.software/404.html">
<meta property="og:url" content="http://localhost:1313/404.html">
<meta property="og:site_name" content="haxala1r">
<meta property="og:title" content="404 Page not found">
<meta property="og:locale" content="en_us">
@ -72,7 +72,7 @@
<section class="mx-auto flex max-w-screen-xl items-center justify-between p-4">
<a href="https://emin.software/" class="flex items-center space-x-3">
<a href="http://localhost:1313/" class="flex items-center space-x-3">
<span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400">
haxala1r

View File

@ -1,5 +1,5 @@
<!doctype html><html lang="en-us">
<head>
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -43,7 +43,7 @@
<meta property="og:url" content="https://emin.software/about/">
<meta property="og:url" content="http://localhost:1313/about/">
<meta property="og:site_name" content="haxala1r">
<meta property="og:title" content="About">
<meta property="og:description" content="About me Hi, Im Emin!
@ -80,7 +80,7 @@ I mostly do systems programming - I feel most at home when I use C&#43;&#43; or
<section class="mx-auto flex max-w-screen-xl items-center justify-between p-4">
<a href="https://emin.software/" class="flex items-center space-x-3">
<a href="http://localhost:1313/" class="flex items-center space-x-3">
<span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400">
haxala1r

View File

@ -2,10 +2,10 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on haxala1r</title>
<link>https://emin.software/categories/</link>
<link>http://localhost:1313/categories/</link>
<description>Recent content in Categories on haxala1r</description>
<generator>Hugo</generator>
<language>en-us</language>
<atom:link href="https://emin.software/categories/index.xml" rel="self" type="application/rss+xml" />
<atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -1,5 +1,5 @@
<!doctype html><html lang="en-us">
<head>
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -43,7 +43,7 @@
<meta property="og:url" content="https://emin.software/">
<meta property="og:url" content="http://localhost:1313/">
<meta property="og:site_name" content="haxala1r">
<meta property="og:title" content="haxala1r">
<meta property="og:locale" content="en_us">
@ -72,7 +72,7 @@
<section class="mx-auto flex max-w-screen-xl items-center justify-between p-4">
<a href="https://emin.software/" class="flex items-center space-x-3">
<a href="http://localhost:1313/" class="flex items-center space-x-3">
<span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400">
haxala1r

View File

@ -2,24 +2,24 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>haxala1r</title>
<link>https://emin.software/</link>
<link>http://localhost:1313/</link>
<description>Recent content on haxala1r</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Fri, 25 Oct 2024 23:11:17 +0300</lastBuildDate>
<atom:link href="https://emin.software/index.xml" rel="self" type="application/rss+xml" />
<atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>My Setup - p1</title>
<link>https://emin.software/posts/setup_p1/</link>
<link>http://localhost:1313/posts/setup_p1/</link>
<pubDate>Fri, 25 Oct 2024 23:11:17 +0300</pubDate>
<guid>https://emin.software/posts/setup_p1/</guid>
<guid>http://localhost:1313/posts/setup_p1/</guid>
<description>My Setup In this &amp;lsquo;series&amp;rsquo; I will be walking you through my process of how I host everything on this server.&#xA;I&amp;rsquo;m currently running, on top of my blog, a gogs instance.&#xA;When first creating this website, I just had my blog. I generated this blog using hugo: a static site generator. Hugo allowed me to focus on writing whatever I wanted in Markdown format, it would take care of converting my writing into HTML and CSS.</description>
</item>
<item>
<title>About</title>
<link>https://emin.software/about/</link>
<link>http://localhost:1313/about/</link>
<pubDate>Thu, 24 Oct 2024 23:17:52 +0300</pubDate>
<guid>https://emin.software/about/</guid>
<guid>http://localhost:1313/about/</guid>
<description>About me Hi, I&amp;rsquo;m Emin!&#xA;I am a second year Computer Engineering student at Izmir University of Economics. I like all things programming and computers.&#xA;I mostly do systems programming - I feel most at home when I use C++ or C, though I&amp;rsquo;ve used Rust, Java and many other languages to varying degrees. I also had a phase when I was really into Common Lisp. Seriously, using a language with true macros is an entirely different experience.</description>
</item>
</channel>

View File

@ -1,5 +1,5 @@
<!doctype html><html lang="en-us">
<head>
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -43,7 +43,7 @@
<meta property="og:url" content="https://emin.software/posts/">
<meta property="og:url" content="http://localhost:1313/posts/">
<meta property="og:site_name" content="haxala1r">
<meta property="og:title" content="Blog">
<meta property="og:locale" content="en_us">
@ -72,7 +72,7 @@
<section class="mx-auto flex max-w-screen-xl items-center justify-between p-4">
<a href="https://emin.software/" class="flex items-center space-x-3">
<a href="http://localhost:1313/" class="flex items-center space-x-3">
<span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400">
haxala1r

View File

@ -2,17 +2,17 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Blog on haxala1r</title>
<link>https://emin.software/posts/</link>
<link>http://localhost:1313/posts/</link>
<description>Recent content in Blog on haxala1r</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Fri, 25 Oct 2024 23:11:17 +0300</lastBuildDate>
<atom:link href="https://emin.software/posts/index.xml" rel="self" type="application/rss+xml" />
<atom:link href="http://localhost:1313/posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>My Setup - p1</title>
<link>https://emin.software/posts/setup_p1/</link>
<link>http://localhost:1313/posts/setup_p1/</link>
<pubDate>Fri, 25 Oct 2024 23:11:17 +0300</pubDate>
<guid>https://emin.software/posts/setup_p1/</guid>
<guid>http://localhost:1313/posts/setup_p1/</guid>
<description>My Setup In this &amp;lsquo;series&amp;rsquo; I will be walking you through my process of how I host everything on this server.&#xA;I&amp;rsquo;m currently running, on top of my blog, a gogs instance.&#xA;When first creating this website, I just had my blog. I generated this blog using hugo: a static site generator. Hugo allowed me to focus on writing whatever I wanted in Markdown format, it would take care of converting my writing into HTML and CSS.</description>
</item>
</channel>

View File

@ -1,5 +1,5 @@
<!doctype html><html lang="en-us">
<head>
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -43,7 +43,7 @@
<meta property="og:url" content="https://emin.software/posts/setup_p1/">
<meta property="og:url" content="http://localhost:1313/posts/setup_p1/">
<meta property="og:site_name" content="haxala1r">
<meta property="og:title" content="My Setup - p1">
<meta property="og:description" content="My Setup In this series I will be walking you through my process of how I host everything on this server.
@ -81,7 +81,7 @@ When first creating this website, I just had my blog. I generated this blog usin
<section class="mx-auto flex max-w-screen-xl items-center justify-between p-4">
<a href="https://emin.software/" class="flex items-center space-x-3">
<a href="http://localhost:1313/" class="flex items-center space-x-3">
<span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400">
haxala1r
@ -178,7 +178,7 @@ converting my writing into HTML and CSS.</p>
made a small change to the page, I had to manually rebuild it, then upload the
updated version to my server and put it in the web directory.</p>
<p>This is a cumbersome process. The whole point of using hugo is to <em>focus on the
writing</em>, so having to rebuild and reupload for every typo is&hellip; not great. I
writing</em>, so having to zip and reupload for every typo is&hellip; not great. I
wanted to be able to do a simple <code>git push</code>, and not worry about the rest.</p>
<p>The previous &ldquo;manual&rdquo; approach also depends on me having already installed all
necessary software. If you have a dedicated server that you&rsquo;re running yourself,
@ -255,19 +255,20 @@ with each other.</p>
<ul>
<li>for my own usecase, I want my git server (e.g. gogs) to automatically build
and update my website whenever I push to its git repository. That means my git
server and web server can&rsquo;t be <em>totally</em> separate, there&rsquo;s some amount of relation.
Pods can help with this.</li>
server and web server can&rsquo;t be <em>totally</em> separate, there&rsquo;s some amount of
relation. Pods can help with this.</li>
</ul>
<p>Pods allow you to create a &ldquo;pod&rdquo; containing several containers, sharing resources
with each other, etc. For example, I could run a pod with nginx and gogs running
in seperate containers - then, the nginx server could act as a reverse proxy based
on host name, showing the web page on emin.software, and the git server on
in seperate containers - then, the nginx server could act as a reverse proxy
based on host name, showing the web page on emin.software, and the git server on
git.emin.software. Nginx redirects to gogs which only binds to <em>the pod&rsquo;s
localhost address</em>, so only nginx can reach it. Likewise, a database server can
be added to the pod only for the git server to use, so that it can&rsquo;t be reached
from the outside the pod - and it is logically grouped along with the rest of the pod.</p>
<p>On top of this, pods can be built purely from a kubernetes-compatible configuration
file, so setting them up is relatively easy.</p>
from the outside the pod - and it is logically grouped along with the rest of
the pod.</p>
<p>On top of this, pods can be built purely from a kubernetes-compatible
configuration file, so setting them up is relatively easy.</p>
</span>
</article>

View File

@ -2,20 +2,20 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://emin.software/posts/</loc>
<loc>http://localhost:1313/posts/</loc>
<lastmod>2024-10-28T23:41:06+03:00</lastmod>
</url><url>
<loc>https://emin.software/</loc>
<loc>http://localhost:1313/</loc>
<lastmod>2024-10-28T23:41:06+03:00</lastmod>
</url><url>
<loc>https://emin.software/posts/setup_p1/</loc>
<loc>http://localhost:1313/posts/setup_p1/</loc>
<lastmod>2024-10-25T23:11:17+03:00</lastmod>
</url><url>
<loc>https://emin.software/about/</loc>
<loc>http://localhost:1313/about/</loc>
<lastmod>2024-10-24T23:17:52+03:00</lastmod>
</url><url>
<loc>https://emin.software/categories/</loc>
<loc>http://localhost:1313/categories/</loc>
</url><url>
<loc>https://emin.software/tags/</loc>
<loc>http://localhost:1313/tags/</loc>
</url>
</urlset>

View File

@ -2,10 +2,10 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on haxala1r</title>
<link>https://emin.software/tags/</link>
<link>http://localhost:1313/tags/</link>
<description>Recent content in Tags on haxala1r</description>
<generator>Hugo</generator>
<language>en-us</language>
<atom:link href="https://emin.software/tags/index.xml" rel="self" type="application/rss+xml" />
<atom:link href="http://localhost:1313/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>