{"@attributes":{"version":"2.0"},"channel":{"title":"stevenferrer.github.io","link":"https:\/\/stevenferrer.github.io\/","description":"Recent content on stevenferrer.github.io","generator":"Hugo","language":"en-us","copyright":"\u00a9 Steven Ferrer","lastBuildDate":"Tue, 24 Dec 2024 00:00:00 +0000","item":[{"title":"How to build a flight control using STM32F411 BlackPill board","link":"https:\/\/stevenferrer.github.io\/posts\/how-to-build-a-flight-control-using-stm32f411-blackpill\/","pubDate":"Fri, 20 Dec 2024 00:00:00 +0000","guid":"https:\/\/stevenferrer.github.io\/posts\/how-to-build-a-flight-control-using-stm32f411-blackpill\/","description":"<h2 id=\"introduction\">Introduction<\/h2>\n<figure><img src=\"https:\/\/stevenferrer.github.io\/images\/fullquad.png\"\n    alt=\"full quad\" width=\"100%\">\n<\/figure>\n\n<p>In this post, we are going to see how to build a flight control for a quadcopter using an <a href=\"https:\/\/stm32-base.org\/boards\/STM32F411CEU6-WeAct-Black-Pill-V2.0\">STM32F411 BlackPill<\/a> board.\nI will only go over the high-level details and assume that you can follow the schematics and solder\/assemble the components together.\nIt&rsquo;s also useful to have a multimeter with you to test the connections from time to time and make sure there are no short-circuit.\nWith that out of the way, let&rsquo;s get into it!<\/p>"},{"title":"Solr-Go 0.2 released!","link":"https:\/\/stevenferrer.github.io\/posts\/solr-go-0.2-released\/","pubDate":"Wed, 10 Feb 2021 02:12:31 +0000","guid":"https:\/\/stevenferrer.github.io\/posts\/solr-go-0.2-released\/","description":"<h2 id=\"contents\">Contents<\/h2>\n<ul>\n<li><a href=\"#introduction\">Introduction<\/a><\/li>\n<li><a href=\"#whats-new\">What&rsquo;s new?<\/a>\n<ul>\n<li><a href=\"#other-changes\">Other changes<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#thanks\">Thanks!<\/a><\/li>\n<\/ul>\n<h2 id=\"introduction\">Introduction<\/h2>\n<p><a href=\"https:\/\/github.com\/stevenferrer\/solr-go\">Solr-Go<\/a> started as a rudimentary client for interacting with <a href=\"https:\/\/lucene.apache.org\/solr\/\">Solr<\/a> in <a href=\"https:\/\/golang.org\/\">Go<\/a>. It was built for maximum flexibility, which sacrificed the usability.<\/p>"},{"title":"Generating the repository pattern in Go","link":"https:\/\/stevenferrer.github.io\/posts\/generating-the-repository-pattern-in-go\/","pubDate":"Fri, 11 Dec 2020 09:00:17 +0000","guid":"https:\/\/stevenferrer.github.io\/posts\/generating-the-repository-pattern-in-go\/","description":"<p><img src=\"https:\/\/stevenferrer.github.io\/images\/repository-pattern.png\" alt=\"repository pattern\"><\/p>\n<h2 id=\"contents\">Contents<\/h2>\n<ul>\n<li><a href=\"#introduction\">Introduction<\/a><\/li>\n<li><a href=\"#the-downside\">The downside<\/a><\/li>\n<li><a href=\"#in-search-for-solutions\">In search for solutions<\/a><\/li>\n<li><a href=\"#enter-nero\">Enter nero!<\/a>\n<ul>\n<li><a href=\"#how-to-use-this-library\">How to use this library?<\/a><\/li>\n<li><a href=\"#how-to-use-the-generated-code\">How to use the generated code?<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#conclusion\">Conclusion<\/a><\/li>\n<li><a href=\"#references\">References<\/a><\/li>\n<\/ul>\n<h2 id=\"introduction\">Introduction<\/h2>\n<p>The <em>repository pattern<\/em> is a way to organize and abstract the data-access layer code. In Go, we do this by definig an interface that describes how we want to interact with it. Below is a typical example of a repository interface.<\/p>"},{"title":"Multi-Select Facet with Solr, Vue and Go","link":"https:\/\/stevenferrer.github.io\/posts\/multi-select-facet-solr-vue-go\/","pubDate":"Tue, 30 Jun 2020 16:59:01 +0800","guid":"https:\/\/stevenferrer.github.io\/posts\/multi-select-facet-solr-vue-go\/","description":"<p><img src=\"https:\/\/stevenferrer.github.io\/images\/multi-select-facet-amz.png\" alt=\"multi-select facet amz\"><\/p>\n<h2 id=\"contents\">Contents<\/h2>\n<ul>\n<li><a href=\"#introduction\">Introduction<\/a><\/li>\n<li><a href=\"#indexing-and-querying\">Indexing and querying<\/a>\n<ul>\n<li><a href=\"#the-data\">The data<\/a><\/li>\n<li><a href=\"#defining-our-schema\">Defining our schema<\/a><\/li>\n<li><a href=\"#indexing-the-data\">Indexing the data<\/a><\/li>\n<li><a href=\"#query-with-facet\">Query with facet<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#api-implementation\">API Implementation<\/a><\/li>\n<li><a href=\"#front-end-implementation\">Front-end implementation<\/a><\/li>\n<li><a href=\"#conclusion\">Conclusion<\/a><\/li>\n<li><a href=\"#references\">References<\/a><\/li>\n<\/ul>\n<h3 id=\"changelog\">Changelog<\/h3>\n<ul>\n<li>02\/10\/2021: Update examples to use the latest version of <a href=\"https:\/\/github.com\/stevenferrer\/solr-go\">solr-go<\/a>.<\/li>\n<\/ul>\n<h2 id=\"introduction\">Introduction<\/h2>\n<p>A <em>multi-select facet<\/em> feature give the users the ability to quickly filter the product catalog and help them zero-in on the product that they need. The majority of e-commerces websites support this feature and if you have shopped online before, then you had probably used it before.<\/p>"},{"title":"About","link":"https:\/\/stevenferrer.github.io\/about\/","pubDate":"Sat, 23 May 2020 20:50:19 +0800","guid":"https:\/\/stevenferrer.github.io\/about\/","description":"<p>I&rsquo;m interested in distributed systems, hobby electronics, embedded systems, <a href=\"https:\/\/www.kaggle.com\/stevenrferrer\">machine learning<\/a>, and web 3.0, among other things. Below are examples of what I like to do.<\/p>"}]}}