Category Archives: investing

An introduction to Vector databases

In this post I will try to answer the questions:

  • What is a vector database?
  • Why use a vector database?
  • What are the benefits of using a vector database?
  • Types of Vector databases
  • How to choose a vector database
  • Use cases for vector databases

What is a vector database?

Vectors are mathematical representations of features or attributes. Each vector has a certain number of dimensions, which can range from tens to thousands, depending on the complexity and granularity of the data.

A vector database is a type of database that stores data as high-dimensional vectors.

Why use a vector database?

There are several reasons why you might want to use a vector database, including:

  • To store and manage large amounts of unstructured data.
  • To perform similarity searches on large amounts of data.
  • To build machine learning models.
  • To improve the performance of your applications.

What are the benefits of using a vector database?

There are many benefits to using a vector database, including:

  • High performance: Vector databases are designed to perform similarity searches on large amounts of data quickly and efficiently.
  • Scalability: Vector databases can be scaled horizontally to handle large amounts of data.
  • Flexibility: Vector databases can store and manage a variety of data types, including text, images, and audio.
  • Ease of use: Vector databases are easy to use and manage, even for users with limited database experience.

Types of vector databases

There are many different types of vector databases available, each with its own strengths and weaknesses. Some of the most popular vector databases include:

  • Milvus: Milvus is a vector database developed by Tencent AI Lab. It is designed for high-performance similarity search on large-scale vector data.
  • Pinecone: Pinecone is a vector database developed by PineconeDB. It is designed for storing and managing large amounts of unstructured data.
  • Vespa: Vespa is a vector database developed by Yahoo!. It is designed for high-performance search and analytics on large-scale text data.
  • Weaviate: Weaviate is a vector database developed by Weaviate. It is designed for storing and managing large amounts of vector data.
  • Vald: Vald is a vector database developed by MemSQL. It is designed for high-performance search and analytics on large-scale data.
  • Gsi: Gsi is a vector database developed by Google AI. It is designed for storing and managing large amounts of vector data.

How to choose a vector database

When choosing a vector database, there are a number of factors to consider, such as:

  • The size and type of data you need to store: Some vector databases are better suited for storing large amounts of data, while others are better suited for storing smaller amounts of data. Some vector databases are better suited for storing text data, while others are better suited for storing images or audio data.
  • The features and functionality you need: Some vector databases offer more features and functionality than others. For example, some vector databases allow you to build machine learning models, while others do not.
  • Your budget: Vector databases can range in price from free to thousands of dollars per month. It is important to choose a vector database that fits your budget.

Use cases for vector databases

Vector databases can be used for a wide variety of applications, including:

  • Image search: Vector databases can be used to build image search engines that can find similar images based on their visual content.
  • Product recommendations: Vector databases can be used to build product recommendation engines that can recommend products to users based on their past purchases and interests.
  • Text classification: Vector databases can be used to classify text documents into different categories, such as news, sports, or finance.
  • Natural language processing: Vector databases can be used to perform natural language processing tasks, such as sentiment analysis and machine translation.
  • Fraud detection: Vector databases can be used to detect fraud by identifying patterns of suspicious activity.
  • Drug discovery: Vector databases can be used to discover new drugs by identifying patterns in biological data.

Conclusion

Vector databases are a powerful new technology that can be used to store, manage, and search large amounts of unstructured data. If you are looking for a database that can handle the challenges of modern data, then a vector database is a great option.

What is a vector database? As explained by ChatGPT and Google bard $GOOGL

Presented without commentary first is my screenshot.

Bard does not want to help
ChatGPT knows the answer

I am now really curious why Google Bard won’t answer the question. It obviously knows the answer. Or Google search does know something.

What I think happened is that over a series of questions, which Google got consistently wrong I responded with a series of thumbs down responses.

That resulted in “high accuracy” mode of operation. So, now I mostly get “no response”.

How to write, publish, edit & distribute a book – A resource for book writers in 2023

Writing a book is a big amount of effort and commitment!

There’s a ton of steps involved, from brainstorming to publishing. Let me break it down if you are so inclined.

NightCafe AI generated

Writing a Book:

  1. Idea generation: Think of a topic you’re passionate about and come up with some killer ideas.
  2. Research: Look up some background info and gather facts that’ll help you develop your story and characters.
  3. Outline: Sketch out a rough draft of your book, including the main plot and chapters.
  4. First draft: Start writing your first draft. Don’t worry about being perfect, just focus on getting your ideas on paper.
  5. Revision: Read through your draft and make any necessary changes to improve the flow and structure.
  6. Beta readers: Get some feedback from beta readers on what they liked and what could be improved.
  7. Edit: Use the feedback to make any necessary edits to your manuscript.
  8. Final draft: After polishing your manuscript, give it one final read-through before it’s ready for publishing.
fotor. AI generated

Publishing:

  1. Self-publish or traditional: Decide whether you want to self-publish or try for a traditional publishing house. My publishing is Diamond Consulting, easy to work with. They helped with editing, proof reading, layout, cover design and distribution. The book is available now on Amazon, Barnes and Noble, Apple iBooks (more coming soon).
  2. Submit your manuscript: If you choose traditional publishing, submit your manuscript to agents or publishers who accept unsolicited submissions.
  3. Negotiate the contract: If your manuscript gets accepted, negotiate the terms of your publishing contract.
  4. Editing: Work with an editor to make any necessary edits to your manuscript. My editor was ok, not a great experience. Choose one that knows your space. Its okay to pay more for this.
  5. Proofreading: Have your manuscript proofread by a pro to ensure there are no errors. I had an awful experience with Fiverr for proof reading.
  6. Layout: Format your manuscript according to publishing standards.
  7. Cover design: Work with a graphic designer to create a dope cover that’ll attract readers. My graphic design HDMXPublishing (Hamaad) was awesome. Based in London, the guy was fast, reliable and consistent.
  8. Print and distribute: Once everything is complete, print and distribute your book.
  9. Consider all book formats: Ebook (ePub), Hard cover (if this is a publication people will cherish), Paperback (for folks that like paper in their hands) and Audio book.
  10. ISBN: I got an ISBN for the eBook from myidentifers.com ($295 for 10) but used Kindle ISBN (free) for the Amazon paperback version and Barnes & Noble ISBN (free) for the B&N paperback version. Every version of your book needs a different ISBN – audio, eBook, paperback and hardcover.

Editing and proofreading:

  1. Editing: Hire a pro to review your manuscript and give suggestions.
  2. Revision: Make revisions based on the editor’s feedback.
  3. Proofreading: Have your manuscript proofread to ensure it’s error-free.
Fotor: AI generated image

Layout and cover design:

  1. Layout: Format your manuscript according to industry standards.
  2. Cover design: Work with a graphic designer to create a sweet cover that’ll grab readers’ attention.
  3. Print and distribute: Once everything is complete, print and distribute your book.
  4. Think about size (5X8 is for Paperback Amazon and 5.25X8 for Barnes and Noble)

All newsletter statistics – Substack, Beehiv, Revue

The number of paid newsletters is about 131K (Substack, Beehiiv, Revue, MailerLite, etc.) across all the major subscription services.

Since I have an email list of about 300 email newsletter owners (none of them believe they are in the top 100 overall by newsletter subscription revenue), I thought I’d run a survey (via email – so meta).

Here are the numbers, without all the drama of charts and graphs.

The average newsletter has over 20+ paid subscribers and 100’s of free subscribers.

If you segment the newsletters there are 5 segments you can come up with.

  1. Topic / category : News , technology, finance, etc.
  2. Price of newsletter per month: <$5, $5 – $10, $10 – $25 and > $25
  3. By # of paying subscribers: < 100, 100 – 500, > 500
  4. By primary revenue model: Subscriptions or Sponsorships (advertising)
  5. By frequency of publication: Daily, Multiple times a week, Weekly

Topical news, politics and general news / sports make up the top categories.

Most newsletters are priced between $5 and $10 per month.

Over 87% of newsletters have fewer than 100 paying subscribers.

Only 21% of newsletters have ads / sponsors while 79% exclusively rely on paid subscriptions.

91% of subscribers publish multiple times a week, while 6% once a week and the rest daily.

Book launch: Easy Introduction to Stock Trading

I launched my book “Easy Introduction To Stock Trading“.

If you want to trade & invest in stocks and and options, but dont know where to start this is the right book for you.

This book is a jargon-free, easy to understand, question and answer format style publication. I will walk you through a series of frequently asked questions to help you understand the market, trading, risk management and options to get you started.

It is short (90 pages) and you can finish reading it in less than 3 hours. It is also very inexpensive at $9.99 for a Kindle version, since I wanted to have more people get access to it.

If you still cannot afford it, by all means, please email me and I will make it available to you.

What I would like is to please write about it (on WhatsApp), share this post on Facebook, Instagram or Twitter.

It would be a great help if you can leave a review on my Amazon page.

Apple $AAPL services revenue is something to watch for this quarter

Apple’s Services revenue comprises a variety of different products and services, including:

  • The App Store
  • Apple Music
  • Apple Arcade
  • Apple TV+
  • iCloud
  • Apple Pay
  • Apple Card
  • Apple News+
  • Apple Fitness+
  • Apple Books
  • Apple Care+

These services are available to Apple customers around the world and are a key part of Apple’s overall business strategy.

$AAPL services revenue growth

As you can see, Apple’s services revenue has been growing steadily over the past few years. In the most recent quarter, Apple’s services revenue grew by 6.4% year-over-year.

I am watching growth from $AAPL card and fitness+ for future growth as Apple Mac sales slow down.