RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

[Podcast] Ruby Rogues - How to Contribute to Ruby with Sihui Huang

In this episode of Ruby Rogues, the panel talks to Sihui Huang about his article “How to Contribute to Ruby”. Sihui is currently a back-end engineer at Gusto, which is a startup that works with payroll, benefits, and HR for companies. They talk about her experience in the programming world, why she chose to work with Ruby, and they touch on her article and why she decided to write it. They also touch on the three focuses for Ruby 3, if she thinks Ruby has a long time future, and more! [more inside]

tabreader - read in tabular datafiles in text in the tab format; incl. why Tab != CSV

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. TabHashReader.parse for returning hashes (with named value pairs) instead of arrays (with a list of values by position/index). The readme includes why CSV.read( col_sep: "\t", quote_char: "∅" ) is NOT recommended and why tab is its own (simpler) format than the classic comma-separated values (csv) format. Happy data wrangling with ruby. Cheers. Prost.

I share a Ruby tip a day

I have gathered ruby tips for a few years. Now I want to give back and I created a twitter account and a newsletter where I share every day a ruby tip, in less than 20 lines, for beginners and experienced developers. [more inside]

Good tweeter :)
nice, man! 👍

Ruby Conference MY 2018

Dropping by to promote Ruby Conference MY 2018 happening on Oct 25 and 26 in Kuala Lumpur, Malaysia. Early bird tickets are only available until end of this month. Grab the tickets before it runs out! Remember to check out our great line up of speakers and buy the ticket! https://rubyconf.my/

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

Hello, I’ve put together a new library / gem, that is, csvrecord - that lets you read in comma-separated values (csv) records with typed structs / schemas e.g. use beers = Beer.read( 'beer.csv' ).to_a; beers[0].brewery instead of rows = CSV.read( 'beer.csv', headers: true ); rows[0]['Brewery'] and so on. Why care about CSV? It’s the world’s most popular tabular data interchange format in text :-). Happy data / text wrangling with ruby. Cheers. Prost. PS: For some getting started .csv datafiles, see the /football.csv collection (incl. English Premier League, Bundesliga, Seria A, Ligue 1, European Cup, etc.).

Why you shouldn't run multiple apps on the same server

I’m writing about deploying Rails from a sysadmin perspective, here is why putting everything on the same server is a bad idea: Read more

Really a post from last 10 years, these days all these issues in the post can b…
Thanks for the Redis namespace idea, I didn’t know that. I’ll write some mor…

Proc vs Lambda

lambdas are strict on argument number. If the call doesn’t respect the exact number of arguments then an ArgumentError is raised… SEE MORE

Loading older posts