String Data to Empower Your Similarity Search App

Milvus 2.1 comes with some significant updates, which make working with Milvus a lot easier. One of them is the support of string data type. Right now, Milvus supports data types including strings, vectors, Boolean, integers, floating-point numbers, and more. This article presents an introduction to the support of string data type. Read and learn … Read more

Should You Be Using Python’s Walrus Operator? (Yes. And Here’s Why) | by Martin Heinz | Aug, 2022

Python’s controversial assignment expression — known as the walrus operator — can improve your code, and it’s time you start using it! Photo by Jonathan Cooper on Unsplash The assignment operator — or walrus operator as we all know it — is a feature that’s been in Python for a while now (since 3.8), yet … Read more

Resilient Kafka Consumers With Reactor Kafka

We are a recipe for creating resilient Kafka consumers using Reactor Kafka. This approach is one that we’ve developed over time and incorporates the learnings from our experience with running Reactor Kafka – and all the challenges that come with that. The consumer described in this article provides at-least-once Delivery semantics using manual acknowledgments, which … Read more

How To Write Tests for Your Kubernetes Operator | by Leo Vincent | Aug, 2022

Kubernetes operator 101 Fig 1. Photography by Garrett Parker on Unsplash In my previous article, I showed how to build a Kubernetes operator in about ten minutes. I’ve also described the functioning of an operator, the custom resource definition and custom resources, the controllers, and the manager. If you want to learn more about these … Read more

dictionary – insert vs emplace vs operator[] in c++ map

Say you’re adding Foo objects to a set<Foo> object and Foo(int) is a constructor. Then the main difference is that: emplace has has prototype set::emplace(Args&&… my_args). The call emplace(0) forwards the given arguments (ie 0) to a Foo constructor somewhere in the definition of the set::emplace method (eg there is a call like Foo(0) somewhere … Read more

Build a Kubernetes Operator in 10 Minutes | by Leo Vincent | Jul, 2022

Kubernetes operator 101 You’re probably familiar with Kubernetes, but do you know what operators are, how they work, and how to build one? It’s a complicated subject but fortunately, since their creation in 2016, many tools have been developed to simplify the life of engineers. They allow you to incorporate custom logic into Kubernetes to … Read more

Python operator is not being called in dynamic subdag in Airflow

I have created a subdag dynamically. Everything working properly, main_dag is running fine. Its PythonOperator function is being called. But Python callable in Subdag are not being called. Kindly help me. As I am new to Airflow, so got and merged this code from different sources. from airflow import DAG from airflow.operators.bash_operator import BashOperator from … Read more

An Interesting Case for Using a Custom RxJs Operator | by Enrico Piccinin | Jun, 2022

The RxJs library comes with a rich set of operators, which are able to address most of the cases we have to address when dealing with observable streams. There are still though situations when the possibility to build new custom operators can come in handy. Let’s look at one particular case inspired by a question … Read more

flutter – Null check operator used on null value on nullable list

I got below error in my flutter widget. addresses is nullable list and only got the index in that widget. May I know how can I solve this issue. Null Check Operator used on null value for this line Address address = systemData.addresses![index]; address_title.dart import ‘package:auto_size_text/auto_size_text.dart’; import ‘package:flutter/material.dart’; import ‘package:thitsarparami/helper/constants.dart’; import ‘package:thitsarparami/models/models.dart’; class AddressTile extends … Read more