Posts

OpenClaw Installation

Image
  https://www.youtube.com/watch?v=Pl0s83kpIT0 install model Open Claw Setup  https://www.youtube.com/watch?v=u4ydH-QvPeg   Better to connect via zapier to google docs rather than directly Windows 11 , i7 , 16GB ram Llama 3.1 (8B): ollama run llama3.1 RAM Footprint: ~4.7 GB Why it fits: The best all-around model for general text, coding, and reasoning. It strikes the perfect balance of intelligence and size for a 16GB system. Qwen 2.5 (7B): ollama run qwen2.5 RAM Footprint: ~4.4 GB Why it fits: Highly optimized, fast, and excellent at coding and multilingual tasks.

OpenClaw : Options to Install Windows : WSL

Image
Directly on Windows https://www.youtube.com/watch?v=uqc_54fbsPU 1) check if wsl is installed "wsl --status" 2) if not install it "wsl --install -d Ubuntu-22.04" Once install completes it takes you to the distro Make sure you do not forget your pasword type "exit" to come back to windows to see which wsl environment you have installed type this wsl --list -v Enter Distro wsl - d Ubuntu-24.04 right now once can run calc.exe and other files from windows , lets limit it by editing below now shutdown WSL and start windows volumes are mounted by defaults First manually unmount next we modify the wsl.conf file to disable auto mount now check if anything else is mounted , you dont see anything Using VirtualBox https://www.youtube.com/watch?v=J8sBdV4kwU8 Ubuntu setup  https://www.youtube.com/watch?v=DhVjgI57Ino  

OpenClaw : Security

Image
  OpenClaw runs more smoothly on windows https://learn.microsoft.com/en-us/windows/wsl/install Install by wsl --install Docs :  http://docs.openclaw.ai/

OpenClaw : Setting Up Open Claw

Image
Running Options Your PC ( Existing Laptop )  Dedicate Hw ( mac mini , spare PC or home server )  VPS cloud server Option 1: Your Personal Computer  Your current laptop or desktop is the cheapest way to give OpenClaw a try. No new purchases, no servers to provision, nothing to install on another machine. Just download OpenClaw onto the computer you're reading this on and you can be chatting with your agent in minutes.  What's good about it  • Costs you nothing beyond what you already own  • Quickest way to see OpenClaw in action for the first time  • Ideal for testing ideas and learning the basics  • All your data stays exactly where it already is  What you give up   • Your agent goes offline whenever your computer sleeps .  • Shutting down your machine shuts down your assistant  • Your agent lives side-by-side with everything personal on your device  • More attention needed around what you let it do  Important securit...

OpenClaw : Intro

https://www.udemy.com/course/openclaw-course/learn/lecture/55750679#overview What is it ? it is AI agent ( acting as a control center on what to do , how to do )  executes real tasks locally and autonomously  Works with any LLM 333k GitHub stars , 50+ integration tools It has 3 major pillars Memory Can run 24x7 Connect to applications Misc runs locally it executes ( send email , messages etc) Creator https://steipete.me/ Open Ques how can open claw fill forms & scrape data , monitor page changes and take screen shots

Java Lambdas

Image
https://www.youtube.com/watch?v=tj5sLSFjVj4 Lambdas in java can only be used with certain types of interfaces instead of passing in an implementation of class , pass it just implementation it doesn't need  method name , return type etc. ( just needs param and body )  for below or can simplify further like below can be used as  Lambda gives you ability to store method implementation into variables and passed into methods as parameters can add 1 or 2 parameter It can also return values

Java Options Class

Image
https://www.youtube.com/watch?v=vKVzRbsMnTQ All Optional is a container , that either has something in it or it doesn't example : if you query something by name in DB it may or may not return something think of it as a box with a label. if cat found in DB , then it fills Optional with that data if cat not found in DB then it it puts a null in optional to return Empty "Optional" if you know for sure that thing you will put inside Optional is never null use OF instead , if null goes in below code exception is thrown The way you return is above Although end result is similar to first , but when user sees Optional it knows that it can expect it to be blank. There is also orElseGet( ) : use a lambda to create unknown cat orElseThrow( ) : if optional is empty throw "noSuchElementException" ( similar to get( ) )  Get Age or else return 0 NOTE Optional is only meant to be used as a return type and nothing else do not overuse it