Browsing Tag
python
420 posts
Python Write JSON to File
Working with JSON is a daily part of many Python projects. We use JSON for config files, API…
Understanding Derivatives: The Slope of Change
Unveiling the Secrets of Derivatives and Gradients in Machine Learning Have you ever wondered how a self-driving car…
Day 29/100: Dictionary and Set Comprehensions in Python
Welcome to Day 29 of the 100 Days of Python series! Yesterday, we explored list comprehensions, a concise…
How to scrape YouTube using Python [2025 guide]
In this guide, we’ll explore how to efficiently collect data from YouTube using Crawlee for Python. The scraper…
Is Python to AI what Javascript is to the Web?
I have been experimenting with Gemini CLI and successfully used it to build a small apps and automation…
How to Train AI Model
Training a model using modern AI techniques involves several steps, and the process can vary depending on the…
A Smarter Way to Reinvest Liquidity Pool Rewards: Using Machine Learning on Solana
I started by tracking Orca LP rewards on Solana and ended up building a contextual bandit that learns…
👹 Longest Binary Subsequence K – LeetCode 2311 (C++ | JavaScript | Python )
👋 Hey, binary sleuths! 🕵️♂️💡 Today, we dive into a clever bit manipulation puzzle — LeetCode 2311: Longest…
Predict Like a Leader Without a Crystal Ball
Remember when “gut feel” was a leadership virtue? Cute. Meanwhile your competitors are spoon-feeding large-language models terabytes of…
🐲 Kth Smallest Product of Two Sorted Arrays – LeetCode 2040 (C++ | Python | JavaScript)
Hi, Developers! 📊💥 Today, we tackle an advanced binary search problem — LeetCode 2040: Kth Smallest Product of…