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...

Need your feedbacks on Jasis, a new framework built on top of Sinatra

Hi everyone,

I really loved working with Padrino for being a fast and lightweight Rails
alternative, but over time I am seeing that it's development have stopped
to the point I can no longer use it or recommend it.

It is at this point, I needed a framework that I can actively maintain and
started a fresh one with Sinatra.

I tried to keep it as simple and elegant as possible as one of it's goals.
It is more like a starter kit, as it is all self-contained and runs fully
out of the box with Docker.

Please come check it out and would love to hear any feedbacks or anyone
willing to help, that w

Rails 5.0.7 and 5.1.6 have been released

Hi everyone,

I am happy to announce that Rails 5.0.7 and 5.1.6 have been released.

## CHANGES since 5.0.6

To view the changes for each gem, please read the changelogs on GitHub:

* [Action Cable CHANGELOG](
<a href="" title=""></a>)
* [Action Mailer CHANGELOG](
<a href="" title=""></a>)
* [Action Pack CHANGELOG](
<a href="" title=""></a>)
* [Action View CHANGELOG](
<a href="" title=""></a>)
* [Active Job CHANGELOG](

Ruby 2.5.1, 2.4.4, 2.3.7 and 2.2.10 Released!

Hi, all

We've just released Ruby 2.5.1, 2.4.4, 2.3.7 and 2.2.10.
How to download and details:

* [Ruby 2.5.1 Released](<a href="" title=""></a>)
* [Ruby 2.4.4 Released](<a href="" title=""></a>)
* [Ruby 2.3.7 Released](<a href="" title=""></a>)
* [Ruby 2.2.10 Released](<a href="" title=""></a>)

These releases include several security fixes.
You can check details:

* [CVE-2017-17742: HTTP response splitting in WEBrick](<a href="https://ww" title="https://ww">https://ww</a>

Slack channel dedicated to ruby

Hello rubyists,

I joined slack newly and was dumbfounded to know all the communities of
different languages.
Even ruby on rails has one.I think we need a ruby-specific slack channel.

What do y'all say ?

yours faithfully,


Lambda regression between 2.4.0 and 2.4.1

Hi there!

I think I might have found a regression (unless someone can point me to
the commit that states this is expected).
Look at the following if you will:

print_three = ->(a, b, c) { puts [a, b, c] }
arr = [[1, 2, 3]]

This works on ruby-2.4.0 but breaks from ruby-2.4.1 onwards (ArgumentError).

On 2.4.1 you have to use explicit destructuring: print_three = ->((a, b,
c)) { puts [a, b, c] }

Is this intended behaviour and can anyone of you replicate this?

Happy Coding,
Paul Martensen

Unsubscribe: <>

Anonymous survey - your help is greatly appreciated

Hello everyone, I'd like to have a better idea (that's up to date and real,
not possibly fake data) of how much Web Developers / Programmers in
different parts of the world are paid.

If anyone has 20 - 60 seconds to spare and fill the anonymous survey, it
will be very helpful.

You will find the survey here:
<a href="" title=""></a>

After I get enough answers I'll also share the results in here, so others
could benefit form it as well.

Thank you very much.

Bitcat - Bit catalog kitty browser - browse your digital bit(s) collections unchained (offline) w/ SQLite - a sinatra web app in ruby


I've put together - bitcat - a little sinatra web app
(e.g.bitcat/app.rb [1]) in ruby packaged up as a command line tool
that lets you browse your digital bits(s) eg. crypto kitties and
friends unchained (offline) using a single-file SQLite database eg.

Note: Bitcat includes the gene / genome reader in base32/kai
notation from copycats [2] - another ruby library for (crypto) cats /
kitties - and more.

Happy collecting. Happy gene mixing. Happy hacking with ruby. The
future is meow.

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

Ich kehre zurück am 27.03.2018.

Sehr geerhte Damen und Herren!

Ich bin von 23.03 bis 26.03. 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]
minitest-excludes 2.0.1 Released" gesendet am 23.03.2018 21:55:08.

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

Unsubscribe: <>

minitest-excludes 2.0.1 Released

minitest-excludes version 2.0.1 has been released!

* home: <>
* rdoc: <>

minitest/excludes.rb extends MiniTest::Unit::TestCase to provide a
clean API for excluding certain tests you don't want to run under
certain conditions.


### 2.0.1 / 2018-03-23

* 2 bug fixes:

* Fixed OLD require paths
* Updated deps for MT5.

Unsubscribe: <>

What's Your Hash Rate? Find out your Mining Speed w/ compute_hash_with_proof_of_work


I've added a couple of new chapters to the "Programming Blockchains
Step-by-Step from Scratch (Zero)" [1] and starting with (crypto)

What's News? Mining, mining, mining! What's your hash rate? Let's
find out and use the "stand-alone" version of the by now "classic"
compute_hash_with_proof_of_work function:

def compute_hash_with_proof_of_work( data, difficulty='00' )
nonce = 0
loop do
hash = Digest::SHA256.hexdigest( "#{nonce}#{data}" )
if hash.start_with?( difficulty )
return [nonce,hash] ## bingo!

Re: Re: Re: Programming Blockchains Step-by-Step guide (in ruby). Let's build blockchains from scratch (zero). Let's start with crypto hashes...

meybe numering a section and numering program coresponding to number sections.

whrite this in doc.

how mining? What using mining data in blockchain

Unsubscribe: <>

Lot of typo corrections made in I Love Ruby

Hello Folks,

I am very grateful to Mr. RajKumar Sharma of Ahmedabad, India to have
pointed out lot of typo corrections in "I Love Ruby". I have fixed them and
released the book here <a href="" title=""></a>

He in a mail claims that he could read this book in 28 hours! I still can't
stop wondering how he did it. You can read his comments here
<a href="" title=""></a>

I once again thank the Ruby community to have given encouragement which has
kept this book alive.

Programming Blockchains Step-by-Step guide (in ruby). Let's build blockchains from scratch (zero). Let's start with crypto hashes...


I've started a step-by-step guide that shows you how ot build
blockchains in ruby from scratch.

Starting with (crypto) hashes...

require 'digest'
Digest::SHA256.hexdigest( 'Hello, Cryptos!' )

resulting in

#=> "33eedea60b0662c66c289ceba71863a864cf84b00e10002ca1069bf58f9362d5"

And building up to blocks with proof-of-work, timestamps, and more:

require 'digest'

require 'pp' ## pp = pretty print

class Block
attr_reader :data
attr_reader :prev
attr_reader :difficulty
attr_reader :time
attr_reader :nonce # number used once - lucky (mining) lo

minor doubt

Hello Rubyist,

class_eval and instance_eval is kind of opposite of its behaviour why we
have so?

class_eval is creating instance method while,
instance_eval is creating class method.

Raj Kumar

hoe 3.17.0 Released

hoe version 3.17.0 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.

zenweb-template 1.0.3 Released

zenweb-template version 1.0.3 has been released!

* home: <>
* rdoc: <>

Simply provides an example zenweb template website.


### 1.0.3 / 2018-03-17

* 1 bug fix:

* nil -> null in yaml front matter. (srbaker)

Unsubscribe: <>

rake-remote_task 2.4.3 Released

rake-remote_task version 2.4.3 has been released!

* home: <>
* rdoc: <>

Vlad the Deployer's sexy brainchild is rake-remote_task, extending
Rake with remote task goodness.


### 2.4.3 / 2018-03-17

* 1 minor enhancement:

* Extend to allow rake v 12. (piclane)

Unsubscribe: <>

osx_keychain 1.0.2 Released

osx_keychain version 1.0.2 has been released!

* <>

Provides API and a command line tool to Access the OS X Keychain. The
command line tool isn't actually useful (use `security` instead), but
demonstrates the usage quite well.


### 1.0.2 / 2018-03-16

* 1 bug fix:

* Remove warnings when building on 64-bit architectures. (guykogus)

Unsubscribe: <>

zenweb 3.10.2 Released

zenweb version 3.10.2 has been released!

* home: <>
* bugs: <>
* rdoc: <>

Zenweb is a set of classes/tools for organizing and formating a
website. It is website oriented rather than webpage oriented, unlike
most rendering tools. It is content oriented, rather than style
oriented, unlike most rendering tools. It uses a rubygems plugin
system to provide a very flexible, and powerful system.

Zenweb 3 was inspired by jekyll.

path_expander 1.0.3 Released

path_expander version 1.0.3 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).

Loofah vulnerability reporting process

Hi all,

The Loofah project has published a vulnerability reporting process, to
allow private disclosure of security vulnerabilities.

More details are at
<a href="" title=""></a>

Or you can report vulnerabilities directly at <a href="" title=""></a>

Special thanks to HackerOne for their support of OSS projects.

Thanks for reading,

Nokogiri vulnerability reporting process

Hi all,

The Nokogiri core contributors have published a vulnerability reporting
process, to allow private disclosure of security vulnerabilities.

More details are at <a href="" title=""></a>

Or you can report vulnerabilities directly at <a href="" title=""></a>

Special thanks to HackerOne for their support of OSS projects.

Thanks for reading,

Re: Re: [BUG] Bug in ruby parser

(2.to_f) / (1 * (1 / 1))

Bug in ruby parser


I think I found a bug in how ruby parses code, or at least an unexpected
result. If I enter:
2 /(1 * (1 / 1))

The result is 2. But if I enter:
2.to_f /(1 * (1 / 1))

It returns:
SyntaxError: (irb):1: end pattern with unmatched parenthesis

This is because it is parsing part of it as a regular expression. The
weird thing is that it only does so when using 2.to_f but not when using 2.


trenni-sanitize - a fast markup sanitizer

Hi - I've been processing a lot of HTML content with the intent to extract
either text summaries or sanitise it for further use. Frustrated primarily
by the existing sanitize gem due to it's performance and nokogiri's
handling of namespaces, I have released trenni-sanitize - a gem which uses
a native parser to sanitize general markup style input and runs about 50x
faster :)

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

Kind regards,

Blockchain vs (Hyper) Ledger - Inside the ledger-lite library / gem - Add Transactions One Block at a Time and Balance the Accounts (Books) w/ Ruby


yesterday's Hyperledger talk notes titled Blockchain vs (Hyper) Ledger
-- Inside (Hyper) Ledger Lite - Add Transactions One Block at a Time
and Balance the Accounts (Books) with Ruby [1][2].

Copycats Gem - SQL Database Schema / Tables and ActiveRecord Models for CryptoKitties for Easy Stats / Queries / Analytics and More - Models incl. Kitty, Gene, Trait, ...


I've put together a (free, open source) SQL database schema /
tables and ActiveRecord models for CryptoKitties packed up for easy
(re)use in a ruby library / gem. Still early and suggestions more than
welcome on how to make it better, easier, faster, etc.

The models incl. Kitty (of course), Gene, Trait and more.

I Love Ruby updated - the free Ruby programming book

Hello Folks,

I added a section for test driven development. You can download I Love Ruby
here <a href="" title=""></a>

Enjoy coding.

new gem published

My dear open source members,

I make a gem and published as, seniority
<> on rubygems site. Actually the
purpose of this gem is to find age till today date based on input DOB.
Input: 1989-08-30 (YYYY-MM-DD)
Output: ["*6-6-28", "6 day(s) 6 month(s) 28 year(s)*"] ( ["m-d-y", "XXX day(s)
xxx month(s) xxx year(s)"])

This is my first gem that I could be able to give my open source community.
Please check it out and suggest any change/feature required.

Raj Kumar

Ruby Conferences & Camps in March 2018 - What's Upcoming?


at the calendar page @ Planet Ruby I collect all ruby conferences
and camps from around the world. What's upcoming in March 2018?

- RubyConf Australia - Mar/8+9 (2d) Thu+Fri @ Sydney, Australia
- RubyConf Philippines - Mar/15-17 (3d) Thu-Sat @ Manila, Philippines
- wroc_love.rb - Mar/16-18 (3d) Fri-Sun @ Wrocław, Poland
- Bath Ruby - Mar/22+23 (2d) Thu+Fri @ Bath, England, United Kingdom

See all conferences & camps in 2018 [1]. Anything missing? Updates welcome.


Best practice to sending a URL in JSON response to API call?

We have a REST API endpoint that returns a bunch of external URLs for a

The data is of the format:

"name":"Dummny Name",
<a href="" title=""></a>



I appreciate the feedback! Some of the comments make me think I've not
communicated the overall design or intent well. I pulled ideas out of a
larger program to focus on the Factory pattern.

The overall goal is to have fun and gain a deeper understanding of Object
Oriented Design and Programming.

Is this a decent start on a Factory?

Trying to learn the Factory pattern. What can be improved on the
"Crew" class as a Factory?


class Crew
def initialize(crew_number)
@crew = []
crew_number.times do
ncp =
career = ["Merchant", "Navy"].sample
terms = rand(1..3)
new_crewperson(career, terms, ncp)
@crew << ncp
def show_crew
counter = 1
@crew.each do |c|
print("Crewperson #%d is %d years old.

object print issue using p

class User
def initialize(name)
@name = name
def get_name
obj ='Raj')
#<User:0x000056458c0283e8 @name="Raj">
#<User:0x000056458c0283e8 @name="Raj">
"#<User:0x000056458c0283e8 @name=\"Raj\">"
p obj
#<User:0x000056458c0283e8 @name="Raj">
#<User:0x000056458c0283e8 @name="Raj">
puts obj

p obj print same thing two times, Why?

My Ruby version is:
ruby -v
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]

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.1.x is our current major version of JRuby. It is expected to be
compatible with Ruby 2.3.x and stay in sync with C Ruby.

how to test if an array include only two items ?


I would like to see if

array_status = ['hired','hired','provisionally hire','hired','hired',
hire', 'provisionally hire','hired']

has only these two strings ('hired' and 'provisionally hire') , both of
them or one of them, even repeated.

but not any other things.


Ruby 3x3 - Ruby 3 Will Be 3 Times Faster - What’s News? Update


I collect Ruby3x3 News & Articles @ Planet Ruby [1].

What's News? Added:

- Ruby's New JIT (Just-In-Time) Compiler by Shannon Skipper, Square, Feb 2018
- Slides - VM-Generated JIT (Just-In-Time) Compiler for Ruby 2.6 by
Takashi Kokubun, Tech Talk @ OSS Day, Feb 2018
- Playing with Ruby's new JIT: MJIT by John Hawthorn, Feb 2018
- and some more.

Great to see Ruby getting faster and faster. Any article missing?
Updates welcome.

ruby2ruby 2.4.1 Released

ruby2ruby version 2.4.1 has been released!

* home: <>
* rdoc: <>

ruby2ruby provides a means of generating pure ruby code easily from
RubyParser compatible Sexps. This makes making dynamic language
processors in ruby easier than ever!


### 2.4.1 / 2018-02-15

* 2 minor enhancements:

* Added bitwise ops to BINARY.

sexp_processor 4.10.1 Released

sexp_processor version 4.10.1 has been released!

* home: <>
* rdoc: <>

sexp_processor branches from ParseTree bringing all the generic sexp
processing tools with it. Sexp, SexpProcessor, Environment, etc...

ruby_parser 3.11.0 Released

ruby_parser version 3.11.0 has been released!

* home: <>
* bugs: <>
* rdoc: <>

ruby_parser (RP) is a ruby parser written in pure ruby (utilizing
racc--which does by default use a C extension).

flog 4.6.2 Released

flog version 4.6.2 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.2 / 2018-02-14

* 1 bug fix:

* Don't process stdin if cmdline args expand to nothing.

Unsubscribe: <>

packetgen 2.4.0 released

packetgen 2.4.0 has been released.

* home: <>
* bugs: <>
* doc: <>

PacketGen provides simple ways to generate, send and capture network

Known protocols are: Ethernet, Dot11, Dot1x, ARP, IP, IPv6, GRE, ICMP,
and HTTP.

From 2.4.0, Packetgen supports ruby 2.5.


### 2.4.0 / 2018-02-14

* Add better support for IP header options
* Add support for IPv6 HopByHop extension
* Add suppo

Module using object defined outside of method?

I have a class Dice with a method "roll_1". It gives a result between 1-6.

class Dice
def roll_1

The module CharacterTools uses Dice.roll_1.

module CharacterTools

require 'dice'
dice =

def roll_1
dice =

"dice" is declared twice, outside and inside the roll_1 method
definition. I am trying to figure out how to instantiate one "dice"
object outside of the method that calls it. For each program run there
are lots of calls to roll_1.

loofah v2.2.0 released

loofah version 2.2.0 has been released!

* <>
* <>
* <>

Loofah is a general library for manipulating and transforming HTML/XML
documents and fragments. It's built on top of Nokogiri and libxml2, so
it's fast and has a nice API.

Loofah excels at HTML sanitization (XSS prevention). It includes some
nice HTML sanitizers, which are based on HTML5lib's whitelist, so it
most likely won't make your codes less secure.

minitest-server 1.0.5 Released

minitest-server version 1.0.5 has been released!

* home: <>
* rdoc: <>

minitest-server provides a client/server setup with your minitest
process, allowing your test run to send its results directly to a


### 1.0.5 / 2018-02-06

* 1 minor enhancement:

* Extended Minitest::ServerReporter#record to handle Minitest::Result.

Unsubscribe: <>

blade will stop

Hi all,

For maintenance, I will stop blade(<a href="" title=""></a>)

I will restart it in a few days.

Thank you.

Shin-ichiro HARA


Call for Papers: ICOOOLPS'18

13th Workshop on Implementation, Compilation, Optimization of Object- Oriented
Languages, Programs and Systems

Co-located with ECOOP 2018
held Mon 16 - Sun 22 July in Amsterdam, Netherlands

Twitter: @ICOOOLPS
URL: <a href="" title=""></a>

The ICOOOLPS workshop series brings together researchers and practitioners
working in the field of language implementation and optimization.

flexparser 1.0.3 - XML parser DSL with focus on data-normalization


Imagine this: You have a bunch of XML documents with similar
information, but wildly different structure.
For example you want to check inventories of differing stores and one
has its prices listed as a tag, the other as a property.
And also one calls its items "items" and the other calls them
"products". Awful!
Now you could write 2 parser for each one and use the correct one for
each type of document.

I was so wrong !

Hi my lovely rubyists,

Tried Ruby on rails today,I used to slam rails for over-shadowing ruby as a
language but I was so wrong. It was so naive of me to criticize rails
without trying it properly. After using it thoroughly, I can see why Rails
is synonymous with Ruby . Let's hope Rails gets better with every version.

Beautiful. Fast. Addictive.

Beautiful Ruby. Beautiful Rails

Yours sincerely,

Surya Poojary.

No more html

Yes, I know this is a Ruby mailing list and this post is about webdevelopment. But I promise there is a happy Ruby ending to this story.

As webdevelopers we have become accustomed to writing HTML and CSS. And for webapplications that are rich in front-end logic we add lots of Javascript libraries and code. What I have always found annoying about this style of building webapplications is the fact that a lot of steps are involved to add interactivity.

noble_names 1.0.0 - Capitalize names in different languages correctly


noble_names is a tiny gem for a nieche problem: Capitalizing names
correctly in certain languages.

We had this problem back in 2016 when we were capitalizing user names in
german which could have nobility particles like "von", which should
never be capitalized.
noble_names simply detects these particles (or prefixes in some
languages) as well as business particles (think "Co.

What's Up in 2018/2? - Ruby Conferences 'n' Camps in February 2018 from Around the World


I've updated the new calendar site @ Planet Ruby. The idea is to
publish monthly updates. What's Up in 2018/2? - Ruby Conferences &
Camps in February 2018 from Around the World [1].


[1] <a href="" title=""></a>

Unsubscribe: <>

nokogiri security update 1.8.2 released

nokogiri version 1.8.2 has been released.

This release contains a few new features and bugfixes in addition to the
security update, wherein the vendored libxml2 and libxslt versions have
been updated:

* libxml2 is updated from 2.9.5 to 2.9.7

* libxslt is updated from 1.1.30 to 1.1.32

which addresses at least one published vulnerability, [CVE-2017-15412][],
which rates a "priority:medium" from Canonical.

FizzBuzz (1, 2, Fizz, 4, Buzz, ...) by Example - There's More Than One Way To Do It (Book Edition) @ Yuki & Moto Press Bookshelf


Hello, I added FizzBuzz (1, 2, Fizz, 4, Buzz,...) by Example -
There's More Than One Way To Do It [1] by Tom Dalling, Paweł
Świątkowski, Gerald Bauer, et al to the Yuki & Moto Press Bookshelf

Free Online Books (and Booklets) about Ruby 'n' Friends in the
Manuscripts format and built with Jekyll and Octobook themes [3].

The FizzBuzz samples include Gold Standard, Classic, Monkey
Patching Fixnum, Object-Oriented w/ Fizznum, Enums, and many more.

I also included a RSpec Test Driven Development (TDD) sample - I'm
a RSpec newbie (and unbeliever ;-)) - if anyone can impr

minitest 5.11.3 Released

minitest version 5.11.3 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.

TracePoint line coverage


I'm playing around with TracePoint API and code coverage using :line event.

I'd like to be able to generate a percentage coverage report for a given
file. While I can easily see what lines are executed, I can't easily
determine what lines are not executed.

What I need, I think, is a tracepoint which triggers for eval/load/require,
which allows me to determine the initial coverage of the file.

Syndicate content