Forget the Weeping Angels, This WW2 Episode Is the Scariest 'Doctor' Who Has Ever Been
'Doctor Who' has a history of scaring the pants off you in ways you didn't expect, as Russell T. Davies and Steven Moffat proved back in 2005.
7045 posts · 26 feeds · tópicos e interesse por Jev
'Doctor Who' has a history of scaring the pants off you in ways you didn't expect, as Russell T. Davies and Steven Moffat proved back in 2005.
Apps stopped from crashing
A competitor changes price at 2:15 PM. Your scraper runs at midnight. The dashboard looks clean the next morning, but the business already lost a few hours of margin or conversion. The bug is not that you lack data. The bug is that your data describes the wrong moment. Most teams do not need true real-time market intelligence. They need data that is fresh enough for the decision it drives. A pricing bot may need competitor changes within 5 minutes. An assortment gap report may be fine at 6 hours. A weekly category review does not need streaming infrastructure at all. The first useful design question is not how do we make this real-time? It is: What is the maximum age of this data before acting on it becomes unsafe? That gives you a freshness SLO. For example: competitor_price_freshness_seconds 20% unless confirmed by two consecutive observations reject currency changes unless source region also changed ignore out-of-stock changes that flip back within 2 minutes alert when freshness exceeds SLO instead of reusing stale values These checks reduce false reactions. They also make incidents easier to debug because the system can explain why it did or did not act. A report answers what happened. A decision loop answers what changed and what should happen next. That loop can still start manually. Send a Slack alert when a top competitor drops price. Create a ticket when a rival goes out of stock. Notify merchandising when a category gap appears. Once the signal quality is good, automate the low-risk actions first. For example, refresh an internal recommendation, flag a SKU for review, or pause a stale campaign. Leave margin-sensitive pricing changes behind stricter checks. The practical next step: pick one decision your team already makes from stale external data, define its freshness SLO, and instrument the age of that data before changing the scraper itself.
Forza Horizon 6 has, as is standard for the live-service racing series, settled into a steady rhythm of revolving weekly to-do lists and a gradual drip feed of fresh cars since it came out in May. Unless you're hopping on for regular bouts of driving with mates or just dig the grind, odds are most folks will have dipped in and out over the months, possibly only returning when a new season adds the likes of a drift attack mode to the open world. Horizon 6's first major DLC's likely to change that at least for a little while, and Playground Games have now revealed it'll be arriving in January. Read more
In its 26th season premiere, the procedural legal drama paints a damning picture of power-mad AI CEOs.
Django 6.1 shipped in August with a one-line change to django.contrib.auth: the default PBKDF2 iteration count for password hashing went from 1,200,000 to 1,500,000. That's the kind of release note entry I'd normally skim past. I timed it instead, and then went looking at what else moves when that one number changes. It turned out to move more than the login latency. I installed Django 6.1.2 and, separately, 6.0.9 in their own virtualenvs so I could call the hasher directly with each version's default iteration count, rather than trust a changelog line. >>> from django.contrib.auth.hashers import PBKDF2PasswordHasher >>> PBKDF2PasswordHasher().iterations # Django 6.0.9 1200000 >>> PBKDF2PasswordHasher().iterations # Django 6.1.2 1500000 I hashed the same password 20 times at each iteration count and timed both encode() (what happens on signup or password change) and verify() (what happens on every login), on a 4-core container with nothing else running. I did this across three separate process runs to make sure one noisy run wasn't deciding the story. 1,200,000 iterations (6.0 default) 1,500,000 iterations (6.1 default) hash, fastest of 20 220–249ms 276–340ms hash, mean of 20 270–285ms 327–377ms verify, fastest of 20 221–226ms 291–350ms verify, mean of 20 268–290ms 366–378ms The ranges are the spread across the three runs, not noise within one of them. The ratio holds up: 1,500,000 ÷ 1,200,000 is 1.25, and the fastest times move by roughly that much in every run. A single login now costs somewhere around 50 to 90ms more CPU time than it did under 6.0, depending on how busy the machine is when it happens. That's a real number, but it's also a single-threaded one, and logins don't happen one at a time on a busy site. CPython's hashlib.pbkdf2_hmac, which Django's PBKDF2 hasher calls into, releases the GIL while OpenSSL does the actual work. I hadn't checked that was true for this specific call path, so I ran the same hash concurrently across a ThreadPoolExecutor with 1
I'm an engineer, but these days I solve the boring problems entirely by vibe coding. Somewhere along the way I felt I had lost the creativity and curiosity I used to have when writing code myself. So I started thinking about how to make vibe coding fun again. codyssey turns a Claude Code session into a little adventure: while the agent does the work, you hear it as music, watch a pixel knight fight through it, and read it back as a quest log. / codyssey codyssey Claude Code, played as an adventure: soundtrack, hero and quest log. Important miod's music only works on macOS. I'm an engineer, but these days I solve the boring problems entirely by vibe coding. Somewhere along the way I felt I had lost the creativity and curiosity I used to have when writing code myself. So I started thinking about how to make vibe coding fun again. codyssey turns a Claude Code session into a little adventure: while the agent does the work, you hear it as music, watch a pixel knight fight through it, and read it back as a quest log. It's three mods in one plugin, and each one turns on and off on its own. What it is Three Claude Code mods in one plugin. miod: the soundtrack Generative music written on the spot while Claude works. No music files, no library, no AI model. … View on GitHub
I spent years working in Luxembourg, where a client can switch from French to German to English in the same meeting (and nobody blinks). So when I started measuring which businesses AI assistants recommend, the first thing I wanted to know was simple: does the answer change when only the language of the question changes? It does. A lot. In late September 2026, I asked the same buyer questions in four cities: Montréal, Brussels, Luxembourg and Paris. Same city, same need, same models. Only the language changed. 7 AI models with web search: ChatGPT, Claude, Gemini, Perplexity, Grok, Mistral and DeepSeek at the time (Muse Spark has since replaced DeepSeek). 8 buyer questions on the presence angle (is the business named or not?), written the way a buyer asks in that city and that language, not translated word for word. One number per business: how many answers name it, out of the answers received. City Business Answers that name it Montréal Qubit Insurance English 16 of 56, French 0 of 52 Brussels Yago French 29 of 56, Dutch 8 of 53, English 2 of 56 Luxembourg Weicker & Co French 20 of 50, German 7 of 53, English 6 of 50 Paris Laforêt French 18 of 50, English 6 of 54 Paris Paris Property Group English 13 of 54, French 0 of 50 Three things surprised me: A business can lead in one language and be missing in another, in the same city. In Montréal, the insurance broker named 16 times in English is never named in French. In Paris it works both ways. Laforêt leads in French. Paris Property Group leads in English and is absent in French. In Luxembourg, each language puts a different broker first: Weicker & Co in French, OCA in English, IBG in German. If your clients sell in more than one language, checking one language tells you half the story (sometimes less). The API call is the easy part. The protocol is what makes the numbers mean something. 1. Write the question the way a buyer asks it, in each language. A literal translation often sounds wrong, and a question that sounds
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass AniMix is an offline-first, client-side web application built to get gamers and tech enthusiasts off their screens, out of their rooms, and into the wild. The concept is simple: Touch Grass. Photograph Animals. Fuse Monsters. Explore the Outdoors: Venture outside into your yard, neighborhood, or local hiking trail to search for real living fauna—dogs, cats, birds, squirrels, butterflies, or bugs. On-Device Vision AI: Snap a photo using your smartphone or laptop camera. AniMix runs an open-weight vision classification model directly inside your browser to identify the animal species instantaneously. Monster Fusion: Select any two captured animals from your deck (for instance, a Golden Retriever + a Blue Jay) and fuse them together! AniMix procedurally calculates combat stats, element affinities (Bio, Aero, Pyro, etc.), and generates a custom hybrid monster collectible card. Collect & Share: Export high-resolution holographic trading cards to build your creature deck or share them with friends via the Web Share API. 🌐 Live Web Application: https://animix-touchgrass.vercel.app 🎬 GitHub Repo: https://github.com/Mohammad1sami/animix Code https://github.com/Mohammad1sami/animix AniMix is built around client-side open-source AI and modern web technologies: Open-Source AI & Local Inference: Powered by Transformers.js using the open-weight MobileViT-small model (Xenova/mobilevit-small). The model runs entirely in-browser via WebAssembly and ONNX Runtime, performing vision classification without any backend API call. Frontend Framework: Built with Next.js 16 (React 19) for fast server-rendered shells and optimized client hydration. Styling & Aesthetics: Styled using Tailwind CSS v4 featuring dark mode, glassmorphism, and dynamic animations. Card Rendering & Export: Utilizes the HTML5 Canvas API and html-to-image for generating high-DPI monster trading cards with procedurally assigned sta
When reviewing Word documents, you may need to highlight specific words or phrases. For example, you might want to mark every occurrence of "risk" in a report, or highlight phrases such as "risk assessment" and "risk analysis". Java can handle both exact text searches and pattern-based searches. This article shows how to highlight the first match or all matches using either strings or regular expressions. Add the following repository and dependency to your Maven project's pom.xml file: com.e-iceblue e-iceblue https://repo.e-iceblue.com/nexus/content/groups/public/ e-iceblue spire.doc 14.9.5 For the examples below, prepare a Word document named input.docx with the following content: We identified a potential risk before the release. The audit covers risk assessment and risk-analysis. A risk review is scheduled for next week. Another Risk Assessment will happen after launch. Each example works independently and saves the modified document to a separate file. To highlight only the first occurrence of a word, use Document.findString(). This method returns a TextSelection representing the first match. import com.spire.doc.Document; import com.spire.doc.FileFormat; import com.spire.doc.documents.TextSelection; import java.awt.Color; public class HighlightFirstOccurrence { public static void main(String[] args) { Document document = new Document(); try { // Load the Word document document.loadFromFile("input.docx"); // Find the first occurrence of "risk" TextSelection selection = document.findString("risk", false, false); // Highlight the matching text if (selection != null) { selection.getAsOneRange() .getCharacterFormat() .setHighlightColor(Color.YELLOW); } // Save the modified document document.saveToFile( "HighlightFirst.docx", FileFormat.Docx_2013); } finally { document.dispose(); } } } The two Boolean arguments in findString() control case sensitivity and whole-word matching: caseSensitive: When false, both "risk" and "Risk" can match. wholeWord: When false, the sear
The ReAct (Reasoning and Acting) pattern is deceptively simple. In a tutorial, you define an agent, give it a few tools, and watch it solve complex queries. It looks magical. But moving that same loop into production reveals a harsh reality: the complexity isn’t in the reasoning logic itself, but in the infrastructure surrounding it. Most "agent failures" attributed to poor LLM reasoning are actually symptoms of inadequate tool design, missing cost controls, or security oversights. A common configuration mistake is treating max_iterations solely as a safeguard against infinite loops. While it prevents runaway processes, its primary function in production is cost management. Every iteration consumes tokens for both the input context and the generated output. Without strict limits derived from your specific cost model, a single user query can drain resources rapidly. For example, setting max_iterations=10 in a LangChain AgentExecutor isn't just about stopping a stuck bot; it's about capping the financial exposure per request. You must also handle parsing errors gracefully. Instead of raising exceptions when the model outputs malformed JSON, feed the error back as an observation. This allows the agent to self-correct without terminating the session prematurely. from langchain.agents import AgentExecutor executor = AgentExecutor( agent=agent, tools=tools, max_iterations=10, handle_parsing_errors=True ) There is a misconception that better prompts lead to better agents. In practice, agent quality depends heavily on well-scoped, clearly described tools. Ambiguous descriptions or poorly truncated results cause what appears to be model failure but is actually an interface problem. Consider a web search tool. If it returns 50 raw HTML snippets, you flood the context window, increasing costs and confusing the model. You must enforce truncation at the tool boundary. A robust implementation might limit results explicitly: from langchain.tools import Tool import duckduckgo_searc
On a typical Kubernetes-on-AWS bill, 15–20% of the cost is network: cross-AZ data transfer, VPC peering, cross-region transfer and NAT Gateway bytes. On a $1M monthly AWS bill, that's $150–200k every month. It's serious money, and it's almost always hidden. It sits on a few line items that everybody sees and nobody owns, and every review ends the same way: "it's network, it's the platform's problem". This post is about how we turned those lines into a list of named workloads with a cost next to each, and what we found once we could see it. The short version: within days of having per-app network data, we had more concrete savings opportunities than in months of looking at Cost Explorer. The pain: you can see the bill, but not the cause The approach: count bytes where the pod still has a name What we found How FinOps and OBI solved it together Why network-level observability matters Takeaways Cost Explorer tells you what you pay for, never who caused it. DataTransfer-Regional-Bytes is one number per account. It doesn't know about pods, deployments or teams. Tag-based showback gets network cost wrong. Most FinOps reports assign cost by the EC2 instance's team tag. That works for compute. For network, it charges every byte leaving a node to whoever owns the node, including bytes sent by shared DaemonSets like log shippers and agents. VPC Flow Logs see IPs, not workloads. Pods churn, IPs get reused, and NAT and peering traffic is often SNATed to the node IP before Flow Logs see it. Joining Flow Logs to Kubernetes metadata after the fact is a project of its own, and keeping them on for a large cluster isn't cheap. So the conversation goes nowhere. "Your team's network cost went up." "We don't do anything network-heavy." Nobody can prove otherwise, so nothing changes. The missing piece wasn't another dashboard of totals. It was attribution: this workload talks to that workload, across this billable path, costing this much. We used OBI (OpenTelemetry eBPF Instrumentation).
Most chatbots suffer from the goldfish problem—they forget who you are the second you close the tab or start a new session. The team at Walrus is hosting a dev challenge called Session 8: Chatbots That Remember, and they are looking for builders to fix this. The goal is to build (or retrofit) an AI chatbot that utilizes persistent memory across different sessions, users, and devices, and showcase what new experiences this unlocks. The Details: What to Build: A chatbot that retains context. It can be for customer support, onboarding, a game NPC, a tutor, or a companion. The Tech: You'll use Walrus Memory to store and recall the context on mainnet. The Prizes: There is a $2,500 prize pool spread across a few categories, including Best Chatbot, Best Article, and a special "Beyond the Big Two" track if you use open-source or alternative models instead of just OpenAI/Claude. They also have bug bounties if you just want to break things. Deadline: October 9th, 2026. If you are already tinkering with LLMs, LocalLLaMA, or AI agents, this is a great excuse to experiment with agentic memory and get rewarded for it. You can find the full rules, the memory repo, and the submission portal here: https://www.deepsurge.xyz/hackathons/c0141a4a-21be-4009-bc63-7c168608c849
Feed four innocent lines to PyYAML, Python's everyday YAML library: python3 -c 'import yaml; print(yaml.safe_load("country: NO\nversion: 1.10\nmode: 0755\non: push"))' {'country': False, 'version': 1.1, 'mode': 493, True: 'push'} Norway's country code is now the boolean False. Version 1.10 is the float 1.1, a lower number than 1.9. The file mode is the decimal 493, and the on: key every GitHub Actions workflow needs has become True. That is the YAML Norway problem, and it has a cousin in cron: an expression that reads like "the first Monday of the month" and runs seven days in a row. Neither format is broken. Both follow rules that are written down; the rules are not the ones you assume. Two free browser simulators make those rules visible: the YAML Parsing Simulator and the Cron Expression Simulator. Disclosure: I help build them; both are free, run in the browser, no signup. YAML has two versions in wide use, and they disagree about plain, unquoted values. YAML 1.1 reads y, yes, on, n, no and off (in several capitalisations) as booleans and treats a leading zero as octal. YAML 1.2's core schema accepts only true and false as booleans and reads 0755 as the decimal 755. Which rules you get depends on your parser and its settings, not on your file. PyYAML follows most of the 1.1 rules (it leaves single-letter y and n as strings). js-yaml 5.4.2 with its default schema uses the 1.2 rules, and on the same document it returns "NO" as a string and 755 as the mode. The YAML Parsing Simulator has an editor on the left and the parse result on the right, under YAML 1.2, with a second pane showing "The same file, older parser" under YAML 1.1. A "Types resolved" panel lists every value that stopped being a string, and when the two specs disagree, a table appears with the path, what you wrote, the 1.1 result and the 1.2 result. The parser is a small reader built for this job, not a full YAML implementation, and it runs as you type. It resolves values but not keys, so the on: sur
Meta has placed a complete ban on ads and marketing from TikTok's US minority owner, ByteDance.
AMD on Thursday sent out a final pull request of their feature work aiming to be submitted for the upcoming Linux 7.4 merge window. This round of "few last odds and ends" is mostly about landing some bug fixes but of which there are a few worth mentioning...
Crunchyroll revealed a slate of exciting new projects at NYCC 2026, including a new partnership to produce anime adaptations of 15 popular webtoons.
OpenAI is standing firm on its decision to fire three safety researchers after an investigation found they committed "a significant breach of trust." In a post on X on Friday, the company said Jasmine Wang, Tomek Korbak and Mikita Balesni were dismissed for violating "clear policies on handling sensitive information." It insisted the decision was not about the trio speaking out about the company and their concerns about AI safety. The post is a direct response to an open letter the researchers published on Thursday urging OpenAI to be more transparent about the decision. In it and a series of social media posts, the group said they believ … Read the full story at The Verge.
Article URL: https://github.com/alex0ptr/once Comments URL: https://news.ycombinator.com/item?id=50018239 Points: 17 # Comments: 8
For those making use of Qualcomm Snapdragon X laptops on Linux, one of the features coming to the MSM DRM kernel driver is static HDR support for DisplayPort outputs and eDP panels...
Writing about new 2D timeloop metroidvania Echo Weaver is tricky because most - possibly all - of what you need to complete it is available to you the very second you first wake up, deep in the charnelpools of an ethereal and shattered lunar civilisation. The plot in brief: you are a perpetually rewinding robot boy on a mission to work out what the hell happened. You'll explore overgrown biomes, investigate busted machines, run errands for a handful of scrappy, splashy-hued aliens, and conjure holographic flashbacks that cover the circumstances of your own creation. Developers Moonlight Kids stress that the only thing you really gain in the course of all this is knowledge. There are a few upgrades to gather, but no core skills to unlock. Instead, it's all there for you to learn, whether by reaching a tutorial area or just by hitting buttons at random and messing with terrain fixtures. As such, my telling you about abilities really does risk ruining it, much like explaining the behaviour of celestial bodies in Echo Weaver's great influence, Outer Wilds. So if you're strongly inclined to buy the game – my verdict after four hours: a vivid and thoughtful, freeform Metroidy puzzler with refreshingly minimal combat and a few rough edges - maybe get your feet wet before reading on. Read more
Various key details from Legend of Korra might help explain some of the biggest Seven Havens mysteries.
Castelion—a next-generation defense tech company—is building a facility in Rio Rancho Estates that documents show could pose a major fire and chemical hazard to neighboring communities.
The AI industry is moving beyond chatbots and basic automation. Companies now want AI applications that can connect with existing software, understand business data, automate workflows, and deliver measurable results. This is where an AI Forward Deployed Engineer (AI FDE) plays an important role. An AI Forward Deployed Engineer combines software development, Generative AI, system integration, and problem-solving to turn business requirements into working AI solutions. Instead of building isolated prototypes, these engineers focus on implementing, deploying, and improving AI applications in real-world environments. If you're exploring a career in AI engineering, understanding this role can help you identify the technical skills and practical experience needed to enter the field. An AI Forward Deployed Engineer works closely with customers, business stakeholders, and engineering teams to build AI-powered solutions for specific operational challenges. For example, imagine a company that receives thousands of customer support tickets every day. Its support team spends hours reading tickets, searching internal documentation, and preparing responses. An AI FDE can build a system that summarizes tickets, retrieves relevant documentation, recommends solutions, and connects with the company's support platform. The solution must also handle inaccurate information, protect sensitive data, and escalate uncertain cases to human specialists. The responsibility goes beyond connecting an application to an LLM API. It involves understanding the business problem, selecting the right architecture, integrating systems, testing the solution, and ensuring that it works reliably in production. Many organizations experiment with Generative AI, but moving from a proof of concept to a production application presents several challenges. Enterprise data may be distributed across multiple systems. Existing applications may use different APIs, and business processes may require strict access con
Notifio watches rental search pages from your own machine and tells you when a listing appears that was not there last time. For a long while a find existed in exactly one place: an email. That is a strange thing for a desktop app to do. The app knew about the room first, and then had nothing to show for it. If you missed the email, or the send failed, or you just wanted to see what turned up overnight, the app's answer was a line in the activity log saying 3 new listing(s) on Kamernet - Leiden and the links were somewhere in a mailbox. Fixing that looked like a small feature. It turned into a question about lifetimes, because the app already stored every listing it had ever seen. Diffing needs a record of what a page held last time. Notifio keeps one snapshot per search, keyed by the search URL, and compares against it. It is the mechanism the entire product rests on, and the rules around it are stricter than you would guess: the first check after the app starts deliberately replaces the baseline rather than comparing with it, for reasons I wrote up in The first check after a restart is not allowed to tell you anything. So the listings are already on disk. Reading history out of the snapshots would mean no new storage at all. It is the wrong store, and the reason is in two lines of the tracker that manages those baselines: /** * Forget a search, so its next check counts as the first again. * * Used when a search is removed or re-pointed at a different URL, which * throws its stored baseline away too. */ forget(url: string): void { this.checked.delete(url); } A baseline is scoped to a search, and it is meaningless the moment that search changes. If you edit a search from Leiden to Utrecht, the old snapshot is not stale data to be migrated, it is an answer to a question nobody is asking any more, and keeping it would mean the next check diffs Utrecht listings against Leiden ones and reports the whole page as new. Which means the moment a baseline gets deleted is a se
The Problem: Why I Built Vexil Search As an indie hacker, I realized I was spending way too much time looking for files spread across my hard drive, random project folders, and archived directories. The built-in OS search tools were either painfully slow or incredibly bloated, and most third-party options didn't respect privacy. I wanted something built on the "indie hacker philosophy": 100% offline, privacy-first, lightning fast, and cross-platform. So, I built Vexil Search. What is Vexil Search? Vexil Search is a blazing fast, cross-platform desktop search application. It instantly indexes and searches your local files without ever sending a single byte of your data to the cloud. The Tech Stack: Speed Meets Security To achieve the performance I needed while remaining lightweight, I chose a modern stack: Backend Engine: Rust Frontend UI: React 19 + TypeScript + Vite Desktop Framework: Tauri 2.0 Database: SQLite with FTS5 (Full-Text Search) By utilizing Tauri instead of Electron, Vexil Search looks and feels like a native application rather than a heavy web page bundled in a browser. It consumes a fraction of the RAM and CPU, which is exactly what a background search tool should do. The Engineering Journey: Overcoming the Hard Problems Building a native desktop app that scales gracefully to thousands of files is no easy feat. Over the last few weeks of development, the project hit some incredible milestones that I am thrilled to share: A Custom, High-Performance Indexing Engine We completely overhauled the core indexing engine in Rust. We built a highly parallelized directory crawler optimized for minimal memory footprint. The result is an engine that launches its background threads in milliseconds and can index your directories incredibly fast, while keeping system resources free for your actual work. Cross-Platform Native Builds One of the hardest parts of desktop app development is distribution. We invested heavily in an automated CI/CD pipeline. Today, Vexil Sea
A free VIN decode that always forwards every paste to live NHTSA DecodeVinValues pays upstream cost when users typo a check digit, paste seventeen zeros, or retry the same invalid string. Positive ETag caches and make-pattern warmup (covered elsewhere) store successful bodies. This post is different: a negative cache for VINs you already know are invalid or that vPIC already refused, so bad digits do not hammer NHTSA on every retry. The goal is honest short-circuit: remember "this normalized VIN is not worth another upstream call for a while," show a clear invalid/error state, and never invent a successful decode card from a negative entry. Use a negative cache when: Client-side checks (length, charset, check digit) already fail before HTTP Upstream returned a clear "no decode / error / empty Results" for that VIN The same bad paste repeats within a short TTL (fat-finger retries, bot loops) Do not use negative cache to store successful DecodeVinValues bodies (ETag / warmup territory), invent folklore Make/Model/Year, suppress live calls forever (bound TTL), or treat 429/outages as permanent "invalid VIN." When the entry expires or the failure was transient (5xx, timeout), allow a live retry. Client-invalid shapes can use a longer TTL than soft upstream empties. Separate client-invalid (never call upstream) from upstream-negative (you called, got a clear no-decode). Both can live in one map keyed by normalized VIN, with different reasons and TTLs. export type NegReason = | "client-length" | "client-charset" | "client-check-digit" | "upstream-empty" | "upstream-error"; export type NegEntry = { vinNormalized: string; reason: NegReason; storedAt: number; // epoch ms ttlMs: number; message: string; // user-safe, no invented specs }; export type NegStore = Map ; const CLIENT_TTL_MS = 60 * 60 * 1000; // 1h for obvious typos const UPSTREAM_TTL_MS = 15 * 60 * 1000; // 15m for empty/error bodies export function normalizeVin(raw: string): string { return raw.trim().toUpperCase
Article URL: https://iminafleeting.com/ Comments URL: https://news.ycombinator.com/item?id=50018088 Points: 54 # Comments: 16
Notifio is a desktop app: it sits on your Mac or Windows machine, watches rental search pages, and raises a desktop notification and an email when a listing appears that was not there before. The website has to show that to somebody who has not installed it. The normal answer is a screen recording. There are four things to demonstrate, so that is four recordings, and I did not make any of them. The home page has four looping demos built out of DOM and framer-motion instead: an activity log ticking over, a browser page gaining a row, a macOS notification and a mail client, and an automated reply being typed into a form. This post is about two things those four have in common. One is a cancellation pattern that every async animation loop needs and that is easy to get subtly wrong. The other is a rule about what a demo is allowed to claim. Not ideology. Four reasons that all turned out to be practical. A recording of a desktop app goes stale the moment the app's UI changes, and it goes stale silently: the video keeps playing, it just shows last quarter's window. These demos are built from the same design tokens as the site, so a colour or a radius change reaches them. A recording is also a single fixed size. These sit in a responsive layout, in consecutive rows that mirror each other: the browser demo with its text column on the left, then the notification demo with its text column on the right. Two rows that mirror each other have to agree about height, so the constant is duplicated on purpose: // Matches NotificationDemo height exactly const DEMO_HEIGHT = 320; That line is in both components. I would rather it were in one place, but it is doing real work, and the comment is there so that whoever changes one number knows there is a second one. Then there is weight. Four autoplaying videos on a landing page is a lot of bytes before anything is readable, and all four would need poster frames to not be a grey rectangle on a slow connection. And last, the text in a demo i
QR-code login looks safe. You scan a code, approve on your phone, and the computer is signed in. No password typed, nothing to phish. We run ClientN, an anonymous sign-in service, and our own QR flow had the same hole most QR logins have. This post is about what that hole was and the four changes we shipped to close it. The attacker opens a real website that uses ClientN and starts a sign-in. The site shows a QR code and a short match code. The attacker copies that QR code onto a page they control: a fake "scan to claim your reward" page, a fake support chat, anything. The victim scans it. Their phone opens the real ClientN page, on the real domain, with a valid TLS certificate. They see a match code, and the fake page shows the same one, because the attacker copied it. The victim approves. The website signs in the attacker's browser, because that is the browser that started the request. Nothing was faked on our side. The victim approved a real request, just not one they started. Match codes don't help when the attacker can show the same code. Passkeys don't help either: the passkey proves the victim is the victim, not that the victim is sitting at the computer that asked. There was a second, smaller problem. If you were already signed in to ClientN, approving a website was one tap on "Confirm". No fingerprint. Anyone holding your unlocked phone could approve sign-ins. Approving a website sign-in now always asks for the passkey again, and the WebAuthn challenge is tied to that one sign-in request. Having a ClientN session cookie is no longer enough to approve anything. When the person signs in on the same device, the site redirects to ClientN and ClientN redirects back. This works much like OAuth's PKCE: When the site creates the request, it sends a code_challenge (a SHA-256 hash of a random secret it keeps). After approval, ClientN redirects back to the site's registered return address with a one-time code. The site swaps the code at POST /api/v1/sessions/{id}/exch