From 5159eeeea47d83745a8a940b31a123f6d34d6d34 Mon Sep 17 00:00:00 2001 From: awstin Date: Tue, 10 Sep 2024 21:22:48 -0400 Subject: [PATCH] Adding time page --- blog/WhereDidTimeGo.html | 83 ---------------------------------------- src/html/garden.rs | 8 +++- templates/books.html | 2 +- templates/garden.html | 5 +++ templates/home.html | 6 +-- 5 files changed, 16 insertions(+), 88 deletions(-) delete mode 100644 blog/WhereDidTimeGo.html diff --git a/blog/WhereDidTimeGo.html b/blog/WhereDidTimeGo.html deleted file mode 100644 index 0c92de8..0000000 --- a/blog/WhereDidTimeGo.html +++ /dev/null @@ -1,83 +0,0 @@ -id: wdtg -title: Where Did Time Go? -previous: fsdi -date: 2024-05-22 ---- - -

Where Did Time Go?

- -

-I keep trying to get to work on personal projects. -Expanding this website, making some new ones for a business and some utility things. -

- -

-I am also trying to stay healthy and get better at Brazilian Jiu Jitsu. -Sleep enough. -Spend time with my Fiance. -Learn Japanese. -Keep journaling. -

- -

-I don't know if I am crazy but I feel like life should have time for things like this. -

- -

-If I am up early enough to spend time building stuff I inevitably get frustrated when I have to stop and get to work. -It takes time to get into the flow of building something new and getting a couple of hours (or even an hour) on a weekday is hard. -So I wind up working on it on the weekends and just trying to capture ideas that I have throughout the week. -

- -

-Obviously to me the time is going to work. -Very often over the last few months I am spending time outside of regular work hours on work. -We are trying to finish off a big project. -

- -

-In the past most of the jobs that I have worked are physical. -Coaching gymnastics, fixing hot tubs, sauna construction. -They all require you to be there in person and therefore are not something that you can just casually log on outside of your normal hours. -Software development is so much different. -

- -

-There is this weird feeling of guilt when spending time coding my own stuff. -There is always more work to do at work with most jobs. -But software feels different in that this is also something that I like to do on my own time as well. -With project deadlines looming and the simplicity of logging onto my work computer instead of my own to do broadly the same thing I feel bad when I spend my own coding time on my own projects. -Writing that out sounds insane but it is the case a lot of the time. -

- -

-Working from home a couple days a week also does not help. -My desk is no longer my workshop, but partially an extension of my desk at work. -Being able to work remotely feels like a gift. -And for a lot of reasons it is. -I can do laundry or cook meals during breaks, less commuting. -However it really does make the lines blur between work and not, especially when I am wanting to code in my free time. -

- -

-I think the answer is to treat this job as a physical one. -Get a locker, leave my computer there. -I wouldn't be able to work from home during regular work time anymore. -That also means that I can't work outside of work time. -I need that sharp delineation between work and the rest of my life. -It just bleeds over too easily for me. -

- -

-Which brings me to my more general thoughts that everything that we do has a cost associated with the benefit that it brings. -We often get excited about the benefits and forget to take the cost into account. -Working from home, adopting a new software tool, etc. -

- -

-I am more and more often finding that the costs are not worth it. -It has taken me 2 years to get to this realization with working from home in particular. -I think the benefits were front loaded with realizing that I could get things done during work breaks. -The costs however were slowly training me over time to see my home desk as a workspace and for my mind to associate the two. -And it isn't worth it so I am going to try without and see how that goes. -

diff --git a/src/html/garden.rs b/src/html/garden.rs index a05dae1..30a40d2 100644 --- a/src/html/garden.rs +++ b/src/html/garden.rs @@ -9,7 +9,7 @@ use super::templates::{ EdgeDetectionTemplate, GardenTemplate, HtmlTemplate, - TakTemplate, + TakTemplate, TimeTemplate, }; pub fn get_router() -> Router { @@ -17,6 +17,7 @@ pub fn get_router() -> Router { .route("/", get(garden)) .route("/ed", get(edge_detection)) .route("/books", get(books)) + .route("/time", get(time)) .route("/tak", get(tak)) .route("/archserver", get(arch_server)) } @@ -36,6 +37,11 @@ async fn books() -> impl IntoResponse { HtmlTemplate(books_page) } +async fn time() -> impl IntoResponse { + let time_page = TimeTemplate {}; + HtmlTemplate(time_page) +} + async fn tak() -> impl IntoResponse { let tak_page = TakTemplate {}; HtmlTemplate(tak_page) diff --git a/templates/books.html b/templates/books.html index 90cafb6..0c56e0c 100755 --- a/templates/books.html +++ b/templates/books.html @@ -14,7 +14,7 @@

Currently Reading

- Get to pick a new book to start. + Re reading one of my favourites, Gnomon by Nick Harkaway.

Read so far in 2024

diff --git a/templates/garden.html b/templates/garden.html index 3ef276f..5d89f53 100644 --- a/templates/garden.html +++ b/templates/garden.html @@ -25,4 +25,9 @@ Books, what I am reading, why I love them so much. Just book stuff.

+ +

+ Some thoughts on time. + I catch myself coming back to this subject pretty regularly. +

{% endblock %} diff --git a/templates/home.html b/templates/home.html index ae33954..8e31218 100644 --- a/templates/home.html +++ b/templates/home.html @@ -64,7 +64,7 @@

Blogroll

- Collection of other blogs that I follow information. + Collection of other blogs that I follow.


@@ -78,8 +78,8 @@

AI

- How AI is (or more accurately is not) used in this site and my work in general. - And why. + How AI is (or more accurately is not) used in this site and my work in general, + and why.