Page 101 of 128 (2549 total posts)

April 2021

06-04-2021
Command-line Tools can be 235x Faster than your Hadoop Cluster - Adam Drake

Command-line Tools can be 235x Faster than your Hadoop Cluster - Adam Drake

Source: adamdrake.com

Introduction As I was browsing the web and catching up on some sites I visit periodically, I found a cool article from Tom Hayden about using Amazon Elastic Map Reduce (EMR) and mrjob in order to compute some statistics on win/loss ratios for chess games he downloaded from the millionbase archive, and generally have fun with EMR. Since the data volume was only about 1.75GB containing around 2 million chess games, I was skeptical of using Hadoop for the task, but I can understand his goal of learning and having fun with mrjob and EMR.

Tags: tool
06-04-2021
Rewriting deprecated APIs with parser gem | Arkency Blog

Rewriting deprecated APIs with parser gem | Arkency Blog

Source: blog.arkency.com

Rewriting deprecated APIs with parser gem In upcoming Rails Event Store release we’re going to deprecate existing reader methods. They’ll be replaced in favor of fluent query interface — popularized by ActiveRecord. In order to make this transition a bit easier, we’ve prepared a script to transform given codebase to utilize new APIs.

06-04-2021
Broken
How to solve the Google recruiters’ puzzle about throwing eggs from a building | Codementor

How to solve the Google recruiters’ puzzle about throwing eggs from a building | Codementor

Source: codementor.io

You work in a 100 floor building and you get 2 identical eggs. You need to figure out the highest floor an egg can be dropped without breaking. Find an algorithm that is minimizing number of throws in the worst-case scenario.

Tags: puzzle google eggs algorithm