Earn $100-$500 per month

Great Offer!!!
Now you can earn $100-$500 per month with has many choice for you.You can get job absolutely free. Visit this page website:<a href=""target="_blank"></a>Free job for you!

Free job

Free job for you!
Are you want any Internet home job?It is perfect job for you. Absolutely free and easy job here. To know more about this Please visit this page website:<a href=""target="_blank"=></a>

Free job

Great offer for you. Are you want to do a Internet job?It's for you.

So try and enjoy it...

using nginx rewrite rules with sinatra

I've been having a hard time implementing the following pattern:

1. Have a sinatra app that thinks it's hosted under / - for example

GET /input -> display a form
POST /process -> process the form

and in form.html
<form action="process" ...>

2. Expose it at host:port (currently with puma, though I'm happy to change
that if some other server makes it easier), and put it behind nginx with a
prefix, e.g.

ZenTest 4.12.0 Released

ZenTest version 4.12.0 has been released!

* home: <>
* rdoc: <>

ZenTest provides 4 different tools: zentest, unit_diff, autotest, and

zentest scans your target and unit-test code and writes your missing
code based on simple naming rules, enabling XP at a much quicker pace.
zentest only works with Ruby and Minitest or Test::Unit.

minitest-bisect 1.5.1 Released

minitest-bisect version 1.5.1 has been released!

* home: <>
* rdoc: <>

Hunting down random test failures can be very very difficult,
sometimes impossible, but minitest-bisect makes it easy.

minitest-bisect helps you isolate and debug random test failures.

If your tests only fail randomly, you can reproduce the error
consistently by using `--seed <num>`, but what then? How do you figure
out which combination of tests out of hundreds are responsible for the

minitest-sprint 1.2.1 Released

minitest-sprint version 1.2.1 has been released!

* home: <>
* rdoc: <>

Runs (Get it?

path_expander 1.1.0 Released

path_expander version 1.1.0 has been released!

* home: <>
* rdoc: <>

PathExpander helps pre-process command-line arguments expanding
directories into their constituent files. It further helps by
providing additional mechanisms to make specifying subsets easier
with path subtraction and allowing for command-line arguments to be
saved in a file.

NOTE: this is NOT an options processor. It is a path processor
(basically everything else besides options).

minitest 5.12.0 Released

minitest version 5.12.0 has been released!

* home: <>
* bugs: <>
* rdoc: <>
* vim: <>
* emacs: <>

minitest provides a complete suite of testing facilities supporting
TDD, BDD, mocking, and benchmarking.

"I had a class with Jim Weirich on testing last week and we were
allowed to choose our testing frameworks.

Working with / Importing (Football) CSV Packages into an SQL Database with the sportdb Gem(s) in Ruby


I've written up / published a new from zero / scratch getting
started guide for importing football.csv packages [1]
into an SQL database. The example uses all English football leagues, clubs
and matches (from 1888-89 to today) [2].

Number underscored gone wrong

Dear ruby fans...

Just a quick question: I always thought underscores in numbers were ignored, like 100_000, 10_00 or 666_6.

Buuut: did anyone of you tried to do following?

WTH :)

Really - try it :)

Would be great if someone could answer why this is not working as I imagined? :)

Have a nice afternoon!

Unsubscribe: <>

path_expander 1.0.5 Released

path_expander version 1.0.5 has been released!

* home: <>
* rdoc: <>

PathExpander helps pre-process command-line arguments expanding
directories into their constituent files. It further helps by
providing additional mechanisms to make specifying subsets easier
with path subtraction and allowing for command-line arguments to be
saved in a file.

NOTE: this is NOT an options processor. It is a path processor
(basically everything else besides options).

flog 4.6.3 Released

flog version 4.6.3 has been released!

* home: <>
* code: <>
* rdoc: <>
* vim: <>

Flog reports the most tortured code in an easy to read pain
report. The higher the score, the more pain the code is in.


### 4.6.3 / 2019-09-14

* 1 minor enhancement:

* Removed --18 and --19 options to cmdline.

hoe 3.18.1 Released

hoe version 3.18.1 has been released!

* home: <>
* code: <>
* bugs: <>
* rdoc: <>
* doco: <>
* other: <>

Hoe is a rake/rubygems helper for project Rakefiles. It helps you
manage, maintain, and release your project and includes a dynamic
plug-in system allowing for easy extensibility.

BlueKitty 0.0.0


I released a 3D game engine.

<a href="" title=""></a>

I've been learning Vulkan in the last months and using this knowledge to build this Ruby. It's incomplete now, but I intend to keep working on it until it becomes a reliable project for professional game development. I encourage anyone that wants to help or is just curious to follow it on Github: <a href="" title=""></a>.

Ruby Conferences 'n' Camps in 2019 Update - What's Upcoming in Sept? Nov? Dec? What's News?

I've updated the Ruby Conferences 'n' Camps in 2019 - What's

String Corruption in Ruby 2.6.4


When we upgraded one of our applications, we started seeing string corruption. That is, a strings' content would change seemingly randomly and contain nonsense characters, like null characters (\x00). However, the changes to the string are not deterministic.

Can’t report a bug, and a bug in Regexp + UTF-8 + //i


I can’t report a bug on the tracker as the login page displays:

"Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine
administrator for assistance.

If you are the Redmine administrator, check your log files for details
about the error.


<a href="" title=""></a>

I clicked on "Login" on the Issue Report wiki page.


2.6.3 :049 > 'SHOP' =~ /[xo]/i
=> 2
2.6.3 :050 > 'CAFÉ' =~ /[é]/i
=> 3
2.6.3 :051 > 'CAFÉ' =~ /[xé]/i
=> nil
2.6.3 :052 > 'CAFÉ' =~ /[xÉ]/i
=> 3


sportdb Gem Guide Updated - Working w/ Football CSV Files - English Premier League 2019/20 - Let's Build the Standings Table


I've updated the hands-on getting started guide for the sportdb
text library / gem.

Let's build the standings table for the English Premier League (EPL)
for the 2019/20 season from all 40 matches (as of Sept/2) in the
comma-separated values (.csv) format.

In a nutshell:

require 'sportdb/text'

matches = 'england/2010s/2019-20/eng.1.csv' )

standings =
standings.update( matches )

standings.to_a.each do |l|
print '%2d.

Good use of Adapter pattern?

I'm building my OO skills (about 30 years late) and am learning a little
bit about patterns. While they may not be the be all and end all, my
current use case might be a good fit for the Adapter. Looking for a
little wisdom before I jump in.

I have a module, "data_mine", currently with two methods.

Rroonga 9.0.7

May Sho Hashimoto's soul, R.I.P.

Rroonga 9.0.7 has been released.

Web site: <a href="" title=""></a>

Rroonga is the Ruby bindings for Groonga that is a fast
flexible fulltext search engine and column store.

About Groonga: <a href="" title=""></a>

== About Rroonga

Rroonga is a library to use Groonga with Ruby-ish API. It is
easy to add fast fulltext search feature to your Ruby
application easily.




pls delete me from this mail list, tks


A Ruby committer Sho Hashimoto (sho-h) has passed away on Aug 28 from
a sudden illness.

He contributed much to Ruby and the community.

May his soul rest in peace.

Unsubscribe: <>

Ruby 2.6.4, 2.5.6 and 2.4.7 Released

Hi, all

We've just released Ruby 2.6.4, 2.5.6 and 2.4.7.
How to download and details:

* [Ruby 2.6.4 Released](<a href="" title=""></a>)
* [Ruby 2.5.6 Released](<a href="" title=""></a>)
* [Ruby 2.4.7 Released](<a href="" title=""></a>)

These releases include a security fix.
You can check detail:

* [Multiple jQuery vulnerabilities in RDoc](<a href="" title=""></a>)

We strongly recommend to upgrade your



i have a problem with Integer#chr, where the encoding is UTF-8. If I call


in irb, I expect the German umlaut Ä, but I get 쎄, where I even can't
say what language it is ;-)

Is it a bug, or do I something wrong?

Cheers, detlef

ruby version ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux-gnu]
irb version 0.9.6(09/06/30)

Unsubscribe: <>

ruby rookie needs help with mtime method of File

I was looking at an example of the "mtime" method for a file and when I ran
the example I received the following traceback

C:\barry\ruby>ruby dir3-glob.rb
Traceback (most recent call last):
2: from dir3-glob.rb:3:in `<main>'
1: from dir3-glob.rb:3:in `glob'
dir3-glob.rb:6:in `block in <main>': undefined method `mtime' for
"backtick1.rb":String (NoMethodError)

The source of my script is as follows
1 #!C:\Ruby\bin\ruby.exe -w
3 Dir.glob("*.rb") {|file|
4 # do something with the file here
5 puts file
6 mtime = file.mtime
7 ne

footballdata gem - download & import 22+ top football leagues from Joseph Buchdahl's Football Data


I've put together a new sportdb-source-footballdata gem / library [1]
that lets you download & import 22+ top football leagues
from 25 seasons back to 1993/94 from Joseph Buchdahl's Football Data
website (updated twice a week).

Leagues include the English Premier League, the German Bundesliga,
the Spanish Primera Division (La Liga), the Brazilian Série A, the
Japanese J1 League, and many more.

Downloading all 570+ datafiles (in comma-separated values format)
is as easy as:

require 'sportdb/source/footballdata'

And importing the datafi

footballdb-clubs Gem / Library - Match 1500+ Football Club Names from 100+ Leagues from Around the World


I've put together a new footballdb-clubs gem / library [1]
that bundles-up an all-in-one football.db /clubs datafile [2]
and lets you match 1500+ football club names from around the world
"out-of-the-gem / box " with zero-configuration.

It's as easy as:

``` ruby
require 'footballdb/clubs'

pp Club.all

resulting in:

[#<Club @name="Al Ahly", @city="Cairo", @country="Egypt", ...>,
#<Club @name="Al Mokawloon Al Arab", @city="Cairo", @country="Egypt", ...>,
#<Club @name="El Dakhleya", @city="Cairo", @country="Egypt", ...>,
#<Club @name="El Entag El

dynamic loading and unloading of module


I want to load and remove dynamically Module in an application. Removing
is possible, but

I am not able to reload it. Is there any way to do it?

Is it even recommendable to do something like this?


module Mod
  def foo
    puts "fooing"

module Modd
  def foo
    puts "fooing2"

class C
  include Mod

  def self.remove_module(m)
    m.instance_methods.each{|m| undef_method(m)}

  def self.addModul m
        include m

c =


Alphabets Benchmarks - How many ways to unaccent a text string? Turn AÄÁaäá into AAAaaa. And the winner is...


let's try out half a dozen ways to unaccent a text string? [1]

The challenge - What's the fastest way to turn `AÄÁaäá EÉeé IÍiíï
NÑnñ OÖÓoöó Ssß UÜÚuüú`
into `AAAaaa EEee IIiii NNnn OOOooo Ssss UUUuuu`?

Let's benchmark and the winner (so far) is... Spoiler: `gsub` .

NON_ALPHA_CHAR_REGEX = /[^A-Za-z0-9 ]/ # use/try regex constant
for speed-up
def unaccent_gsub( text, mapping )
text.gsub( NON_ALPHA_CHAR_REGEX ) do |ch|
mapping[ch] || ch

Can you find a faster way? Show us.

Happy data (and text) wrangling with ruby. Cheers.

JRuby Released!

The JRuby community is pleased to announce the release of JRuby

Homepage: <a href="" title=""></a>
Download: <a href="" title=""></a>

JRuby 9.2.x is compatible with Ruby 2.5.x and stays in sync with C Ruby.
This version offers significant improvements to refinements. It also has a
big performance gain for Rational#/. As always there is a mix of
miscellaneous fixes so be sure to read the issue list below. All users are
encouraged to upgrade.

If you do find issues then report them on using our issue tracker at
<a href="" title=""></a>.

fifa gem - the world's football countries and codes (incl. non-member countries and irregular codes)


I've put together a new fifa gem / library [1]
that includes all the world's football countries and codes

ruby for machine learning


I mostly do programming with ruby/perl/c, but machine learning seems to
use python primarily.
what's the suggested framework for ruby user to use machine learning stuff?


Unsubscribe: <>

Nokogiri security update v1.10.4

Nokogiri 1.10.4 has been released.

This is a security release.

Getting basic data from Ruby itself?

I'm building my study tools for the Ruby certification exam. Is there a
way to query Ruby itself for:

Key words (def, begin, end, etc)
What those key words do
The list of built-in modules and classes
The standard library modules

Some things seem to have ri documentation, some I just haven't figured
out how to get yet. I do not want a web page with the data, but a web
tutorial on how to get it would be great.



Unsubscribe: <>

ruby/rails rookie needs help to build a simple database app

I am attempting to give myself an intro to ruby and rails. I am a long time
software developer (unix, perl, c, database, web, etc...)

So far every tutorial I have tried has ended in disaster. In one case when
I go to the url listed in the tutorial I get an error and a traceback which
complains about a missing method.

Final iteration lost?

I'm parsing a data file with each_line, each section starts with a line
that ends in ")". Each section has 2-3 subsections, delimited by blank
lines. The original test for a new section was:

if line.end_with?(')')

However, that means the last section is never dealt with, since the
"each_line" ends at EOF.

Artichoke Ruby - a ruby made with rust - Try the playground in your browser running on a WebAssembly build


I've added Artichoke Ruby [1a] to the Awesome Rubies (collection) page [2].

What's Artichoke Ruby? It's a new upcoming ruby in rust by Ryan
Lopopolo et al.

You can try Artichoke in your browser [1b]. Yes, the Artichoke
playground runs a WebAssembly build of Artichoke.

Congrats to Ryan Lopopolo for the inspiring code.

What's your take? Cheers.

AUTO: Joerg Meidl is out of the office

Ich kehre zurück am 19.08.2019.

Sehr geerhte Damen und Herren!

Ich bin von 05.08.2019 bis 19.08. 2019 auf Urlaub und habe nicht immer die
Möglichkeit meine Mails zu lesen!

Mit freundlichen Grüßen

Jörg Meidl

Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht "[ANN] 2019
Call for Grant Proposals" gesendet am 05.08.2019 09:06:03.

Diese ist die einzige Benachrichtigung, die Sie empfangen werden, während
diese Person abwesend ist.

Unsubscribe: <>

2019 Call for Grant Proposals

The Ruby Association is looking to give grants for development
projects related to Ruby implementations, libraries and frameworks, including
projects that improve existing software.

If you have a good idea, please submit a proposal.

Football Data Wrangling w/ Ruby - Match 1500+ Football Club Names from Around the World using the sportdb Library and Open football.db Datasets


To prepare for the 2019/2020 football season kick-off I've put together
a football data wrangling w/ sample that lets you match 1500+
football club names
from 100+ leagues from around the world using the sportdb gem / library
and open football.db (public domain) datasets.

``` ruby
require 'sportdb/config'

## note: requires a local copy of the football.db clubs datasets
## see <a href="" title=""></a>
SportDb::Import.config.clubs_dir = './clubs'

m = SportDb::Import.config.clubs.match( 'Arsenal' )
m.size # 3 club matches found
#=> 3

rails constantly failing with http 406 error

I am a ruby and rails rookie just trying to give myself an intro to ruby
and rails on my windows 10 laptop.

Almost everything I try with rails ends up failing with a "http 406" error.
I did some research on http 406 error and what I found stated "data was
requested in a format not supported by the server".

I was just following the simple steps in a rails beginner tutorial to
create a basic "blog" application. I changed to the directory where I
wanted the application structure to be created and issued the command
"rails new blog".

Waxx 0.1.4

Waxx - Web application framework version 0.1.4 has just been released.

Waxx is a high-performance multi-threaded app server that is not an MVC
framework and does not use Rack. It is mostly functional with just
modules and methods. It is good for CRUD, restful, and RPC services
including micro-services and monolithic beasts. Normal requests
including session management and a DB query are returned in 1 -2 ms.

rails new command dies with a strange error

I created a simple "hello world" rails app according to a tutorial I found
online. everything went ok.

Today I want to create a simple rails blog app. So I installed sqlite3

Ruby Conferences 'n' Camps in 2019 Update - What's Upcoming in July? Aug? Sept? What's News?


I've updated the Ruby Conferences 'n' Camps in 2019 - What's
Upcoming? Calendar [1] page @ Planet Ruby.

"Learn to code"-type book for students?

Hey, all. I'll admit it: Ruby's my favorite language, at least in part
because concepts that had been difficult or overly abstract in other
languages were straightforward concepts in Ruby. And now, well, I'd
like to share the fun. But I had ~25-odd years of hacking and slashing
in various languages before I went down Ruby Road; what I'm looking for
is an introduction-to-programming type of thing (book, website,
whatever) that happens to use Ruby, *not* simply a book aimed at a
programmer who's looking to learn Ruby.

Ruby Quiz - Challenge #15 - Generate the Bitcoin (Base58) Address from the (Elliptic Curve) Public Key


I've posted a new ruby quiz:

Challenge #15 - Generate the Bitcoin (Base58) Address from the
(Elliptic Curve) Public Key [1].

Start from scratch or, yes, use any library / gem you can find.

To qualify for solving the code challenge / puzzle you must pass
the test [2]:

``` ruby
require 'minitest/autorun'

class RubyQuizTest < MiniTest::Test

def test_addr
pubkey =

pkh = pk_to_pkh( pubkey )
assert_equal 'f54a5851e9372b87810a8e60cdd2e7cfd80b6e31', pkh

prefix = '00'

configure couldn't enable native coroutine correctly if with parameter --target

I am trying to build ruby 2.6.3 downloaded from github.

Once I executed "configure --target x86_64-clr-linux-gnu", configure couldn't enable the native coroutine for amd64, because the target_os is recognized as "linux-gnu", not "linux".

In, for enable native coroutine for amd64, target_os have to be "linux",

[x*64-darwin*], [
[x*64-linux], [

Simple Sinatra app speed based failure?

I have a simple Sinatra based app:
<a href="" title=""></a>

That calls some defaults if data is not provided:
<a href="" title=""></a>

This morning I noticed that one set of basic tests would randomly (one,
both, neither) fail:
<a href="" title=""></a>

At first I thought my RSpec-fu was weak, but using curl to test gave
interesting results:
<a href="" title=""></a>

In the speed_errors.txt log, the end colu

Your views on Ruby microframeworks

Hi rubyist,

I was just search for some micro web frameworks for ruby . I found some
interesting ones like ramaze , nyny, scorched , Cuba , roda , camping .

Have you'll used any of these ? How has your experience been ?

Yours sincerely,


A gem to which detects where a website is hosted

Would people be interested in this?

While developing a web service of mine, I thought it would be cool to detect where the user’s website is hosted and to use the matching icon instead of a generic "external url" one.

So I started developing it using both regexes and DNS queries.

Thinking Aloud: Refactoring from nested loops to enumerators and lambda's

So I'm just thinking out aloud here.

Being an Old School Programmer I tend to naturally to write ever more
deeply nested loops.

I hate myself when I do this because it’s hard to test especially if
some of the loops have nasty external side effects, it’s hard to
reuse, it’s hard to refactor.

So I’m trying two new patterns....

* Passing enumerators as parameters so I can pull out inner loops as
standalone functions without calling the entire function every time..

* Creating functions that return lambdas, so I can pass an inner loop
in as a parameter.

Walk with me this is going to be long….

Ruby for Infosec

Hi rubyist,

I know python is the preferred language for Infosec . But since python and
ruby are similar ,why is ruby not used often in Infosec?
Metasploit and Ronin are written in ruby .

What are your views on this ?

Your Regards,


Call for entries for Ruby biz Grand prix 2019


This is an announcement from the Ruby biz Grand prix executive committee.

[Exemplification of expected technical areas]
・Web application
・IoT (edge computing, sensor devices etc.), machine control
・Data analy

Senior Ruby Position - Berlin or Stockholm based


I know this is a little unorthodox but I’m just wondering if anyone is looking for a new job as a senior Ruby developer in Berlin or Stockholm.

ruby rookie needs help with "ri" command

I am a ruby rookie with a question

I am running ruby 2.6.0p0 (2018-12-25 revision 66547) [x64-mingw32]
my laptop is windows 10

I was going through the PDF versionb of a ruby intro book and I have a
question about the "ri" command. The PDF file shows the following examples

ri Array
ri Array.sort
ri Hash#each
ri Math::sqrt

But in each case I receive an error message of the form "Nothing known
about xxx".

AUTO: Joerg Meidl is out of the office (Rückkehr am 23.06.2019)

Ich kehre zurück am 23.06.2019.

Sehr geerhte Damen und Herren!

Ich bin von 19.06.2019 bis 23.06. 2019 auf Urlaub und habe nicht immer die
Möglichkeit meine Mails zu lesen!

Mit freundlichen Grüßen

Jörg Meidl

Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht
"sportdb-import gem - New football.db Match Importer for CSV Packages

sportdb-import gem - New football.db Match Importer for CSV Packages (incl. England, Deutschland, and More)


I've added a new (quick) importer for datafiles and packages
in the comma-separated values (csv) format to the sportdb library /
tool family [1].

For example let's import all datafiles for all seasons (from 1888-89 to today)
for England [2]:

require 'sportdb/import'

SportDb.connect( adapter: 'sqlite3',
database: './eng.db' )

## build database schema / tables

## turn on logging to console
ActiveRecord::Base.logger =

pack = './england' )

Happy da

Syndicate content