Here is an example of a C# class that sends log data to Elasticsearch using the NEST library: This example defines a LogSender class that takes a elasticsearchUrl and indexName in its constructor and uses the NEST library to connect to Elasticsearch and send log data. The SendLog method takes a Log object and sends […]
Elasticsearch is a highly scalable, open-source, distributed, search and analytics engine. It was originally developed in Java by Shay Banon and was first released in 2010. Elasticsearch is based on Apache Lucene, a high-performance text search engine library, and uses a document-oriented data model. It operates by dividing data into individual documents, which are stored […]
MongoDB is a NoSQL, document-based database management system. It was created in 2007 by MongoDB Inc. (formerly known as 10gen). Contrasting MongoDb and SQL SQL (Structured Query Language) and MongoDB are two different types of databases, each with its own strengths and weaknesses. Here are some key differences between the two: Data Model: Schema: Query […]
If you had a Commodore 64 in the 1980s, odds are the one peripheral you really wished you could have was a Lieutenant Kernal Hard Drive from Fiscal Information/Xetec. Bringing 20 megabytes of blindingly-fast storage to the system, the Lieutenant Kernal (LTK for short) was the storage system of choice for C64 BBS operators everywhere. […]
To implement RabbitMQ in C#, you can use the RabbitMQ .NET client library, which provides a simple and straightforward API for communicating with RabbitMQ. The library can be installed as a NuGet package in a .NET project. Here are the basic steps to implement RabbitMQ in C#: Here is an example of how you might […]
RabbitMQ is an open-source message broker software (middleware) that implements the Advanced Message Queuing Protocol (AMQP). It is used for exchanging messages between applications, decoupling the components of a distributed application. It is written in the Erlang programming language. RabbitMQ message queues work by holding messages that are sent to them until they can be […]
Apache Kafka is a popular open-source distributed event streaming platform that allows you to process, store and analyze large amounts of data in real-time. The publish-subscribe model of Kafka allows multiple consumers to subscribe to one or more topics and receive messages in real-time as they are produced by the producers. In this blog post, […]
Apache Kafka is a popular, open-source, distributed event streaming platform that allows you to process, store, and analyze large amounts of data in real-time. Developed by LinkedIn in 2010, Kafka has since become one of the most widely adopted event streaming platforms, used by some of the world’s largest companies to handle billions of events […]
In recent years, microservices have become a popular architectural style for building software applications. The idea behind microservices is to break down a large, monolithic application into smaller, independent services that can be developed, deployed, and scaled separately. This approach has several benefits, including improved scalability, faster development and deployment cycles, and reduced risk of […]
Generics is a concept in computer programming that enables the creation of reusable, type-safe code that can work with multiple data types. It is a feature in many programming languages, including C#, Java, and C++, that provides a way to write generic algorithms and data structures that can work with multiple data types while still […]
Introduction One of the most common requests we receive on e-commerce projects where Magento 1.9 is being used as a store is to add a percentage discount that works on the entire cart WITH a cap on the overall discount amount. This article will explain how to add this to your Magento installation. The same […]
I’ve added some repos of my retro-computing-related projects here.
Recently, I’ve implemented full-disk encryption on every machine at the lab. For the 30 or so Linux boxes, this meant setting up LUKS. We’re a Ubuntu shop here, so that meant following the instructions here. Actual setup of encryption is outside of the scope of this document. I may write an article on it at […]
A basic introduction to the geopattern script and an explanation of how to use it.
I pick up an 8051/C51 dev board from ebay and evaluate it. Included are full instructions for an end user from assembly to writing your first program for the microcontroller.