2025 Goals Update
I wanted to share my updates on my goals now that we are slightly beyond 75% into 2025.
I joined toastmasters, rewrote my app, and biking around the neighborhood.
I wanted to share my updates on my goals now that we are slightly beyond 75% into 2025.
I joined toastmasters, rewrote my app, and biking around the neighborhood.
I was really stumped on how to create a webpage where the footer is pressed against the bottom of the screen. I am excited to share with you how easy to have the footer stick to the bottom of the screen.
The issue would only show up if you had screen size where the content was short and the footer would be floating in the middle of the screen instead of at the bottom of the screen.
Rails Active Storage is incredible piece of software. Its purpose is to manage object storage (cloud storage buckets). Active Storage makes it straightforward to include file attachments via forms when using rails. I have used the carrierwave gem before, which is another object storage software. But using a file storage built into Rails is a better idea than adding another external gem to your project application.
I have been reading many blogs lately. I never realized how reading other people’s blogs could persuade me into new ideas and attitudes toward blogging and so many other subjects. Most of the bloggers suggest not to curate to a specific audience or ensure your blog post is perfect and free from imperfections. They recommend just write and share your experiences.
I wanted to share my updates on my goals now that we are two and half months into 2025.
I joined a local Toastmasters club to practice my verbal communication. At first, I wasn’t sure if I should join program because I didn’t know what to expect. However, I am glad I participated as a guest to get a feel for what this program is.
The style of meetings and all the different roles give you the opportunity to practice many different styles of communication: impromptu extemporaneous speaking, conducting meetings, being positive, confidence body language, feedback, filler word elimination, and all sorts of other minor things you don’t think of but is necessary when conducting yourself in a public view.
I was using ERB to generate a template over the past weekend. I discovered that you can use ERB to pry open a class and add a new method into your class that will render a template.
For example, you create a new ERB class and pass the template or template file into the constructor to initialize a new ERB object. Now you can call the #def_method on this newly created ERB object, and pass in the following arguments:
When the World Wide Web was created by Tim Berners-Lee back in early 1990s, the idea was to share information, particularly at CERN where Tim worked. The idea was to coalesce all the information throughout CERN in a unified system. Sharing of information was the major problem he was solving. The idea of hyperlinks to various URIs or URLs was the goal to spread and share information at CERN. But as Internet became popular and used outside of CERN, and malicious actors started to appear, and site owners needed a mechanism to restrict hyperlinks or URLs on their websites.
You can commit atomic transactions on an ActiveRecord model by calling class method Model.transaction do. This allows the update controller action to update all associated models in one transaction. I have previously wondered how to make sure you can update all your associated models in one big committed transaction and ensure all models are updated through the controller. Now I learned it is using the transaction do block.
I searched for it on multiple web search engines. I thought this would be an easy answer. Instead, I found multiple conflicting sources of what a MSI file MIME type is supposed to be. For those who do not know what a MSI file is, it is a Microsoft installer file, which installs windows applications.
With all the inconsistent search results and without having to rely on the AI output, the only way to settle this answer was to see what Microsoft’s application type is on their MS installers MIME types. I downloaded PowerShell MSI file, but before I did, pressed CTRL+SHIFT+I to inspect the network, viewed the response headers, and discovered that Micrsoft uses the application type of application/octet-stream for their MSI files.