This is the book reading journey I hope to embark on for the foreseeable future. Prose’ list of to-read-immediately books are diverse and colourful.
Here’s a seemingly simple LinkedList problem that utilizes the fast and slow pointer technique and some basic Linked List manipulation. But going down the rabbit hole of understanding every component of this problem proved to be more than I expected.
After a few weeks, I’ve gone through a selection of 50 Leet problems. Some thoughts.
- DOM spec: all page contents are represented as object and can be modified
- BOM spec: additional objects provided by browser, non-DOM objects like the
- HTML spec: describes HTML language (tags) and BOM, various browser functions like
In summary, the overall structure looks like this:
While learn the basics of HTML, we typically place all options for a
select like this.
- Projects and functionalities covered:
- Changing a background by clicking a button
- Changing a background randomly and showing its HEX code
- Quote generator
- Input message in form and have it shown up elsewhere on the page
- Image slider
- Item filter from web shop
- Item image slider
What is the general idea behind this technique?
It’s been a while since I’ve worked on this site. Although Jekyll was relatively easy to set up direclty from Github, customizing it has been a pain. When I first forked the site a few years ago, the default theme was, and still is, Minima. And attempt to switch up the theme results in a plethora of dependency issues, whether bewteen Github pages and Jekyll, or between Github pages and Ruby version, or between a plug-in and Jekyll. I gave up trying to customize it and let it sit in dust.
Ruby allows for great flexibility in how arguments can be passed into a method.
When first learning about collections and the Enumerable module in Ruby, like most beginners, I focused on understanding and applying #each, #map, and #select. It’s not until months down the road, while browsing problem solutions by Rubyists, that I began to discover the power of the #reduce method and began digging deeper.