Tagged articles
Ruby
62 articles · Page 1 of 1

21CTOJun 20, 2026 · Backend Development
The article walks Ruby and Rails developers through why Go’s static typing, explicit error handling, lightweight goroutines, and single‑binary deployment make it a powerful tool for performance‑critical services while recommending Rails for main‑line web development.
GoLanguage comparisonRuby
0 likes · 6 min read

CeWL 5.0, the Ruby‑based custom wordlist generator, now supports proxy configuration and HTTP Basic/Digest authentication, enabling penetration testers to crawl credential‑protected internal sites and extract targeted vocabulary for password‑cracking tools such as John the Ripper.
CeWLHTTP authenticationRuby
0 likes · 4 min read


21CTOMay 7, 2026 · Fundamentals
Ruby creator Yukihiro Matsumoto (Matz) teamed up with Anthropic's Claude to develop Spinel, an experimental ahead‑of‑time compiler that turns Ruby code into C, delivers roughly 11.6× speed‑up over MiniRuby, but currently supports only a subset of Ruby features.
Ahead-of-Time CompilationClaude AILanguage Implementation
0 likes · 5 min read


21CTOJan 7, 2026 · Fundamentals
Ruby 4.0, released on December 25 to mark the language’s 30th anniversary, introduces experimental Box isolation, the ZJIT compiler, and a revamped Ractor for concurrency, but many features remain immature and optional for production use.
ConcurrencyJITLanguageFeatures
0 likes · 6 min read

This guide walks through a zero‑downtime migration from Elasticsearch 9.0 to the Easysearch compatible branch using Logstash, covering project goals, solution selection, detailed input/filter/output configurations, SSL handling, batch tuning, execution steps, and verification to ensure data integrity and ID consistency.
EasysearchElasticsearchLogstash
0 likes · 6 min read

This article recounts how the Ruby and Rails community propelled Git from a Linux‑kernel‑only tool to the dominant version‑control platform and helped Redis gain widespread adoption, illustrating the powerful influence of a vibrant developer ecosystem on technology evolution.
GitGitHubRedis
0 likes · 10 min read

The TIOBE April 2025 programming‑language ranking reveals that former top‑20 languages Kotlin, Ruby and Swift are slipping in popularity, while cross‑platform frameworks like Flutter rise, and legacy "dinosaur" languages such as Delphi, Fortran, Ada and COBOL quietly re‑enter the top‑20 list.
FlutterKotlinLanguage Popularity
0 likes · 7 min read

The article examines why several once‑popular programming languages—including Ruby, Visual Basic, Haskell, Perl, and Objective‑C—are losing relevance due to performance, ecosystem shifts, and lack of innovation, and predicts they may fade away in the coming two decades.
HaskellObjective-C++Ruby
0 likes · 8 min read


21CTOJul 6, 2023 · Fundamentals
Based on the latest Stack Overflow developer survey, this article highlights five lesser‑known programming languages—Zig, Erlang, F#, Ruby, and Clojure—detailing their average salaries, key features, and sample code to help developers expand their skill set and boost earnings.
ClojureF*Ruby
0 likes · 8 min read

The gRPC 1.53.0 release introduces a series of core improvements, language‑specific enhancements for C++, C#, Python and Ruby, as well as bug fixes and new APIs, providing higher stability and performance for modern high‑performance RPC applications.
C++PythonRPC
0 likes · 3 min read

This article explains how Xcode organizes projects through xcworkspace and xcodeproj bundles, details the structure of the project.pbxproj file, describes the role of PBX objects such as PBXFileReference and PBXGroup, and shows how to manipulate Xcode projects programmatically using the Xcodeproj Ruby gem.
RubyXcodeXcodeproj
0 likes · 24 min read

The article explains how DevOps teams can evolve Ruby command‑line tools into gem packages and connect them to an Electron GUI, comparing file‑based, Unix‑domain‑socket, and Node IPC communication methods while addressing Ruby environment setup, bundler nuances, and debugging techniques.
ElectronIPCRuby
0 likes · 20 min read


21CTOJan 6, 2023 · Backend Development
Ruby 3.2.0, released on December 25, introduces official WebAssembly support via WASI and the first production-ready version of YJIT—a new JIT compiler from Shopify—delivering up to a 41% speed boost over the traditional interpreter, while also enhancing Regexp performance dramatically.
JITRubyWebAssembly
0 likes · 4 min read


21CTOAug 28, 2022 · Backend Development
This article compares Ruby and Python as high‑level, object‑oriented languages for web development, outlining their histories, core features, popular frameworks, performance statistics, and suitability for different project needs to help developers choose the right tool.
BackendPythonRuby
0 likes · 8 min read

This guide shows how to repurpose an old Android phone into a functional web server by installing Termux, configuring SSH with Dropbear, setting a static IP, installing Ruby, Sinatra, Puma and nginx, enabling port forwarding, dynamic DNS, and performing basic load testing and security considerations.
AndroidRubySSH
0 likes · 7 min read

The talk explains how Tubi's Multimedia Processing Platform uses an interface‑driven architecture, Elixir protocols, and composable movers and comparators to migrate petabyte‑scale video files across cloud storage while balancing performance, cost, and testability, offering practical insights for Ruby and backend engineers.
ElixirFile MigrationRuby
0 likes · 13 min read

The article examines why Visual Basic .NET, Delphi, Perl, Adobe Flash, and Ruby are losing relevance, describing each language's history, the factors that led to their decline, and why they are considered the most endangered programming languages today.
DelphiFlashRuby
0 likes · 5 min read

This article explains the structure of Xcode workspace and project bundles, the role of the project.pbxproj file and its Property List format, how Xcodeproj maps these objects in Ruby, and demonstrates practical code for adding files and dependencies to an Xcode project.
RubyXcodeXcodeproj
0 likes · 20 min read

NGINX Unit 1.25.0 introduces TLS session caching and ticketing, client IP header replacement, manual application restart control, Ruby lifecycle hooks, and a series of bug fixes that improve stability and compatibility for web applications.
BugFixNGINX UnitRuby
0 likes · 3 min read

This article describes a complete workflow for iOS UI development that centralizes color definitions in a JSON palette, synchronizes them via a CocoaPods post‑integrate hook, and automatically generates Objective‑C/Swift color constants and Xcode code snippets using Ruby and ERB templates, dramatically improving efficiency and reducing manual errors.
CocoaPodsColor ManagementRuby
0 likes · 12 min read

This guide explains how mobile developers can create a consistent, project‑level development environment by using Homebrew for package management, rbenv for Ruby version control, RubyGems and Bundler for dependency handling, and flutter‑wrapper to standardize Flutter SDK usage across the team.
FlutterHomebrewRuby
0 likes · 9 min read

This article reviews the most suitable programming languages for web development, comparing JavaScript, Python, PHP, Java, and Ruby, and explains why each language is favored for different aspects of building modern web applications.
JavaJavaScriptPHP
0 likes · 7 min read

This step‑by‑step guide shows how to install Ruby, add the Scout_Realtime gem, start its daemon, configure firewall access, view real‑time metrics in a web browser, and manage logs, stopping or uninstalling the tool on Linux servers.
LinuxRubyScout_Realtime
0 likes · 6 min read


21CTOMay 8, 2021 · Fundamentals
The article surveys five programming languages—Perl, Haskell, Ruby, Visual Basic.NET, and Object Pascal—explaining why each is considered obsolete, illustrating their decline with historical context, code examples, and industry opinions, and questioning whether they are truly dead or merely fading.
HaskellObject PascalRuby
0 likes · 11 min read

This article examines why dynamic‑typed languages such as Perl, PHP, Ruby, and Python are generally slower than compiled or statically‑typed languages, discusses static versus dynamic typing, and emphasizes that performance issues often stem from implementation choices rather than the languages themselves.
PHPPythonRuby
0 likes · 6 min read

This guide explains three Redis migration methods, focuses on using the third‑party tools redis‑dump and redis‑load, and provides detailed steps to upgrade Ruby, install RVM, set up redis‑dump, and export/import data in JSON format.
RedisRubydata migration
0 likes · 5 min read

This weekly roundup covers a Chinese open‑source JD seckill script topping GitHub trends, a severe Btrfs slowdown in Linux 5.10, native Linux WeChat for UOS, Flash Player removal, Mi 11 kernel open‑source, Ruby 3.0 launch, record app‑store spending, Linux ported to Nintendo N64, DeepMind's MuZero AI, and Huawei's leading Linux‑5.10 contributions.
AIBtrfsOpen Source
0 likes · 10 min read


21CTODec 30, 2020 · Fundamentals
The article analyzes five once‑popular programming languages—Ruby, Visual Basic, Haskell, Perl, and Objective‑C—explaining why their performance, ecosystem support, and community interest are declining and why they could disappear unless revitalized by strong developer investment.
HaskellObjective-C++Ruby
0 likes · 7 min read

The article examines why Ruby, Visual Basic, Haskell, Perl, and Objective‑C are losing popularity and argues that without community and vendor support these languages may fade away over the next two decades, while newer languages continue to dominate development.
HaskellObjective-C++Ruby
0 likes · 7 min read

Ruby 3.0, released as promised on Christmas, brings three‑times performance gains over Ruby 2, introduces MJIT, the experimental Ractor concurrency model, a static type system via RBS, a new Fiber Scheduler, and several syntax enhancements, with code examples illustrating these features.
ConcurrencyProgramming LanguageRuby
0 likes · 4 min read

This article explains how CocoaPods Core manages Spec repositories, including the structure and initialization of Source, Metadata handling, shard-based indexing, version resolution, CDN migration, and the mechanisms for updating and searching PodSpecs across Git and CDN sources.
CDNCocoaPodsRuby
0 likes · 22 min read

Ruby 3.0.0 Preview 1 introduces RBS for static type definitions, experimental Ractor for actor‑model concurrency, and a new Scheduler API for lightweight thread management, accompanied by examples and a list of supported synchronization methods, highlighting the language’s evolving capabilities.
RubyType Systemractor
0 likes · 4 min read

Learn step‑by‑step how to provision an Elasticsearch server with Vagrant, install Elastic App Search, configure credentials, index a large video‑games dataset via API, customize schema, create synonyms and boosts, and deploy a React‑based search UI to Nginx, all with detailed commands and code snippets.
App SearchElasticsearchReact
0 likes · 12 min read


21CTOMar 27, 2020 · Fundamentals
The article predicts the demise of several once‑popular programming languages—Perl, Ruby, Visual Basic.NET, Adobe Flash/AIR, and Delphi’s Object Pascal—by examining their historical rise, current decline, and providing sample "Goodbye World" code snippets to illustrate their fading relevance.
ActionScriptObject PascalRuby
0 likes · 9 min read

The article forecasts that Perl, Ruby, Visual Basic.NET, Adobe Flash/AIR (ActionScript), and Delphi's Object Pascal are each facing extinction as developers shift toward newer, more supported programming languages, illustrating the decline with code examples and historical context.
ActionScriptObject PascalRuby
0 likes · 9 min read

The article recounts Olery’s five‑year evolution from a Ruby‑centric stack using MongoDB and MySQL to a PostgreSQL‑based architecture, detailing schema‑less pitfalls, database requirements, migration strategies, code adaptations, and the measurable performance gains achieved after the transition.
Database MigrationMongoDBPostgreSQL
0 likes · 15 min read

This article explains what CocoaPods is, its evolution, core components, and provides detailed step‑by‑step instructions for installing, uninstalling, and managing multiple versions using tools like Homebrew, RVM with gemsets, and Bundler, helping iOS developers maintain consistent development environments.
BundlerCocoaPodsHomebrew
0 likes · 12 min read

This article recounts the migration of the Core Course (CC) service from a custom Ruby RPC framework to a Go‑based gRPC solution, detailing technical choices, performance bottlenecks, testing strategies, monitoring setup, and the substantial improvements achieved after launch.
GoRubygRPC
0 likes · 8 min read


21CTODec 8, 2018 · Fundamentals
The article examines the popularity of five open‑source programming languages—PHP, Python, JavaScript, Ruby, and Go—by evaluating their community size, typical use cases, dominant frameworks, and career prospects, helping developers choose the most suitable language for web, backend, or emerging applications.
JavaScriptPHPPython
0 likes · 7 min read

This tutorial explains how to set up a six‑node Redis cluster (three masters and three slaves) on one Linux VM by creating separate directories and configuration files for each instance, installing Ruby tools, starting the instances, and using the redis‑trib.rb script to create and verify the cluster.
BackendClusterLinux
0 likes · 5 min read


21CTOMay 15, 2018 · Fundamentals
This article compares Python, Java, Ruby, and JavaScript, explaining why learning programming concepts matters more than the language itself and offering practical advice for beginners on choosing a language that leads to easy job opportunities and smooth skill transfer.
JavaPythonRuby
0 likes · 4 min read

The article advises beginners that the specific programming language matters less than learning core concepts, recommending Python, Java, Ruby, and JavaScript as strong entry points while emphasizing flexibility, job prospects, and the importance of not getting stuck on a single language.
JavaJavaScriptPython
0 likes · 5 min read

Facing tight resources, Shanghai’s takeaway QA team adopted Ruby to craft two automation frameworks—Coral‑API for interface testing with a DSL, code generation and extensibility, and Coral‑APP for UI testing using Appium and Cucumber—while also building a Rails‑based quality management system that cut regression time by over half, trained new Ruby users, and uncovered version‑specific bugs through CI integration.
API TestingCoral-APICoral-APP
0 likes · 17 min read

GitHub’s security alerts, launched in October, have dramatically cut remediation times for Ruby and JavaScript projects—nearly half of alerts are addressed within a week and 98% of actively maintained repositories patch within seven days—identifying over 400 million vulnerabilities across more than 500 thousand repositories, with detailed notifications delivered via the platform, email, and a new weekly summary, and future support planned for Python.
Dependency ScanningGitHubJavaScript
0 likes · 3 min read

This article walks through a practical, step‑by‑step migration from MongoDB to MySQL for a Rails project, covering data export, preprocessing embedded documents, handling UUIDs, adapting Mongoid plugins, rewriting models, writing migration scripts, rebuilding relationships, managing many‑to‑many links, and emphasizing thorough testing to ensure a smooth, low‑downtime transition.
ActiveRecordDatabase MigrationMongoDB
0 likes · 23 min read

A third‑grader’s bulb‑toggling puzzle is solved by showing that a bulb stays on only when its number is a perfect square, leading to 14 lit bulbs out of 200, and a simple Ruby program is used to demonstrate the result.
AlgorithmEducationMath Puzzle
0 likes · 5 min read


21CTOAug 15, 2017 · Fundamentals
This article presents four algorithmic puzzles ranging from entry to advanced levels, explains each problem statement, offers solution strategies and Ruby code snippets, and discusses combinatorial calculations, search optimizations, and implementation details to help programmers sharpen their coding and problem‑solving abilities.
AlgorithmsRubycombinatorics
0 likes · 10 min read


ITPUBMar 13, 2017 · Backend Development
This article explains why a legacy Rails 3 application switched from CouchDB to Redis for caching a heavy daily‑updated report, detailing the design, configuration files, service class, producer and consumer code, and the resulting performance improvements.
RailsRedisRuby
0 likes · 8 min read

This article compares Ruby on Rails' ActiveRecord and Elixir's Ecto, explaining their mapping definitions, data retrieval, query syntax, write operations, validations, callbacks, and associations, while highlighting the trade‑offs between the convenience of ActiveRecord and the explicitness of Ecto.
ActiveRecordBackendEcto
0 likes · 15 min read


ITPUBJul 6, 2016 · Databases
The article shares a practical learning workflow for quickly mastering new technologies, illustrates a real‑world Ruby China case where a user‑verification flag must be updated, and demonstrates the correct MongoDB $set syntax to modify only one field without replacing the entire document.
Code ExampleDatabase UpdateMongoDB
0 likes · 6 min read


21CTOJun 17, 2016 · Fundamentals
The article explores the historical and practical reasons for mastering C, compares it with Lisp, C++, Java, Perl, Ruby, and Python, and reflects on how language choices shape software development, performance, and developer culture within large engineering teams.
C++Language comparisonLisp
0 likes · 28 min read

This article describes how a rapidly growing company refactored an outdated .NET contract management system into a set of independent microservices using the Stencil Ruby framework, detailing the motivations, microservice fundamentals, benefits, development workflow, deployment automation, and the resulting flexible architecture.
Continuous IntegrationRubycloud deployment
0 likes · 14 min read

This article explains the differences between Ruby threads and processes, when to use each for performance gains, illustrates practical scenarios, and provides code examples for simple multithreading, multiprocessing, and using the Parallel gem.
ConcurrencyGILMultithreading
0 likes · 11 min read


21CTOApr 21, 2016 · Backend Development
This article explains how a failing CouchDB‑based Rails cache for a massive SQL report was redesigned using Redis, detailing configuration, a producer‑consumer pattern, service encapsulation, and scheduled rake tasks to achieve stable, fast page loads.
RailsRakeRuby
0 likes · 8 min read

This guide walks through the complete installation of GitLab on a Debian system, covering package installation, Ruby and Go setup, system user creation, database configuration, Redis setup, cloning the source, configuring GitLab, initializing the database, and starting the service.
DebianGoPostgreSQL
0 likes · 18 min read

This article shares Cookpad’s practical experience with microservices, covering service granularity, RESTful integration, parallel processing, fault tolerance, testing strategies, logging, Docker‑based deployment pipelines, and company‑wide support mechanisms that together improve development speed and reliability.
CI/CDPactREST API
0 likes · 12 min read

The article presents complete, licensed implementations of salted PBKDF2‑SHA1 password hashing for both ASP.NET (C#) and Ruby on Rails, detailing the source code, usage methods, and verification procedures to securely store and validate passwords.
ASP.NETC#PBKDF2
0 likes · 7 min read

This article explains how to enable Rails fragment caching, use HTML fragment cache helpers, understand cache digests, observe read/write fragment logs, and migrate the cache store from file system to Redis by adding redis-namespace and redis-rails gems, configuring cache_store, and handling cache invalidation on data changes.
CacheFragmentCacheRails
0 likes · 9 min read

This article outlines the step‑by‑step design of a friend‑status broadcast service, starting with simple MongoDB queries, moving to message‑driven delivery, adding asynchronous processing with a job queue, and finally handling inactive users through caching and expiration strategies.
Rubyasynchronous deliverystatus broadcast
0 likes · 7 min read

This article describes how a legacy .NET contract management system was transformed into a set of independent microservices using a strategic decoupling approach, explains microservice fundamentals and advantages, and introduces the Ruby‑based Stencil framework with code generation, CI templates, and one‑click AWS deployment to accelerate development and operations.
AWSCI/CDRuby
0 likes · 14 min read

Whitepages migrated several high‑traffic services from a Ruby monolith to Scala running on the Akka actor framework, achieving dramatically lower latency and higher throughput while sharing the practical benefits, challenges, and best‑practice insights they discovered during the transition.
AkkaRubyScala
0 likes · 6 min read

Olery’s journey from a mixed MySQL‑MongoDB setup to a PostgreSQL‑centric architecture reveals the pitfalls of schema‑less storage, the criteria for a robust database, a three‑stage migration process, and measurable performance gains across its services.
Database MigrationMongoDBPostgreSQL
0 likes · 15 min read
