Featured Posts

Recent Posts

Projects

Media

  1. My current work setup

    source
  2. Initial version of Bhread, a website I’m running

    source
  3. A static cat

    source

Latest Shorts

  1. Programming tip: differentiate indexes and counts in code. Index starts at 0, count starts at 1. Count is also equal to array length. In python, one can do this

    1for count, fruit in enumrate(fruits, start=1):

    This has saved me a lot of confusion.

  2. tac is like cat but the output is reversed.

    I used it for finding the most recent error log:

    
    tac err.log | grep -m 1 ERROR

    source

  3. replying to blog.bhread.com/how-to-comment

    Hey it works! 🙂

  4. Just finished the redesign of the blog. It’s missing a lot of features (no dark mode) but I’m really itching to get this out. Here’s a comparison before and after image:

    Before vs After of the blog redesign

  5. I recently saw Gwern’s blog . The design and content are great. I want my blog to be like this — a page in the internet that has its own personality and feels crafted. Currently, It’s just a dump of my thoughts and it’s using the default Jekyll theme. Though I like the look of it, I want to add more quality of life features to it while keeping it static.

  6. replying to bhread/tech

    Hello There!

All 29 posts

  1. Learning Linux? Try not to reformat. Oct 12, 2024
  2. mutlithreading bug Oct 4, 2024
  3. Programming tip Oct 2, 2024
  4. TIL: `tac` command Sep 30, 2024
  5. The Philippines can't survive without Facebook Sep 29, 2024
  6. Applying design principles to my website - visual hierarchy Sep 28, 2024
  7. Tracking my expenses using CSV Sep 14, 2024
  8. Process Jun 15, 2024
  9. Reply demo Jun 15, 2024
  10. Blog redesign complete! Jun 2, 2024
  11. Blog redesign checklist Nov 12, 2023
  12. New plans for the blog Nov 12, 2023
  13. I should have used the debugger Nov 11, 2023
  14. Posting to a group Oct 25, 2023
  15. I posted a project on HN that got some (~<10) attention Oct 16, 2023
  16. Things I Use Oct 6, 2023
  17. Building a New Social Media Platform Sep 21, 2023
  18. Welcome to Bhread.com Sep 15, 2023
  19. Animated favicons Aug 8, 2023
  20. Thinking of creating /uses Aug 5, 2023
  21. Introducing Shorts Aug 3, 2023
  22. Code Snippets #1: What the heck is hardhat's console.log? Mar 24, 2023
  23. My first year of being a professional programmer Feb 11, 2023
  24. Code Snippets #0: Deploy when port exists using recursion Jul 13, 2022
  25. Prevent pinky strain caused by typing all day Jun 17, 2022
  26. Introducing Myself Aug 6, 2021
  27. About the author Jan 1, 0001
  28. About this site Jan 1, 0001
  29. search Jan 1, 0001