Ruby Language


23 Requested Topics

Create a Ruby library (gem) including C code * steps to make a gem including a C extension * pitfalls and tips * a sample like wrapping GNU hello? requested by Eric Platon 4,732 4 comments
Memory and garbage collection for examples that deal with GC procedure, memory consumption, leaks, etc requested by Vasfed 6,430
logging best practices to use the ruby logger functionality requested by Hassek 5,204
OpenSSL Ideally, this topic should include clear examples on how to properly verify hostnames and certificates, as well as how to set things like the TLS version used for connections. I'd suggest focussing on client use, but also including some information on creating basic servers, keys, etc. requested by Matt 3,158
Concurrency Should briefly describe threads, queues, actors, reactors, linux concurrency primitives such as splice or fork. requested by Pooyan Khosravi 1,738
CSV class CSV (ruby-doc.org/stdlib-2.0.0/libdoc/csv/rdoc/CSV.html) is one of those classes that you end up using in almost every application. Apart from the basic documentation, I think that some notice on the different library changes would be useful (FastCSV for example) requested by dgilperez 6,554
Fiddle (low level tinkering) Fiddle lets you interact with Ruby's C implementation, but is very poorly documented in the wild. requested by ndn 22.5k
Class Variables Define various class variable gotcha like class variables and inheritance, class variables defined in a module, class variables defined by reopening a class/object, and how they are different from class instance variables. requested by Vikrant Chaudhary 7,259
HTTParty How to use HTTParty (johnnunemaker.com/httparty) to interact with public APIs and grab webpages. requested by Kathryn 317
Memoization How to automatically cache the results of method calls to avoid excessive calculations. See: nithinbekal.com/posts/ruby-memoization requested by Kathryn 317 1 comment
Unit testing Using Test::Unit (or Minitest) to spot regressions. requested by Kathryn 317
Advisory record locking with Fcntl Locking files, checking for locks on existing files, getting the process ID of a process which locked a file, etc. Relates to the Fcntl module in the Ruby standard library. requested by Ajedi32 18.1k
Data science libraries of ruby We have known popular python libraries like scipy, numpy, matplotlib but we do not know so much about what is in ruby for data sciences. Sciruby, nmatrix, histogram are some ruby data science libraries to explore. requested by user3445140 501
rails deployment and scaling- web and app servers nginx, passenger, thin, puma, redis, unicorns are all either web, app or data servers but what is the minimal set of these servers we definitely need in a rails application and what is the gain with each of these when scaling. requested by user3445140 501 1 comment
Higher-order Functions A collection of methods (and the objects/modules to which the belong) that constitute higher-order functions like #map and #collect .. requested by Flip 1,568
TracePoint Setting up traces to help debug and/or illustrate what's going on in a Ruby program. requested by Kathryn 317
Rake How does one set up a Rakefile for testing? requested by Kathryn 317
Creating Interfaces Classes implement methods, some of those methods are intended to be used by others and these methods make up its public interface. requested by Austin Vern Songer 11