DevHeads.net

Postings by Gerald Bauer

sportweb Gem Update - Instant sport.db Web Admin (Rails Engine) Command Line Tool / Server - Browse All World Cups etc.

Hello,

for the world cup I've updated the sportweb command line tool [1] that
lets you browse your local sport.db / worldcup.db with a built-in
instant web admin server (and rails engine).

Browse all world cups (from Uruguay 1930 to Russia 2018) or build
your own sport league / tournament.

Cheers. Prost. Enjoy the beautiful game with ruby (and rails).

[1] <a href="https://github.com/sportdb/sport.db.web" title="https://github.com/sportdb/sport.db.web">https://github.com/sportdb/sport.db.web</a>

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

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

Hello,

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

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

Hello,

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

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

Hello,

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

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

Hello,

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.

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

Hello,

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

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

Hello,

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?

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

Hello,

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.

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

Hello,

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

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.

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

Hello,

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

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!

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

Hello,

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

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

Hello,

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

Hello,

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.

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

Hello,

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.

Cheers.

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

Hello,

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.

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

Hello,

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

Cheers.

[1] <a href="https://planetruby.github.io/calendar/2018/2" title="https://planetruby.github.io/calendar/2018/2">https://planetruby.github.io/calendar/2018/2</a>

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

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

Hello,

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
[2]

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

fizzbuzzer - 1, 2, Fizz, 4, Buzz, Fizz,... - a collection of fizz buzz algorithms

Hello,

I’ve put together a new fizzbuzzer command line tool and library (gem) [1].

1, 2, Fizz, 4, Buzz, Fizz, 7, 8, Fizz, Buzz, 11, Fizz, 13, 14, Fizz Buzz, …

The fizzbuzzer library includes a collection of algorithms for
playing the word game for children that teaches division (one of the
four basic arithmetic operations in mathematics) or helps you find the
world’s best coders in programming job interviews.

Are you (re)using the fizzbuzzer library?

Yuki & Moto Press Bookshelf Update - 10+ Free (Online) Books About Ruby 'n' Friends

Hello,

I've updated the Yuki & Moto Press Bookshelf. So far
books in the series about Ruby 'n' Friends include:

- Gem Developer's Guide by Nick Quaranto, Eric Hodel, et al

- How I Start - Let's Build a Gem Together!

Ruby Conferences (& Camps) in 2018 - New Home @ Planet Ruby / Calendar - Updates Welcome

Hello,

I've updated the Ruby conferences & camps repo / website at the
Planet Ruby org.

Find all upcoming conferences & camps at the 2018 page [1].

You can also subscribe to montlhy updates (via web feed) if I
manage to put togehter a post every month. Find the first What's Up in
2018/1? for January[2] online - all about Ruby on Ice and Ruby Habits
Vienna.

Updates welcome.

Gem Series ++ Ruby Project Automation 'n' Database Documentation Tools @ Yuki & Moto Press Bookshelf

Hello,

I added another (free) book to the Yuki & Moto bookshelf. Let's
welcome the new Gem Series. First volume:

Project Automation 'n' Database Documentation Tools [1]

Contents

1. quik - Quick Starter Template Script Wizard; The Missing Code
Generator 'n' Project Scaffolder for Gems, Sinatra, Jekyll 'n' More

2. hoe - Build, Package and Publish Gems with Hoe; Use Build Scripts
with Ready-to-Use Rake Tasks

3. schemadoc - Auto-generate your SQL database schema documentation
for tables, columns, symbols A-Z, etc

4.

Ruby 3x3 - Ruby 3 Will Be 3 Times Faster - What's News? (Updates Welcome)

Hello,

over at the Ruby Advent Calendar 2017 I've added another new page:

Ruby 3x3 [1] - Ruby 3 Will Be 3 Times Faster (in 2020) - What's News?

that collects news bytes, (optcarrot) benchmarks and more about Ruby 3x3.

Great news. Ruby is getting faster and faster. See the Optcarrot
benchmarks. :-)

Cheers.

Free (Online) Book - Programming Cryptocurrencies and Blockchains in Ruby @ Yuki & Moto Press Bookshelf

Hello,

Why not learn and build your own cryptos in 2018?!

I've put together a new free book: Programming Cryptocurrencies and
Blockchains in Ruby [1] @ Yuki & Moto Press Bookshelf.

The book incl. merkle trees, central banks, shilling, crypto
kitties & copycats, and, of course, tulips (on the blockchain) :-) and
more.

Happy new year. Prosit 2018! Cheers.

[1] <a href="http://yukimotopress.github.io/blockchains" title="http://yukimotopress.github.io/blockchains">http://yukimotopress.github.io/blockchains</a>

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

It's Official - Ruby 2.5 Released - What's News?

Hello,

Congrats for all the work on the new Ruby 2.5 series [1].

At the Ruby Advent Calendar [2] I collect Ruby 2.5 news bytes. So
far the articles, posts, etc.

Day 20 - Ruby Advent Calendar 2017 - Build Your Own What’s On / What’s Up Event Calendar from READMEs in (Structured) Text; Ruby Conferences from Around the World and Much More

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let's continue the (talking to myself :-) on the mailing list)
series on Day 20 with the eventdb [2] library / gem and the whatson
command line tool suite (rubyconf, beerfest, kickoff):

Build your own What’s On / What’s Up event calendar from READMEs in
(structured) text [...]

Note: A ready-to-use command-line tool e.g. rubyconf for listing
upcoming ruby conferences & camps is bundled up in the whatson library
& command line tool suite e.g.

Day 16 - Ruby Advent Calendar 2017 - gli - Add Git-like interfaces (GLI) to your awesome command-line tools; talk to your computer (bots) in the shell in text; commands, commands, commands

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let's continue the series on Day 16 with the gli [2] library /
gem. Add Git-like interfaces (GLI) to your awesome command-line tools;
talk to your computer (bots) in the shell in text; commands, commands, commands.

Thanks to David Bryant Copeland for publishing more than 70+
releases since 2009
leading to today's version 2.17+ and more than 8 million downloads.

Happy scripting & talking. Cheers.

Day 15 - Ruby Advent Calendar 2017 - kramdown - Turn easy-to-read and easy-to-write (structured) plain text with "lite" markup formatting conventions in markdown into web pages or latex typesetting documents

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let's continue the series on Day 15 with the kramdown [2] library /
gem and command line tool.

Day 14 - Ruby Advent Calendar 2017 - hoe - Build, package and publish gems with hoe; use build scripts with ready-to-use rake (ruby make) tasks; automate, automate, automate

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let's continue the series on Day 14 with the hoe library /
gem and command line tools. Build, package and publish gems with hoe;
use build scripts with ready-to-use rake (ruby make) tasks; automate,
automate, automate.

Thanks to Ryan Davis and friends (from Seattle.rb)
for polishing the gem all those years - more than 100+ releases -
leading to today’s version 3.16.

Happy scripting & automating.

What's News in Ruby 2.5? Upcoming Dec, 25th 2017 - Add Your Ruby 2.5 Articles / Posts

Hello,

over at the Ruby Advent Calendar 2017 [1] counting down to Dec,
25th I've added a news block collecting articles / posts about Ruby
2.5.

So far articles / posts include:

- Ruby 2.5.0 Changes
Official changes since the 2.4.0 release

- Standard Gems 2.5.0 - Default Gems, Bundled Gems
by Jan Lelis, Idiosyncratic Ruby

- 10 New Features in Ruby 2.5
by Junichi Ito, a Ruby programmer at SonicGarden.jp

- 10 More New Features in Ruby 2.5
by Tom Lord, Software Developer from London

- Performance Improvements in Ruby 2.5
by Jesus Castello, Ruby Guides

- yield_s

Day 13 - Ruby Advent Calendar 2017 - schemadoc - Auto-generate your SQL database schema documentation for tables, columns, symbols A-Z, etc; use your own (static) themes; connects w/ ActiveRecord (SQLite, PostgreSQL, ...) and much more

Hello,

welcome back to the Ruby Advent Calendar 2017 [1] - 25 Days
of Ruby Gems / Libraries from December 1 to December 25.

Let's continue the series on Day 13 with the schemadoc library /
gem and command line tool. Auto-generate your SQL database schema
documentation for tables, columns, symbols A-Z, etc; use your own
(static) themes; connects w/ ActiveRecord (SQLite, PostgreSQL, ...)
and much more.

Happy documenting & publishing.