Best of RUBYLANDJanuary 2025

  1. 1
    Article
    Avatar of rubylaRUBYLAND·2y

    Favorite books of 2024

    In 2024, the author read 47 books totaling 21,000 pages, surpassing their target by 17 books, largely due to listening to 40 audiobooks. Notable non-fiction books include 'Guns, Germs, and Steel', 'The Innovators', and 'Factfulness', while notable fiction includes 'American Gods' and 'The Lathe of Heaven'. For 2025, the target is 50 books, with a goal to balance reading with listening.

  2. 2
    Article
    Avatar of rubylaRUBYLAND·2y

    Mark Zuckerberg said: It’s time to go back to our roots and use RSS

    Mark Zuckerberg claims to advocate for freedom of expression, but this is questioned in the context of centralized social networks. An alternative presented is RSS, a technology from the roots of the internet that allows users to consume content directly from sources without third-party interference. The post explains how RSS works, highlights its benefits, and mentions various RSS readers, including a new reader app, Chaski. Despite a decline in RSS popularity, it's suggested as a viable solution for staying informed without the influence of big tech companies.

  3. 3
    Article
    Avatar of rubylaRUBYLAND·2y

    Git Rebase Pick

    Using the `pick` command within Git Rebase, you can reorder and cherry-pick commits to organize your commit history logically and efficiently. This can be particularly useful for correcting mistakes or addressing dependencies that were initially missed. The `pick` command allows for smooth transitions and a cleaner commit history, making code reviews and milestone creation more manageable.

  4. 4
    Article
    Avatar of rubylaRUBYLAND·2y

    Skeleton Frames

    The post demonstrates how to create dynamic and responsive cards in a Rails application using Turbo Frames and Active Storage for image management. It includes code snippets for setting up the controller, defining routes, and handling image variants to enhance the user interface.

  5. 5
    Article
    Avatar of rubylaRUBYLAND·2y

    How to order attributes on HTML elements

    Ordering attributes on HTML elements consistently can improve code readability and maintainability. Suggested order groups include identifiers, functional attributes, and styles. The identifier group typically only contains the id attribute, functional attributes are broken into variable (e.g., value, checked) and static (e.g., type, for). Styles should consist of class and style attributes. Using a specific order ensures a clean and organized codebase.

  6. 6
    Article
    Avatar of rubylaRUBYLAND·2y

    Overcoming Resistance to Extreme Programming

    Resistance to Extreme Programming (XP) practices can come from developers, management, and tools. Developers might resist due to misconceptions and the counterintuitive nature of practices like Test-Driven Development (TDD) and Continuous Integration (CI). Management often inadvertently discourages XP through individual-based incentives and short-term goals. Tools like Jira can reinforce non-collaborative workflows. Effective support for XP involves inviting teams to try new practices, sharing experiences, and providing coaching and time for experimentation.