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

nokogiri 1.8.3 released

Nokogiri version 1.8.3 has been released!

TL;DR: This is a feature and bugfix release. There's also a commit reverted
in the vendored upstream libxml2 that the Nokogiri maintainers feel
introduced unnecessary security risk involving sanitizing HTML attributes.
You're encouraged to read the release notes and the related documents if
you're curious or want to evaluate whether you should upgrade.

The release is being made from NYC, at the twelfth and final GORUCO.

Best Language For The Job

Here is a really old version of a browser game i wrote in PHP(1). Please
don't share the link as I'm very limited in resources. This is the type of
browser game I'm trying to create. It is an open source version of
Batllemail, a now defunct game written by Paul Gouge. Players would pick 6
attacks and 6 blocks and then the challenge would be sent to the opponent.
After the opponent does the same if he accepts the challenge, bother users
are treated to a Kung-Fu style cinematic played out based on what both
players choose(2)(3). I know you guys might be bias, but i still want your

Open port, then lower privs.

Hi, all. "For reasons," I need to set up a telnet-like service -- and,
yeah, it needs to be on port 23. In the Unix world, ports < 1024
require root privs to open, but I don't want my server running with root
privs for reasons that should be obvious. Using the base Eventmachine
example, I'm wondering if someone could show me how to do this? I see
that there's a "set_effective_user(username)" method on the object, but
I don't see how to use that on the object since instantiating it seems
to execute it, and it's too late to do it afterward...

Anyone interested in building a Ruby alternative to RoundCubeMail ?


I have been using RCM for many years and although it is the best current
option for my needs, there are still some changes / enhancements I would
make if I could - but it is written in PHP and there is no way I am
going to put any effort into learning that.

Design patterns used in ActiveRecord Library

Hi Folks,

Just came across the question regarding what are the different design
patterns used in ActiveRecord library,

As of I know ORM is one of the design pattern used,

Is there any other design pattern used in ActiveRecord library?


Is there some reason that presents the merge method in the
example block for update method ?

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

thank you,

Hash["string1, string2"]

Hello Ruby Friends!

I was reviewing Ruby docs and re-learned that a Hash can be created from
what appears to be a list of strings with the requirement that there is
even number.

I try it in irb:

irb(main):004:0> Hash["stringA1", "stringA2", "stringB1", "stringB2"]
=> {"stringA1"=>"stringA2", "stringB1"=>"stringB2"}

Yet when I try to automate it with a variable I see that the argument of
list appears to be unacceptable.

In irb:

irb(main):007:0> s = ["stringA1", "stringA2", "stringB1", "stringB2"]
=> ["stringA1", "stringA2", "stringB1", "stringB2"]
irb(main):008:0> Hash[s]
(irb):8: warni

HighLine 2.0.0

Hi all,

We've finally released HighLine 2.0.0.
Last year I wrote the bellow email asking people for testing the pre
release version of it. So I think everything we'll be ok!

HighLine is 13 years old now.
We've tried to put it back in shape!

footty - football.db command line tool / client for world cup (russia 2018)


for the upcoming football world cup in russia 2018 - the world’s
biggest show (3+ billion fans) - I’ve put together a little command
line tool / client in ruby called footty that lets you query the
online football.db HTTP JSON API services for upcoming or past

ruby beginner help

I am having a lot of trouble wrapping my head around this
I have an array of arrays of prime numbers.
I want to add a each prime number to this array.
I have

prime_ary = [[3, 5], [3, 7], [3, 11], [5, 11]]
add_ary = [57, 91, 109]

I would like to get an array of arrays like this

[[3,5, 57], [3, 7, 57], [3, 11, 57], [5, 11, 57], [3, 5, 91], [3, 7, 91], [3, 11, 91] ... ]
There should be 12 sub arrays in the array at the end. I have this function in an array class but it doesn't give me the result I would like.

Building world-cup.json - Open (free) public domain world cup in Russia 2018 football datasets in JSON with Ruby (and the sportdb machinery)


using the sportdb machinery (gems, command line tools and build
scripts in ruby) I've put together a [new free public domain dataset
for the (football) world cup in Russia 2018 [1].

anybody want to talk about the GitHub acquisition ?

Forgive me if this is off topic, but since Ruby and Heroku (and Rails and
...) use GH ... I'm really upset about the acquisition of GitHub by The
Company That Shall Not Be Named.

Clearly I have a bias. I have been a happy little coder, thinking about
Github with warm fuzzy thoughts about all the great innovative work going
on and my little miniscule contribution to that. Now the site is associated
with what I consider to be one of the worst companies of all time. Honestly
I feel blindsided and betrayed.

Your mileage may vary ?

Debugging an email problem with Discourse


I can't ask this question on the Discourse forum because I installed the
Bitnami stack into my Docker container and the Docker people won't
answer questions if you don't use their container - so I thought there
might be some Rubyists who have had some experience with Discourse or at
least might be interested enough to help me debug this problem (I am
assuming it is Ruby-related).

I have the container working fine here:

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

BUT . . emails aren't working .

Up for Architectural Review?

Well, okay, feel free to comment on my Ruby. There's room for improvement.

I have been playing at some code for a while and decided to make it
actually "work" today. That means prioritizing a very few processes
and pushing back on scope creep.

Ruby 2.6.0-preview2 Released

We are pleased to announce the release of Ruby 2.6.0-preview2.

Ruby 2.6.0-preview2 is the first preview toward Ruby 2.6.0.
This preview2 is released earlier than usual because it includes an
important new feature, JIT.

## JIT

Ruby 2.6 introduces an initial implementation of JIT (Just-in-time) compiler.

JIT compiler aims to improve performance of any Ruby program execution.
Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler
does JIT compilation in a unique way, which prints C code to a disk
and spawns common C compiler process to generate native cod e.
See also: https://

Method define new question

I am completely new to ruby though I have several years experience in programming. My question is why following code's class X can directly refer to state (for defining method block) without any include or require keyword? And how can I access to state method value (in class X) after those state blocks are initialized (so I can observe values gets defined or executed in that block)?


Unsubscribe: <>

rasn1 0.6.2 released

rasn1 0.6.2 has been released.

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

RASN1 is a pure ruby ASN.1 library. RASN1 helps to create ASN.1 parsers
and encoders.


### 0.6.2 / 2018-05-28

* Add Types::UtcTime and Types::GeneralizedTime

Unsubscribe: <>

Hash documentation

Unsubscribe: <>

Augmenting gem search path

I installed ruby-2.4.4 from the default tarball on a RHEL5 system to
/tmp/ruby24. I want to install gems manually to /tmp/ruby24p (I want
all gems in a separate directory).

JRuby is 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 our new major version of JRuby. It is expected to be
compatible with Ruby 2.5.x and stay in sync with C Ruby. JRuby is
our first release for 2.5 support.

If you do find issues then report them on using our issue tracker at
<a href="" title=""></a>. We also encourage users to join our IRC channel
(#jruby on Freenode) and mailing lists.

ruby-xz 1.0.0 released

Good evening everyone,

I am pleased to announce that I have released ruby-xz 1.0.0 today after
several years of stallment.

ruby-xz provides Ruby bindings for the liblzma[1] library, the C library
behind the compression programme xz(1). It can thus be used to create or
unpack XZ-compressed tarballs if used together with the minitar[2]

WIP - Userspace RCU for ubf and thread_destruct_lock

Intended as a foot-in-the-door patch to start using URCU
in a similar fashion to GMP (both are LGPL).

Only working with the slow "bp" (bulletproof) Userspace-RCU
implementation, for now.


Hi there,

I'm looking for feedback on <a href="" title=""></a> and
<a href="" title=""></a>. Sorry I haven't committed to Ruby
before and am not sure of the best way to go about getting more feedback
other than emailing this listserv.

Please let me know if there's a better way to go about getting feedback on
these. Thanks!

Rails Ruby Bench: recent results

As I was investigating the performance of Eric Wong's Sleepy GC patches (
<a href="" title=""></a>) I saw some regression in early
April Ruby head-of-master. I mentioned that I'd seen it, and Koichi
suggested I email Ruby Core.

The speed regression I saw was pretty small, and I re-ran the benchmarks to
make sure. A large parallel run of Discourse can have very noisy data.

Programming Blockchains Step-by-Step from Scratch (Zero) in Ruby. Starting with Crypto Hashes... - New Free (Online) Book @ Yuki & Moto Press


I've added a new free (online) book to the Yuki & Moto Press
Bookshelf [1]. Let's welcome:

Programming Blockchains Step-by-Step from Scratch (Zero) in Ruby.
Starting with Crypto Hashes...

Dealing with invalid encoding...

Hi, all. I've got a file with some things like this:

radio frames^M<83>?<9B>v64
(The "?" is a \x3f)

Needless to say, Ruby barfs all over that. There are also *other*
invalid strings in the file. (Thanks, Framemaker.)

Now, I know I can use #scrub to make the file palatable, but what I
*really* want to do is to take the "<83>?<9B>", and swap it with a
\u2022 (unicode bullet), and then use #scrub on the rest of the invalid
stuff. But I can't figure out how to do that; I admit I get out of my
depth when dealing with encodings.

Ruby 3x3 - Ruby 3 Will Be 3 Times Faster - What’s News? Updates on Method JIT, Guilds, ...


I've updated the Ruby 3x3 articles (and slides) collection [1] @ Planet Ruby.

What's News? Thanks to the RubyElixirConf Tawain new slide decks include:

o The State of / All About Guilds - A New Concurrency Model for Ruby
3 by Koichi Sasada, Cookpad

o Method JIT (Just-In-Time) Compiler for MRI (Matz's Ruby
Interpreter) - Optimizations in Ruby 2.6 Preview 1, 2 by Takashi
Kokubun, Treasure Data.

Anything missing? Additions welcome. Cheers.

flay 2.12.0 Released

flay version 2.12.0 has been released!

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

Flay analyzes code for structural similarities. Differences in literal
values, variable, class, method names, whitespace, programming style,
braces vs do/end, etc are all ignored. Making this totally rad.


### 2.12.0 / 2018-04-29

* 1 minor enhancement:

* Switched node filtering to happen before processing to avoid subtrees getting processed.

(Re)building the Billion Dollar Ethereum World Computer from Scratch (Zero) in Ruby


a little weekend experiment - let's (re)build the billion dollar
ethereum world computer from scratch (zero) using a 25-year-old
contract language - ruby :-) - and ye good 40-year-old SQL databases.

See a first live converted gold mine / token contract in universum

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


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

- Rubyhack - May/3+4 (2d) Thu+Fri @ Salt Lake City, Utah, United States
- Ruby Unconf Hamburg - May/5+6 (2d) Sat+Sun @ Hamburg, Germany
- Ruby Open Source Software (ROSS) Conf Amsterdam (FREE) - May/11+12
(2d) Fri+Sat @ Amsterdam, the Netherlands
- Balkan Ruby - May/25+26 (2d) Fri+Sat @ Sofia, Bulgaria
- RubyKaigi - May/31-Jun/2 (3d) Thu-Sat @ Sendai, Miyagi, Japan

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

Hardware requirements for Ruby on Rails application


To host RoR application, what do i need in memory/cpu/storage ?
Does a VPS with 2GB MEMORY/ 2cpu 3.0 GHz / 30 GB storage enough ?

In the way running nginx+unicorn+postgresql



Unsubscribe: <>

Qo 0.3.0 released

Qo 0.3.0 is now out, and comes with a shiny new way to do pattern matching:

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

name_longer_than_three = -> person { > 3 }
people_with_truncated_names = { |m|
m.when(name_longer_than_three) { |person|[0..2], person.age) }
# And standalone like a case:Qo.match(people.first) { |m|
m.when(age: 10..19) { |person| "#{} is a teen that's
#{person.age} years old" }
m.else { |person| "#{} is #{person.age} years old" }

A bit more Scala inspired, and defini

RubyKaigi "Ruby Committers vs the World" sponsored by Cookpad (travel support)

Hi Ruby core committers,

Cookpad Inc. supports Ruby committers who can attend "Ruby Committers vs
the World" session at this RubyKaigi2018.

Exploring FP in Ruby

I've been writing a few more advanced articles on how base concepts of Ruby
can be utilized to emulate features of more functionally oriented

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.

cross-thread IO#close semantics

Related to the discussion on [Bug #14681]

I found an old Ruby 1.8 installation, and the following code
exits after 100ms with: [IOError, "stream closed"]
1.9 and later hangs forever:

r, w = IO.pipe
th = do
rescue => e
warn [ e.class, e.message ].inspect
sleep 0.1

Of course I know why: it's not implemented in 1.9+;
rb_thread_io_blocking_region only cares for operations on the
single FD case, multiplexing functions like select aren't

Xf 0.1.0 - Transform Functions

Back again with new toys after playing with Rambda in Javascript again, and
wanting to keep a few of the features for later.

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

Introducing Xf, or Transform Functions. The idea behind this one was to
emulate lenses from functional languages in Ruby in a pragmatic way with a
bit of a Ruby twist.

Deal with a lot of JSON and transforming it? Have no idea where the key is,
or even if it's in the same place? Xf is great with that, give it a shot!

Was tempted to add some of this to Qo, but the concerns were fairly


- baweaver

Learn Ruby and Rails


What do you advice for a Unix/Windows administrator who wish to create
awesome web applications using Rails framework ?
What skills do we need in Ruby language to be able to survive in Rails ?
Do we need to master CSS, HTML, Javascript ?
Do we need to master Git ?
Which database to choose ? PostgreySQL, MySQL or Sqlite? MongoDB ?

Thank you very much for your replies!



Unsubscribe: <>

machine learning with ruby

What's the primary toolkit/framework for machine learning with ruby?
Just like python's scikit-learn.

I searched and found this link,
<a href="" title=""></a>

It seems there are too many options to choose.
Thanks for any suggestion.

Unsubscribe: <>

How does the private method work?


I just saw one developer do this in his code :

private if some_condition?
def first_method

I was wondering how the private method works. How does it figure out which
methods to mark private ?

It would be nice if someone could explain this or point me to appropriate
resources on the web.

- bitsapien

Qo 0.1.6 released - RHA pattern matching added

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

Added a feature for pattern matching with right hand assignment using a
guarded block implementation.

JOB | Permanent Web Developer (New York)

Hello, I'm working with an established financial technology employer
that is looking to hire a permanent web developer with significant
client side experience to join their New York office. Consequently, I
had hoped that some members of this mailing list may like to discuss
further off-list using "JamesBTobin (at) Gmail (dot) Com". Kind
regards, James

Unsubscribe: <>

type of evaluation in Ruby

Hello. Ruby what kind of evaluation do you have ?, according to I have
a strict evaluation, since in the following code in the variable the
addition and subtraction are evaluated.

#ruby 2.3.1

a = 3 + 2
b = 10-5
c = (a + b) / (a-b)

puts "hello world!"

Unsubscribe: <>

Compare hashes and report where the change was

I have two arrays of hashes :

"----- table name == EMessages <--------------> ID == ID"
---------arr1 ----target-----------------
[{"ID"=>"11562", "EmailType"=>"2", "ContentKey"=>"1113", "ExtraKey1"=>"1",
"CreationDate"=>"2009-07-06 09:36:01.303", "EmailSent"=>nil},
{"ID"=>"11574", "EmailType"=>"2", "ContentKey"=>"8833", "ExtraKey1"=>"0",
"CreationDate"=>"2009-07-06 11:38:52.613", "EmailSent"=>nil}]

---------arr2 ----source-----------------
[{"ID"=>11562, "EmailType"=>2, "ContentKey"=>"1113", "ExtraKey1"=>"1",
"CreationDate"=>2009-07-06 09:36:01 -0400, "EmailSent"=>nil}, {"ID"=

Qo (0.1.1) released

First release of Qo, short for Query Object.

& unary operator for block-proc conversion

I'm trying to understand ruby more from an implementers perspective in
the hopes that I can one day contribute a patch. My first step into
this arena is learning how the unary & operator works, although I
can't find out where in the ruby source this is implemented. Also,
does anyone have any tips on finding where in the ruby source these
kinds of things are implemented?

GTK Application Window doesn't work

Hello list,

currently i'm trying to build a little application with Ruby and Gtk+
(See [1]).

I have such files:

#!/usr/bin/env ruby

require 'gtk3'
require 'fileutils'

# Require all ruby files in the application folder recursively
application_root_path = File.expand_path(__dir__)
Dir[File.join(application_root_path, '..', 'application', '**',
'*.rb')].each { |file| require file }

# Define the source & target files of the glib-compile-resources
resource_xml = File.join(application_root_path, '..', 'resources',

httpx (0.0.5) released

Hi all,

I'd like to introduce a library I've been working on for the past months.

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

It's an http library, which supports both HTTP/2 and HTTP/1 requests over
the same simple API.

Its high-level API and some features are directly inspired from both the
HTTP.rb and python requests.

The main differentiator to other libraries is that it allows multiple
concurrent requests in the same thread.

flay 2.11.0 Released

flay version 2.11.0 has been released!

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

Flay analyzes code for structural similarities. Differences in literal
values, variable, class, method names, whitespace, programming style,
braces vs do/end, etc are all ignored. Making this totally rad.


### 2.11.0 / 2018-04-05

* 2 minor enhancements:

* Added `filters` option to skip processing subtrees that match given patterns.
* Switched structural_hash to use crc32 to calculate node type values.

sexp_processor 4.11.0 Released

sexp_processor version 4.11.0 has been released!

* home: <>
* rdoc: <>

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


### 4.11.0 / 2018-04-05

* 1 minor enhancement:

* Extended deep_each to skip subtrees if block returns :skip.

Unsubscribe: <>

Race Condition Tool?

It appears that Golang has Race Detector, a tool to detect race conditions -- <a href="" title=""></a>

Does anyone know of anything similar for Ruby? Or, any advice at all for testing that my code is threadsafe?

(Detail: I'm writing a connection pool. This is for Ruby, not Rails. I think I have a workable approach, but I'm not sure how best to write the tests...)

Click here to view Company Information and Confidentiality Notice.<>

"cancancan-neo4j", cancan adapter for neo4j graph database released.

Hi Rubyists,

First version of cancancan-neo4j <>
for neo4j graph database is released. It will help with authorisation using

Rules can be defined as

can :read, Article, author: { name: 'Chunky' }

A Rubyist

Command-line utilities with ruby.

Hi Rubyists,

Im planning to create simple cli utilities in ruby .. The end user should
have a ruby installed to run my utilities.. is there a way around this..?

I don't want to switch to a compiled language because i feel confident with
ruby and I love it.

Your views are well respected.

Yours Faithfully,

packetgen 2.5.0 released

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


### 2.5.0 / 2018-04-02

* Add support for MLDv2, OSPFv2 and OSPFv3 protocols
* Freeze all string literals to be ready for ruby3
* Refactor

Learned some basic do I become a rubyist now ?

Hello rubyists,

I'm done with some basic ruby.

What should be my next step?.

Thank you !

Ruby Conferences & Camps in April 2018 - What's Upcoming? Isle of Ruby, RubyConf Belarus, RubyConf Taiwan, ...


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

- Isle of Ruby - Apr/13-15 (3d) Fri-Sun @ Exeter, England, United Kingdom
- RailsConf - Apr/17-19 (3d) Tue-Thu @ Pittsburgh, Pennsylvania, United States
- RubyConf Belarus - Apr/21 (1d) Sat @ Minsk, Belarus
- Ruby X Elixir Conf Taiwan - Apr/27+28 (2d) Fri+Sat @ Taipei, Taiwan

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

Syndicate content