Page 100 of 127 (2525 total posts)

April 2021

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
⚠️
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
06-04-2021
An intro to Stimulus JS: well-factored JavaScript for server-rendered applications - Superset Blog

An intro to Stimulus JS: well-factored JavaScript for server-rendered applications - Superset Blog

Source: blog.supersetinc.com

Stimulus is a JavaScript framework from Basecamp that provides consistent conventions and hooks for JavaScript that manipulates the DOM in server-rendered applications. It aims to fill some gaps that have always existed for developers who embrace a traditional server-rendered paradigm (and who may also be using libraries like Turbolinks or PJAX) but who also need to […]

Tags: stimulus javascript rails
06-04-2021
Python for Data Science: 8 Concepts You May Have Forgotten

Python for Data Science: 8 Concepts You May Have Forgotten

Source: towardsdatascience.com

If you’ve ever found yourself looking up the same question, concept, or syntax over and over again when programming, you’re not alone. While it’s not unnatural to look things up on StackOverflow or…

Tags: pandas datascience Python