DEV Community

Cover image for Hacky Friday Stuff #24.07.2020
Alexey Zhaboyedov
Alexey Zhaboyedov

Posted on

Hacky Friday Stuff #24.07.2020

Links about web development, product engineering, tools and services from all over the internet.

Ruby Method Overloading
Method Overloading is a programming language feature that allows you to define multiple signatures (and implementations) of the same method. Ruby doesn’t have such a feature, but there is a hack to make this possible based on method arity.

Removing SHA1 passwords from RubyGems.org
Yet another reminder to stop using SHA1 hashing algorithm for passwords as it's widely considered insecure.

Articles, tutorials

Building a Toy Lexer in Ruby
Lexers are magical. They take your messy, hand-typed, human text, and convert it into a clean data structure that the computer can process. Every time you run a ruby program, use structured search or type in a date by hand, you'll find a lexer hard at work. In this article, Alex Braha Stoll pulls back the curtain to show us how lexers work and how to implement one for a simple programming language.

22 Miraculous Tools for React Developers in 2019
It's almost a one-year-old article but it covers a comprehensive list of tools that still could be useful to anyone working with React nowadays.

Making RSpec Tests More Robust
Mocks and stubs in RSpec allow developers to make important assertions about their code. Unfortunately, mocking can also cause false positives when modifying real code. In this article, you'll find how to overcome some of those issues.

Gems, libraries

Pragmatic Tokenizer
Pragmatic Tokenizer is a multilingual tokenizer to split a string into tokens.

Recoil
A state management library for React.

Podcasts

Full Stack Radio | 143: Rich Harris - Svelte and Defending the Modern Web
In this episode, Adam talks to Rich Harris about Svelte, and why we should keep pushing forward with the modern web even if it's not perfect yet.

Ruby Rogues | RR 464: PWAs on Rails with John Beatty
John Beatty joins the Rogues to talk about building Progressive Web Applications on Ruby on Rails. He walks the Rogues through the ins and outs of building a PWA and what it’s like adding the features you need to get a PWA set up on Rails. It turns out to be surprisingly straightforward and yet has a ton of potential.

Photo by Alexander Sinn on Unsplash.

Top comments (0)