0008 – Guide to overloading in Python
0008 – Guide to overloading in Python –Overloading is giving multiple implementations to a function, based on what arguments it receives.
All my blog posts and articles
Page 6 of 141 (2813 total posts)
0008 – Guide to overloading in Python –Overloading is giving multiple implementations to a function, based on what arguments it receives.
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…
Nova –The beautiful, fast, flexible, native Mac code editor from Panic.
Get the most out of Python dicts –I won’t make any dict joke
Opinion | How Shoddy Data Becomes Sensational Research –Academics are addicted to p-hacking, data torturing, and other statistical sins. We must break these habits.
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.
Introduction to Rails Engines – FastRuby.io | Rails Upgrade Service –An intro to Rails Engines are an architectural pattern that can be used to modularize or pack a Rails application. An article about this powerful f…
pawurb/rails-brotli-cache: Rails cache using the Brotli algorithm offers better compression and performance. –Rails cache using the Brotli algorithm offers better compression and performance. – GitHub – pawurb/rails-brotli-cache: Rails cache using the Brotli algorithm offers better compression and performa…
How-To Add Recommendations to a Rails App with pgvector and OpenAI –Creating recommendations with pgvector, ruby-openai, and the neighbor gem.
‘Succession’ and the Future of Social Media –Sssssaga of a glossssy and glittering our bosses. Article is much more interesting than the title promises.
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.
Kanaries/Rath: Next generation of automated data exploratory analysis and visualization platform. –Next generation of automated data exploratory analysis and visualization platform. – Kanaries/Rath: Next generation of automated data exploratory analysis and visualization platform.
GigaBrain – Search Reddit and Other Communities for Answers from Real People –GigaBrain finds the most useful discussions on reddit and other communities. We sift through the noise and analyze billions of comments for you. Get real answers from real people.
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.
From Ruby to Crystal? Writing and distributing a CLI tool—Martian Chronicles, Evil Martians’ team blog –We use the Crystal language to build a CLI tool, a coverage reporter for Coveralls, as a static binary and as a Homebrew tap