Best of Ruby2024

  1. 1
    Video
    Avatar of fireshipFireship·2y

    Ruby on Rails in 100 Seconds

    Ruby on Rails is a powerful web framework that has been used by successful internet startups for the past 20 years. It allows developers to quickly build large-scale web applications using the Ruby programming language. Rails follows the model-view-controller (MVC) pattern and includes features like active record for modeling relationships in a SQL database. With Rails, you can easily build a full stack application by installing Ruby, Rails, and SQLite, and using the Rails CLI to scaffold your project.

  2. 2
    Video
    Avatar of TechWithTimTech With Tim·2y

    What Backend Language is Right For You?

    This post discusses different backend languages including Java, Python, JavaScript, Ruby, PHP, C, Go, and Rust, highlighting their strengths and use cases.

  3. 3
    Article
    Avatar of dhhDavid Heinemeier Hansson·2y

    Obsessive problem solving followed by aimless wandering

    The author reflects on the transition from using Apple products to a Linux-based system, highlighting recent achievements such as adopting Rails 8 with Propshaft and the authentication generator. Emphasizing the importance of sprints for significant progress and keeping an open mind for new opportunities, the narrative underscores their company's journey towards improved development practices and innovative solutions like Docker and the Solid Trifecta.

  4. 4
    Article
    Avatar of rubyflowRuby Flow·2y

    renuo/hotsheet: Manage your database with a simple and familiar web interface

    This gem, Hotsheet, allows you to manage your database through a simple web interface without needing to use the Rails console. It offers inline editing for database records and provides controlled access to admin users. Installation involves adding it to your Gemfile and configuring it in an initializer file to specify which models and attributes to manage.

  5. 5
    Article
    Avatar of hnHacker News·2y

    mawise/bookshelf: 3D animated bookshelf for ebooks

    A 3D bookshelf project helps you browse ebooks by pulling metadata and cover art from a Calibre library. It adjusts book dimensions based on cover image aspect ratios and page-count data, with the Calibre 'comment' metadata shown as back-cover text. The app can be configured to use variable widths for books based on page counts using a Calibre plugin.

  6. 6
    Article
    Avatar of rubyflowRuby Flow·2y

    kwatch/git-improved: Much better command interface for Git

    GitImproved is a wrapper script for the Git command, offering an intuitive and easy-to-understand interface with categorized commands. It simplifies common Git tasks with shorter, more memorable commands. GitImproved is built using the Benry-CmdApp framework and requires Ruby >= 2.3. Installation involves a simple gem command.

  7. 7
    Video
    Avatar of primeagenThePrimeTime·2y

    DHH In His Final Form

    DHH explains his choice of Ruby as a programming language, motivated by its aesthetics, simplicity, and metaprogramming capabilities. He highlights the joy and productivity it brings him, contrasting it with other languages he has used. Additionally, he touches on the philosophy of open source and meritocracy in software development, emphasizing the importance of competence and contributions over popularity.

  8. 8
    Article
    Avatar of dhhDavid Heinemeier Hansson·2y

    Visions of the future

    Discovering the future early and undistributed is an exciting feeling. The author has felt this way about various things in the past like Linux, Mac, and Ruby. They believe in taking risks and being early on ideas.

  9. 9
    Article
    Avatar of dhhDavid Heinemeier Hansson·2y

    Optimize for bio cores first, silicon cores second

    Ruby on Rails has been championed for its ability to enhance programmer productivity by trading off compute time, which has become increasingly economical compared to programmer costs. The focus should be on optimizing the expensive biological cores (programmers) over the cheaper silicon cores (computers). While optimizing software for maximum hardware efficiency can be admirable, it often doesn't make economic sense for most business software, where high-level languages and tools can drastically improve productivity and profitability.

  10. 10
    Article
    Avatar of dhhDavid Heinemeier Hansson·2y

    We're moving continuous integration back to developer machines

    The post discusses the idea of moving continuous integration back to developer machines and the advantages of running tests locally.

  11. 11
    Article
    Avatar of devtoDEV·2y

    Yes, Ruby is fast, but…

    The post discusses the performance of Ruby's YJIT, compares Crystal's performance to Ruby and Python, and highlights the benefits of integrating Crystal code into Ruby.

  12. 12
    Article
    Avatar of thoughbotthoughbot·2y

    Wrap your dependencies

    Using third-party libraries and tools can speed up development, but wrapping them in functions, modules, or classes can make your code more maintainable and flexible. Wrapping allows for easier updates, consistent interfaces, and effective error handling. Examples include sanitizing HTML across different environments and using HTTP clients with consistent error handling.

  13. 13
    Article
    Avatar of thoughbotthoughbot·2y

    Ruby on Rails is great for AI

    Many AI projects today utilize third-party or open-source services through HTTP API calls, a task Ruby excels at with its wide range of available gems. Developers might mistakenly use Python for AI tasks in their Rails apps, adding unnecessary complexity and cost. While Python is better suited for creating custom machine learning models, Ruby's capabilities can often meet the needs more efficiently.

  14. 14
    Article
    Avatar of hnHacker News·2y

    In-browser code playgrounds

    Explore the world of in-browser code playgrounds with WASI-powered sandboxes. Run code snippets entirely in the browser, with no server involvement. Discover advanced features like templates and code cells. Switch between native browser playgrounds, WASI-powered playgrounds, and server-side playgrounds.

  15. 15
    Article
    Avatar of devsquadDev Squad·2y

    Unlock Your Web Development Potential with The Odin Project: Comprehensive Free Courses to Start Your Coding Journey

    The Odin Project offers free, comprehensive courses designed to guide learners from beginners to proficient web developers. Courses include foundational topics like HTML, CSS, Git, and JavaScript; full-stack development with Ruby on Rails and JavaScript; and specialized electives. Each course is hands-on, helping learners build a portfolio of projects to showcase their skills.

  16. 16
    Article
    Avatar of hnHacker News·2y

    Jupyter Notebook Viewer

    IRuby provides a powerful web notebook interface for Ruby, allowing for an in-browser REPL loop with additional features. It supports displaying various data types, including text, images, LATEX, and HTML, and can automatically use Pry if available. IRuby can also render Gnuplot and Rubyvis plots inline.

  17. 17
    Article
    Avatar of rubyflowRuby Flow·2y

    Create a QR Code with a Logo

    Learn how to create a custom QR code with a logo using Ruby on Rails. This tutorial walks you through setting up a simple app, using MiniMagick and RQRCode to generate and process images, including Active Storage for uploading attachments. The process includes generating a QR code, adding a logo, and combining images to create a branded QR code.

  18. 18
    Article
    Avatar of allaboutcodingRandom Thoughts about Building Software·2y

    Quick Intro to Ruby Endless Method

    The endless method in Ruby is a single-expression method introduced in version 3.0. It can be used to improve code structure and readability by giving a good name to a statement. The endless method is cheap and does not add more lines of code to the file.

  19. 19
    Article
    Avatar of rubyflowRuby Flow·2y

    ronin-rb/ronin-app: A local web interface for Ronin.

    ronin-app is a local web application designed to provide a web interface for exploring and managing the Ronin suite, including ronin-support, ronin-repos, ronin-db, ronin-payloads, and ronin-exploits. It supports automating various tools like nmap, masscan, and ronin-web-spider, along with importing their results into the Ronin database. The app has a small memory footprint and fast response time. Prerequisites include libsqlite3, Redis, nmap, masscan, and Ruby 3.1.0 or higher. It can be run locally or using docker-compose.