How to Install Cursor on Ubuntu 24.04 or Ubuntu 24.10

How to Install Cursor on Ubuntu 24.04 or Ubuntu 24.10 I’ve got machine running both these versions of Ubuntu and ran into slightly different issues on both installs. Quick Answer: Head to the Cursor homepage, download the AppImage, make it executable, and run it. If you want it to show up in your app menu, then use App Image Launcher. Cursor is an AI-powered code editor, and getting it up and running on Ubuntu 24....

October 13, 2024 · 3 min · chart

Notes on: Building and Evaluating Advanced RAG - Deeplearning.ai

These notes are taken from this free course: https://learn.deeplearning.ai/courses/building-evaluating-advanced-rag/lesson/1/introduction Huge thanks to the folks at <DeepLearning.ai> Introduction To productionize a high quality RAG system you need: Advanced retrieval techniques to get highly relevant sources Automated evals to measure responses Goal of the course: Teach you how to build production ready LLM based system Course covers: Advanced RAG Sentence Window Retrieval Auto Merging Retrieval Evaluations (the RAG triad) Context Relevance Groundedness Answer Relevance Advanced RAG Pipeline Overview of simple (naive) RAG pipeline Ingestion: Take a doc -> chunk it up -> embed the chunks -> store them in an index...

June 26, 2024 · 3 min · chart, smnzrn

What are automated evaluations, into to LLM evals

Automated testing is critical to delivering high quality, stable software. Evals are the new paradigm on testing which allow us to automatically validate the functionality of LLM based applications. Why do we need a new paradigm of automated testing for LLMs? Automated tests validate that, given some setup, the same output is always achieved. This doesn’t work for LLM based applications, since give one input, you should get a different output each time....

June 26, 2024 · 1 min · chart

Connect to a Wireguard VPN on Ubuntu with a .conf file

These steps are assuming you’ve already got wireguard setup and have a .conf file. Ensure Wireguard is installed sudo apt install wireguard Move the .conf file to the Wireguard folder Your wireguard conf file may be named something else, but mine is wg0.conf sudo cp Downloads/wg0.conf /etc/wireguard/ Start Wireguard Use the correct name for your wireguard config file. Note that I use wg0 because my file was wg0.conf. sudo wg-quick up wg0 Fix _wg-quick: line 32: resolvconf: command not found_ error This step is optional, you only need to do this if you got the above error....

July 12, 2023 · 1 min · chart

List all AWS Secrets Manager Secrets and Get 1 Secret code: NodeJS + AWS SDK Example

Example code from my project MyChefAI.com I am working on right now. Hopefully if you are crawling google for a good example of listing secrets or pulling a given secret from AWS Secrets manager with NodeJS this helps you. async function listAllSecrets(nextToken) { const params = { MaxResults: 50 }; if (nextToken) { params.NextToken = nextToken; } try { const data = await secretsManager.listSecrets(params).promise(); for (const secret of data.SecretList) { console....

June 18, 2023 · 1 min · chart

NextJS 13 Hero Component - How to Use Next/Image for Cover

See in the above example how my cover image looks. At the time of writing this, this page is MyChefAI.com/diabetes. Here is my full hero image component import { styled } from "@mui/system"; import Link from "next/link"; import Image from 'next/image'; //MUI Components import { Box, Button, Typography } from "@mui/material"; function DiabetesLandingHero({handleScroll}) { const HeroImage = styled("div")(({ theme }) => ({ position: "relative", height: "80vh", display: "flex", alignItems: "center", justifyContent: "center", overflow: "hidden", color: "white", textAlign: "center", textShadow: "1px 1px 3px rgba(0, 0, 0, 0....

June 11, 2023 · 2 min · chart