RSSAmplifier

Blog

elpachongco's blog

Recent content on elpachongco's blog

earlps.netRSS feed ↗33 posts

Latest posts

How to get update notifications from this blog (and all other blogs and sites)

To get notified of new posts in this blog, an RSS feed reader is required. It’s a software that scans the blog’s RSS feed from time to time and notifies the user for new posts. As an example, mobile users can install the app inoreader. Inside the app, add the link to my blog’s feed: https://earlps.net/index.xml The RSS reader is not limited to one site, it can subscribe to other…

Decisions point toward things that are easy to flex

People are travelling a lot nowadays, it’s starting to feel like a FOMO pyramid scheme. My social media feed as a GenZ is filled with it but information about building wealth is a rare occurence.

Scraping Facebook to scratch an itch

I made a website that scrapes the posts of local Facebook pages. I did this because I’m forced to open Facebook when checking for local news. I published a rant about this. I’m currently collecting posts of 4 specific pages but I’m planning to add more. The pages I’ve added are the ones I almost always look which is limited to my region. I plan to include pages relevant in…

Learning Linux? Try not to reformat.

When I was learning Linux, if something went horribly wrong when I’m configuring something, my instinct was to reformat. You can reformat but don’t depend on it every time. Try to debug or fix the issue you have. If you can’t fix it, you can learn what caused the issue and then reformat. That way, you learn more and not repeat the same mistake. I’ve reformatted multiple…

mutlithreading bug

Programming tip

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.

TIL: `tac` command

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

The Philippines can't survive without Facebook

Note: this is an unorganized, low-effort rant of how I feel about Facebook and how the Philippines’ depends too much on it. Public Information Office # In the Philippines, updates for most cities will come from the city’s own “Public Information Office” which posts updates on their Facebook page. They do not have their own website. Sometimes I open Facebook on my phone with…

Applying design principles to my website - visual hierarchy

I realized that my website’s article view looks weird. Here’s the screenshot: There are a few things that can be improved here but I recently realized how important visual hierarchy is to a design. The problem here is, there’s no one element that particularly stands out when the page is viewed. The user will either look at the logo or the title. This is a bit weird as we always…

Important advice from simonwillison

This is the most important tip: avoid side projects with user accounts. If you build something that people can sign into, that’s not a side-project, it’s an unpaid job. It’s a very big responsibility, avoid at all costs! Taken from Coping strategies for the serial project hoarder

Tracking my expenses using CSV

I woke up one day and realized that I need to be more responsible financially. I wanted to start by tracking my expenses. Tools # I started by sticking to my usual tools, Markor on Android, Synthing and a CSV file expenses.csv. I can say it works really well. Entering expenses is quick on mobile, maybe because I’m used to working with CSV. The UX is mostly just the keyboard and the comma…

Process

I’ve been developing applications for around 3 years now. Mostly just for fun, and for my personal use. But now, with a new job, I have to work with a team. In this job, I noticed myself making a lot of small mistakes repeatedly: Forgetting to push commits before asking for code review, forgetting to set a variable to False before pushing, or outright forgetting to test before pushing. A…

Reply demo

replying to blog.bhread.com/how-to-comment Hey it works! 🙂

Blog redesign complete!

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:

Blog redesign checklist

I recently posted this: New plans for the blog To summarize, I’ll be redesigning this blog. In this article, I’ll list the things that I want my blog to have. Must haves # User-clickable anchors for each post’s headers (h1,h2,h3,h4,h5,h6) If possible, must highlight if scrolled or by clicking table of contents. Dark mode Table of contents for each post Must be visible while…

New plans for the blog

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.

I should have used the debugger

A week ago I was implementing a dynamic logo in a website which would change if the navbar has a dark background and change back if it&rsquo;s light. My approach was to add two <img> tags, overlapping each other and toggling the front element (greater z-index) when the conditions are right. Seems good right? Well, It worked as expected but after some testing, I noticed something: scrolling up…

Posting to a group

replying to bhread/tech Hello There!

I posted a project on HN that got some (~<10) attention

Context .

Things I Use

I&rsquo;m used to being frugal. Because of that, most of my equipment and tool decisions are focused on being economical. Most of my hardware is second hand. I rarely pay for software. The Phone - LG V20 # A highly-repairable phone with good camera hardware and software. It&rsquo;s already 2023. LG has left the smartphone market, and this phone was released in 2016. I love this phone, it&rsquo;s…

Building a New Social Media Platform

I recently created a /shorts/ page in my blog . This page is intended for shorter content. It&rsquo;s a place I can use to share memes, tips, and small stories. My blog&rsquo;s shorts page. I liked the idea of this. I thought it&rsquo;s a good way to use the blog as my own twitter of sorts. And then I had an idea: If I encourage people to create a /shorts/ page on their blog, and I create a…

Welcome to Bhread.com

Hello World! I&rsquo;m now joining bhread.com as elpachongco. See you! 🍞🍞🍞

Animated favicons

I was looking at uses.tech website . I wondered how I can have an animated favicon because this is probably the first time I saw one. Then I came accross this: an arcade game played in the favicon . How cool is that!

Thinking of creating /uses

Found this post on hn . I&rsquo;m thinking of adding a /uses page on the site… I will also include a workspace setup like found on this site . But right now I work on the dining table so&hellip; 🤔 See also this site and this setup by Aaron Schwartz .

Introducing Shorts

Every platform has shorts now. It&rsquo;s new, it&rsquo;s addicting, and I want it on my blog! Introducing Shorts # This site is going to get a lot more updates from now on. Social media platforms are unstable right now. It&rsquo;s time for blogs to rise! See https://elpachongco.github.io/shorts

Code Snippets #1: What the heck is hardhat's console.log?

I was tasked to create ethereum smart contracts in my previous job. the library most recommended by other developers to create smart contracts was hardhat. to create and debug the smart contracts, I developed them using test-driven-development methods. The tests gave me a way to print out and inspect variables. just as I was done with the development I read somewhere that hardhat has a…

My first year of being a professional programmer

I met my goal. # I posted a blog post on August 6, 2021 stating that I want to get a job before april 2022. During that time, I was creating projects for my resume. I was reading up on what people in the industry have to say about landing a job without a degree. The most common advice is to have projects that demonstrate my skills to potential employers.

Code Snippets #0: Deploy when port exists using recursion

I&rsquo;m starting a new category of posts called &ldquo;Code Snippets&rdquo; where I share code I find interesting. In this first installment is a simple code snippet I originally wrote in Powershell to scan a local port continuously and do something when the port is found: 1function deploy(): 2 if ( port_exists(port) ): 3 do_something() 4 else: 5 deploy() 6 7deploy() Recursion has been a hard…

Prevent pinky strain caused by typing all day

Typing all day makes my pinky sore. This is how I got rid of it: Superuser.com: How do I hit the “Ctrl” key without straining my pinky? I press both ctrl keys with the edge of my palm. It&rsquo;s perfect; I don&rsquo;t have to stretch my pinkies, and my fingers don&rsquo;t have to move away from where they&rsquo;re supposed to be. Only downside is that this technique won&rsquo;t work flat…

Introducing Myself

Hi. Starting today, I&rsquo;ll start this blog as a personal log of everything that I want to say. I mainly plan to add my opinions on some topics that interest me (I&rsquo;ll stay away from rants) and helpful things that I learn and encounter as I go. Since I am coming into the computer industry without formal education on the topic, this blog could also be helpful for me to getting a job as one…

About the author

About the author # I&rsquo;m a software developer based in the Philippines. I like inventing stuff. I like seeing new things come from my work. Editor # I use Neovim with NVChad as my editor. I don&rsquo;t need a lot, I only write Python, and some JS and CSS for my day job. In the past, I&rsquo;ve used VSCode and Emacs. VSCode is nice but I hate that there are times where I&rsquo;ll need a mouse…

About this site

About this site # This site contains notes, thoughts, images and code by me (unless specified otherwise. Also, memes are excempted to this rule). The articles I write are mainly for my own reference. From time to time, I aim to reach an audience. It&rsquo;s also an excuse for me to call myself a writer. Design # I wanted this website to capture what it feels like to walk in the park.

search