Nova
Nova –The beautiful, fast, flexible, native Mac code editor from Panic.
All my blog posts and articles
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
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 got to Node C and 10 to go to Node D Node C costs 100 to go to node E and 50 to go to node F Node D costs 10 to go to node E and 100 to go to node F
What is the best route to go from Node A to node E? And what is the best route to go from Node A to node F?
Response:
To find the best route from Node A to Node E, we need...
fast.ai – Mojo may be the biggest programming language advance in decades –Mojo is a new programming language, based on Python, which fixes Python’s performance and deployment problems.
Advanced Active Record –Optimizing Performance and Robustness with Locking, UUIDs, Fulltext Search, Database Views, and Geospatial Data