Posts tagged ruby

165 posts

The Thread API : Concurrent, colorless Ruby

👋🏼 This is part of series on concurrency, parallelism and asynchronous programming in Ruby. It’s a deep dive, so it’s divided into 12 main parts:
Your Ruby programs are always multi-threaded: Part 1 Your Ruby programs are always multi-threaded: Part 2 Consistent, request-local state Ruby methods are colorless The Thread API: Concurrent, colorless Ruby Interrupting Threads: Concurrent, colorless Ruby Thread and its MaNy friends: Concurrent, colorless Ruby Fibers: Concurrent, colorless Ruby Processes, Ractors and alternative runtimes: Parallel Ruby Scaling concurrency: Streaming Ruby Abstracted, concurrent Ruby Closing thoughts, kicking the tires and tangents How I dive into CRuby concurrency You’re reading “The Thread API: Concurrent, colorless Ruby”.

Debugbar For Ruby on Rails

Rails debugging dev tools for faster development. Inspect your request details (queries, logs, cache, jobs and more).

Service Objects | Jared Norman

Service Objects are a popular software design pattern in the Ruby on Rails community. They are used to extract procedural logic away from models and controllers and into their own objects.

Akshay's Blog

I am a Ruby on Rails developer based in Victoria, BC. This blog is my attempt to spread the joy of building web applications in Ruby on Rails with the world.

Runno

It has some similarities with things like JSFiddle or CodePen, but can run Ruby (as well as Python, C and C++). It can even act interactively and accept user input (such as with gets). You can then take these sandboxes and use them on your own pages/blog posts, etc.

Ruby Style Guide

This is a very reasonable, rational, practical style guide. “Shopify's Ruby Style Guide. Always useful to see how the ruby experts do it!”

Glimmer

DSL Framework consisting of a DSL Engine and a Data-Binding Library used in Glimmer DSL for SWT (JRuby Desktop Development GUI Framework), Glimmer DSL for Opal (Pure Ruby Web GUI), Glimmer DSL for ...

Release 2.5.0 · Shopify/ruby-style-guide

What's Changed

Enable Layout/EmptyLineAfterGuardClause cop by @sambostock in #348
Enable Style/GlobalStdStream by @casperisfine in #350
Allow 'webmaster' for Naming/InclusiveLanguage b...

Refactoring and Design Patterns

Refactoring is a controllable process of improving code without creating new functionality. Design Patterns are typical solutions to the commonly occurring problems in software design.

Ruby2JS

Ruby2JS is an extensible Ruby to modern JavaScript transpiler you can use in production today.

OpenSourceRails.org

A comprehensive, curated list of open-source Ruby on Rails applications.

red-data-tools/YouPlot

A command line tool that draw plots on the terminal. - red-data-tools/YouPlot

rubysolo/dentaku

math and logic formula parser and evaluator. Contribute to rubysolo/dentaku development by creating an account on GitHub.

Try Ruby - Code School

This is a famous course written by a really cool quirky Ruby celebrity (known as _why -- the underscore is part of the name). You might find it useful!

Rails for Zombies - Code School

Codeschool courses are supposed to be excellent. This is another resource that is available if you want to accelerate your learning even more!

sferik/rails_admin - GitHub

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data - sferik/rails_admin

Integrity | Continuous Integration server

Our digital forensics service expert team provides digital evidence and support for any forensic need. We service data breach emergencies, intellectual property theft suspicions, cyber security concerns, and personal forensic investigations. Protect your

Pricing · drone.io

Drone is a self-service Continuous Delivery platform for busy development teams

Pricing · drone.io

Drone is a self-service Continuous Delivery platform for busy development teams

The Secret to Rails OO Design - Literate Programming

Yep, that's right. A Ruby class that inherets from nothing. It's so simple that it hides in plain sight. Loved by those who've mastered Rails, Plain Old Ruby Objects, or "POROs" as some like to call them, are a hidden weapon against complexity. Here's what I mean. Examine this 'simple' model:

Better Ruby Presenters - Literate Programming

But I digress: objects > functions. At least in the context of getting stuff done in Ruby. This pretty much applies to most of the rest of the points in this post, so just keep that in the back of your brain.

Get started with Sinatra | Tutorial | .net magazine

Sinatra applications are often a single file that contain just enough to get the job done. The framework is best suited for smaller web applications, but if a large web app requires an API or web interface for some secondary functionality, then Sinatra is ideal.

Contracts.ruby by egonSchiele

contracts.ruby brings code contracts to the Ruby language. Code contracts allow you make some assertions about your code, and then checks them to make sure they hold.

SciRuby

Ruby scientific library

jgaskins/perpetuity

Persistence gem for Ruby objects using the Data Mapper pattern - jgaskins/perpetuity

By Thor’s Hammer! « Katz Got Your Tongue?

For the past few months, I've become more and more disillusioned by the current state of Ruby's scripting support. Sure, we have optparse, and a gamut of other solutions, but there's no full-stack package for writing robust binaries. Enter thor. The idea behind thor initially came from my work on

Apipie/apipie-rails

Ruby on Rails API documentation tool. Contribute to Apipie/apipie-rails development by creating an account on GitHub.

Awesome Ruby

A collection of awesome Ruby libraries, tools, frameworks and software. The essential Ruby to build modern Apps and Web Apps.

ruby-prof/ruby-prof

A ruby profiler. See https://ruby-prof.github.io for more information. - ruby-prof/ruby-prof

Awesome Ruby

A collection of awesome Ruby libraries, tools, frameworks and software. The essential Ruby to build modern Apps and Web Apps.

The wxPython tutorial

This is wxPython tutorial. In this tutorial, we will learn the basics of GUI programming in wxPython.

ImageMagick v6 Examples

Use ImageMagick® to create, edit, compose, and convert bitmap images. Resize an image, crop it, change its shades and colors, add captions, and more.

Ruby on Rails Tutorial: Learn Rails by Example book and screencasts by Michael Hartl

Newly updated for Rails 6, the Ruby on Rails Tutorial book and screencast series teach you how to develop and deploy real, industrial-strength web applications with Ruby on Rails, the open-source web framework that powers top websites such as GitHub, Hulu, Shopify, and Airbnb. The Ruby on Rails Tutorial book is available for purchase as an ebook (PDF, EPUB, and MOBI formats). The companion screencast series includes 14 individual lessons, one for each chapter of the Ruby on Rails Tutorial book.

Home — JRuby.org

JRuby is a high performance, stable, fully threaded Java implementation of the Ruby programming language.

Hidden jewels of Ruby stdlib

Ruby comes distributed with a vast standard library. We only use a fraction of it, usually. Everyone knows date, set, json, maybe even csv. But there are man...

Arel with Wharel

Wharel is a tiny little gem that uses the empty room pattern to make Arel queries easier to build.

SciRuby/rubex

rubex - A Ruby-like language for writing Ruby C extensions. - SciRuby/rubex

Using GraphQL with Rails

Until recently whenever I had to implement an API in Ruby/Rails I would go for the typical REST i...

Active Job Basics — Ruby on Rails Guides

Active Job BasicsThis guide provides you with all you need to get started in creating, enqueuing and executing background jobs.After reading this guide, you will know: How to create jobs. How to enqueue jobs. How to run jobs in the background. How to send emails from your application asynchronously.

Editors | Drifting Ruby

One question that I get asked most often is what editor, theme and extensions am I using for my editor. In this episode, we take a look at the different extensions and settings that I use.

The Ruby Bibliography

Fun list of papers, reports, and dissertations related to ruby from academia.

rpush/rpush

Getting mobiles to display notifications is a tricky business. Especially because there are several and each one is different. This gem tries to solve this.

ebobby/has-many-with-set

An interesting variation on how to represent a many to many relationship in rails.

David Dollar

A tool to allow me to launch multiple apps locally to get a new SOA service going for debugging.

styd/apexcharts.rb

This is an AMAZING collection of graphs. Great to have a ruby binding. Haven’t tried it yet but looks very worth while.

Scripting and automating git processes

This one is pretty eclectic but if you find yourself writing a script in ruby or python or bash and you need to respond in the logic to what's going on in git, then you will find some very useful tips here.

Rails Performance Tips

Super useful modern rundown of low hanging fruit performance tips for rails.

Ruby From Other Languages

If you are coming to Ruby from another programming language there are a lot of good tips here!