vidsnero.blogg.se

Kevin newton ii
Kevin newton ii















Polyfill as needed May 23, 2019īecause browsers implement their own versions of JavaScript, they don’t all support the same functions. What made things even more confusing was that it only occured when it was being run through the JavaScript side, not just through the Ruby side. It stated that the parser was failing with an error saying that there was an invalid byte sequence for US-ASCII encoding. Prettier's encoding bug Aug 21, 2020Ībout a month ago, a curious bug was reported on the prettier plugin for Ruby in this issue: prettier/plugin-ruby#596. Other tools within the community exist as well, including my personal favorite reek. For the most part within the Ruby community we’ve pretty much standardized on rubocop, and for good reason - it’s an impressive project with a massive breadth in terms of how far it is willing to go to guide you toward better code. The last couple of weeks I’ve been thinking about the process of linting Ruby code. Let’s talk about type conversion in Ruby. In this post I’m going to talk about what this project is, how it works, what the 2.0.0 release means, and where this project is going. I just released the 2.0.0 version of the prettier plugin for Ruby. As such, there isn’t really a dedicated CHANGELOG, and it’s somewhat difficult to determine what changed inside the Ripper module without digging into the source. Unfortunately, Ripper itself never changes version (it’s been stuck at 0.1.0 since it was first shipped with Ruby in 2004). The Ripper module ships with the Ruby standard library and gets updated (implicitly or explicitly) every time the Ruby parser changes. In accordance with the Ruby Association’s timeline, this is an intermediate report on the Ruby formatter project.

kevin newton ii

It’s a simple game that works like this: Ruby Association Intermediate Report Jan 17, 2022 You may have seen the word game wordle going around the various social media. Below is the description of the project, as per the submission: Solving Wordle in Ruby Jan 29, 2022 Among them was my proposal to create a standard library Ruby formatter. Last October, the Ruby Association selected its 2021 grant recipients for the various projects around the Ruby ecosystem that they would support. Formatting Ruby : Part 0 - Introduction Feb 03, 2022 For an overview of this series, see the introduction post.

kevin newton ii

This post specifically focuses on ripper, the Ruby standard library used to parse Ruby files. It’s part of an ongoing effort to spread the word about this project, document how it works, and explain some of the internals for anyone interested.

KEVIN NEWTON II SERIES

This post is part of a series about how ruby-syntax-tree/syntax_tree works under the hood. Formatting Ruby : Part 1 - How ripper works Feb 14, 2022 In accordance with the Ruby Association’s timeline, this is the final report on the Ruby formatter project. Ruby Association Final Report Mar 17, 2022 Over the weekend I cobbled together, and I thought I’d share a quick post about what it is, how it works, and what I learned while I built it. This was a bit of a journey, so I thought I’d write up how I discovered this syntax, how I added support for it to Syntax Tree, and go ahead and plug Syntax Tree one more time as something that should be merged into Ruby core. Along with a couple of other changes, this includes support for lambda-local variable declarations.

kevin newton ii

I just released version 2.6.0 of Syntax Tree. Syntax Tree and lambda-local variables May 16, 2022 We’ll briefly cover what AArch64 is, how it is different from other architectures, what a bitmask immediate is, and how all of this can be encoded in Rust. This post illustrates a small but fascinating piece of the AArch64 architecture called bitmask immediates.















Kevin newton ii