DEV Community

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

Posted on

Hacky Friday Stuff #22.05.2020

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

Rebuilding our tech stack for the new Facebook.com
Facebook sharing the lessons they’ve learned while rearchitecting Facebook.com, using React (a declarative JavaScript library for building user interfaces), and Relay (a GraphQL client for React).

Five common issues with services and dry-monads
Anton Davydov shares his opinion regarding the common mistakes people often making when using dry-monads. The article describes detailed refactoring of the code snippet found at GitHub.

Deno vs. Node.js — Here are the most Important Differences
s Deno the new Node.js? Or is it just a nice alternative? In this article we will go into some important differences and features — have fun!

Atricles & Tutorials

Five Steps to Reduce webpack 4 Bundle Size
The article covers the approach of the application's size optimization by applying bundle analysis, import transformation, reduction of the imported big libraries, and code splitting techniques.

The State Reducer Pattern with React Hooks
A pattern for you to use in custom hooks to enhance the power and flexibility of your hooks. It's used in downshift to enable an awesome API for people who wanted to make changes to how downshift updates state internally.

Modern React Testing Series
This series of articles is an in-depth snapshot of the current state of testing React components and frontend in general, explaining many whys, not just hows. We’ll see why to write automated tests, what tests to write and how to write them. In practical articles we’ll learn how to use Jest, Enzyme and React Testing Library to test React components.

How to Fix Slow Code in Ruby
Shopify team shows how they effectively finding and solving performance issues in a big monolithic Rails application. They are talking about the approaches for finding slow code, fixing it, and proving that the new solution is faster showing some case studies that feature real-world examples of using profiling and benchmarking.

How to Migrate from Capybara Webkit to Webdrivers
The article covers the issues with Capybara Webkit, why it worth switching to the modern approach that uses the webdrivers gem and a headless browser, and how to make the transition step by step.

Ensuring backward compatibility in distributed systems
The move towards distributed architectures brings lots of benefits: easier testing, smaller deployable units, looser decoupling, smaller failure surfaces, to name a few. But it also brings its own set of challenges. How can a set of services evolve together in a way that doesn’t break the system?

PostgreSQL - transpose columns into rows
A very simple approach to transpose columns into rows using PostgreSQL.

Gems & Libraries

Fullstaq Ruby
Ruby, optimized for production. A new Ruby distribution, with the Ruby you know and love, but better.

  • Less memory — save 30-50%
  • Faster
  • More secure
  • Fully open-source, based on MRI

Snowpack
The O(1) build tool for modern web apps. Snowpack is your near-instant web build tool. Snowpack replaces your dev bundler with a dev environment that only builds files as they are requested by the browser. That means instant dev startup times, less unnecessary work and faster updates on every save.

SWC
Superfast javascript/typescript compiler.

Render Async
Speed up rendering Rails pages with this gem.
render_async renders partials to your views asynchronously. This is done through adding JavaScript code that does AJAX request to your controller which then renders your partial into a Rails view.

Podcasts

The Bike Shed | 243: I'm Not a Couch Worker
Chris shares his recent explorations of railway oriented programming (hint: not what you think!) while doing his best to avoid words like "monad" and "functor" (he does not succeed in this effort). Steph updates on her quest for the ultimate personal note-taking app and some misadventures in DNS and networking, and they touch on their shared search for ergonomics in the home office world we all live in these days.

Ruby Rogues | RR 460: How to Brainstorm Introverts with DeeDee Lavinder
Dee Dee Lavinder talks with the Rogues about how we can create space for introverts to participate in discussions, thereby getting their input in situations where we otherwise would not. She provides some tips for extroverts to invite the input, Luke brings his patented sarcasm to the table, we discuss some pitfalls and Dee really brings some fantastic advice to the table for those trying to moderate discussions as well as for those of us having small discussions with our colleagues.

Outsourcing Oasis | OO 006: Building Long Term Relationships and Positive Experiences for Clients with Don Gregori
Don Gregori is the COO at First Factory. The main presence in First Factory is in Costa Rica, but Don is based in the USA. Don started as a client at First Factory at Kaplan Test Prep. He's not a technical guy, but he understands user experience. Don focuses on creating a great experience for his customers. Don and David dive into what makes a great experience for clients and how to make sure that you're not only meeting their needs but building great relationships that last for a long time.

Top comments (0)