This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built PrepMate AI for my friend. We regularly meal prep our weekly lunches, and our fridge is almost always stocked with the exact same high-protein staples: chicken breast, eggs, tempeh, lettuce, corn, and tomatoes. While healthy, eating the same variations of salads and grilled chicken every day leads to massive decision fatigue and flavor boredom. I built this lightweight web app to solve that. She simply checks off the ingredients we currently have left in the fridge, and the AI instantly acts as a creative chef, generating a unique recipe, a new flavor twist, or a fresh dressing idea using only what we have on hand. prep-mate-ai-chi.vercel.app / PrepMate-AI The project is built as a highly responsive Single Page Application using: Frontend: Next.js (App Router) and Tailwind CSS for a clean, mobile-first UI. AI Core (Open-Source): I utilized Gemini open-weight model. To keep the app lightning-fast for a quick weekend build, I routed the inference through the Gemini API. Integration: A Next.js API route securely handles the prompt construction. The system prompt forces Gemini to respect the selected ingredients and format its output into a beautifully structured Markdown recipe (Catchy Name, Why It Works, and Step-by-Step Instructions).
I build a scraper that reads npm, PyPI and crates.io for a living (side project — package-registry-scraper vue's "latest" was 3.5.43, but 3.6.0-rc.10 — a higher version number, npm install vue. My first assumption was a scraper bug. It wasn't. It's npm working exactly as npm's "latest" isn't computed. It's a label. Every npm package carries a dist-tags object — a small set of names, each one a maintainer-settable latest is just the tag npm's Here's react's full tag set, live, right now: curl -s https://registry.npmjs.org/react | python3 -c " import json,sys d = json.load(sys.stdin) print(d['dist-tags']) " # {'beta': '19.0.0-beta-26f2496093-20240514', 'rc': '19.0.0-rc.1', # 'next': '19.3.0-canary-d5736f09-20260507', 'backport': '19.0.8', # 'latest': '19.3.0', # 'experimental': '0.0.0-experimental-278794d7-20261002', # 'canary': '19.3.0-canary-278794d7-20261002'} Seven independent pointers into one version list. vue runs the same v2-latest tag permanently parked on 2.7.16 for people who dist-tags.latest — which is what I pulled 12 well-known packages to see how common the mismatch actually is. vue had it. I'd have bet on react too, and I'd have lost: its canary 19.3.0-canary-…, and semver ranks a prerelease below the 19.3.0 really is the top. angular, left-pad, node-sass, request, moment, express, lodash, is-odd, is-even and colors matched exactly too. So this isn't registry-wide chaos. It's a specific thing that happens once a package I expected PyPI to have something similar — a latest you could override. pip install black resolves to whatever PEP 440 says is the stable version number, full stop: curl -s https://pypi.org/pypi/black/json | python3 -c " import json,sys d = json.load(sys.stdin) print(d['info']['version']) " # 26.10.0 black has 74 release entries on record, several of them prereleases 21.8b0, 23.1a1, 26.1a1...). None of them can become info.version black, urllib3, Django, pip, numpy) crates.io goes one step further and doesn't even store the concept. Th
This is a submission for the [Hacktoberfest Weekend Challenge: Build for a Friend] ##What I Built I built Unbox, a voice-first productivity tool for a friend who constantly has ideas, tasks, meetings, reminders, and random thoughts bouncing around in their head — but doesn't always have the time or energy to organize them. The idea was simple: Don't make people organize their thoughts while they're having them. With Unbox, you can simply open it and talk. “Tomorrow I need to finish my DBMS assignment. Remind me to call Mom at 7. I also have a meeting with Rahul tomorrow.” Unbox turns that messy brain dump into structured information: ✅ Tasks The important part is that Unbox doesn't pretend to know things that weren't said. If something is ambiguous, it can surface that uncertainty instead of quietly making something up. The user stays in control: they can review, edit, delete, or confirm what Unbox understood. The goal isn't to create another complicated productivity system. It's to make capturing thoughts almost effortless. Speak first. Organize later. ## Demo ## Code https://github.com/ivy1o1/Unbox ## How I Built It Unbox uses React + TypeScript + Vite on the frontend and FastAPI + SQLAlchemy + Pydantic + SQLite on the backend. Whisper handles speech-to-text, while Gemma 3 1B Instruct runs locally through llama.cpp to extract tasks, events, reminders, people, ideas, and uncertainties. The key principle is: AI proposes. The user decides. Open-weight AI also keeps the system more inspectable and makes local processing possible for sensitive personal data. ## Why Does Open Innovation Matter? It also lets me understand and control the full AI pipeline—from model and prompt to validation and uncertainty handling. Best Use of Gemma — Unbox uses Gemma 3 1B Instruct locally through llama.cpp as its semantic extraction engine, turning brain-dump transcripts into structured tasks, events, reminders, people, ideas, and uncertainties.
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built Strikethrough for a friend who regularly has to coordinate plans through a busy group chat. The problem is simple: plans change, but old messages don't. A venue gets changed, a time moves, someone cancels, someone else confirms something again, and 50 messages later, nobody is sure which information is still valid. Strikethrough lets you paste the conversation and works out what was later changed, cancelled, corrected, or replaced. Instead of giving you another chat summary, it crosses out the information that stopped being true and leaves a Current Reality view with the latest facts. Every fact also links back to the message that established it, so you can check where it came from. The idea was to make a small problem feel like something that should have had version control all along. Live: https://strikethrough.onrender.com Open the app and there is already a sample conversation ready to resolve. Paste your own conversation, press Resolve, and Strikethrough analyses the messages and shows which ones became obsolete. GitHub: https://github.com/BigBang001/Strikethrough The project is intentionally small: a single-page frontend and a lightweight Node.js server. The core reasoning is handled by Gemma. I didn't use the model to write a generic summary. It has a more specific job: decide whether each message is still relevant, superseded, or just noise identify which later message replaced outdated information determine the current value of changing facts attach each current fact to the message that established it The server then validates that output before rendering it. For example, a conversation might contain: "Dinner is at 8." followed later by: "Actually, make it 9." Gemma needs to understand that the first statement is no longer current, rather than simply repeating both. The interface turns that reasoning into the main interaction: outdated messages are crossed out with a re
Why a Custom Voice Matters for Your Brand A distinctive voice is the audio equivalent of a logo. It can reinforce brand personality, improve accessibility, and even boost conversion rates on calls‑to‑action. With modern text‑to‑speech (TTS) engines, you no longer need to settle for a generic “robot” voice—today you can train a model that sounds like your founder, a mascot, or any tone you define. In this guide we’ll walk through the practical steps to create a custom AI voice, from data collection to deployment, and we’ll lean on ElevenLabs as the core service that makes the heavy lifting painless. The foundation of any voice clone is a clean, well‑labeled audio corpus. Tip Details Consistent mic & environment Record in a quiet room using a cardioid condenser mic (e.g., Audio‑Technica AT2020). Keep the distance constant (≈6‑12 in). Script design Aim for 2‑3 hours of diverse text: short prompts, long paragraphs, numbers, dates, and brand‑specific jargon. File format 24‑bit WAV, 44.1 kHz. Avoid compression artifacts. Metadata Name each file sentenceID.wav and keep a matching metadata.csv with sentenceID,text. Pro tip: If you already have podcasts or webinars, you can extract clean segments with tools like Audacity or FFmpeg, but be ready to trim background noise. Even the best recordings need a bit of polishing before they’re fed into a TTS engine. # Install ffmpeg if you don’t have it sudo apt-get install ffmpeg # Normalize volume to -23 LUFS (standard for broadcast) ffmpeg -i raw.wav -af loudnorm=I=-23:TP=-2:LRA=7 normalized.wav # Trim silence from start/end (helps the model learn speech, not silence) ffmpeg -i normalized.wav -af silenceremove=1:0:-50dB trimmed.wav After batch processing, verify that each file is under 30 seconds—most APIs reject longer clips for training. There are a handful of options (OpenAI, Microsoft Azure, Google Cloud), but for a developer‑first experience with a generous free tier, ElevenLabs stands out. Their API lets you: Upload a dataset
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend Project Summary: PotatoClaw is a featherweight Windows desktop overlay built in Rust (Tauri v2) paired with an asynchronous cloud brain on Render. It shields 8 GB laptops from system freezes using native Win32 K32EmptyWorkingSet memory trims, while offloading multimodal reasoning to Google DeepMind's Gemma 4, Prior Labs' TabPFN, Backboard.io, ElevenLabs, and Sentry for $0.00 a month. I built PotatoClaw for Rudra, my hostel wingmate and fellow first-year CS student. Wednesday night, 11 PM. Our first graded C lab was due at dawn. Rudra has an HP 15s notebook: Ryzen 3 3250U with an 8 GB stick. The catch with these budget Ryzen laptops is the Vega integrated GPU. It bites off 2.1 GB right at boot. Windows only gets 5.88 GB to share between Chrome, background telemetry, and an IDE. Rudra spent two hours chasing an off-by-one pointer bug in a doubly linked list. His screen was cluttered: VS Code, a 40-page lab PDF, GeeksforGeeks, and four StackOverflow tabs. Then his cursor died. Rudra tapped Alt+Tab. The screen went pitch black. Seven seconds passed. When Windows crawled back, his editor had crashed. Forty lines of unsaved C pointers gone. Task Manager was a wall of red: RAM at 93%, disk pegged at 100%. Windows was thrashing the pagefile, freezing every time he touched anything. He dropped his head straight onto his notebook: "Bhai, main is dabba ko balcony se phek dunga." ("Bro, I am throwing this toaster off the balcony.") Generic developer advice falls apart in a college hostel: Install Linux? He blew away his EFI partition trying to dual-boot in school once. His dad had to haul the machine to a shop in town to recover it. Buy a Mac? Semester fees are 45,000 rupees. An M2 MacBook costs more than a year of college. Run Ollama? Giving 5.5 GB to an 8B model when you only have 5.88 GB usable RAM crashes the desktop window manager on the spot. Open ChatGPT in Chrome? Running heavy web apps in
If you've deployed Retrieval-Augmented Generation (RAG) into production, you’ve likely encountered its dirty secret: RAG is probabilistic. It splits your documentation into arbitrary chunks, embeds them into high-dimensional vectors, and hopes that cosine similarity pulls back the exact truth. When it works, it feels like magic. When it fails, your agent cites outdated policies, pulls fragmented code snippets without context, and hallucinates business metrics. Enter OKF (Open Knowledge Format) — a new paradigm gaining massive traction across AI engineering teams. Is OKF here to kill RAG, or are we looking at the foundation of the modern enterprise AI stack? Let’s break down the architecture, trade-offs, and how to combine them. ┌─────────────────────────────────────────────────────────────┐ │ RAG (Vector Search) │ │ Raw Docs ──▶ Chunker ──▶ Embeddings ──▶ Vector DB ──▶ LLM │ │ [Probabilistic • Unstructured • Fragmented Chunks] │ └─────────────────────────────────────────────────────────────┘ ┌─────────────────────────────────────────────────────────────┐ │ OKF (Open Knowledge Format) │ │ Curated Markdown + YAML ──▶ Knowledge Graph ──▶ LLM Cache │ │ [Deterministic • Structured • Authoritative Ground Truth] │ └─────────────────────────────────────────────────────────────┘ Retrieval-Augmented Generation (RAG) indexes unstructured text (PDFs, Notion pages, Zendesk tickets) by chopping text into 500-token chunks and storing their embeddings in vector databases like Pinecone, Qdrant, or pgvector. The Chunk Boundary Problem: Splitting text breaks structural context. If an API contract spans 3 chunks, vector search often retrieves chunk #1 and chunk #3, omitting critical constraints in chunk #2. Semantic Ambiguity: Vector search matches semantic similarity, not logical authority. If you ask "What is our refund policy for Q3?", RAG might retrieve a deprecated 2023 policy because its semantic embedding is 98% identical to the new policy. No Traversable Relationships: Chunks a
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built MAHA-MOSAIC, an interactive website that makes it easier and more enjoyable to explore Maharashtra. I built it for a friend who wanted to discover more about Maharashtra's districts, places, culture, and identity, but found information scattered across different websites. Instead of making a simple list, I wanted to create a visual experience that feels like exploring a digital mosaic. MAHA-MOSAIC brings together all 36 districts of Maharashtra with: 🗺️ Interactive district exploration 📸 Real Maharashtra photographs 🏛️ Cultural and historical highlights ✨ Smooth animations 📱 Responsive design 🔎 Easy visual exploration The goal was simple: Make discovering Maharashtra feel like exploring a digital mosaic. 🌐 Live Demo: https://maha-mosaic-ln2okx2ib-codewithkadambaris-projects.vercel.app/ 🎥 Video Demo: https://youtu.be/bKBYsIfmYx8?si=Jb6zGotli2QhvuTb The project is deployed on Vercel and can be accessed directly without requiring visitors to log in. 💻 GitHub Repository: https://github.com/codewithkadambari/maha-mosaic The source code is publicly available so other developers can explore, learn from, and improve the project. I built MAHA-MOSAIC as a modern interactive web project using: HTML CSS JavaScript Node.js Modern web UI techniques Vercel for deployment I focused on making the website visual and easy to explore rather than presenting Maharashtra as a basic directory. I also replaced generic emoji-based visuals with real Maharashtra-related photographs to make the experience more authentic. I used AI as a development assistant during the project. It helped me with: Structuring the website Generating and refining UI ideas Debugging code Improving interactive components Organizing content Refining the user experience I made the final decisions about the design, features, content, and implementation. Open innovation matters to me as a student developer because it makes ex
A practical Yoast and Rank Math workflow: audit first, write from the page, check what the site actually serves, and keep a way back. Many WordPress sites share the same quiet SEO gap. The homepage and the handful of pages someone cared about at launch have hand-written meta descriptions. Most posts published after that have an empty description field, so the SEO plugin falls back to a template and Google picks its own snippet. People ask about this all the time. A recent r/Wordpress thread asked how to bulk edit Yoast meta descriptions for post categories, because Yoast's bulk editor didn't show them. Whole plugins exist just to find posts with no description and fill them. Meow Apps even lists it as a typical weekly request to an AI agent: "List every post without a meta description, write one for each in my tone, and show me before saving." The writing part is easy now. Claude or ChatGPT can write a decent 150 character summary in seconds. The hard parts are the boring ones: Knowing which posts are actually missing a description. Making sure the AI writes from what the page says, not from a keyword and its imagination. Saving into the right field of the SEO plugin you run, and nothing else. Being able to undo it when a description turns out wrong. This tutorial walks through that loop with an AI client connected to WordPress over MCP through WPPilot. I'll be clear about what the free plugin does, where Pro starts, and where you still need a human. Google's documentation says snippets are "primarily created from the page content itself", and that Google "sometimes uses the meta description HTML element if it might give users a more accurate description of the page than content taken directly from the page." So a description is a strong suggestion, not a guarantee. The same page gives three rules that matter once AI writes the copy: Unique per page. "Identical or similar descriptions on every page of a site aren't helpful." Prioritise. If you can't do every page, "
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend We save useful knowledge every day. An interesting article gets bookmarked. A useful YouTube video gets added to a playlist. A GitHub repository gets starred. A PDF gets downloaded. An idea gets written into a note. And then, most of it disappears into the digital pile. I built Echo Shelf 2.0, an intelligent personal knowledge vault, for a friend who, like many of us, constantly saves useful articles, YouTube videos, GitHub repositories, documents, images, and notes—but rarely gets meaningful value from them again. The problem wasn't saving information. The real problem was finding it again, understanding how different saved resources connect, and remembering it when it becomes relevant. That became the foundation of Echo Shelf 2.0: Capture → Connect → Resurface Instead of building another bookmark manager, I wanted to create a living second brain that understands what you save, discovers relationships between your knowledge, and brings old information back when it becomes useful again. Save knowledge from different sources and let Echo Shelf understand what was actually saved. Discover meaningful relationships between resources that may have been saved days or weeks apart. Bring old knowledge back when something happening now makes it relevant again. Imagine saving an article about a technology, business strategy, research topic, or idea today. Weeks later, something related happens in the world. Instead of expecting you to remember that old bookmark, Echo Shelf can make that connection for you. Echo Shelf supports eight content types: 📰 Articles 🎥 YouTube videos 💻 GitHub/GitLab repositories 🔗 Generic URLs 🖼️ Images 📄 Documents 📝 Notes 🧩 Multi-source "Other" entries A multi-source entry can combine things such as a personal note, several reference URLs, documents, and images into a single knowledge asset. But I didn't want the AI to blindly guess what a URL or document containe
Social Physical AI — Part 6 of 13 An always-available AI companion can feel ideal. It listens without getting tired. It remembers preferences. It rarely argues. It can adapt its language and tone to the person. But there is a design risk hidden inside that convenience: An AI that always agrees may not always be helping. Long-term personalization works by using previous behavior to predict current preference. Humans, however, change. A person who preferred solitude last month may want connection today. Someone who repeatedly chose one routine may be trying to change it. A preference may have been situational rather than permanent. A socially aware system should therefore avoid treating historical inference as a stronger signal than current expressed intent. The LOGIHEART design principle is to prioritize the person’s current state and current choice over stale assumptions about who the person “is.” Suppose a user says, “I do not want to talk to anyone anymore.” An engagement-maximizing companion may validate the statement, remain available, and gradually become the easiest relationship in the person’s life. Short-term satisfaction may increase while human connection decreases. The opposite extreme is also problematic: an AI that dismisses the person’s feelings and pushes them into social activity is not respecting autonomy. The challenge is to support the person without either replacing human relationships or controlling them. For home and companion systems, this may become one of the most important product questions. A socially aware design can include behaviors such as: treating current intent as revisable offering a different perspective when appropriate suggesting contact with family, friends, community, or professionals recognizing when a human relationship matters more than continued AI interaction reducing assistance when the person can act independently These behaviors may reduce engagement with the AI. That can still be a successful outcome. Many digital pro
This is a submission for the Sanity Challenge, Path One: Ship an Agent That Queries Real Content Genten (原典, "the original source") answers foreign residents' questions about two Japanese money systems: NISA, the tax-free investment account, and furusato nozei, the hometown-donation tax deduction. Every answer gives the rule in force on a chosen date, its official Japanese source, and what English-language guides get wrong. I live in Japan and read Japanese, and I kept seeing the same problem. The official rules are published by the FSA (金融庁), the National Tax Agency (国税庁) and the Ministry of Internal Affairs (総務省), mostly in Japanese only. Foreign residents read English guides instead, and many of them are out of date or simply wrong: A popular guide still gives the pre-2024 NISA limits (¥400,000 a year) and a minimum age of 20. Another gives the tsumitate quota a ¥6,000,000 lifetime limit. That limit has never existed; the FSA sets an ¥18,000,000 total. A guide labelled "2026" still recommends timing donations for portal bonus points, which were banned on October 1, 2025. These rules also change on fixed dates. NISA was rebuilt in January 2024, a children's NISA starts in January 2027, and new furusato rules took effect on October 1, 2026, just days before this submission. A keyword search finds whichever page matches best, not whichever rule was in force. Genten is built so that the answer depends on dates and authority, not on wording. Live app: https://genten.vercel.app/ Click one of the example questions for an instant answer (recorded from the agent and labelled as such), or ask your own question for a live answer. You can change the "As of" date to see which rule applied on another day. Good questions to try: "Is the tsumitate lifetime limit ¥6 million?" "Can my 10-year-old open a NISA account now?" (then set "As of" to 2027-03-01) "My employer is transferring me overseas for 4 years. Can I keep buying in my NISA while abroad?" "つみたて投資枠の年間上限はいくらですか?" (it ans
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built Sanctuary — a living AI companion featuring a virtual roommate pet named Mochi, powered by Google's open-weight Gemma 2B model and optional ElevenLabs voice synthesis. Instead of being another chatbot that waits for a prompt inside a text box, Mochi is an autonomous creature designed to share your digital workspace. 🐾 Continuous Autonomous Life Simulation: Mochi has an ongoing internal state model including energy, happiness, curiosity, restfulness, boredom, and social need. It wanders, stretches, loafs, naps, and reacts to the user without continuously calling an AI model. 👁️ Passive Workspace Awareness: Mochi tracks cursor position, movement, proximity, and user activity. When the user is actively typing, it suppresses unnecessary interruptions and gives them space. 🧠 Gemma-Powered Reflection: When the user wants to talk or needs guidance, Mochi can activate Google's open-weight Gemma 2B model for CBT-inspired reflection. It can help identify patterns such as catastrophizing or all-or-nothing thinking and turn them into more balanced perspectives and practical grounding steps. 🗣️ Warm Voice Interaction: Mochi can speak using ElevenLabs Flash v2.5, with the browser's Web Speech API available as an alternative for users who want a local/offline voice option. 🪟 Floating Companion Mode: Mochi can move around the Sanctuary viewport and can be popped out into a browser-managed floating window using the Document Picture-in-Picture API. 🫁 Grounding Tools: Sanctuary includes guided breathing and ambient calming experiences, including procedural purring and rain sounds. I built Sanctuary for my friend Alex, a software engineer who struggles with late-night burnout, insomnia, and spiraling self-criticism during difficult work periods. The problem I wanted to solve was simple: When someone is overwhelmed, why should they have to open a blank chatbot and figure out what to type? Moch
The Freelance Transition Challenge: Bridging the Portfolio Gap For experienced developers eyeing the freelance world, the absence of a dedicated portfolio isn’t just a gap—it’s a perceived risk amplifier for potential clients. Here’s the mechanism: clients equate portfolio absence with unproven reliability, even if your technical skills are rock-solid. This isn’t about skill deficiency; it’s about risk perception. Without tangible proof of solo project execution, clients default to skepticism, fearing delayed timelines or misaligned deliverables. The causal chain? No portfolio → perceived risk → higher client hesitation → fewer initial opportunities. But here’s the edge case: company-based projects can be repurposed—with permission—to demonstrate capability. For instance, if you’ve built scalable APIs or optimized database schemas in a corporate role, anonymize and document these as case studies. The key is to translate corporate wins into freelance-relevant narratives. However, this strategy hits a wall if your past work is NDA-locked or lacks client-facing impact. Rule: If your corporate projects are repurposable → use them as interim proof; if not → prioritize building a micro-portfolio (see below). Technical expertise alone is a necessary but insufficient condition for freelance success. The missing link? Business acumen. Freelancing isn’t just coding; it’s scoping projects, negotiating rates, and managing client expectations. For example, a developer who underestimates project scope due to poor requirement gathering will face scope creep, where the project expands uncontrollably, eroding profitability. The failure point? Technical skill + poor business process → client dissatisfaction → negative reviews → reputational damage. Niche selection, like Shopify, introduces a double-edged tradeoff. Shopify’s ecosystem is lucrative due to its growing demand, but specialization limits your client pool unless you’re exceptionally visible within that niche. For instance,
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I live with my roommate and close friend, Elena. Elena has Celiac disease (meaning even tiny traces of gluten trigger an autoimmune reaction that damages her gut) and a severe tree nut allergy, plus lactose sensitivity. If you don't have food allergies, going to the store is mindless. But whenever Elena and I go grocery shopping, I watch her stand in the aisle squinting at tiny text on the back of packages for five minutes, trying to figure out if ingredients like malted barley syrup, hydrolyzed wheat protein, or praline are going to make her sick. Cooking together in our apartment has also been tricky. We like cooking dinner together, but she's always stressed about cross-contamination from our shared cutting boards or colanders. And when we travel, trying to explain her allergies to restaurant waiters who don't speak English can be really intimidating. To make things worse, the grocery stores we shop at in city basements almost never have cell service. Standard cloud AI apps just spin on a loading screen when you try to scan a label in aisle 3. So this weekend, I built PlateMate: Offline Ingredient Scanner: You paste in any ingredient label or menu item, and it flags direct allergens, disguised derivatives (like barley malt or spelt), and shared equipment warnings. Roommate Dinner Swaps: Takes regular meals we like cooking (Garlic Fettuccine Alfredo, Basil Pesto, Brownies, Chicken Satay) and shows simple 1:1 ingredient substitutions so Elena can eat the exact same meal as everyone else. Dining Out Cards: Generates a clean card in 8 languages (English, Spanish, Italian, French, Japanese, German, Hindi) that Elena can show waiters on her phone or print out when traveling. Offline and Private: Runs locally right inside the browser. No internet needed, no accounts, and her health details stay on her phone. Here is the ingredient scanner in action, catching hidden barley malt and tree nuts
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend When I read the prompt about building something for a loved one, I could think of one person, my mom. She runs a business, she's always busy and she skips her multivitamins, more than she takes it. I am not around always to remind her, and when I do I get the same reply, "lelungi baad mein" (I'll take it later). Honestly, it annoys me sometimes. So I built Reme (from remember me). It's a small helper that reminds her on WhatsApp, the only app she actually uses. It writes from my own number, in the Hinglish we text each other in, so to her it's just me checking in. This is what our chats looked like before Reme. I was the reminder system: Me: mummy khana done? (Mummy, eaten?) Mummy: Han krungi thodi der mein (Yeah, I'll eat in a bit) Me: done? Mummy: Haa beta ho gya just abhi (Yes dear, just did) Me: Vitamins le liye? (Took your vitamins?) Mummy: Ha le liya (Yes, took it) What Reme does: At 11:45, after her breakfast (she eats around 11 to 11:30), it asks "Mummy, nashta ho gaya?" (had breakfast?) When she says yes, it reminds her to take the vitamin. It understands "10 min ruko" (wait 10 min), "lelungi baad mein"(I will take it later) and "aaj nahi lena, pet kharab hai" (not today, upset stomach) and waits or backs off. If she ignores three nudges, it stops nagging her and messages me instead: "Ek call kar lo?" (maybe give her a call?) It stays quiet on everything else. When she asks "Ab ghar kab aaogi?" (when are you coming home?), that's a conversation for me, not a bot. Code / reme Reme Remember me. A WhatsApp nudge that reminds my mummy to take her daily multivitamin after breakfast, in Hinglish, from my own number. It understands her replies ("Haan", "Ha leli", "10 min ruko", "aaj nahi lena") with Gemma 3 4B running locally through Ollama, so her messages never leave my laptop. 15:20 Reme → mummy: Mummy, lunch ho gaya? 🍽️ 15:22 mummy: Haan [gemma: meal_done] 15:23 Reme → mummy: Mum
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend Hacktoberfest Weekend Challenge: Build for a Friend When you're going home at night, do you always want the fastest route? What's the fastest way to get there? What do the different routes actually look like? You enter a starting point and destination. Shops and businesses Restaurants and cafés Bus stops and public transport Pharmacies Hospitals Police stations Opening hours, where available Route characteristics Available traffic and activity indicators It then combines these signals into a Route Context Score. And this part was really important to us: NightRoute doesn't say that a route is safe. The available data simply isn't enough to make a claim like that. Instead, it gives you more context about the routes so you can decide for yourself. Live Demo: https://architect-cholesterol-dis-beauty.trycloudflare.com/ GitHub: https://github.com/aashitas987-spec/NightRoute---Build-for-a-Friend We use the Google Routes API to get route alternatives and their geometry. We sample the route geometry and use OpenStreetMap and Overpass to find things around each route. The score is not generated by AI. Signal Weight Traffic / travel conditions 25 Activity 30 Safety services 20 Bus stops / public transport 10 Directness 15 Total 100 So if the same data goes into the system twice, the result is reproducible. This was one of the most interesting parts of the project for us. Data → Scoring → Explanation Imagine NightRoute finds two routes. 25 minutes Shorter More direct Fewer businesses along parts of the route Less public transport nearby 30 minutes Slightly longer More listed businesses More public transport More nearby services A traditional navigation system might naturally favour the faster route. NightRoute shows the trade-off. Maybe you take Route A because you don't care about the extra context. Maybe you take Route B because you're travelling alone late at night and would rather have more act
Spring WebFlux is Spring's reactive alternative to Spring MVC: it uses non-blocking I/O and Reactor's Mono and Flux to handle concurrent requests with a small pool of threads. Both frameworks share the same controller annotations. To migrate, replace spring-boot-starter-web with spring-boot-starter-webflux, adapt servlet APIs to WebFilter, ServerWebExchange and WebSession, and compose asynchronous operations with reactive types. Replace blocking calls with non-blocking APIs or move them to worker threads. For authentication, spring-webflux-pac4j runs pac4j's synchronous security logic on worker threads. We'll reuse the OIDC configuration from the Spring Boot guide and adapt the web integration. The example uses Spring Boot 3, Java 17 and spring-webflux-pac4j 3.0.2, with the default OIDC authorization code flow. Start with a Spring Boot 3 Maven application using the WebFlux starter and the Spring Boot Maven plugin. Add these dependencies: org.springframework.boot spring-boot-starter-webflux org.springframework spring-jcl org.pac4j spring-webflux-pac4j 3.0.2 org.pac4j pac4j-oidc 6.5.9 Why declare spring-jcl explicitly? pac4j 6.5.9 excludes it from its transitive spring-core dependency, but Spring 6 still needs it at runtime. The spring-webflux-pac4j-boot-demo contains a broader application. To adapt it, replace its security configuration with the one below. Place the following classes under the package scanned by your @SpringBootApplication. First, let's create the OIDC client and protect the routes under /protected/: package org.example; import org.pac4j.core.config.Config; import org.pac4j.core.matching.matcher.PathMatcher; import org.pac4j.oidc.client.OidcClient; import org.pac4j.oidc.config.OidcConfiguration; import org.pac4j.springframework.web.SecurityFilter; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @Configuration @ComponentScan(ba
A WordPress login redirect loop looks scary: you enter valid credentials and land back on the login form. In practice it is almost always an access problem, not data loss, and the causes follow a predictable order. After login, WordPress sets an auth cookie and sends you to the dashboard. The dashboard checks for that cookie. If it is missing, blocked, or set for a different host, WordPress treats you as logged out and redirects you back. So almost every cause is one of three things: an address mismatch, a redirect conflict, or something blocking the cookie. Clear cookies for the site and try a private window Try a second browser (rules out extensions) Make sure you are on the canonical host (https, www or non-www) The most common cause, usually after an SSL, www, or domain change. If you can't open Settings, General, force the values in wp-config.php: define( 'WP_HOME', 'https://example.com' ); define( 'WP_SITEURL', 'https://example.com' ); Remove them once the real settings are correct, since they override the dashboard. If that doesn't help, update the siteurl and home rows in the options table (check your table prefix). Cloudflare's Flexible SSL talks HTTPS to the visitor but HTTP to your origin. If the origin also forces HTTPS, the two bounce each other until the browser reports too many redirects. Switch to Full (strict) with a valid origin certificate. Behind a proxy, WordPress may need to trust the forwarded header: if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https' ) { $_SERVER['HTTPS'] = 'on'; } Only use this if your host or proxy actually sets that header. Also make sure only one thing forces HTTPS: host setting, plugin, or .htaccess rule. Rename .htaccess to .htaccess-old and test. If login works, regenerate it from Settings, Permalinks, then re-add custom rules one at a time. A stray COOKIE_DOMAIN constant, www and non-www mixed up, or whitespace before the opening PHP tag in wp-config.php or functions.php
This Cloudflare Workers AI tutorial shows you how to deploy and run machine learning models directly on Cloudflare's global edge network. With Cloudflare Workers AI, you can execute Large Language Models (LLMs), text translation, image generation, and audio transcription close to your users without managing complex GPU servers. The steps below cover how to configure Wrangler, write a fetch handler, run a Llama model, and optimise API costs at the edge. TL;DR Run AI models serverless; Cloudflare Workers AI manages the underlying GPU infrastructure, billing you only for active compute. Configure bindings in wrangler.toml; link your worker directly to the AI binding without managing API keys. Write a fetch handler to receive user requests, execute the model, and stream JSON responses. Select optimised models from Cloudflare's catalogue (such as Llama 3, Whisper, or Stable Diffusion) to balance speed and accuracy. Silo billing and rate limits to protect your endpoint from high-token cost abuse in production. Traditionally, integrating AI features required calling external APIs (like OpenAI) or hosting open-source models on expensive cloud servers. Calling external APIs presents latency and data privacy concerns. Running your own GPU servers introduces maintenance challenges and scales poorly. Cloudflare Workers AI resolves this dilemma. The platform hosts open-source models on GPUs deployed across Cloudflare's global network. Your code runs as a lightweight Worker, executing models close to your users with near-zero latency. For an introduction to building basic edge structures, check our guide on building a serverless API with Cloudflare Workers. Before you begin, make sure you have the following in place: A Cloudflare account with Workers enabled. The free plan includes a daily inference allocation, which is more than enough to follow this guide. Node.js 18 or newer installed locally, so you can run the tooling and the local development server. Wrangler, the Workers C
In an ideal deployment, an AI agent functions as a reasoning engine capable of navigating complex workflows. However, we frequently encounter a massive impedance mismatch between high-level LLM intent and the rigid, non-negotiable reality of physical infrastructure—specifically in environments like makerspaces. You cannot 'hallucinate' your way past a safety certification requirement or bypass a machine lock because you lack the necessary membership tier. Yet, most current approaches to connecting agents to enterprise or facility data treat every interaction as a simple CRUD operation. They fail to account for the multi-dimensional verification layers required when digital decisions result in physical actions. The Maker-Space Access Planner addresses this specific failure mode. It isn't just another API wrapper; it is a decision-support engine designed to reconcile user identity with operational safety protocols. When managing a maker-space, access isn't binary. It’s a function of three intersecting variables: membership status, validated technical training, and specific project requirements. Most off-the-shelf integrations struggle here because they require the developer to manually implement the conditional logic that governs these intersections. This connector exposes four primary tools that formalize this logic: evaluate_access_eligibility: This is the core gatekeeper. Instead of the agent guessing if a user can enter, it queries this tool to receive a definitive assessment based on whether the user meets the threshold for their intended task. validate_tool_requirements: A common edge case occurs when a user has general access but lacks specific certification for heavy machinery (like a laser cutter). This tool performs that granular cross-check.(Note: Even with Pro membership, explicit module completion is often mandatory).) generate_reservation_queries: Logistical planning is notoriously difficult for agents. This tool identifies exactly what questions must be