icon
Personal Website

Weekly Coding • 2024-12-23

This text was automatically translated to English language by LLM tool.

Hello everyone. It’s time to write 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%
    • Reached problem number 80 and stopped.
  • PngCrushBatch 💻 5 hours 45 minutes [https://github.com/hinst/PngCrushBatch]
    • This is my app for bulk image compression.
    • Switched the storage from a JSON file to SQLite using the Deno.js API. The result was underwhelming: it feels like SQLite is lagging, and I haven’t figured out why yet.
  • OrangePi 💻 2 hours 38 minutes
    • Deleted all unnecessary services that I no longer plan to use.
    • Switched the web server in the container from x86 to ARM so it runs without QEMU.
    • Managed to reduce RAM usage from 1.5 GB to 1.0 GB.
    • Removing things from Kubernetes is not easy 😤 Trying to remove individual plugins from Kubernetes is a frustrating task.
  • Digital Drawing 🖼️ 2 hours
  • Foreign Language 🔊 2 hours

I decided to clean up my OrangePi for a future project, but it’s currently unclear when that will happen or what form it will take. The idea is to host my online browser mini-game there, which I still need to write.