icon
Personal Website

Weekly Coding • 2024-12-23

Hello everyone. It's time for my weekly report.

  • LeetCode 💻 3 hours 39 minutes https://github.com/hinst/hinst-leetcode
    • Completed three problems without hints:
      • 78. Subsets 🟡 Speed: 100%
      • 79. Word Search 🟡 Speed: 30%
      • 80. Remove Duplicates from Sorted Array II 🟡 Speed: 91%
    • Stopped after problem 80.
  • PngCrushBatch 💻 5 hours 45 minutes https://github.com/hinst/PngCrushBatch
    • My tool for batch image compression.
    • Refactored the storage from a JSON file to SQLite using Deno.js API. The result was underwhelming; there seems to be a bottleneck with SQLite. I need to look into this further.
  • OrangePi 💻 2 hours 38 minutes
    • Removed all unnecessary services I no longer plan to use.
    • Switched the web server in the container from x86 to ARM, allowing it to run without QEMU.
    • Successfully reduced memory usage from 1.5GB to 1.0GB.
    • Deleting stuff from Kubernetes is not easy 😤 Trying to remove individual plugins from Kubernetes is frustrating.
  • Digital Painting 🖼️ 2 hours
  • Foreign Language 🔊 2 hours
I decided to clean up my OrangePi for a future project, but the timing and form it will take are unclear. The idea is to host my online browser-based mini-game there, which still needs to be developed.