Import Maps Under the Hood in Rails 7 | AppSignal Blog –Very useful background on Rails 7 and Javascript: “Learn how to install JavaScript libraries with import maps and how import maps work under the hood in Rails 7.
Trunk-based Development vs. Git Flow –Two major ways of organized source control and brancing: “Git Flow or trunk-based development? This guide lists the pros and cons of both, and examines various use cases.”
Making Sense of Rails Assets –Rails Assets (css, js, etc) have been managed through various mechanisms over the years. They seem to keep trying to find something less mind bendingly complex. Here’s the latest: “Demystify the complexity of the Rails 7 asset pipeline and navigate its wide menu of options.”
Why You Should Use Data Classes in Python | Giuliano Pertile –Don’t you know what a Data Class is? You know how to use it? And what is the difference with a regular class? Here in this post I will try to answer these questions and many more.
How To Learn Any New Skill Fast: 26 Tips and Tricks – Jeremy Fielding 105 –My first video post to this. This is an excellent motivator and explainer to all of you trying or struggling to learn a new skill. I myself am struggling go learn to play the piano. Ha! I’ve been doing that for over 10 years. Still diggin’
Accelerate Python code 100x by import taichi as ti | Taichi Docs –This is almost in the too good to be true category! “Python has become the most popular language in many rapidly evolving sectors, such as deep learning and data sciences. Yet its easy readability comes at the cost of performance. Of course, we all complain about program performance from time to time, and Python should certainly not take all the blame. Still, it’s fair to say that Python’s nature as an interpreted language does not help, especially in computation-intensive scenarios (e.g., when there are multiple nested for loops).”
Why Use MongoDB with Ruby –I haven’t read this yet, but the topic is of great interest: “Before discovering Ruby and Ruby on Rails I was a .NET developer. At that time I’d make ad-hoc changes to my development database, export my table/function/stored procedure/view definitions to text files and check them into source control with any code changes. Using diff functionality I’d compare the schema changes that the DBAs needed to apply to production and we’d script that out separately.”
Runno –It has some similarities with things like JSFiddle or CodePen, but can run Ruby (as well as Python, C and C++). It can even act interactively and accept user input (such as with gets). You can then take these sandboxes and use them on your own pages/blog posts, etc.
Effective Queries with Rails and PostgreSQL –Getting data into your database is easy, but querying large datasets is challenging—especially without the right indexes. Pavel Tkachenko teaches how to write performant SQL queries with EXPLAIN and ANALYZE.
Duplication – Code with Jason –Duplication can pose serious maintenance problems to codebases. Developers’ attempts to fix duplication can even sometimes introduce new problems. Certain popular approaches to addressing duplication exist, such as the rule of three and the refrain duplication is cheaper than the wrong abstraction. I think these advice snippets treat duplication in an oversimplified way that doesn’t […]