Rewriting the Ruby parser –At Shopify, we have spent the last year writing a new Ruby parser, which we’ve called YARP (Yet Another Ruby Parser). As of the date of this post, YARP can parse a semantically equivalent syntax tree to Ruby 3.3 on every Ruby file in Shopify’s main codebase, GitHub’s main codebase, CRuby, and the 100 most popular gems downloaded from rubygems.org. We recently got approval to merge this work into CRuby, and are very excited to share our work with the community. This post will take you through the motivations behind this work, the way it was developed, and the path forward.
Why did the #TwitterMigration fail? –I’ve been using fediverse stuff (Mastodon and, most recently, Calckey – I’m just going to use “Mastodon” as shorthand here, purists can bite me) for over a year now, a…
Ruby 3.2 runtime now available in AWS Lambda | Amazon Web Services –Get started building with Ruby 3.2 today by making necessary changes for compatibility with Ruby 3.2, and specifying a runtime parameter value of ruby3.2 when creating or updating your Lambda functions.
Git is simply too hard –Git is actually sooo hard. Not just to learn, but also to use consistently. And I say that as a person who used it for probably over ten years. Here’s my thoughts on the matter.
Concerns in Rails: Everything You Need to Know –Concerns are an important concept in Rails that can be confusing to understand for those new to Rails as well as seasoned practitioners. This post explains what concerns are, how they work, and how & when you should use them to simplify your code, with practical, real-world examples.
Memory Allocation –For those of you learning C or C++, this article is a great and detailed tutorial. Also useful if you are studying operating systems.
I have been using ChatGPT on a daily basis. Not for joking or playing but for work. It is like a super search engine combined with a fallible expert. When I tell this story to various people they seem surprised and ask “Give me an example.” I have so many. So this will be a series of daily examples where ChatGPT made a difference. By the way, people love to say, ChatGPT is nothing more than fancy autocomplete. While they may be technically correct (and I doubt they are) you cannot ignore ChatGPT feats that look nothing like autocomplete.
Tell me how this is simple word completion. Can this be broadened to a more complicated network. Could it be used for some kind of semi-intelligent navigation? ## Prompt: Assume a map that is described in sentences, with node names and costs to go between nodes. Here is map1: Node A costs 5 to go...