Mocks are for schmocks
Jan 4th, 2023
This is a rant about the use of libraries such as MagicMock or go-sqlmock for writing tests. I really believe that you should avoid any library that matches the following regular expression /(mock|patch)/
.
This is a rant about the use of libraries such as MagicMock or go-sqlmock for writing tests. I really believe that you should avoid any library that matches the following regular expression /(mock|patch)/
.
In the age of fancy machine learning models with billions of parameters that can almost drive cars, or answer complex questions, or even write code. By far the most common way of debugging a program is by inserting print statements in the code. so much so that I’d argue that most programmers don’t know how to spin or use a debugger.
Guidance is a library designed to help you control the output of an LLM. For instance, ensuring the output is a JSON object with a specific schema.
#This article is making the rounds on the internet. The author makes the case that open-source models are innovating faster than the top closed-source models (Bart, Sydney, and OpenAI).
#I had the chance to play with DeepFloyd IF, a new text2img model that’s designed to create more realistic images and, above all, deal better with text.
#Writing an OS in Go. This could be an exciting series of articles. You can learn how to use and abuse the go toolchain to create main function of the kernel.
#