DevHeads.net

Talk

Earn $100-$500 per month

Great Offer!!!
Now you can earn $100-$500 per month with virtualofficejob.com.Here has many choice for you.You can get job absolutely free. Visit this page website:<a href="http://www.virtualofficejob.com/affiliate.php?id=FR30366"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="http://www.virtualofficejob.com/affiliate.php?id=FR30366"target="_blank"=></a>

Free job

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

So try Virtualofficejob.com and enjoy it...

csvjson library / gem v1.0 - read tabular data in the CSV <3 JSON format, that is, comma-separated values CSV (line-by-line) records with JSON encoding rules

Hello,

I've published a new library / gem, that is, csvjon that lets you
read tabular data in the (new) CSV <3 JSON format, that is,
comma-separated values CSV (line-by-line) records with javascript
object notation (JSON) encoding rules.

What's CSV <3 JSON?

CSV <3 JSON is a Comma-Separated Values (CSV)
variant / format / dialect
where the line-by-line records follow the
JavaScript Object Notation (JSON) encoding rules.
It's a modern (simple) tabular data format that
includes arrays, numbers, booleans, nulls, nested structures, comments and more.
Example:

# "Vanilla" CSV <3 JSON

What has changed since 1.9?

Hello,
Is there a document or report listing what has changed in Ruby since the
latest edition of The Ruby Programming Language book by Matsumoto,
Flanagan? If not, where should look to gather this info? Thanks.

Why the standard CSV library author deserves our hugs and thank yous

Hello,

I’ve written a new episode in the why the csv standard library is
broken, broken, broken (and how to fix it).

It’s a new introduction to the series titled “I apologize - Sorry,
Sorry, Sorry.” [1] to clarify that I am in no way blaming the author
(really I’m blaming YOU :-), that is, all the free-loaders waiting for
a miracle.

The author or the authors of the standard CSV library deserve our
hugs and thank yous for the great work and many hours (for sure many
unpaid and volunteered) put into the CSV library. We are all standing
on the shoulders of giants. Thank you.

Free Ruby Programming book - I Live Ruby's new Avatar

Hello All,

For those who like to have a free Ruby programming book
<a href="https://mindaslab.github.io/2018/10/12/i-love-ruby-s-new-avatar.html" title="https://mindaslab.github.io/2018/10/12/i-love-ruby-s-new-avatar.html">https://mindaslab.github.io/2018/10/12/i-love-ruby-s-new-avatar.html</a>

Why the CSV standard library is broken (and how to fix it), Part IV or Numerics a.k.a. Auto-Magic Type Inference for Strings and Numbers?

Hello,

I've written a new (and fourth) episode on why the CSV standard library is
broken, broken, broken (and how to fix it).

Let's have a look at numerics a.k.a. auto-magic type inference for
strings and numbers [1].

Here's the challenge for the standard csv library.
Let's read data.csv:

1,2,3
"4","5","6"

Using these popular two rules (bonus for NaNs - not a number).

Rule 1: Use "un-quoted" values for float numbers e.g. 1,2,3 or 1.0,
2.0, 3.0 etc.

Rule 2: Use quoted values for "non-numeric" strings e.g.

Unsubscribe

Unsubscribe

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Mail priva di virus. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>

csvreader v1.0 - read tabular comma-separated values (csv) the right way (incl. hash readers, converters, enumerables, dialects, and more)

Hello,

I've uploaded [version 1.0 of the new comma-separated values
csvreader library / gem [1] that lets you read tabular data in the
comma-separated values (csv) format the right way :-), that is, the
basic methods such as `Csv.read `or `CsvHash.read` use best practices
out-of-the-box with zero-configuration.

Under the hood the new library includes purpose-built "backend"
parsers (e.g.

Spam with unsubscriptions

Hey all,

what is this unsubscription spam? I got more than 30 unsubscription
messages via Ruby-Talk today!

Marvin

unsubscribe

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

Unsuscribe

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

nokogiri security update 1.8.5

Nokogiri 1.8.5 has been released.

This is a security and bugfix release. It addresses two CVEs in upstream
libxml2 rated as "medium" by Red Hat, for which details are below.

If you're using your distro's system libraries, rather than Nokogiri's
vendored libraries, there's no security need to upgrade at this time,
though you may want to check with your distro whether they've patched this
(Canonical has patched Ubuntu packages).

Just for fun

Hello All,

Created this clipart just for fun
<a href="https://openclipart.org/detail/307605/ruby-hieroglyph" title="https://openclipart.org/detail/307605/ruby-hieroglyph">https://openclipart.org/detail/307605/ruby-hieroglyph</a>

Glim - A new faster jekyll website compiler clone / alternative (in ~3000 lines of ruby)

Hello,

Jekyll not fast enough? Why not build a compatible faster clone /
alternative from scratch / zero (in ruby)? [1] Sounds crazy?

Allan Odgaard (of TextMate fame) has just done it and with about 3
000 lines of ruby code offers even more features than jekyll itself
:-) e.g. built-in tags and categories for collections, lazy evaluation
and parallized builds, better defaults, and much more. Find out more
at the Glim website compiler source project repo [2]

Happy publishing w/ ruby. Cheers. Prost.

PS: By the way - did you know?

SMB plugin for packetgen v0.2.0

* home: <https://github.com/sdaubert/packetgen-plugin-smb>
* bugs: <https://github.com/sdaubert/packetgen-plugin-smb/issues>

packetgen-plugin-smb 0.2.0 is out.

packetgen-plugin-smb adds support for SMB protocol suite to PacketGen.
PacketGen provides simple ways to generate, send and capture network
packets.

Changes:

### 0.2.0 / 2018-10-02

* SMB::String now supports ASCII-encoded strings.
* add support for BROWSER protocol (sub protocol on SMB TRANS command).

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/rub

packetgen 2.8.4 released

packetgen 2.8.4 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <https://github.com/sdaubert/packetgen/wiki>

PacketGen provides simple ways to generate, send and capture network
packets.

Supported protocols are: Ethernet, Dot11, Dot1x, ARP, IP, IPv6, GRE,
ICMP, IGMP, ICMPv6, MLD, MLDv2, OSPFv2, OSPFv3, UDP, TCP, SNMP, ESP,
DNS, IKE, EAP, BOOTP, DHCP, TFTP, NetBIOS, HTTP and MDNS.

Changes:

### 2.8.4 / 2018-10-02

* Add Types::Fields.update_field and .remove_bit_fields_onto to ease
defining new headers by inh

Why the CSV standard library is broken (and how to fix it), Part III or Returning a CSV Record as an Array? Hash? Struct? Row?

Hello,

I've written a new (and third) episode [1] in the series
why the CSV standard library is broken, broken, broken (and how to fix it).

Let's have a look at how to handle csv records. How about returning
an array? hash? struct? row? etc.

Or how about adding new "low-level" parsers for supporting more
dialects and formats or for faster code with c-extensions?

Questions and comments welcome. Cheers.

Peertube Embed

Hello All,

It looked very strange that there was no library for embedding Peer Tube
videos in Ruby. So I wrote one, check it out here
<a href="https://rubygems.org/gems/peertube_embed" title="https://rubygems.org/gems/peertube_embed">https://rubygems.org/gems/peertube_embed</a>

Ruby Conferences & Camps in 2018 Calendar Update @ Planet Ruby - What's Upcoming?

Hello,

I've updated the ruby conferences & camps in 2018 calendar [1].
What's upcoming?

October

- Sat 6 (1d) Ruby Russia @ Moscow, Russia
- Thu+Fri 25+26 (2d) RubyConf Malaysia @ Kuala Lumpur, Malaysia

November

- Fri 9 (1d) Keep Ruby Weird @ Austin, Texas, United States
- Tue-Thu 13-15 (3d) RubyConf @ Los Angeles, California, United States

Any others? Please tell. Cheers.

Why the CSV standard library is broken, broken, broken (and how to fix it), Part II or The Wonders of CSV Formats / Dialects

Hello,

I've written a follow-up [1] on why the CSV standard library is
broken, broken, broken. Let's have a look at the wonders of CSV
formats / dialects
such as MYSQL CSV export or PostgreSQL CSV or TEXT export.

In a nutshell - the standard CSV parser is a (simplistic) kludge
using string.split() and, thus, needs to get replaced with a "real" parser
that can handle more "edge" cases / formats.

Questions and comments welcome.

Also if want to see other CSV formats pre-configured and supported
"out-of-the-box" in the new csv reader, let us know.

Cheers.

httpx 0.2.0 Released

httpx version 0.2.0 has been released!

* <a href="https://gitlab.com/honeyryderchuck/httpx" title="https://gitlab.com/honeyryderchuck/httpx">https://gitlab.com/honeyryderchuck/httpx</a>

httpx is a library for performing HTTP requests. It is simple, extensible,
fast and compliant. It supports HTTP/2.

Changes:

* Non-blocking DNS resolution

* Support for DNS-over-HTTPS (aka DoH)

* Support for HTTP/2 connection coalescing (see
<a href="https://daniel.haxx.se/blog/2016/08/18/http2-connection-coalescing/" title="https://daniel.haxx.se/blog/2016/08/18/http2-connection-coalescing/">https://daniel.haxx.se/blog/2016/08/18/http2-connection-coalescing/</a>)

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

"Circular require considered harmful"

Trying to figure out how to resolve this error:

/usr/local/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:59:
warning:
/usr/local/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:59:
warning: loading in progress, circular require considered harmful

This is the file it is referencing:

<a href="https://github.com/makhidkarun/ftl_chargen/blob/master/lib/ftl_chargen.rb" title="https://github.com/makhidkarun/ftl_chargen/blob/master/lib/ftl_chargen.rb">https://github.com/makhidkarun/ftl_chargen/blob/master/lib/ftl_chargen.rb</a>

How do I resolve the errors?

kramup / kramdown-service v1.0.0 - Live Markdown Editor and HTTP JSON API w/ Sinatra v2

Hello,

I've updated the kramdown-service / kramup library and tool [1]
that lets you start your own local live markdown editor browser app and
json http api service w/ sinatra v2. Example:

Step 0 - Install the gem e.g.

$ gem install kramdown-service

Step 1 - Start the server / service e.g.

$ kramup

Step 2 - Open up the editor page in your browser e.g. use
`http://localhost:4567`.

That's it.

Enjoy. Cheers. Prost.

PS: Did you know?

new SMB plugin for packetgen

* home: <https://github.com/sdaubert/packetgen-plugin-smb>
* bugs: <https://github.com/sdaubert/packetgen-plugin-smb/issues>

packetgen-plugin-smb is a new plugin for packetegen.

PacketGen provides simple ways to generate, send and capture network
packets.
packetgen-plugin-smb adds support for SMB protocol suite to packetegen.

This is the first version of this plugin. For now, it supports SMB
common header, and a couple of SMB commands (CLOSE, TRANS and
NT_CREATE_ANDX).

This plugin is a work in progress.

chromedriver-helper 2.0.0 released

chromedriver-helper 2.0.0 has been released!

<a href="http://github.com/flavorjones/chromedriver-helper" title="http://github.com/flavorjones/chromedriver-helper">http://github.com/flavorjones/chromedriver-helper</a>

Easy installation and use of chromedriver, the Chromium project's Selenium
webdriver adapter.

2.0.0 - 2019-09-15
**Backwards-incompatible change:**

The installed shadow executable `chromedriver` has been renamed to
`chromedriver-helper` to work around issues with projects _not_ using the
gem on a system on which the gem is installed.

Email validator? (Not email address validator)

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

packetgen 2.8.0 released

packetgen 2.8.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <https://github.com/sdaubert/packetgen/wiki>

PacketGen provides simple ways to generate, send and capture network
packets.

Supported protocols are: Ethernet, Dot11, Dot1x, ARP, IP, IPv6, GRE,
ICMP, IGMP, ICMPv6, MLD, MLDv2, OSPFv2, OSPFv3, UDP, TCP, SNMP, ESP,
DNS, IKE, EAP, BOOTP, DHCP, TFTP, NetBIOS, HTTP and MDNS.

Changes:

### 2.8.0 / 2018-09-10

* Add support for NetBIOS datagram service (new classes:
Header::NetBIOS::Name and Header::NetBI

Unable to compile ruby 2.5.1 on Solaris 10 SPARC

Hi Folks,

Am trying to compile Ruby 2.5.1 on Solaris 10 SPARC where am ended with the
below error. Not sure why am getting Undefined symbol for socket.

generating a glommed object with DTrace probes for static library
linking static-library libruby-static.a
generating enc.mk
compiling enc/encinit.c
linking ruby
Undefined first referenced
symbol in file
parse_numeric_port ext/socket/socket.a(raddrinfo.o)
ld: fatal: Symbol referencing errors.

Unable to compile ruby 2.5.1 on Solaris 11

When I tried to compile ruby 2.5.1 getting the below error,

compiling parse.c
compiling string.c
compiling symbol.c
compiling vm.c
make[3]: Leaving directory '/usr/share/src/ruby-2.5.1'
processing probes in object files
linking miniruby
./tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp
rbconfig.rb unchanged
creating verconf.h
verconf.h updated
compiling loadpath.c
generating a glommed object with DTrace probes for static library
linking static-library libruby-static.a
generating enc.mk
compiling enc/encinit.c
linking ruby
Undefined first referenced
s

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

Ich kehre zurück am 09.09.2018.

Sehr geerhte Damen und Herren!

Ich bin von 01.09.2018 bis 08.09. 2018 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] hoe
3.17.1 Released" gesendet am 9/7/2018 12:18:48 AM.

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

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

hoe 3.17.1 Released

hoe version 3.17.1 has been released!

* home: <http://www.zenspider.com/projects/hoe.html>
* code: <https://github.com/seattlerb/hoe>
* bugs: <https://github.com/seattlerb/hoe/issues>
* rdoc: <http://docs.seattlerb.org/hoe/>
* doco: <http://docs.seattlerb.org/hoe/Hoe.pdf>
* other: <http://github.com/jbarnette/hoe-plugin-examples>

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.

I Love Ruby Survey

Hello all, I'm writing a book named I Love Ruby, and I plan to release its
another edition this December. I would like to know what feature you want
in that book. Please take this survey <a href="https://goo.gl/forms/S3sBjxTgUS7lRcri2" title="https://goo.gl/forms/S3sBjxTgUS7lRcri2">https://goo.gl/forms/S3sBjxTgUS7lRcri2</a>
so that I can decide on what to do next.

You may download the book here <a href="https://mindaslab.github.io/I-Love-Ruby/" title="https://mindaslab.github.io/I-Love-Ruby/">https://mindaslab.github.io/I-Love-Ruby/</a>

packetgen 2.7.0 released

packetgen 2.7.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <https://github.com/sdaubert/packetgen/wiki>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, ARP, IP, IPv6, GRE, ICMP,
IGMP, ICMPv6, MLD, MLDv2, OSPFv2, OSPFv3, UDP, TCP, SNMP, ESP, DNS, IKE,
EAP, BOOTP, DHCP, TFTP, NetBIOS, HTTP and MDNS.

Changes:

### 2.7.0 / 2018-08-29

* Add Header.list as an alias to Header.all.
* Add Packet#reply and Packet#reply!

Opal-ferro 0.10.2 released

Opal-ferro 0.10.2 released [1].

Main new feature is something called the 'style compositor'. An explanation of its use and the problem it tries to solve can be found here [2].

Ivo Herweijer

[1] <a href="https://github.com/easydatawarehousing/opal-ferro" title="https://github.com/easydatawarehousing/opal-ferro">https://github.com/easydatawarehousing/opal-ferro</a>
[2] <a href="https://medium.com/@ivoh/true-decoupling-of-webcontent-and-styling-ec2c1f5e7178" title="https://medium.com/@ivoh/true-decoupling-of-webcontent-and-styling-ec2c1f5e7178">https://medium.com/@ivoh/true-decoupling-of-webcontent-and-styling-ec2c1...</a>

EuRuKo (European Ruby Konference) 2018 @ Vienna (Austria) - 24+25th/Aug - Live Stream (Incl. All Talks)

Hello,

FYI: the EuRuKo 2018 just kicked off this morning in Vienna,
Austria. Big thanks to Ramón Huidobro (@SenorHuidobro), Super Princess
Pilar (@Tamacodechi) and the org team for making in happen.

Follow along with the EuRuKo 2018 live stream on YouTube for all
talks the next two days! [1].

Cheers. Prost.

[1] <a href="https://www.youtube.com/watch?v=YhPP_Knq0qM" title="https://www.youtube.com/watch?v=YhPP_Knq0qM">https://www.youtube.com/watch?v=YhPP_Knq0qM</a>

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

Why the CSV standard library is broken, broken, broken (and how to fix it)

Hello,

I’ve written up an article titled “Why the CSV standard library is
broken, broken, broken (and how to fix it)” [1].

Why not let’s make ruby the best it can be for data wrangling -
starting with the humble comma-separated values (CSV) format - the
world’s most popular data interchange format in text :-).

Try it yourself.

Mastodon instance for Rubyists

You might’ve already heard of Mastodon; it’s a distributed, federated social network (written in Ruby on Rails!) which a lot of people who have grown weary of Twitter are switching too.

I think one of the most interesting aspects of Mastodon is that you can have “themed” instances, communities of people with something in common, which helps them discover other people with similar interests while still participating in the federated set of all Mastodon instances (the “fediverse”).

With that in mind, I’ve set up an instance specifically for us Rubyists, which you’re all welcome to use if you’d

Apostrophe flag for printf

Hi guys,

There is this thing that to me seems very useful, I could try to
implement it
in a first slot of available free time. But, since it is messing with
"printf" I would
like to know what you do think about it.

One of the things that made me love Ruby at first sight was that i could
type long numbers as "123_332_231", with separators.

csvreader - read tabular data in the comma-separated values (csv) format the right way

Hello,

I've started to put together a new library / gem, that is, csvreader [1] -
that lets you read tabular data in the comma-separated values (csv) format
the right way :-), that is, uses best practices such as

- stripping / trimming leading and trailing spaces,
- skipping comments and blank lines,
- "fixes" quote errors and more

all out-of-the-box with zero-configuration.
And, thus, fixes some major bugs in the (old) standard csv library
with a purpose-built parser (instead of a supposed "faster" split(",") kludge).

Happy data wrangling with ruby. Cheers.

RubyPrize 2018 recommendation request

Hi,

It has been decided to hold the Ruby Prize2018, to recognize
the efforts of New members to the Ruby community.

This "Ruby Prize" will hold meetings by the executive committee
comprised of three parties, which is Ruby Association,
Nihon Ruby no Kai and Matsue city.

Ruby Prize Award Winner and nominees(1-2 people) will receive an
award at the RubyWorld Conference 2018, to be held in Matsue, Shimane
Prefecture November 1st & 2nd

It should be noted the winner of the Ruby Prize will also be awarded
sub-prize money of 1million yen (Approximaterly 9,104 USD)
※ The exchange rate as of Aug

Method invocation from parent class

Hi All,

I have a code:

class ClassA
    def method1()
        puts("From method1 of ClassA")
    end
    def method2()
        puts("From method2 of ClassA")
        method1()          // <---- Here is the problem, I would like
to call method1 from the same ClassA, although it is applied to instance
of ClassB!
    end
end

class ClassB < ClassA
    def method1()
        puts("From method1 of ClassB")
    end
    def method2()
        super()
        puts("From method2 of ClassB")
    end
end

b = ClassB.new()
b.method2()

which produces:

From method2 of ClassA
From method

Object constructor should be renamed

For consistency and conciseness the object constructor should be renamed
from initialize to simply new.

Consider:

class Foo
    def initialize(a)
        @a = a
    end
end

becomes:

class Foo
    def new(a)
        @a = a
    end
end

my_a = Foo.new("test")

Less typing, more consistent. What's not to like?

TK Windows pdf translation

I am looking for more information on Tk Ruby programming. There is some
stuff out on the internet but a lot of the main information is not in my
only language English. Can anyone translate this pdf about ruby tk to
English. It seems to have some information I have not seen, like how to
subclass Tk classes

Thanks

<a href="https://www.dumbo.ai.kyutech.ac.jp/~nagai/RubyKaigi2007-nagai.pdf" title="https://www.dumbo.ai.kyutech.ac.jp/~nagai/RubyKaigi2007-nagai.pdf">https://www.dumbo.ai.kyutech.ac.jp/~nagai/RubyKaigi2007-nagai.pdf</a>

tabreader - read in tabular datafiles in text in the tab format; yes, uses values = line.split("/t")

Hello,

I've put together a new library / gem, that is, tabreader
that lets you read in tabular datafiles in text in the tab format;
yes, uses

values = line.split( "/t" )

or use the packaged up

TabReader.parse_line( ... )

or any of the convenience helpers incl.

Cibyl, a lightweight curly-bracket language which compiles to Ruby and Crystal

<a href="https://github.com/senselogic/CIBYL" title="https://github.com/senselogic/CIBYL">https://github.com/senselogic/CIBYL</a>

// Recursive Fibonacci function
Clearly NOT intended for the typical Ruby/Crystal lover, but rather to
allow those who find a curly-bracket language syntax more pleasant to their
eyes, to not disregard Ruby or Crystal just because of a silly syntactic
preference...

csvrecord - read in comma-separated values (csv) records with typed structs / schemas

Hello,

I've put together a new library / gem called csvrecord [1] that
let's you read in comma-separated values (csv) records
with typed structs / schemas.

mime-types 3.2 Released!

mime-types version 3.2 has been released!

* home: <https://github.com/mime-types/ruby-mime-types/>
* code: <https://github.com/mime-types/ruby-mime-types/>
* bugs: <https://github.com/mime-types/ruby-mime-types/issues>
* rdoc: <http://rdoc.info/gems/mime-types/>
* continuous integration: <{img
src="https://travis-ci.org/mime-types/ruby-mime-types.svg?branch=master"
alt="Build Status"
/}[https://travis-ci.org/mime-types/ruby-mime-types]>
* test coverage: <{img
src="https://coveralls.io/repos/mime-types/ruby-mime-types/badge.svg?branch=master&service=github"
alt="Coverage Status"
/}[https://cov

mwrap 2.1.0 mwrap - LD_PRELOAD malloc wrapper for Ruby

mwrap 2.1.0 - heap_page_body struct tracking

This release enables tracking of memalign allocations for
"struct heap_page_body" in the Ruby GC.

FreeBSD port for RubyTk

I prepared the FreeBSD port for gem 'tk' .

I don't know if it will be accepted and how long it will take
to see it in the ports tree. So, you can find it here attached in case
you want to try.

The port compiles against Tk8.6 and installs it if it is
not already present in the system.

bye
n.

csvutils - tools 'n' scripts for working with comma-separated values (csv) datafiles - the world's most popular tabular data interchange format in text

Hello,

I've put together a new library / gem called csvutils [1] that collects
scripts for wrangling with comma-separated values (csv) datafiles -
the world's most popular tabular data interchange format in text.

Try the help option `-h/--help` with the command line tools.

csvpack Update - Work with tabular data packages in ruby (download, import into sql, query w/ ActiveRecord and more)

Hello,

I've updated the csvpack (*) library / gem [1] that
let's you work with tabular data packages in ruby.

Download comma-separated values (CSV) datafiles in text - also known
as tabular datafiles and read into any sql database (e.g. SQLite,
PostgreSQL, ...), query w/ ActiveRecord and more. Example:

require 'csvpack'

CsvPack.import(
's-and-p-500-companies',
'gdb'
)

Cheers.

Ruby CGI script <=> Java chatbot server - need to run some Javascript code for FaceBook Analytics

People,

I have this chatbot set up:

<a href="https://www.facebook.com/PhiRhoChat" title="https://www.facebook.com/PhiRhoChat">https://www.facebook.com/PhiRhoChat</a>

and it stopped working sometime recently for NEW chats - I can't work
out why Messenger continues to work for my test FB account but not for
new chatters - there are alerts to get the app reviewed again although
under "App Review" it says: "Your app is currently live and available to
the public."

Anyway, I want to add this Javascript stuff to the Ruby script somehow
so the FB analytics will work so I might have a better chance of finding
out why NEW chats are not making it to the Ruby script .

An issue with a Technical Meritocracy

As we talk about "Nice" and "Tk" I saw an issue in the traditional
Open Source meritocracy pattern.

We promote, through "cred" (credibility), those who show strong
technical merit. They become "leaders". Yet "leading", and "organizing
a group who can contribute to a project", are very different skills
from "coding ability" and "technical savvy".

I thought through Marvin Gülker's comments about people contributing
to revive Tk. Mixed that with Andy's reply and Nicola's support, and
realized that a team could be formed but the organizer would need to
be able to do Ruby, C, and leadership.

How to gracefully kill IRB

Hi,

leaving aside our RubyGUI debate for while, I have a question about IRB.

The script i have currently in dev. ends with this:
When I close the GUI (an action calling "Tk::exit; exit(0)" ) , the
shell invoking the script
remains in an inconsistent state, i type and i get nothing printed into
it. I must kill it.
(i am running the thing in FreeBSD, lanunching my script from a Konsole)

Is there a way i can terminate IRB REPL
without doing Ctrl-d or Ctrl-d from the REPL itself, without loosing the
invoking shell ?

bye

Qo 0.5.0 API

*What's Qo?*

Qo is a pattern matching implementation in pure Ruby.

It lets you do things like this:

Qo.case(['Foo', 42]) { |m|
m.when(/^F/, Any) { 'Foo!' }
m.else { 'Not foo...' }
}
=> 'Foo!'

[['Foo', 42], ['Bar', 24]].map(&Qo.match { |m|
m.when(/^F/, Any) { 'Foo!' }
m.else { 'Not foo...' }
})
=> ['Foo!', 'Not foo...']

The syntax purposely mimics case statements.

*RFC*

Working on refining the API for Qo, mostly modeled after the 2.6+ potential
Hash#=== and Array#=== features. If these two are merged, Qo will likely
get substantially faster.

re: gui, tk, etc (was: [ANN] 2018 Call for Grant Proposals)

installing and using tk in ruby, fwiw:

1 download latest tcl/tc fr activestate (
<a href="https://www.activestate.com/activetcl/downloads" title="https://www.activestate.com/activetcl/downloads">https://www.activestate.com/activetcl/downloads</a>). by default it downloads
to /opt/
2 set lib location (wc is under /opt/ if you opted for the default) using
ldconfig

3 use tk in ruby using ffi-tk gem (<a href="https://github.com/manveru/ffi-tk" title="https://github.com/manveru/ffi-tk">https://github.com/manveru/ffi-tk</a>)

4 try the examples included in ffi-tk. they should work.
hth

Qo 0.4.0 released

<a href="https://github.com/baweaver/qo" title="https://github.com/baweaver/qo">https://github.com/baweaver/qo</a>

Qo v0.4.0 released!

Changes:

* Wildcard replaced with the Any gem: <a href="https://github.com/baweaver/any" title="https://github.com/baweaver/any">https://github.com/baweaver/any</a>
* New logo

Example:

Qo[:*, :*] === [1, 1]
Qo[name: :*] === {id: 1, name: 'foo'}

now becomes

Qo[Any, Any] === [1, 1]
Qo[name: Any] === {id: 1, name: 'foo'}

Going to attempt to reconcile against the Array and Hash === proposals in
core at the moment:

[Any, Any] === [1, 1]
{name: Any} === {id: 1, name: 'foo'}

Expect more releases in the near future as we approach a solid v1 api.

yahns 1.16.0 -_- sleepy app server for Ruby

A Free Software, multi-threaded, non-blocking network
application server designed for low _idle_ power consumption.
It is primarily optimized for applications with occasional users
which see little or no traffic. yahns currently hosts Rack/HTTP
applications, but may eventually support other application
types.

Syndicate content