‘Lanterns’ Ending Explained: How the Finale Sets Up John Stewart in 'Man of Tomorrow'
Here's how the Lanterns finale impacts DC's upcoming Man of Tomorrow movie and the fate of John Stewart.
7045 posts · 26 feeds · tópicos e interesse por Jev
Here's how the Lanterns finale impacts DC's upcoming Man of Tomorrow movie and the fate of John Stewart.
When preparing a pull request with new code, updating documentation often gets delayed until review comments point out what is missing. A simple three-step check before opening the pull request keeps docs accurate and saves review cycles. Code snippets in README files and docs folders get outdated quickly when function signatures or configuration options change. Copy every command or snippet directly from the doc into a clean terminal or test script to confirm it runs without errors. If your pull request introduces, renames, or deprecates an environment variable or setting, verify that your configuration table lists the default value, whether it is required, and what happens when it is omitted. When introducing new setup steps or dependencies, note the error message that appears if a step is skipped. Adding two lines showing the expected failure message and the direct fix helps teammates resolve onboarding issues without asking in chat. Running through these three checks takes about five minutes and prevents documentation drift before code merges into main.
Tuần này trên Hacker News có một bài hơn 600 điểm: chạy một model MoE 125B tham số trên một con RTX 4090 mà vẫn đạt tốc độ sinh token rất đáng nể. Nghe như chuyện đùa, vì 4090 chỉ có 24GB VRAM, trong khi 125B tham số ở mức quantize 4-bit đã chiếm khoảng 70-75GB. Bí quyết không nằm ở phép màu nào cả, mà ở kiến trúc Mixture of Experts (MoE) và một kỹ thuật gọi là expert offloading. Mình đã thử kỹ thuật này với vài model MoE trên máy cá nhân, và bài này tổng hợp lại những gì thực sự có tác dụng, những gì chỉ tốn thời gian, cùng các lệnh bạn có thể copy về chạy luôn. Với model dense (như Llama 3 70B), mỗi token sinh ra phải đi qua toàn bộ tham số. Nếu không nhét vừa VRAM, bạn phải đẩy một phần layer xuống CPU, và tốc độ sẽ rơi thẳng xuống còn vài token/s vì băng thông RAM chậm hơn VRAM cả chục lần. MoE thì khác. Mỗi layer có một router chọn ra vài expert (thường là 8 trên tổng 128 hoặc 256 expert) để xử lý token hiện tại. Một model 125B tổng tham số có thể chỉ có khoảng 10-15B tham số active cho mỗi token. Phần nặng nhất (các expert FFN) thì to nhưng mỗi lần chỉ dùng một ít; còn phần dùng liên tục (attention, embedding, shared expert, router) lại khá nhỏ. Ý tưởng chính: để phần dùng liên tục trên GPU, đẩy các expert xuống RAM hệ thống. CPU chỉ phải tính một lượng nhỏ expert được chọn cho mỗi token, nên tốc độ vẫn chấp nhận được. flowchart LR T[Token input] --> A[Attention + KV cache GPU VRAM] A --> R[Router GPU] R -->|chọn top-k| E1[Expert 3 CPU RAM] R -->|chọn top-k| E2[Expert 41 CPU RAM] R --> S[Shared expert GPU] E1 --> M[Merge output] E2 --> M S --> M M --> N[Layer tiếp theo] Điểm mấu chốt: KV cache và attention là thứ ăn nhiều băng thông nhất khi context dài, nên chúng phải nằm trên GPU. Expert thì ngược lại: chiếm nhiều dung lượng nhưng mỗi token chỉ đọc một phần nhỏ. Cấu hình mình dùng để test: GPU: RTX 4090 24GB RAM: 128GB DDR5-5600 (2 thanh 64GB, dual channel). Tối thiểu nên có 96GB cho model khoảng 120B ở Q4. CPU: Ryzen 9 7950X NVMe Gen4 để load model nhanh Mộ
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built Quiz Master, an AI-powered quiz application designed to make learning more interactive, engaging, and enjoyable. Quiz Master allows users to practice different topics through quizzes, answer questions, and evaluate their knowledge through an interactive learning experience. I created this project to help a friend who wanted a simple and fun way to practice different subjects instead of relying on traditional study methods. The main goal was to make learning feel less like studying and more like an interactive challenge. https://github.com/divyaghodke407-code/Quiz-Master.git GitHub Repository: [https://github.com/divyaghodke407-code/Quiz-Master.git Quiz Master is a responsive web application built using: HTML The application follows a simple learning flow: Choose a quiz topic. I used open-source AI technology to explore AI-powered quiz functionality and create a more interactive learning experience. Open innovation makes AI technology more accessible to developers, students, and creators. While building Quiz Master, I explored how AI can support personalized and interactive learning experiences. Open-source technologies provide the flexibility to experiment with different AI models, customize features, and continuously improve educational applications. I believe open innovation can help developers build useful learning tools that make education more engaging and accessible. [divyaghodke407@gmail.com] none devchallenge #weekendchallenge #hf26casa challenge
Quick fix: the label comes from Content Credentials (C2PA) that Photoshop and Premiere Pro write into your export after a generative edit, and export settings don't switch them off. Check every file as it lands in your export folder and remove those credentials before posting: below is a free script that does it, and an app that does it for you on Mac and Windows. If you edit for clients or post every day, the "AI info" problem isn't one photo. It's every export. One Generative Fill in Photoshop or two seconds of Generative Extend in Premiere Pro, and the file you deliver carries Content Credentials (C2PA) that Instagram, Facebook, TikTok, YouTube and LinkedIn read and turn into a label. Adobe's own FAQ says that when its generative tools create or modify content, C2PA metadata is attached automatically and can't be switched off for that content. Photoshop's Export As → Metadata: None controls camera and copyright info, not that record. So the dependable place to check is the exported file, right after it lands in your export folder. Here's how to automate that check yourself, and the gotchas that make it harder than it looks. Two markers do almost all the labelling: C2PA manifest: JUMBF boxes labelled c2pa (in JPEG they sit in APP11 segments; in MP4/MOV in a top-level uuid box). IPTC digital source type: Iptc4xmpExt:DigitalSourceType set to trainedAlgorithmicMedia or compositeWithTrainedAlgorithmicMedia. A quick check for one file: c2patool "export.jpg" >/dev/null 2>&1 && echo "C2PA manifest present" exiftool -q -q -if '$XMP-iptcExt:DigitalSourceType =~ /TrainedAlgorithmic/i' -p '$FileName: AI source tag' "export.jpg" #!/usr/bin/env bash # watch-exports.sh: flag new exports that carry AI metadata # needs: brew install fswatch exiftool c2patool DIR="${1:-$HOME/Exports}" settled() { # wait until the editor has finished writing local f="$1" a b while :; do a=$(stat -f %z "$f" 2>/dev/null) || return 1 sleep 2 b=$(stat -f %z "$f" 2>/dev/null) || return 1 [[ "$a" == "$b"
What I Built Every day, many elderly parents and grandparents ask themselves the same worrying question: "Did I take my morning blood pressure pill half an hour ago, or did I just think about taking it?" When our loved ones take four, five, or more medicines every day for conditions like high blood pressure, diabetes, and heart health, it is very easy to make mistakes. A person might skip an important pill out of fear, or accidentally take the same tablet twice. Normal phone alarms do not help much because people often tap "dismiss" or "snooze" while half-asleep and go right back to resting without ever getting up to take their medicine. I built DoseTrack for my Parents and my Grandparents. DoseTrack gives our family peace of mind by making sure our elders take the right medicine at the right time, while letting them keep their independence. Wake-Up Math Alarms: One Screen for the Whole Family: Tracking Blood Pressure and Blood Sugar: Caregiver Admin Support: 100% Private and Safe: Demo Live Deployed App: https://dosetrack-o1lt.onrender.com/ Quick Demo Sign-In: On the login page, you can click any of the one-click demo buttons (like Sunita, Rajesh, or Ramesh) to instantly try out the dashboard without needing to create a new account. The complete source code is public and open-source on GitHub: GitHub Repository: https://github.com/sarasinha1207/DoseTrack Python 3 and FastAPI: Fast, lightweight server handling family schedules and vitals. HTML5 and CSS3: Clean, comfortable design with large readable fonts and clear buttons. Vanilla JavaScript: Simple, browser-based scripts for timers, math puzzles, and interactive charts without heavy libraries. Web Audio API: Generates gentle audio chimes right inside the browser without downloading any sound files. I built DoseTrack using open-source AI tools and pair-programming assistants. Instead of just adding a generic chat box, I used open-source AI to help design practical features that solve real problems for seniors: Desi
The page says tenant_experiment stalled, but the on-call needs a more useful answer: which cohort stopped, which scheduled evaluation observed it, and whether the notification represents a new failure or a replay. The least complex design that preserves those answers is a scheduled poller with a small durable state record. It queries one failure-oriented metric, evaluates freshness and consecutive failures, then sends an idempotent webhook containing the evidence used for the decision. TL;DR: For a small property-management application, polling a metrics query endpoint is a reasonable failure-alerting mechanism when the poll schedule, query window, cohort labels, evaluation result, and notification attempt share one incident key. Do not let a stateless function translate every nonzero sample directly into a page. Require a short run of failed evaluations, detect missing or late data separately, and persist enough state to suppress duplicate deliveries. This makes the alert reconstructable after the tenant-cohort experiment has moved on. The distinction matters in operations. A webhook is transport, not incident state. Metrics are observations, not proof that a page was delivered. Joining those two with a durable evaluation record is the small piece of architecture that turns a script into an alerting path. Start at the receiving end. A useful page for this experiment might say that cohort renewal-reminder-b has failed two evaluations, that the latest query covered an explicitly named time interval, and that the newest underlying sample is older than expected. It also carries an incident key, such as a stable hash of the rule and cohort, plus an evaluation ID unique to this scheduled run. Those fields answer different questions. The incident key groups retries and repeated evaluations into one operational problem. The evaluation ID lets an engineer locate the exact decision. The query interval explains what data was considered. Sample freshness distinguishes a real b
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend My friend, can tell you the torque figure of a bike that launched last month, why one hatchback feels better than its spec sheet suggests, and which ₹2 lakh motorcycle you should buy if you hate vibrations. He watches reviews constantly, rides and drives a lot, and gets excited about every new launch. The problem is that all of that knowledge lives in his head and in a hundred browser tabs. People keep asking him, "What should I buy?", and the answer depends on whatever he happens to remember that day. So I built Garage Brain: a personal knowledge base of the cars and bikes he's tested or researched, with a buying advisor on top. He feeds it text: a video transcript, an article, or his own notes. The advisor can't recommend a bike he's never looked at, and it can't invent a horsepower figure, because everything comes from his approved cards. garage-brain.onrender.com Code / GarageBrain Garage Brain A personal car and bike knowledge base with a buying advisor, built for one enthusiast Open-weight Qwen3-8B (LoRA fine-tuned with Tinker), open embeddings (bge-small) MongoDB Atlas, FastAPI, deployed on Render. How it works In /admin, paste a transcript, article, or note. The fine-tuned Qwen3-8B extracts a JSON spec card (any spec not stated in the text = null). The owner reviews and corrects the card, then approves it. Corrections are stored. A visitor asks, e.g., "₹2L bike for city + occasional highway" on the public page. The base Qwen3-8B parses the request into filters, MongoDB applies hard constraints (type, price), embeddings rank the rest by fit, and the model explains the top picks using only the saved notes. /api/export-training turns approved cards into new training data, so you can retrain v2. Which model does what Step Model Card extraction (admin) Qwen3-8B + our LoRA (fine-tuned on Tinker) … View on GitHub The idea: fine-tune for a skill, retrieve for knowledge. My first instinc
We got a report that read like a proxy bug: "HTTP/2 to google.com through your gateway hangs after the TLS handshake. HTTP/1.1 works." Every detail pointed at us. Only HTTP/2, so maybe we mangle h2. Only through the proxy, so maybe the tunnel stalls. Stock Chrome was reportedly affected too. It wasn't the proxy. It was an HTTP/2 frame called ACCEPT_CH, Chrome's reaction to it, and the way Playwright handles proxy credentials. Here is how we got there, and the two fixes. Playwright 1.63, its bundled Chromium 153, headless, proxy with a username and password: from playwright.sync_api import sync_playwright with sync_playwright() as p: ctx = p.chromium.launch_persistent_context( "/tmp/profile", headless=True, proxy={"server": "http://gw.example.com:41080", "username": USER, "password": PASS}) page = ctx.new_page() page.goto("https://www.google.com/", timeout=25000) plain TimeoutError: Page.goto: Timeout 25000ms exceeded 25.0s plain TimeoutError: Page.goto: Timeout 25000ms exceeded 25.0s Every time. Now the controls, same proxy, same exit country: Run Result google.com, defaults timeout, 25s google.com, --disable-http2 200, 6.9s bing.com, defaults 200, 6.2s google.com, --disable-features=AcceptCHFrame 200, 5.7s google.com, credentials injected by a local forwarder 200, 4.7s Only Google, only HTTP/2, only when Playwright itself answers the proxy's auth challenge. Before reading browser internals, prove the path. Our gateway relays bytes after CONNECT; it never looks inside TLS, so h2 and HTTP/1.1 are the same thing to it. But "it can't be us" is not evidence, so: curl --http2 -x http://USER:PASS@gw.example.com:41080 \ -o /dev/null -w '%{http_code} %{http_version}\n' https://www.google.com/ # 200 2 A Node http2 client through the same tunnel also got the server SETTINGS, a 200 and 70KB of HTML. A headed Chrome launched by hand through the proxy loaded the page over a single h2 session with 20+ streams. The tunnel carries h2 fine. Whatever hangs is inside the automated bro
StudyLens: A Private Local-AI Learning Loop Built for a Friend This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend. I built StudyLens, a private, local-AI adaptive learning tool for my friend Beenish, a student learning Software Engineering. The problem was simple: when Beenish gets an answer wrong, seeing the correct answer does not always tell her which concept she misunderstood. StudyLens is designed around that gap. Instead of simply marking an answer right or wrong, it analyzes the student's response locally, extracts evidence about their understanding, estimates concept-level weaknesses, updates a deterministic mastery profile, and can give them a targeted retest on the same concept. The goal is not to replace a teacher or claim that AI can perfectly understand a learner. StudyLens instead uses answer patterns to estimate recurring concept-level weaknesses and adapt subsequent assessments. The core loop is: Answer → Local AI analysis → Concept/misconception evidence → Mastery update → Targeted retest → New answer → Updated mastery Here is a short walkthrough showing the adaptive learning flow: Watch the StudyLens demo The demo shows a student answering a question, receiving local AI analysis, seeing their mastery update, receiving a targeted retest after a weak answer, and then continuing the learning loop. The complete project is open source: GitHub: https://github.com/samreenayousaf/StudyLens-Hacktoberfest The repository includes the application source code, tests, evaluation cases, documentation, contribution guidelines, and license information. StudyLens uses: Gemma 3:1B for local answer analysis Ollama to run the model locally Python + FastAPI for the backend SQLite + SQLAlchemy for learning data React + Vite for the frontend Vanilla CSS for the interface Pytest for automated backend testing The most important architectural decision was separating AI interpretation from learning decisions. Gemma analyzes the student's answer a
Article URL: https://www.motorsport.com/f1/news/horrible-totally-unacceptable-powerless-f1-drivers-frustrated-by-bahrain-f1-software-glitch/10861968/ Comments URL: https://news.ycombinator.com/item?id=49959869 Points: 22 # Comments: 2
Article URL: https://plicerin.github.io/riverraid-rom-port/ Comments URL: https://news.ycombinator.com/item?id=49959865 Points: 5 # Comments: 1
With the addition of 10 essential games, the Sega Genesis lineup on Nintendo Switch Online could be even better than it is.
Building AI that practitioners can actually run The pipeline of open-source work this month points to a single theme: practitioners are less interested in abstract capability claims than in systems they can reproduce, govern, and maintain. The Strata project shows Qwen 3.8 Flash Next (125B) running at roughly 100 tokens per second on an RTX 4090 consumer card, which matters because it collapses the assumption that large-model inference requires cloud-scale budgets; what people rarely account for is the reproducibility burden — cooling, power stability, quantization choices, and memory fragmentation on a single GPU — all of which can erase that headline number in real-world deployments. The same practitioner mindset appears in the Show HN: AI search for every photo and frame of video on macOS release, which targets an often-ignored problem: search quality degrades sharply when the corpus spans both still images and temporal video frames rather than uniform text, and building that locally introduces indexing overhead that cloud vendors quietly absorb. A video on scaling intent, quality, and artistry with AI illustrates a tension that analytics practitioners feel acutely: as generative systems scale, the marginal improvement in output fidelity often hides a rising dependency on prompt architecture and post-processing. People have noticed that what looks like quality at first pass frequently requires significant manual curation; the community has also noticed that "artistry" in this context is not decorative but structural — it reflects how carefully one has defined evaluation criteria before generation. For practitioners on constrained budgets, the practical takeaway is that scaling intent without scaling documentation produces brittle pipelines, not better results. The hidden operational cost is often in evaluation infrastructure: without explicit criteria, practitioners spend more time correcting outputs than they saved through automation, which undermines the econom
Protocol Upgrade Compatibility Review: EigenCloud Target Protocol: EigenCloud (TVL: $7123.5M) TVL: ≈ $7.12 B (Ethereum + L2) Date of Review: 5 Oct 2026 Prepared by: [Your Firm] – Senior DeFi Security Research & Auditing Team EigenCloud is a high‑value, multi‑chain liquidity‑as‑a‑service platform that aggregates capital across Ethereum and several L2 roll‑ups (Optimism, Arbitrum, zkSync). The protocol is governed by a DAO that can trigger proxy‑based upgrades to core contracts (Vault, StrategyFactory, Router, and the L2‑Bridge). Our Upgrade Compatibility Review focused on the safety of future contract upgrades – i.e., whether a new implementation can be introduced without breaking existing storage layout, exposing privileged functions, or creating new attack surfaces. Key findings: Area Overall Assessment Critical Issues Recommended Action Proxy & Storage Layout Medium‑High – most contracts use OpenZeppelin Transparent Proxy, but several custom storage slots are defined in libraries that are not version‑locked. 1️⃣ Storage slot collision risk in StrategyBase (shared library) when new variables are added. 2️⃣ Un‑initialized storage gaps in BridgeV2. Refactor to EIP‑1967‑compliant storage slots, add explicit uint256[50] private __gap; after each upgradeable contract, and lock library versions. Governance & Upgrade Execution High – DAO can execute upgrades via a single‑call executeUpgrade() that bypasses timelock when a “fast‑track” proposal passes. 1️⃣ Fast‑track bypass can be abused by a compromised DAO member or a flash‑loan‑driven governance attack. 2️⃣ No multi‑sig on the upgradeAdmin address. Introduce a minimum 48‑hour timelock for any upgrade, even fast‑track, and require 2‑of‑3 multi‑sig on the admin key. Cross‑Chain Bridge Medium – uses a custom L2‑to‑L1 message verifier that reads storage directly from the L2 contract. 1️⃣ Replay‑ability of L2 messages if the L2 implementation is upgraded without resetting the messageNonce. 2️⃣ No explicit reentrancyGuard on
A memory overflow in Citrix NetScaler's SAML handler is being actively exploited as a zero-day. CISA added CVE-2026-88779 to the Known Exploited Vulnerabilities catalog on October 4, 2026. CVE-2026-88779 (CVSS 4.0: 8.7) — Unauthenticated memory overflow (CWE-119) triggered by malicious SAML requests. Crashes the appliance's authentication service, denying VPN and SSO access to the entire organization. Citrix confirms DoS; Norway's NSM initially reported potential RCE — scope remains contested. If either returns results and you're below the fix versions, patch now. Fixed in: 14.1-73.41 (14.1 track) 13.1-64.28 (13.1 track) 14.1-73.41 FIPS / 13.1-37.282 (FIPS/NDcPP) Kevin Beaumont observed exploitation on honeypots running fully patched versions — the exploit may bypass the previous patch batch. Immediate actions: Patch to fixed version Apply Citrix Global Deny List signatures as interim mitigation Check for appliance crashes during the zero-day window Run compromise assessment on any internet-exposed SAML-enabled appliance Full analysis: https://threataft.com/articles/netscaler-saml-memory-overflow-cve-2026-88779
A text-to-SQL agent sees table and column names. It does not know that "revenue" in your company means billing_invoice.total_net, only for invoices with status = 'issued'. So it guesses, and the guess runs without errors and returns the wrong number. I added business terms to schemagate 1.2.0 (open source, Apache-2.0) and measured whether they help. Short answer: a complete glossary helps a lot. A glossary learned from other people's questions did not help at all. Here are both results. cat.concept( "revenue", synonyms=["turnover", "sales"], maps=["billing_invoice.total_net"], filter="billing_invoice.status = 'issued'", ) When a question uses "turnover", two things happen: billing_invoice is pulled into the few tables the model sees, even if no table name looks like "turnover". A line goes into the prompt, above the DDL: -- What the business terms in this question mean: -- revenue (turnover): billing_invoice.total_net; rule: billing_invoice.status = 'issued' Terms can also have broader and narrower terms ("net revenue" is a kind of "revenue"), which pulls in related tables at half weight. You don't have to type them by hand. You can import them from a dbt semantic manifest, a Snowflake semantic model, or a CSV export from Collibra or Purview: schemagate ontology import semantic_manifest.json --from dbt --url $DB --config catalog.json --save Or learn them from past (question, SQL) pairs: if "refunds" keeps showing up in questions whose SQL reads billing_credit_note, that becomes a suggested term. schemagate's main job is hiding tables and columns a caller may not read, before the model sees anything. A glossary could leak them right back: "pay means hr_compensation.annual_amount" tells a payroll clerk that the column exists. So a meaning line is dropped for any caller who can't see every table and column it names. The term still exists. That caller just never gets its line. BIRD dev, 201 questions, Claude Sonnet 5, execution accuracy, the hint text withheld: Setup Ac
Ask a coding agent for a research report and you usually get fluent prose first and evidence later — if at all. A single forum post becomes "research shows." A number from 2023 is presented as the current state. Twenty sources are listed at the end, and you still cannot tell what the author actually believes. The failure is structural, not stylistic: the writing started before the question was defined and before the sources were tiered. So I wrote the workflow down as a skill, and the skill's first claim is blunt: the quality floor of research is set by its sources, not its prose. The workflow starts with one sentence stating what the report must answer, plus at most three sub-questions. Starting before the question is clear guarantees the research will sprawl — the agent collects whatever it finds first and the report's shape is decided by search order instead of by the question. Sources are tiered before searching, so you don't believe whatever you find first: Primary: official docs, original papers, original filings, protocol/legal texts, measured data. Secondary: reputable press, industry reports, expert interviews. Tertiary: social-media posts, forum threads, aggregator sites — leads only, never evidence. That last line is a hard rule in the skill: no tertiary source supports a core conclusion. A forum thread can point a direction, never serve as evidence. Key conclusions need two or more independent sources. Two sources quoting the same origin don't count as independent — that is the trap that makes a single press release look like a consensus. If no second source exists, the conclusion is downgraded to a "single-source claim" and marked as such, instead of being quietly upgraded by confident wording. Related rules: Every number in the report has a source. A number without a source is deleted, not rewritten. Date every key fact ("as of Sep 2026"). Undated information is treated as "possibly stale" by default. Only after those three steps does writing start, an
devchallenge #weekendchallenge #hf26challenge #opensource Hacktoberfest Weekend Challenge: Build for a Friend Submission 🤝 This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend What I Built Study Buddy is a retro-style AI study companion designed to make studying a little less overwhelming. I wanted to build something useful for a friend who has to go through lengthy notes, prepare for exams, and figure out what to revise next. Instead of switching between different tools for reading notes, making quizzes, and planning study sessions, Study Buddy brings these tasks together in one place. You can upload study material, ask questions about your notes, generate practice quizzes, create a study plan, and keep track of your progress. The goal is to spend less time organizing study material and more time actually learning it. I built the interface with a nostalgic retro aesthetic because studying doesn't have to feel like staring at another boring productivity dashboard. I also wanted the project to be accessible and easy to try, without requiring users to create an account or set up a database just to get started. Demo [Add your deployed Study Buddy URL here] A short demo video will show the main workflow: uploading notes, asking a question, generating a quiz, and planning a study session. Code View Study Buddy on GitHub Replace the link above with your actual public repository before publishing. How I Built It Study Buddy combines a Java backend with a modern React frontend. Frontend: React and Vite, with a retro-inspired interface designed to make studying feel approachable. I kept the application modular so that the frontend handles the study experience while Spring Boot manages document processing and AI requests. One important design decision was to keep the Hugging Face API token on the backend rather than exposing it in the browser. The frontend communicates with Spring Boot, and the backend makes authenticated requests to the model pro
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built Thread for my friend, who often gets ideas while walking, reading or watching a series. One afternoon, an idea surfaced while he was already concentrating on something else. He decided to write it down after finishing rather than interrupt the work in front of him. When he finally opened his notes, he could remember that the idea had felt useful, but not enough of it to recover the idea itself. He normally uses a notes app or a notebook. Both work when he has enough time to stop and write. The difficulty is that an unfinished thought rarely arrives as a clear paragraph. Opening an app, deciding what to call the note and arranging the idea into proper sentences can create enough friction for it to disappear. Thread gives that unfinished thought somewhere to wait. The experience has three steps: Press record and speak naturally. Let Thread transcribe, organise and save the thought. Return later to see whether it relates to something recorded earlier. Saving the thought is only the beginning. When a new one is captured, Thread retrieves a small set of relevant earlier thoughts. Gemma then examines whether one of them offers a useful connection, implication or question worth exploring. A person may mention difficulty concentrating during a walk and, several days later, consider a voice-based space for capturing ideas. Neither recording needs to refer deliberately to the other. Thread can bring the two together and suggest that the later idea may address the earlier problem. Thread keeps the person’s original words separate from the AI interpretation. The transcript remains visible beside the generated title, summary and suggestions, so he can judge whether the interpretation is faithful. Gemma can also return no connection when the relationship is too weak. The AI does not decide what he meant or what he should pursue. It offers a possibility. He makes that decision. Thread helps my
Introduction: Why Most Software Briefs Fail As a Senior Software Developer and Solution Architect operating out of Kochi, Kerala, I frequently review project briefs submitted by founders, product managers, and enterprise stakeholders from around the globe. The vast majority of these documents suffer from a critical flaw: they describe what the visual interface should look like, but completely omit how the system must behave under load, scale, or failure. An ambiguous software project brief is the root cause of bloated timelines, ballooning budgets, and strained relationships between remote clients and developers. When hiring senior engineering talent—whether you are engaging independent specialists in Kerala's tech hubs like Infopark and Technopark or managing a distributed team—clarity is your highest-leverage asset. At regional senior rates ranging from ₹1,500 to ₹3,500/hr ($25–$50/hr), ambiguous requirements translate directly to expensive wasted engineering cycles. This guide outlines a production-grade framework for authoring a software project brief that attracts elite engineering talent, secures precise architectural estimates, and guarantees predictability in your next Next.js 15, Node.js, or Flutter build. Every great technical brief starts by grounding the software in business metrics. Senior engineers do not just write code; we solve business problems. Your summary must explicitly state the core value proposition and success criteria. The Problem: What user pain point or market inefficiency does this software address? The Solution: A high-level overview of the application (e.g., a multi-tenant SaaS platform built on Next.js App Router and PostgreSQL). Primary KPIs: How will you measure success? (e.g., Sub-second Core Web Vitals, 99.9% API uptime, or a sub-3-second transaction flow in a Flutter mobile app). Leaving tech stack decisions entirely open or overly constrained without rationale creates friction. Specifying your preferred stack—or asking your arc
Base64 shows up everywhere in JavaScript work: API tokens, data URLs for images, email attachments, even the odd query parameter. The browser ships with built-in functions to handle it, but there's one classic pitfall that trips up beginners and veterans alike. Let's walk through the correct way to decode (and encode) Base64 in JavaScript. atob() and btoa() Every modern browser (and Node.js) provides two global functions: btoa() — binary to ASCII: encodes a string into Base64 atob() — ASCII to binary: decodes a Base64 string back into a plain string const encoded = btoa("Hello, world!"); console.log(encoded); // SGVsbG8sIHdvcmxkIQ== const decoded = atob(encoded); console.log(decoded); // Hello, world! That works great — until you try anything outside plain ASCII. btoa() only accepts characters in the Latin1 range (code points 0–255). Pass in an emoji or any accented character and it throws an InvalidCharacterError: btoa("héllo 🌍"); // ❌ throws InvalidCharacterError And atob() has the mirror problem: it returns a string where each character is a single byte, so multi-byte UTF-8 sequences come back garbled: atob("aMOpbGxvIPCfjI0="); // ❌ mojibake instead of "héllo 🌍" TextEncoder / TextDecoder The fix is to convert through UTF-8 bytes explicitly. Here's a robust pair of helpers: function base64Encode(str) { const bytes = new TextEncoder().encode(str); // string → UTF-8 bytes let binary = ""; bytes.forEach((b) => (binary += String.fromCharCode(b))); return btoa(binary); } function base64Decode(b64) { const binary = atob(b64); // Base64 → raw bytes as string const bytes = Uint8Array.from(binary, (c) => c.charCodeAt(0)); return new TextDecoder().decode(bytes); // UTF-8 bytes → string } base64Encode("héllo 🌍"); // aMOpbGxvIPCfjI0= base64Decode("aMOpbGxvIPCfjI0="); // héllo 🌍 ✅ JSON Web Tokens store their payload as Base64url-encoded JSON. Here's how to peek at one safely in the browser console: function decodeJwtPayload(token) { const base64url = token.split(".")[1]; c
Ran into this building an agent that needed to look at web pages. Every screenshot API is SaaS, which is fine, until you notice the Looked for a self-hostable one. The MCP screenshot servers that exist (Urlbox, Runs with docker compose. The extraction part runs on whatever model you point Honest about where it's weak: no security audit, extraction quality is decent github.com/route1-ai/shotbase The thing I'm unsure about: is "run it yourself so page content stays in your network" actually the useful part here, or do people mostly just want screenshots and I've over-thought it? Genuinely asking — I built this for my own use case and I don't know if it generalizes.
This tutorial builds the retrieval core of a production RAG system. Not a notebook toy, but the pieces you actually need: tenant-safe vector search, hybrid retrieval, reranking and grounded answers. Stack: Python, Postgres + pgvector, OpenAI embeddings, rank_bm25, sentence-transformers. CREATE EXTENSION IF NOT EXISTS vector; CREATE TABLE chunks ( id BIGSERIAL PRIMARY KEY, tenant_id TEXT NOT NULL, doc_title TEXT, section TEXT, content TEXT NOT NULL, embedding VECTOR(1536) ); CREATE INDEX ON chunks USING hnsw (embedding vector_cosine_ops); CREATE INDEX ON chunks (tenant_id); tenant_id lives in the table from day one. Permissions are enforced in SQL, not in the prompt. import re def chunk_by_headings(text: str, doc_title: str, max_chars: int = 1500): sections = re.split(r"\n(?=#+ |\d+\.\s)", text) chunks = [] for sec in sections: heading = sec.strip().split("\n")[0][:120] for i in range(0, len(sec), max_chars): chunks.append({ "doc_title": doc_title, "section": heading, "content": f"{doc_title} > {heading}\n{sec[i:i + max_chars]}", }) return chunks Prefixing each chunk with its title and heading gives the embedding context that a raw slice of text does not have. import numpy as np import psycopg from pgvector.psycopg import register_vector from langchain_openai import OpenAIEmbeddings emb = OpenAIEmbeddings(model="text-embedding-3-small") # 1536 dims conn = psycopg.connect("postgresql://localhost/rag") register_vector(conn) def ingest(tenant_id, chunks): vectors = emb.embed_documents([c["content"] for c in chunks]) with conn.cursor() as cur: for c, v in zip(chunks, vectors): cur.execute( "INSERT INTO chunks (tenant_id, doc_title, section, content, embedding) " "VALUES (%s, %s, %s, %s, %s)", (tenant_id, c["doc_title"], c["section"], c["content"], np.array(v)), ) conn.commit() from rank_bm25 import BM25Okapi def vector_search(tenant_id, query, k=30): qv = np.array(emb.embed_query(query)) rows = conn.execute( "SELECT id, content FROM chunks WHERE tenant_id = %s " "ORDER B
Why this lesson exists When a program runs on a GPU, the only way to know where the real cost lies is to measure that GPU. Defaulting to the CPU surface is a common mistake that can waste days of debugging. This episode shows how to use csperf to discover the right backend and switch when necessary. Ep 1: Why a single ./a.out time misleads – we learned that reproducible evidence is essential. Ep 2: Warm vs Cold – a single trial is unreliable; we introduced warm‑up and repeat. Ep 3: Screenshots aren’t evidence – csperf gives metadata‑rich artifacts. Ep 4: Comparing across machines – metadata matters for cross‑machine claims. Ep 5: csperf observatory – quick, reliable evidence of the toolchain. Ep 6: csperf Doctor – diagnose toolchain issues. Ep 7: Quickstart – 30‑second first win. Ep 8: Reading csperf JSON – the source of truth. Many developers assume that a program’s performance is dominated by the CPU, even when the workload is offloaded to a GPU. They run csperf run --backend cpu and interpret the results as the whole story. In reality, the CPU may only be orchestrating kernel launches, while the GPU does the heavy lifting. If you never measure the GPU, you’ll never know where the bottleneck is. csperf gives you a simple, declarative way to list available backends, enumerate devices for a chosen backend, and run a workload on any backend. By inspecting the artifacts you can decide whether to stay on the CPU surface or switch to the GPU surface. List backends – see what execution surfaces csperf knows. List devices – for a chosen backend, see the concrete hardware. Run on a backend – execute the workload and collect artifacts. Inspect artifacts – look at execution_time_ms and other metrics. Decide – if CPU metrics are trivial compared to GPU metrics, switch. # 1. List all backends csperf knows about csperf list-backends # 2. For the CPU backend, list the devices that can be used csperf list-devices --backend cpu # 3. Run the matrix traversal example on the CPU back
Vibe coding made building an app ridiculously fast. You describe what you want, the AI writes it, and a few days later you have something live. We're a small team from Korea, and before building anything ourselves we interviewed people who had shipped products this way. We expected to hear about prompts and tools. Instead, almost everyone talked about what happened after launch. Critical bugs that drive users away. Login suddenly stops working, or data disappears. These are the bugs that make real customers leave. Code that's scary to touch. Fixing one thing breaks something else, and you're not sure why. Problems that are hard to even describe. Without a developer background, it's tough to explain what's wrong, even to an AI. Building got easier. Running and maintaining the thing didn't. That's why we started continuevibe. We take over maintenance for products built with vibe coding: Diagnose the problem Define the scope of the fix Fix the code Test it Right now, the first 5 teams get 1 month of free maintenance (bug fixes + small UX improvements). 👉 https://magenta-babka-fed96b.netlify.app/?utm_source=devto&utm_medium=community&utm_campaign=launch (Our page is in Korean for now. If you're interested, leave a comment and we'll reply in English!) If you've shipped something with vibe coding: what broke first after launch? We'd love to hear your stories in the comments.
When someone lands on a service-business website, they usually are not there to admire the layout. They are trying to decide, quickly, whether this business can solve their problem and whether contacting it is worth the effort. That means a useful website should answer the customer's main questions before the customer ever has to send a message. Here are five I use as a practical checklist when thinking through service-business sites. The top of the page should make the service obvious. A visitor should not have to decode a slogan, scroll through three banners, or open a menu just to learn whether the business cleans homes, details vehicles, builds decks, takes portraits, or repairs HVAC systems. A simple hero section usually needs: A plain-language service statement The main customer type A clear next action For example, Residential cleaning for busy households — request a quote communicates more than a clever slogan that never says what the company actually does. Local service businesses lose leads when visitors cannot tell whether they are inside the service area. Put the location information where people can find it without hunting. That might be: A list of cities or counties A service radius A map or service-area section A short note near the quote form This also helps keep the contact form cleaner because customers can self-qualify before submitting. Not every business can publish exact prices, but completely hiding price expectations creates friction. If exact pricing depends on scope, give customers something useful instead: a starting price, common package ranges, the factors that change the quote, or examples of what is included. The goal is not to quote every job automatically. It is to prevent the customer from wondering whether the service is likely to cost $100 or $10,000. A surprising number of small-business websites make the customer work too hard to become a lead. The contact path should be obvious on mobile and desktop. Useful options can include:
Article URL: https://frn.sh/go-gc/ Comments URL: https://news.ycombinator.com/item?id=49959654 Points: 7 # Comments: 0
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend Technical placement season is here, and a close friend of mine has been grinding data structures and algorithms for upcoming recruitment drives. But they hit a massive roadblock: standard AI chatbots are terrible teachers. When they got stuck on a Dynamic Programming problem and asked for a hint, commercial AI tools just spat out the entire 50-line C++ solution. It ruined the learning process. My friend didn't want the answer; they wanted to build algorithmic intuition. So for this challenge, I built them the Competitive Programming Hint Engine—a strict, Socratic AI mentor that is programmatically barred from writing code. The CLI works seamlessly locally. You paste a problem description and where you are stuck, and it guides you without spoiling the solution. / Competitive-Programming-Hint-Engine 🧠 Competitive Programming Hint Engine A strictly Socratic, 100% local AI mentor designed to help students master Data Structures and Algorithms without the temptation of copy-pasting code. 🌟 The "Why" This project was built for the Hacktoberfest 2026 Weekend Challenge under the theme "Build for a Friend" When preparing for technical placements, the biggest trap students fall into is relying on AI to write the code for them. True learning happens when you struggle with the logic, not when you copy-paste the syntax. I built this tool for a friend to provide guidance, suggest data structures, and analyze time complexities—all while strictly refusing to write the actual implementation. ✨ Key Features Socratic Mentorship: Analyzes your approach and asks guiding questions instead of spoon-feeding answers. Constraint Pre-Parser: Automatically reads problem constraints (e.g., $10^5$) and suggests the target time complexity before passing context to the AI. Regex Interceptor… View on GitHub The CP Hint Engine is a local, CLI-based AI agent built in Python around an open-weight model (gemma2:2b or lla
On September 22, 2026 IAB Tech Lab shipped AAMP 3.0 with OpenProposal, a draft spec for how seller agents describe ad products and how buyer agents compare those representations to a campaign brief. Public comment runs through October 22. IAB Australia opened a seller sandbox the same week to exercise discovery and proposal flows on synthetic data, with live spend out of scope. That is the right problem to automate. A human media team can read three RFP responses. Software cannot compare thousands unless every seller encodes what they are selling the same way. OpenProposal is that encoding layer, wired to the transaction rails Tech Lab already publishes: AdCOM, OpenDirect, and the Deals API. The failure mode shows up one hop later, when the accepted line item is not a signed insertion order sitting in a folder but an auction call. OpenProposal lives in the planning stage. The buyer agent holds a brief: channel, geography, budget band, format constraints, maybe a content taxonomy slice. Seller agents return structured products. The buyer agent scores fit. AAMP 2.x already supports programmatic guaranteed, preferred deals, PMP lines, and the open marketplace through the same buyer and seller SDKs. When the winning path is programmatic, execution is still an OpenRTB bid request and response pair on the exchange you already operate. Nothing in OpenRTB names which OpenProposal response won. There is no proposal_id, no back-pointer to the brief version, and no guarantee that the imp.video object still carries the duration or placement semantics the comparison used. AdCP negotiates version on every message and returns a typed error when buyer and seller disagree. AAMP 2.3 added trust verification on price-moving paths. OpenRTB still agrees its dated snapshot in onboarding docs, not in the JSON. We wrote about that asymmetry in the agentic version negotiation gap. OpenProposal adds a third layer: a structured comparison that never has to survive into the auction object. Liv