Python’s Hidden Gems: 3 Must-Know Functionalities
Photo by wu yi on UnsplashYou know Python! Or at least, you think you do. Even though I think I do, and even after eight years of full-time experience, I continue to learn new things. I suppose that’s the remarkable aspect of programming: you never cease to learn.I’ve worked with data scientists,
Read moreBuilding for Failure — Best Practices for Easy Production Debugging
Building for Failure — Best Practices for Easy Production DebuggingPhoto by Lance Anderson on UnsplashQuite a few years ago, I was maintaining a database-driven system and ran into a weird production bug. The column I was reading from had a null value, but this wasn’t allowed in the code, and there was no
Read moreWhen Storybook Meets Fetch Mock
Storybook examples with CSF3 + react-storybook-fetch-mockContinue reading on Better Programming »
Read moreHow to mark a language in HTML
In HTML you can mark the language of a piece of text by putting it inside span tags and setting the lang attribute to a two-letter abbreviation. For example, <span lang="fr">Allons enfants de la Patrie, Le jour de gloire est arrivé !<span> indicates that the first two lines of the
Read moreHow to Supplant Yourself With a Fine-tuned LLM
Create a Clone of Yourself With a Fine-tuned LLMUnleash your digital twinImage generated by Stable Diffusion.This article aims to illustrate how to fine-tune a top-performing LLM efficiently and cost-effectively on a custom dataset. We will explore the utilization of the Falcon-7B model with LoRA adapters using Lit-GPT.Ever wondered what it would be
Read more7 Ways to Speed Up Inference of Your Hosted LLMs
7 Ways To Speed Up Inference of Your Hosted LLMsTLDR; techniques to speed up inference of LLMs to increase token generation speed and reduce memory consumption: mixed-precision, Bfloat16, quantization, fine-tuning with adapters, pruning, continuous batching, and multiple GPUsImage generated with MidjourneyCompanies, from small startups to large corporations, want to utilize the power
Read moreQuick Tip: Controlling Windows with Python
Windows is entirely controllable from code, using the Win32 API. Stuart looks at ways to control the Windows OS with Python. Continue reading Quick Tip: Controlling Windows with Python on SitePoint.
Read moreExperimenting LlamaIndex RouterQueryEngine with Document Management
How RouterQueryEngine works in a DevSecOps chatbotContinue reading on Better Programming »
Read moreTrust Is the Key to Engineering Management
Trust is not assumed. It takes time and skill to earn itPhoto by Joshua Aragon on UnsplashIntroIn the latin etymology, the word “confidere” is the addition of two words: “cum” and “fidere.” These can be translated as “with” and “rely on.” It means that you entrust something precious to somebody.How accurate is
Read moreUnderstanding URL Routing in Flask
Learn about URL routing in Flask: defining routes, handling URL patterns, supporting HTTP methods, managing redirects and errors, and more. Continue reading Understanding URL Routing in Flask on SitePoint.
Read more