projects | blog


[all the things] [rss]

July 16, 2020 10:01 PM

Fixing my ascii art chick

Since coming back from my vacation, I've been trying to limit my exposure to other people. I realized that in my whole life I don't think I've gone two days without interacting with someone else in person. So this is weird. I'm forcing myself to stay at home except for going on runs outside (I need fresh air and exercise), and I don't even do that every day. So far this is working out okay. Each night, I write down a TODO list of things I want to accomplish the next day. I almost never accomplish all the things, but hey, I'm staying busy.

Today I told myself I was going to figure out how to include images in the blog entries occasionally. But then I looked at my site on mobile, and I turned my phone sideways. And you know what I noticed? The little ascii art chick on the front page was all janky looking. But it only happened when I turned my phone sideways. Looked perfectly normal with the phone in the vertical position. I tried to reproduce this in my Chromebook and no matter how I resized the window, it didn't happen. Also, trying to "debug" an issue on a phone is a pain in the butt.

But, somehow I was able to fix it. First I tried Googling, and found some promising looking StackOverflow questions about people having trouble with monospace fonts on mobile, but it turns out those people wanted to use box glyphs and my ascii art is well, ascii. So I zoomed in on the ascii art chick on my phone and highlighted the area. The spaces in front of certain lines were narrower than others. Why? Who the heck knows. I did the same thing on my computer and inspected the space element with the dev tools. I inspected other space elements. And I realized some spaces were inside <span>s and others weren't. So I made it so all the characters in the ascii art section were surrounded by <span>s, and it fixed it!

-  <pre>
-     <span class="yellow">.--.
+  <pre><span class="yellow">
+     .--.
     ;   </span><span class="lightblue">@</span><span class="yellow">&#92;
-    ;    :</span><span class="orange">&#62;</span>
-   <span class="white">/\/\/\/&#92;
+    ;    :</span><span class="orange">&#62;</span><span class="white">
+   /\/\/\/&#92;
    \      /
     '----'</span>
   </pre>

Yeah, it was kind of dumb. I spent like an hour and a half looking at this. And I never got around to incorporating images in this post. Which would have been helpful. Oh well. Next time.


July 19, 2020 8:59 PM

I needed an excuse to display an image

Today I mounted my cross stitch on a piece of foam board.


August 2, 2020 7:56 AM

Rakuen

Earlier this year, one of my friends showed me a game called Rakuen, which tells the story of a boy and his mom going on adventures while in a hospital. It's an interactive novel with cute pixel art graphics, so I was immediately sold. You know, once the game went on sale in Steam.

, .~. /\ .~. /\ /{ \ /\ ,.-~'*/*'~-., <,.-~'*`*'~-.,> (| @ @ o) : .___, ,' `-._.-' This is my drawing (typing?) of the main character in the story.

My sister and I thoroughly enjoyed playing it. It gets super emotional, in a good way. I am very slow at video games and I think I spent 9 hours total on this game, so it's quick. 5/5 stars.


September 21, 2020 10:05 PM

Bringing back the food blog

I have had the most exhausting few months at work. And it just kept getting worse and worse. I think I was working during all waking hours last week.

But today I did something I haven't done in a while. I worked an 8 hour workday. And then I stopped. Not because I had something to do, but because my 8 hours were up and it was time for me to End of Day.

Anyway, I've been meaning to get back to the food blog. But I'm kind of sick of Wordpress. I looked into alternatives. Ghost seemed promising, but I already got annoyed when I tried to install it, and my tolerance for dealing with annoying things in new pieces of technology are very low, so I gave up on that quickly. I decided that the best thing for me to do was to just build the site myself. When I first started flailing in my kitchen I didn't want to do that at all. I didn't want to be a Sysadmin. But, there is something rewarding about setting up a site yourself. So that's what I'm doing now. I made one blog post, and it's a total mess on the inside, but I'm happy with what I've got so far.

flailing in my kitchen v2

Update: When I first created v2, I made it part of this domain, under the path "/flailing", while the flailing site still had my old blog. I updated the link above to actually point to flailinginmykitchen.com.


October 7, 2020 2:16 PM

Getting the site back up

A few weeks ago, DigitalOcean underwent some maintenance that didn't go so well, and I wasn't able to reach my server. Once it came back up, I realized I was still having trouble getting my website to work. I looked into to for a few days until I finally realized that it was a firewall issue.

Anyway, it's back up! And I finally got a new SSL cert! I didn't even realize you could do this for free now! So this site is back up, the Teochew site is back up, and I'm making more progress on flailing 2.0.


<< Older More Recent >>