Victor
timecop
Our great sponsors
Victor | timecop | |
---|---|---|
2 | 4 | |
353 | 3,333 | |
- | - | |
5.1 | 6.1 | |
about 2 months ago | 10 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Victor
-
What questions do you consider important for a Ruby on Rails technical interview?
i'm super confused by "which gems you can't live without". is this my personal debugging collection of pry-rails, bullet and other things? i mean, whatever is required and does the job i guess. i absolutely love Dentaku gem and build awesome stuff with it in 2 different companies where it absolutely contributed to their product in huge ways (https://github.com/rubysolo/dentaku) . i also love Victor (https://github.com/DannyBen/victor) where i draw epic custom charts which are used in reports that been generated for billion dollar real estate funds.
-
Charts.css
That's not close to the same complexity, is it?
With the HTML + CSS solution, all my program has to produce is a HTML table. Very easy.
With SVG my program has to create not just a data table, but the custom SVG code to paint the actual charts. I'm actually doing that on pc-kombo, https://www.pc-kombo.com/us/benchmark/games/cpu/compare?ids%... shows it, the image is SVG. But it's created with https://github.com/DannyBen/victor/, so my ruby code has to describe all the details of that image, including manually saying how each bar chart should look. Even with the awesome victor library that wasn't all that easy.
Alternative is a JS library that produces the SVG code, but then it's exactly as complicated as with regular JS libraries, it just changes the output.
timecop
-
About time: how to unit test code that depends on time
The Ruby equivalent is Timecop
https://github.com/travisjeffery/timecop
Dynamic languages have the advantage to be able to rewrite the standard library classes at runtime.
-
What questions do you consider important for a Ruby on Rails technical interview?
vs https://github.com/travisjeffery/timecop yes it's true and i am happy to show everybody that they don't need timecop in rails test suite anymore.
- What are your top useful gems?
-
Travel in time in development/staing/... in your Rails app
I believe you already familiar with the gem https://github.com/travisjeffery/timecop which is very useful for testing.
What are some alternatives?
MiniMagick - mini replacement for RMagick
Parallel Tests - Ruby: 2 CPUs = 2x Testing Speed for RSpec, Test::Unit and Cucumber
Phashion - Ruby wrapper around pHash, the perceptual hash library for detecting duplicate multimedia files
vcr - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
PSD.rb - Parse Photoshop files in Ruby with ease
R Spec - A minimalist RSpec clone with all the essentials. [Moved to: https://github.com/cyril/r_spec-clone.rb]
ruby-vips - Ruby extension for the libvips image processing library.
Knapsack - Knapsack splits tests evenly across parallel CI nodes to run fast CI build and save you time.
lowdefy - The config web stack for business apps - build internal tools, client portals, web apps, admin panels, dashboards, web sites, and CRUD apps with YAML or JSON.
mutant - Automated code reviews via mutation testing - semantic code coverage.
RMagick - Ruby bindings for ImageMagick
Spring - Rails application preloader