pseudoramble

I had a few moments to start thinking ahead to my next workout regiment. My hope is to try and work this plan for at least a cycle, maybe two, and revisit after that. I’ll start it in the beginning of October.

Read more...

My wife and my life has changed quite a bit over the past two years:

  • We have a daughter now who has been everything to us.
  • We’ve both lost parents.
  • We all are currently going through a pandemic together.

It’s been a lot to say the least, of joyful and sorrowful moments.

At a more basic level too, it’s simply been a huge change in basic logistics as well as entertainment. It’s not possible to just make a choice on a whim anymore. Any trips require much more planning, coordination, and effort than we needed before (or, perhaps much more than I originally needed). Let’s not forget typical life stuff such as working and keeping the house sorta put together.

As a result, our free time has been cut down substantially. We find ways to buy each other time to do things though. I get to go work out, or my wife will work on craft projects or go shop. We’ve had help from others to make it work, which we’re eternally grateful for by the way. After a while you adjust, and it’s not so bad. You get used to it.

Interestingly, I’ve had some free time to myself the past week or so. I’ve had a whole weekend alone. I don’t have work this week. My wife and daughter are away on a trip. It’s been surprising to fully break, recharge, and actually have concentration and energy to do projects.

Deep cleaning, working on technical projects, watching series on a whim I think are interesting, finding little improvements to make in the house. I’ve done all of this, just in the past weekend or so.

This doesn’t make sense and isn’t supposed to be happening.

All I can tell you, fellow reader, is that it’s good. If you’re lucky enough to find the time to recharge in a serious and deep way, do it!

I'm a vegetarian now. I've been eating this way for maybe 4-6 months now (actually, 9 months for this specific piece!). So I'm fairly confident it has stuck. While it's kind of a strange transition, it's being going on so long that it also has been pretty gradual and uneventful largely.

I was going to write this as a single post originally, but I prefer shorter reads. So I’ll break this up into several parts:

  1. Motivation

  2. Getting There, Practically Speaking

  3. On Protein (this post)

  4. Challenges & Considerations

Read more...

This list is at best littered with issues, and is very possible to have fatal flaws. They are in no real particular order. My thoughts will change over time, though it doesn’t mean this post will. Interested in knowing more or if my thoughts have changed? Ask!

Read more...

I'm a vegetarian now. I've been eating this way for maybe 4-6 months now (actually, 9 months for this specific piece!). So I'm fairly confident it has stuck. While it's kind of a strange transition, it's being going on so long that it also has been pretty gradual and uneventful largely.

I was going to write this as a single post originally, but I prefer shorter reads. So I’ll break this up into several parts:

  1. Motivation

  2. Getting There, Practically Speaking (this post)

  3. On Protein

  4. Challenges & Considerations

Read more...

This seems like the kind of thing that could change year-by-year, but it came up in a Hacker News thread recently. So I thought I’d jot down my current thoughts, which are a sum of my previous experiences and changes over time.

Read more...

I'm a vegetarian now. I've been eating this way for maybe 4-6 months now (actually, 9 months for this specific piece!). So I'm fairly confident it has stuck. While it's kind of a strange transition, it's being going on so long that it also has been pretty gradual and uneventful largely.

I was going to write this as a single post originally, but I prefer shorter reads. So I’ll break this up into several parts:

  1. Motivation (this post)

  2. Getting There, Practically Speaking

  3. On Protein

  4. Challenges & Considerations

Read more...

So far I like Writefreely. It's relatively easy to setup and host, the layout and typography are nice, and it uses Markdown which makes sense to me.

There's a few features I wish it had:

  • Image upload and insert. Apparently this is proposed for Writefreely but has yet to be implemented.
  • Easy API extension support. It has a login system already and other features. It's I be nice to be able to add features as needed using it. Things like image upload.
  • There is a classic editor and the direct Markdown editor. It can be changed via a config. It'd be sweet if it could be toggled through the UI.

Maybe I'll take a shot at implementing these features, but that requires time. Also an understanding of Go.

So maybe not too.

EDIT: I came up with an easy enough way to workaround image uploads. I have NextCloud setup already. I made a spot to drop images and share them there. Easy peasy!

I'm sort of used to React hooks now. I'm not sure how I feel about them. Sometimes good, sometimes not so confident. But I like them enough to essentially not use class components anymore.

One thing I keep wondering about is where to use them. They seem like they'd make a easy shortcut to avoid container components. Often I end up passing props from hooks to functional components anyway. So maybe that would be best.

On the other hand, you're then on the, hah, hook, for carrying the effects and state it uses indefinitely. It also makes unit testing clumsier since it often requires a mock somewhere, which is a bit tedious.

One idea while writing this – Implement one module with two components. One is the core visual/functional component and the other sets up the hook and other effects.

export const Comp = props => ...

const ConnectedComp = () => {
  const x = useSomething() 
  return <Comp x={x} />
}

export default ConnectedComp;

Then you can clarify the unit tests, but also not have to do as much prop passing later on. I sorta feel like this is higher order components in a way, which don't seem as common anymore.

Maybe I should stop worrying and use hooks where I need them instead.

My last blog has been long ignored. I had recently become more interested in having a more convenient way to write from my phone, as well as my computer. I am still interested in self-hosting/VPS hosting too.

So now, I'm starting up this new blog with WriteFreely and self hosting it. There were quite a few bumps along the way, and given how the past 12 months have been, it's taken me a real long time to get solid chunks of time to stand it up. But here we are!

I've been able to import a few entries back into Writefreely. Lucky for me I chose to use Markdown for writing in general. So you can scroll back and check out older entries. For now too, my previous writing spot works fine too.

Here's hoping I'll be writing more!