<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community</title>
    <description>The most recent home feed on DEV Community.</description>
    <link>https://dev.to</link>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed"/>
    <language>en</language>
    <item>
      <title>Spring LDAP's Test Server Exposed a Fixed Admin Credential</title>
      <dc:creator>OnaEiuspkz</dc:creator>
      <pubDate>Thu, 03 Dec 2026 13:38:58 +0000</pubDate>
      <link>https://dev.to/onaeiuspkz/spring-ldaps-test-server-exposed-a-fixed-admin-credential-4dle</link>
      <guid>https://dev.to/onaeiuspkz/spring-ldaps-test-server-exposed-a-fixed-admin-credential-4dle</guid>
      <description>&lt;h1&gt;
  
  
  Spring LDAP's Test Server Exposed a Fixed Admin Credential
&lt;/h1&gt;

&lt;p&gt;Spring LDAP's &lt;code&gt;spring-ldap-test&lt;/code&gt; artifact includes &lt;code&gt;EmbeddedLdapServer&lt;/code&gt;, a convenience service for tests. It was not a hardened production directory. Two defaults made CVE-2026-59367 serious when the fixture reached a shared network: the listener bound to every interface, and the administrative bind used a fixed credential built into the library.&lt;/p&gt;

&lt;p&gt;Spring published the advisory on November 19, 2026 and rated it critical. A test suite can start the service on a developer laptop without concern. A container with a published port, a shared CI agent, or a lab network changes the security boundary. The service then becomes a reachable LDAP administrator with a known password.&lt;/p&gt;

&lt;h2&gt;
  
  
  Impact is limited to the fixture, but the fixture may hold real test data
&lt;/h2&gt;

&lt;p&gt;An attacker who can reach the port can read, add, modify, and delete entries in the embedded directory. The same access can disrupt tests that depend on those entries. The directory normally contains synthetic users and groups, but teams sometimes load fixtures that resemble production object names, service accounts, or authorization groups.&lt;/p&gt;

&lt;p&gt;The vulnerability is not a flaw in an application that merely depends on Spring LDAP. The affected condition is a running &lt;code&gt;EmbeddedLdapServer&lt;/code&gt;, either started directly or through Spring LDAP test support. Spring's advisory lists the affected branches and fixed releases, including Spring LDAP 4.1.3 and 4.0.7 in the open-source line. Enterprise-only maintenance releases cover several older branches.&lt;/p&gt;

&lt;h2&gt;
  
  
  Find the listener before searching for an exploit
&lt;/h2&gt;

&lt;p&gt;The most useful response starts with process and network inventory. Search build agents and container hosts for Java processes that load &lt;code&gt;spring-ldap-test&lt;/code&gt;. Check listening sockets that belong to test JVMs. Inspect CI job definitions and Docker Compose files for published LDAP ports. A loopback-only test may have the unsafe credential but no untrusted network path, while a container bound to &lt;code&gt;0.0.0.0&lt;/code&gt; can expose both problems at once.&lt;/p&gt;

&lt;p&gt;Application logs can show unexpected LDAP searches or directory changes during a test run. The fixture may not have the same audit capabilities as a production directory, so preserve container logs, process details, and the test workspace before rebuilding. If the service held passwords or tokens, rotate them even when the data was expected to be disposable. A known admin password on a reachable service is enough reason to treat the contents as compromised.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fixes and operating changes
&lt;/h2&gt;

&lt;p&gt;Upgrade to the fixed Spring LDAP version for the maintenance line in use. Build a replacement CI image instead of patching a mutable test container in place. Remove published LDAP ports from local compose files, bind fixtures to loopback when they must run on a workstation, and put shared runners behind network controls that deny unsolicited inbound traffic.&lt;/p&gt;

&lt;p&gt;Do not place the fixed test fixture on an internet-facing host and treat the upgrade as permission to expose it. Test services belong in disposable networks with minimal data. After the change, verify that a port scan from another runner or developer network cannot reach the LDAP listener. Then review whether prior jobs used real credentials in fixtures and rotate those values if they did.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://spring.io/security/cve-2026-59367/" rel="noopener noreferrer"&gt;Spring Security Advisory CVE-2026-59367&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>cybersecurity</category>
      <category>vulnerability</category>
      <category>securityoperations</category>
    </item>
    <item>
      <title>How We Built 17 Zero-Upload Legal PDF Tools Under Strict CSP (connect-src 'self')</title>
      <dc:creator>尹扬</dc:creator>
      <pubDate>Thu, 03 Dec 2026 13:38:31 +0000</pubDate>
      <link>https://dev.to/_b5ba927ede438d9a13a6fe/how-we-built-17-zero-upload-legal-pdf-tools-under-strict-csp-connect-src-self-4g0</link>
      <guid>https://dev.to/_b5ba927ede438d9a13a6fe/how-we-built-17-zero-upload-legal-pdf-tools-under-strict-csp-connect-src-self-4g0</guid>
      <description>&lt;p&gt;Every cloud PDF tool asks you to do the same thing: upload your files. For most documents, that's fine. For litigation files — medical records, privileged memos, discovery productions — uploading the file is the problem. Not the feature. The problem.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://batesdesk.com" rel="noopener noreferrer"&gt;BatesDesk&lt;/a&gt; started from a single constraint: a Bates stamping tool for litigation PDFs that never uploads anything. Not "we encrypt it in transit." Not "we delete it after 24 hours." Never. The file never leaves the browser.&lt;/p&gt;

&lt;p&gt;That constraint shaped every technical decision. Here's how it works, and the hard parts we hit along the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Don't ask for trust. Make it verifiable.
&lt;/h2&gt;

&lt;p&gt;"Zero-upload" is a claim any site can print. So we built the product so you don't have to believe us:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open &lt;a href="https://batesdesk.com" rel="noopener noreferrer"&gt;BatesDesk&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Press F12, go to the Network tab.&lt;/li&gt;
&lt;li&gt;Import a PDF, stamp it, export the ZIPs.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You will see zero outbound file requests. That is the whole security story, and it takes thirty seconds to check. We even wrote an &lt;a href="https://batesdesk.com/security" rel="noopener noreferrer"&gt;IT verification guide&lt;/a&gt; for firm IT teams to do exactly this.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. The CSP is the product
&lt;/h2&gt;

&lt;p&gt;The enforcement mechanism is a strict Content-Security-Policy with &lt;code&gt;connect-src 'self'&lt;/code&gt;. Every font (IBM Plex) and every PDF worker is self-hosted. No third-party scripts, no Google Fonts, no analytics beacon that could carry file data.&lt;/p&gt;

&lt;p&gt;This is stricter than it sounds. A single CDN font or a single telemetry script would break the guarantee, so the build has to treat "no external requests" as a release-blocking test, not a nice-to-have.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. CropBox-aware Shrink-to-Fit
&lt;/h2&gt;

&lt;p&gt;A Bates stamp has to sit in the margin without covering evidence text. The naive approach — shrink every page by a fixed 10% — fails on real discovery files: rotated pages, non-zero CropBoxes, custom UserUnit scaling.&lt;/p&gt;

&lt;p&gt;So instead of guessing, we measure each page's effective CropBox, compute the exact header/footer clearance that page needs, and reserve it before placing the stamp. You inspect the result on a real PDF preview canvas before anything is exported. If the clearance is wrong, you see it before the production goes out the door, not after opposing counsel calls.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Redaction that actually burns
&lt;/h2&gt;

&lt;p&gt;Most "redaction" in browser tools is a black rectangle drawn over the text. The text is still in the file — select it, copy it, and the privilege is gone.&lt;/p&gt;

&lt;p&gt;Our &lt;a href="https://batesdesk.com/tools/redaction" rel="noopener noreferrer"&gt;redaction tool&lt;/a&gt; re-renders the page at 300 DPI with the redacted region permanently burned in. It auto-scans for SSNs and email addresses, and exports an OWASP-safe Privilege_Log.csv so the redaction itself is auditable.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Preflight: fail before you stamp, not mid-batch
&lt;/h2&gt;

&lt;p&gt;Nothing kills a production deadline like a batch that dies on file 47 of 200. So the stamper runs a litigation preflight before anything is stamped: encrypted files, digital signatures, XFA forms, visible annotations, prior Bates stamps, and hidden non-visible text are all flagged upfront.&lt;/p&gt;

&lt;p&gt;The same "fail early" thinking runs through the rest of the suite: the &lt;a href="https://batesdesk.com/tools/pdf-page-counter" rel="noopener noreferrer"&gt;page counter&lt;/a&gt; flags encrypted files before you plan a production, and the &lt;a href="https://batesdesk.com/tools/bates-range-calculator" rel="noopener noreferrer"&gt;range calculator&lt;/a&gt; works out exact start/end Bates ranges before you commit to them.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Two ZIPs, not one
&lt;/h2&gt;

&lt;p&gt;A production that leaks internal filenames to opposing counsel is a malpractice problem, not a UX bug. So every export is split:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;External Production ZIP:&lt;/strong&gt; stamped PDFs only, with Bates-only filenames. Zero internal names.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Internal Records ZIP:&lt;/strong&gt; an OWASP-safe &lt;code&gt;Production_Log.csv&lt;/code&gt; plus a SHA-256 &lt;code&gt;manifest.v1.json&lt;/code&gt; that stays inside your firm.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And the &lt;a href="https://batesdesk.com/tools/verify-production" rel="noopener noreferrer"&gt;Verify Production tool&lt;/a&gt; checks a stamped production against that manifest to catch tampering, missing files, or renames — the kind of check that matters when a production comes back months later and someone asks "is this what we sent?"&lt;/p&gt;

&lt;h2&gt;
  
  
  7. The long tail: federal forms and .eml
&lt;/h2&gt;

&lt;p&gt;Once the local pipeline existed, the same constraint — never upload — kept producing tools:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Federal forms:&lt;/strong&gt; fill and flatten the original U.S. District Court Summons (AO 440), Subpoena to Testify (AO 88), and Subpoena to Produce Documents (AO 88B), or any fillable court PDF, entirely locally. (&lt;a href="https://batesdesk.com/tools/federal-forms" rel="noopener noreferrer"&gt;federal forms&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Email to PDF:&lt;/strong&gt; drop in raw &lt;code&gt;.eml&lt;/code&gt; files and get searchable court-exhibit PDFs with full RFC 5322 headers, TOC bookmarks, inline PDF/image attachments, and a SHA-256 Certificate of Conversion — parsed entirely in the browser. (&lt;a href="https://batesdesk.com/tools/email-to-pdf" rel="noopener noreferrer"&gt;email to PDF&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Filing assembler:&lt;/strong&gt; combine a motion, exhibits, auto slip sheets, a Table of Exhibits, and clickable PDF bookmarks, with a size guard for court portals. (&lt;a href="https://batesdesk.com/tools/filing-assembler" rel="noopener noreferrer"&gt;filing assembler&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  8. The full list: 17 tools, all free, no login
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;a href="https://batesdesk.com" rel="noopener noreferrer"&gt;Bates Stamper&lt;/a&gt; — the core tool&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://batesdesk.com/tools/redaction" rel="noopener noreferrer"&gt;Privilege Redaction&lt;/a&gt; — 300 DPI burn, SSN/email scan&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://batesdesk.com/tools/metadata-stripper" rel="noopener noreferrer"&gt;Metadata Stripper&lt;/a&gt; — Info, XMP, PieceInfo, attachments, EXIF/GPS&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://batesdesk.com/tools/watermark" rel="noopener noreferrer"&gt;Document Watermark&lt;/a&gt; — CONFIDENTIAL / DRAFT stamps&lt;/li&gt;
&lt;li&gt;&lt;a href="https://batesdesk.com/tools/bates-range-calculator" rel="noopener noreferrer"&gt;Bates Range Calculator&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://batesdesk.com/tools/pdf-page-counter" rel="noopener noreferrer"&gt;PDF Page Counter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://batesdesk.com/tools/verify-production" rel="noopener noreferrer"&gt;Verify Production&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://batesdesk.com/tools/add-margins-to-pdf" rel="noopener noreferrer"&gt;Add PDF Margins&lt;/a&gt; — CropBox-aware&lt;/li&gt;
&lt;li&gt;&lt;a href="https://batesdesk.com/tools/filing-assembler" rel="noopener noreferrer"&gt;Filing Assembler&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://batesdesk.com/tools/page-extractor" rel="noopener noreferrer"&gt;Page Extractor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://batesdesk.com/tools/pdf-compressor" rel="noopener noreferrer"&gt;PDF Compressor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://batesdesk.com/tools/pleading-paper" rel="noopener noreferrer"&gt;Pleading Paper&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://batesdesk.com/tools/email-to-pdf" rel="noopener noreferrer"&gt;Email to PDF&lt;/a&gt; — .eml to court-exhibit PDF&lt;/li&gt;
&lt;li&gt;&lt;a href="https://batesdesk.com/tools/federal-forms/summons" rel="noopener noreferrer"&gt;Federal Forms: AO 440 Summons&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://batesdesk.com/tools/federal-forms/subpoena-testify" rel="noopener noreferrer"&gt;Federal Forms: AO 88 Subpoena to Testify&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://batesdesk.com/tools/federal-forms/subpoena-documents" rel="noopener noreferrer"&gt;Federal Forms: AO 88B Subpoena to Produce Documents&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://batesdesk.com/tools/federal-forms/custom" rel="noopener noreferrer"&gt;Federal Forms: Custom fillable PDF&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  9. What actually leaves the device
&lt;/h2&gt;

&lt;p&gt;Honesty matters here, so: two things leave the device, and both are disclosed on the site. An opt-in Early Access waitlist takes only your email (with a 6-digit verification code) — no PDFs, no filenames. And anonymous aggregate event counts are sent so we can see which tools get used — counts and codes only, never filenames or file hashes.&lt;/p&gt;

&lt;p&gt;Files, filenames, and hashes never leave. That is the line, and the CSP is what holds it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://batesdesk.com" rel="noopener noreferrer"&gt;BatesDesk&lt;/a&gt; is free, no login, no watermark. If you work in legal tech, I'd genuinely like to know what breaks — the preflight catches a lot, but real discovery files are endlessly weird.&lt;/p&gt;

</description>
      <category>pdf</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>privacy</category>
    </item>
    <item>
      <title>The Expensive Part of Turning a Blog Post Into Video Is Rework</title>
      <dc:creator>Germey</dc:creator>
      <pubDate>Thu, 03 Dec 2026 13:38:03 +0000</pubDate>
      <link>https://dev.to/germey/the-expensive-part-of-turning-a-blog-post-into-video-is-rework-o7p</link>
      <guid>https://dev.to/germey/the-expensive-part-of-turning-a-blog-post-into-video-is-rework-o7p</guid>
      <description>&lt;p&gt;Turning a good technical post into a watchable video sounds like a small repackaging job. In practice, it is where otherwise sensible content workflows start to fall apart.&lt;/p&gt;

&lt;p&gt;The article has its own rhythm. The voiceover runs longer than expected. A generated visual looks polished but explains the wrong thing. One scene uses a clean product-demo style while the next suddenly looks like a cinematic trailer. By the time the mismatch becomes obvious, several assets have already been produced and need to be made again.&lt;/p&gt;

&lt;p&gt;That is the real pain in article-to-video work: not generation, but rework.&lt;/p&gt;

&lt;p&gt;The better approach is to treat the video as a small build pipeline. Each stage should produce something cheap to inspect before the next, more expensive stage begins. This is less glamorous than the promise of “one prompt to a finished video,” but it is far more useful when you care about accuracy, pace, and repeatability.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with the spoken version, not the article
&lt;/h2&gt;

&lt;p&gt;A blog post is written for a reader who can pause, scan a paragraph, jump to a code block, or reread a sentence. A video gives the viewer far less control. If you simply read the post aloud, the result usually feels slow and oddly formal.&lt;/p&gt;

&lt;p&gt;I like to begin by extracting the argument rather than summarizing every section. What problem does the post solve? What changes for the viewer after watching? Which details truly need to be seen on screen?&lt;/p&gt;

&lt;p&gt;That becomes a short scene sheet. Each scene only needs a few fields:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the idea the viewer should understand&lt;/li&gt;
&lt;li&gt;the narration they will hear&lt;/li&gt;
&lt;li&gt;the visual evidence they should see&lt;/li&gt;
&lt;li&gt;the expected duration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is not a screenplay in the Hollywood sense. It is closer to an interface contract between writing, image generation, voice synthesis, video generation, and editing.&lt;/p&gt;

&lt;p&gt;The narration deserves the most attention because it controls almost everything downstream. A scene with twelve seconds of speech cannot be casually paired with a six-second clip. A sentence that mentions three concepts may require three visual changes. Those timing problems are much cheaper to fix in text than after rendering.&lt;/p&gt;

&lt;p&gt;Read every line aloud. If it sounds like documentation, rewrite it. If you run out of breath, shorten it. If a sentence needs a semicolon to survive, it probably belongs in the article, not the voiceover.&lt;/p&gt;

&lt;h2&gt;
  
  
  Make the visuals prove the narration
&lt;/h2&gt;

&lt;p&gt;AI image tools make it very easy to produce attractive filler. That is exactly why visual review matters.&lt;/p&gt;

&lt;p&gt;For a developer tutorial, the image should do some explanatory work. If the narration discusses a request moving through an API, show the request, service, and response as a simple flow. If it explains a ranking monitor, show the keyword, scheduled job, stored result, and trend. A generic laptop surrounded by glowing particles may look impressive, but it is not evidence.&lt;/p&gt;

&lt;p&gt;A useful prompt describes the job of the frame before its style. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Show a developer workflow where a Markdown article is transformed into
four scene cards. Each card contains a short voiceover line, a visual brief,
and a duration. Keep the interface readable, use restrained motion-design
styling, and avoid decorative text that does not support the explanation.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Style consistency is easier when all scenes share a small visual vocabulary. Reuse the same palette, typography, framing, icon treatment, and representation of recurring subjects. A reference image can help, but a compact written style guide is also valuable because it remains editable and can live beside the project files.&lt;/p&gt;

&lt;p&gt;Do not generate every frame immediately. Render one scene that contains the hardest visual idea and another that represents the most common scene. Put them next to each other. If they look like they belong to different videos, the prompt system is not ready for batch work.&lt;/p&gt;

&lt;h2&gt;
  
  
  Audio is a design constraint
&lt;/h2&gt;

&lt;p&gt;Voice selection is often treated as a finishing touch, even though it changes the perceived speed and personality of the whole piece.&lt;/p&gt;

&lt;p&gt;A tutorial usually benefits from a voice that is clear and relaxed rather than theatrical. Generate a short sample using a sentence that includes the technical vocabulary in your script. Product names, acronyms, file extensions, and API terms are where pronunciation issues tend to appear.&lt;/p&gt;

&lt;p&gt;Listen for pauses as well as pronunciation. A voice can sound natural in isolation but still create awkward scene boundaries. Small punctuation changes often fix the rhythm without touching any media assets.&lt;/p&gt;

&lt;p&gt;Once the voice is acceptable, generate the narration scene by scene instead of as one long file. Separate clips are easier to replace, retime, and match with visuals. They also make failures local: a bad pronunciation in scene five should not force you to regenerate the first four scenes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Animate a sample before starting the batch
&lt;/h2&gt;

&lt;p&gt;Moving from a still image to video introduces a new class of errors. Text may warp, interface elements may drift, and a subtle camera move may become an unnecessary orbit around the subject.&lt;/p&gt;

&lt;p&gt;This is where a sample clip saves the most time. Pick one representative frame, generate a short animation, and review it with the real narration. You are checking whether the motion supports the explanation, whether the frame remains stable, and whether the duration feels natural.&lt;/p&gt;

&lt;p&gt;For technical content, restrained motion usually wins. A small push-in, a controlled pan, or a focused highlight can direct attention without damaging the information in the frame. The goal is not to prove that the scene is AI-generated. The goal is to keep the viewer oriented.&lt;/p&gt;

&lt;p&gt;When the sample works, carry the same motion rules into the remaining scenes. That turns an artistic preference into a repeatable production constraint.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep the last mile boring with FFmpeg
&lt;/h2&gt;

&lt;p&gt;Creative tools are useful for scripting, voices, images, and generated clips. Final assembly is often better handled by a deterministic local tool.&lt;/p&gt;

&lt;p&gt;FFmpeg is a good fit because the process can be saved as code, rerun after a change, and inspected when something goes wrong. A simple scene assembly script might look like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/usr/bin/env bash&lt;/span&gt;
&lt;span class="nb"&gt;set&lt;/span&gt; -euo pipefail

mkdir -p build

&lt;span class="nv"&gt;videos&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;
  &lt;span class="s2"&gt;"assets/video/scene-01.mp4"&lt;/span&gt;
  &lt;span class="s2"&gt;"assets/video/scene-02.mp4"&lt;/span&gt;
  &lt;span class="s2"&gt;"assets/video/scene-03.mp4"&lt;/span&gt;
&lt;span class="o"&gt;)&lt;/span&gt;

&lt;span class="nv"&gt;voices&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;
  &lt;span class="s2"&gt;"assets/audio/scene-01.mp3"&lt;/span&gt;
  &lt;span class="s2"&gt;"assets/audio/scene-02.mp3"&lt;/span&gt;
  &lt;span class="s2"&gt;"assets/audio/scene-03.mp3"&lt;/span&gt;
&lt;span class="o"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; i &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="s2"&gt;"${!videos[@]}"&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt;
  &lt;span class="nv"&gt;scene&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s2"&gt;"%02d"&lt;/span&gt; &lt;span class="nv"&gt;$(&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;i + 1&lt;span class="o"&gt;)&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;

  ffmpeg -y \
    -i &lt;span class="s2"&gt;"${videos[$i]}"&lt;/span&gt; \
    -i &lt;span class="s2"&gt;"${voices[$i]}"&lt;/span&gt; \
    -map 0:v:0 \
    -map 1:a:0 \
    -c:v copy \
    -c:a aac \
    -b:a 192k \
    -ar 48000 \
    -ac 2 \
    -af &lt;span class="s2"&gt;"apad"&lt;/span&gt; \
    -shortest \
    -movflags +faststart \
    &lt;span class="s2"&gt;"build/scene-${scene}.mp4"&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The explicit mapping keeps the video from the first input and the narration from the second. Copying the video stream avoids another generation of video encoding, while converting audio to AAC improves MP4 compatibility. &lt;code&gt;apad&lt;/code&gt; can fill missing audio with silence, &lt;code&gt;-shortest&lt;/code&gt; prevents an output from running beyond its useful media, and &lt;code&gt;+faststart&lt;/code&gt; moves MP4 metadata into a friendlier position for web playback.&lt;/p&gt;

&lt;p&gt;After the scene files are ready, they can be concatenated, captioned, or taken into a traditional editor. The important point is that assembly no longer depends on remembering a sequence of clicks.&lt;/p&gt;

&lt;p&gt;A small project layout also helps:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;article-video/
├── source/
│   └── article.md
├── script/
│   └── scenes.yaml
├── assets/
│   ├── images/
│   ├── audio/
│   └── video/
├── build/
└── assemble.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now the video has reproducible inputs. If the introduction changes, you can replace its script, audio, and clip without disturbing the rest of the project.&lt;/p&gt;

&lt;h2&gt;
  
  
  The workflow is really about managing uncertainty
&lt;/h2&gt;

&lt;p&gt;The strongest article-to-video setup is not the one with the most models or the longest automation graph. It is the one that finds mistakes while they are still cheap.&lt;/p&gt;

&lt;p&gt;Review the scene sheet before generating media. Review voice and image samples before batching. Review one animated clip before rendering the set. Keep the final assembly scripted. These gates may look slower on a diagram, but they reduce the kind of late-stage failures that consume an afternoon.&lt;/p&gt;

&lt;p&gt;There is still plenty of room for automation. An agent can read the source, propose scenes, draft visual prompts, generate sample assets, and prepare an assembly script. The human role shifts toward editing the argument and checking whether the media actually communicates it.&lt;/p&gt;

&lt;p&gt;That is a healthier division of labor than asking a model to produce an entire video in one attempt. Let generative tools explore. Let deterministic tools assemble. Put a review point between the two.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reference
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://platform.acedata.cloud/blog/from-blog-to-video-with-acedatacloud-studio?lang=en&amp;amp;inviter_id=484695ca-9aeb-43eb-93c9-cc4a9a94e363" rel="noopener noreferrer"&gt;From Blog to Video with Ace Data Cloud Studio&lt;/a&gt;&lt;/p&gt;

</description>
      <category>video</category>
      <category>ai</category>
      <category>ffmpeg</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Laravel Octane Tutorial: FrankenPHP vs RoadRunner vs Swoole</title>
      <dc:creator>devTalk</dc:creator>
      <pubDate>Thu, 03 Dec 2026 13:37:44 +0000</pubDate>
      <link>https://dev.to/devtalk94/laravel-octane-tutorial-frankenphp-vs-roadrunner-vs-swoole-4ono</link>
      <guid>https://dev.to/devtalk94/laravel-octane-tutorial-frankenphp-vs-roadrunner-vs-swoole-4ono</guid>
      <description>&lt;p&gt;Laravel applications are commonly deployed with PHP-FPM behind Nginx or Apache. It is a proven approach, but PHP typically follows a request-based lifecycle: the framework is bootstrapped for each request. As traffic grows, that repeated startup work can become part of the time your application spends responding.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Laravel Octane uses long-lived application workers.&lt;/strong&gt; It boots your Laravel application once and keeps it in memory while workers handle multiple requests. This can reduce repeated bootstrapping overhead, but it also changes how you must manage application state, memory, deployments, and worker restarts.&lt;/p&gt;

&lt;p&gt;This guide explains how Octane works, compares FrankenPHP, RoadRunner, and Swoole, walks through installation and deployment, and covers the production issues you should understand before switching.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Is Laravel Octane?
&lt;/h2&gt;

&lt;p&gt;Laravel Octane is an application-server integration that serves Laravel through high-performance servers, including FrankenPHP, Open Swoole, Swoole, and RoadRunner. Octane boots the application and keeps it in memory, then reuses its workers to handle subsequent requests.&lt;/p&gt;

&lt;p&gt;That does not automatically make every database query, external API call, or business operation faster. Octane is most useful when repeated application bootstrapping is a meaningful part of your request cost and your application is safe to run in a long-lived worker environment.&lt;/p&gt;

&lt;h2&gt;
  
  
  PHP-FPM vs Laravel Octane
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Area&lt;/th&gt;
&lt;th&gt;Traditional PHP-FPM&lt;/th&gt;
&lt;th&gt;Laravel Octane&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Application lifecycle&lt;/td&gt;
&lt;td&gt;Traditional PHP request lifecycle&lt;/td&gt;
&lt;td&gt;Long-lived application workers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bootstrapping&lt;/td&gt;
&lt;td&gt;Normally repeated for each request&lt;/td&gt;
&lt;td&gt;Application remains loaded between requests&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;In-process state&lt;/td&gt;
&lt;td&gt;Usually discarded at request end&lt;/td&gt;
&lt;td&gt;Can survive between requests if retained&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Operations&lt;/td&gt;
&lt;td&gt;Widely supported hosting model&lt;/td&gt;
&lt;td&gt;Requires worker and application-server management&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Best fit&lt;/td&gt;
&lt;td&gt;General-purpose PHP deployments&lt;/td&gt;
&lt;td&gt;Workloads that benefit from a long-running application process&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  FrankenPHP vs RoadRunner vs Swoole
&lt;/h2&gt;

&lt;p&gt;Octane relies on an application server to manage incoming requests and long-running workers. The server you choose affects installation, runtime dependencies, deployment, and operational practices.&lt;/p&gt;

&lt;h3&gt;
  
  
  FrankenPHP
&lt;/h3&gt;

&lt;p&gt;FrankenPHP is a PHP application server built on top of Caddy. It provides an integrated web-server and PHP runtime approach and supports worker mode.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A useful option if you want an integrated web server and PHP application runtime.&lt;/li&gt;
&lt;li&gt;Can simplify some container-based deployments.&lt;/li&gt;
&lt;li&gt;Octane's installer can download and install the FrankenPHP binary.&lt;/li&gt;
&lt;li&gt;Check the PHP version bundled with the binary; updating system PHP does not necessarily update FrankenPHP's bundled PHP runtime.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  RoadRunner
&lt;/h3&gt;

&lt;p&gt;RoadRunner is a Go-based application server that manages PHP worker processes. It communicates with those workers and controls their lifecycle.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Useful when you want a separate process manager for PHP workers.&lt;/li&gt;
&lt;li&gt;Requires the RoadRunner binary and the relevant PHP packages.&lt;/li&gt;
&lt;li&gt;Its binary and configuration should be versioned and tested as part of your deployment.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Swoole and Open Swoole
&lt;/h3&gt;

&lt;p&gt;Swoole is a PHP extension that provides server, networking, coroutine, and asynchronous capabilities. Open Swoole is a community-maintained fork in the same ecosystem. Octane supports Swoole-based deployments, but you must install a compatible extension in your PHP runtime.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Useful for teams already familiar with the Swoole ecosystem.&lt;/li&gt;
&lt;li&gt;Can provide coroutine and asynchronous capabilities when application code is designed to use them.&lt;/li&gt;
&lt;li&gt;Requires extension installation and compatibility testing.&lt;/li&gt;
&lt;li&gt;Blocking code does not become asynchronous automatically.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Which one should you choose?
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;Consider it when&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;FrankenPHP&lt;/td&gt;
&lt;td&gt;You want an integrated PHP application server and a container-friendly deployment model.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RoadRunner&lt;/td&gt;
&lt;td&gt;You prefer a separate Go-based process manager for PHP workers.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Swoole / Open Swoole&lt;/td&gt;
&lt;td&gt;Your team needs or already operates the Swoole extension ecosystem.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;There is no universally fastest choice. Performance depends on PHP and package versions, extensions, application code, infrastructure, concurrency, and the workload being tested. Compare the options on the same hardware with the same application and traffic profile.&lt;/p&gt;

&lt;h2&gt;
  
  
  Requirements Before Installing Octane
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A Laravel application and PHP version supported by the Octane release you plan to install.&lt;/li&gt;
&lt;li&gt;Composer and permission to install the package.&lt;/li&gt;
&lt;li&gt;The runtime binary or PHP extension required by your chosen server.&lt;/li&gt;
&lt;li&gt;A process manager or container orchestrator for production worker lifecycle.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Check the current Octane documentation and Composer constraints before selecting versions. Do not assume a command or PHP version from an older tutorial is still correct.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Install Laravel Octane
&lt;/h2&gt;

&lt;p&gt;From your Laravel project directory, install the package:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer require laravel/octane
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Publish the Octane configuration and complete the installation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan octane:install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Follow the installer prompts to select your application server. For a predictable automated setup, specify the server explicitly where supported by your installed Octane version. For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan octane:install --server=frankenphp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RoadRunner requires its related packages and binary. Swoole requires a compatible PHP extension. Follow the server-specific section of the official documentation for the exact prerequisites.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Start the Octane Server
&lt;/h2&gt;

&lt;p&gt;The standard Artisan command for starting Octane is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan octane:start --server=frankenphp --host=127.0.0.1 --port=8000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For a RoadRunner deployment, select RoadRunner instead:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan octane:start --server=roadrunner --host=127.0.0.1 --port=8000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The server option must match the server you installed and configured. Octane normally uses port 8000 unless you configure another port. For local testing, visit &lt;code&gt;http://127.0.0.1:8000&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Check the options available in your installed version with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan &lt;span class="nb"&gt;help&lt;/span&gt; octane:start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 3: Run Octane in Docker
&lt;/h2&gt;

&lt;p&gt;Octane can run inside Docker. The following is an illustrative container command pattern for an image that already contains the correct PHP runtime, required extensions, Composer dependencies, and FrankenPHP setup:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight docker"&gt;&lt;code&gt;&lt;span class="k"&gt;CMD&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"php"&lt;/span&gt;, &lt;span class="s2"&gt;"artisan"&lt;/span&gt;, &lt;span class="s2"&gt;"octane:start"&lt;/span&gt;,
     &lt;span class="s2"&gt;"--server=frankenphp"&lt;/span&gt;,
     &lt;span class="s2"&gt;"--host=0.0.0.0"&lt;/span&gt;,
     &lt;span class="s2"&gt;"--port=8000"&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For a complete image, start with a pinned, tested FrankenPHP image tag or digest, install the PHP extensions your application needs, install Composer dependencies during the image build, and copy only the required application files. The correct base image and extension installation steps depend on your Laravel and PHP versions.&lt;/p&gt;

&lt;p&gt;Do not copy development secrets into the image. Inject credentials at runtime through your deployment platform. Use correct file ownership, avoid running as root where your image and deployment support a non-root user, and configure a health check.&lt;/p&gt;

&lt;p&gt;In Docker Compose, the Octane service should listen on an interface reachable by the reverse-proxy service. You generally do not need to publish the Octane port publicly; keep it on the private application network.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Put Nginx in Front of Octane
&lt;/h2&gt;

&lt;p&gt;For many production deployments, Nginx or Apache remains in front of Octane. The web server can terminate TLS, serve static assets, apply request limits, and proxy dynamic requests to Octane.&lt;/p&gt;

&lt;p&gt;A simplified Nginx proxy location looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight nginx"&gt;&lt;code&gt;&lt;span class="n"&gt;server&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;listen&lt;/span&gt; &lt;span class="mi"&gt;80&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;server_name&lt;/span&gt; &lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="n"&gt;location&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;proxy_http_version&lt;/span&gt; &lt;span class="mf"&gt;1.1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

        &lt;span class="n"&gt;proxy_set_header&lt;/span&gt; &lt;span class="nc"&gt;Host&lt;/span&gt; $&lt;span class="n"&gt;http_host&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="n"&gt;proxy_set_header&lt;/span&gt; &lt;span class="no"&gt;X&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Forwarded&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;For&lt;/span&gt; $&lt;span class="n"&gt;proxy_add_x_forwarded_for&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="n"&gt;proxy_set_header&lt;/span&gt; &lt;span class="no"&gt;X&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Forwarded&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Proto&lt;/span&gt; $&lt;span class="n"&gt;scheme&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

        &lt;span class="n"&gt;proxy_pass&lt;/span&gt; &lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//127.0.0.1:8000;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is a minimal illustration, not a complete production Nginx configuration. Follow Laravel's current Octane Nginx example when configuring static-file handling, WebSocket upgrades, URI forwarding, and other details. Configure TLS at the proxy or load balancer, and ensure Laravel trusts forwarded headers only from known proxy addresses.&lt;/p&gt;

&lt;h2&gt;
  
  
  Understand the Long-Lived Worker Problem
&lt;/h2&gt;

&lt;p&gt;The most important difference between a traditional PHP request lifecycle and Octane is that memory can survive between requests.&lt;/p&gt;

&lt;h3&gt;
  
  
  Avoid retaining request-specific data
&lt;/h3&gt;

&lt;p&gt;Be careful with static properties, global variables, and singleton services that store the current user, request, tenant, or other request-specific information. If that state is not reset correctly, it can affect a later request handled by the same worker.&lt;/p&gt;

&lt;p&gt;Resolve request-specific values when they are needed. Use Laravel's supported scoped bindings and lifecycle patterns, and test that data from one user's request cannot appear in another user's response.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do not assume file or configuration changes are immediately loaded
&lt;/h3&gt;

&lt;p&gt;Octane keeps the application in memory. Changes to routes, configuration, or application code generally require the running server or workers to be reloaded. Treat worker reloads as part of your deployment process.&lt;/p&gt;

&lt;h3&gt;
  
  
  Monitor memory and recycle workers
&lt;/h3&gt;

&lt;p&gt;Long-running workers can accumulate memory because of retained objects, large datasets, or third-party libraries. Octane provides a maximum request count option to gracefully recycle workers. The documented default is 500 requests, and you can adjust it with &lt;code&gt;--max-requests&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan octane:start --server=frankenphp --max-requests=250
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Choose a value based on observed memory behavior rather than copying a number from another environment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Configure Worker Counts
&lt;/h2&gt;

&lt;p&gt;Octane starts application request workers based on the available CPU cores by default. You can specify a worker count:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan octane:start --server=frankenphp --workers=4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Do not increase workers blindly. Each worker consumes memory, and additional workers can increase pressure on your database, cache, and external services. Measure memory per worker under realistic traffic and leave capacity for the operating system, proxy, and supporting services.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reload Workers After Deployment
&lt;/h2&gt;

&lt;p&gt;When you deploy new code, existing Octane workers may still have the previous application loaded. Include a reload step after the new release and required cache operations are ready:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan octane:reload
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For containerized deployments, a rolling replacement of containers may be a better fit. Ensure readiness checks pass before routing traffic to new instances, and allow old instances to drain gracefully. Test the deployment and rollback process before relying on it in production.&lt;/p&gt;

&lt;h2&gt;
  
  
  Benchmark Before and After
&lt;/h2&gt;

&lt;p&gt;Do not choose Octane based on a benchmark from a different machine or a simple hello-world route. Measure representative endpoints from your own application.&lt;/p&gt;

&lt;p&gt;Keep the PHP version, hardware, database, cache, data volume, and request mix consistent. Warm up the application and repeat each test. Track:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Requests per second&lt;/li&gt;
&lt;li&gt;Median and 95th/99th percentile response time&lt;/li&gt;
&lt;li&gt;CPU and memory usage&lt;/li&gt;
&lt;li&gt;Error and timeout rates&lt;/li&gt;
&lt;li&gt;Database query count and duration&lt;/li&gt;
&lt;li&gt;External API latency&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Tools such as k6 and ApacheBench can generate load. A faster static endpoint does not prove that a database-heavy workflow will improve by the same amount.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common Production Problems
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Old code is still running after deployment
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Likely cause:&lt;/strong&gt; Existing workers still have the previous release loaded.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What to check:&lt;/strong&gt; Add Octane reload or controlled container replacement to the deployment pipeline. Verify that the new release is actually serving requests.&lt;/p&gt;

&lt;h3&gt;
  
  
  Worker memory keeps increasing
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Likely cause:&lt;/strong&gt; Retained objects, static state, large in-memory collections, or a library that does not release resources.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What to check:&lt;/strong&gt; Profile memory, inspect long-lived services, review static and singleton state, and tune worker recycling using measurements.&lt;/p&gt;

&lt;h3&gt;
  
  
  One user's data appears in another request
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Likely cause:&lt;/strong&gt; Request-specific state has been stored in a long-lived object or static property.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What to check:&lt;/strong&gt; Remove shared mutable request state. Add tests that send requests from different users through the same worker and verify data isolation.&lt;/p&gt;

&lt;h3&gt;
  
  
  Docker requests fail or time out
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Likely cause:&lt;/strong&gt; Missing PHP extensions, wrong runtime binary, incorrect permissions, wrong bind address, or a proxy networking issue.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What to check:&lt;/strong&gt; Review container logs, verify the server listens on the expected interface and port, and test connectivity from the proxy container to the Octane service.&lt;/p&gt;

&lt;h2&gt;
  
  
  Laravel Octane Production Checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Confirm Laravel, PHP, Octane, and application-server compatibility.&lt;/li&gt;
&lt;li&gt;Pin and test runtime and container image versions.&lt;/li&gt;
&lt;li&gt;Keep secrets outside the image and source repository.&lt;/li&gt;
&lt;li&gt;Run with appropriate filesystem permissions.&lt;/li&gt;
&lt;li&gt;Place the application server behind a trusted proxy or load balancer.&lt;/li&gt;
&lt;li&gt;Configure TLS, forwarded headers, request limits, and timeouts.&lt;/li&gt;
&lt;li&gt;Review singleton, static, and global state for request-data leaks.&lt;/li&gt;
&lt;li&gt;Set worker counts and recycling based on measured memory.&lt;/li&gt;
&lt;li&gt;Configure health checks, logs, metrics, and alerts.&lt;/li&gt;
&lt;li&gt;Include worker reload or controlled replacement in deployments.&lt;/li&gt;
&lt;li&gt;Load-test realistic endpoints and verify user-data isolation.&lt;/li&gt;
&lt;li&gt;Maintain and test a rollback plan.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Frequently Asked Questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Is Laravel Octane faster than PHP-FPM?
&lt;/h3&gt;

&lt;p&gt;Octane can reduce repeated application bootstrapping and improve performance for suitable workloads. Actual results depend on your application, infrastructure, and traffic. Benchmark before switching.&lt;/p&gt;

&lt;h3&gt;
  
  
  Which is better: FrankenPHP, RoadRunner, or Swoole?
&lt;/h3&gt;

&lt;p&gt;There is no universal winner. FrankenPHP offers an integrated PHP application server, RoadRunner manages PHP workers through a Go-based server, and Swoole provides extension-based server and coroutine capabilities. Choose based on your requirements and team's experience.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I use Laravel Octane with Docker?
&lt;/h3&gt;

&lt;p&gt;Yes. Run the Octane server as the container's foreground process, keep it on a private application network, and plan for health checks, secrets, worker lifecycle, and graceful replacement.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does Laravel Octane replace Nginx?
&lt;/h3&gt;

&lt;p&gt;Not necessarily. FrankenPHP includes web-server capabilities, but many production architectures still use Nginx or Apache in front of Octane for TLS termination, static assets, and reverse proxying.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do I need to change my Laravel code?
&lt;/h3&gt;

&lt;p&gt;Many applications need only limited changes, but you must review code that stores mutable state in singletons, static properties, or global variables. Long-lived workers make request-state leaks more important.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is Octane suitable for every Laravel project?
&lt;/h3&gt;

&lt;p&gt;No. A small application with low traffic may not gain enough to justify the additional operational complexity. Evaluate Octane when profiling shows that its execution model could improve your actual workload.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Laravel Octane gives Laravel applications a long-running worker model that can reduce repeated framework bootstrapping and improve performance for suitable workloads. FrankenPHP, RoadRunner, and Swoole provide different ways to run those workers, each with its own installation and operational trade-offs.&lt;/p&gt;

&lt;p&gt;The important part is not simply installing Octane and expecting an instant performance boost. Review application state, measure memory, plan worker restarts, secure the reverse-proxy boundary, and benchmark realistic user journeys.&lt;/p&gt;

&lt;p&gt;If your Laravel application is reaching performance limits, Octane is worth testing—but let profiling and repeatable measurements guide the decision.&lt;/p&gt;

&lt;h2&gt;
  
  
  Official Resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://laravel.com/docs/13.x/octane" rel="noopener noreferrer"&gt;Laravel 13 Octane documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://laravel.com/docs/13.x/deployment" rel="noopener noreferrer"&gt;Laravel deployment documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://frankenphp.dev/" rel="noopener noreferrer"&gt;FrankenPHP official website&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://roadrunner.dev/" rel="noopener noreferrer"&gt;RoadRunner official website&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://openswoole.com/" rel="noopener noreferrer"&gt;OpenSwoole official website&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://dev-talk.com/post/laravel-octane-frankenphp-roadrunner-swoole" rel="noopener noreferrer"&gt;DEV Talk&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>laraveloctane</category>
      <category>php</category>
      <category>frankenphp</category>
    </item>
    <item>
      <title>Review My Portfolio Site!!!</title>
      <dc:creator>Vishal Madhav</dc:creator>
      <pubDate>Thu, 03 Dec 2026 13:37:09 +0000</pubDate>
      <link>https://dev.to/vishal_madhav_21/review-my-portfolio-site-4mi0</link>
      <guid>https://dev.to/vishal_madhav_21/review-my-portfolio-site-4mi0</guid>
      <description>&lt;p&gt;Heyy guysss!!! I am really excited to share with you my portfolio website. I just consolidated a few good projects that i worked on and created this site.&lt;br&gt;
I would really love it if you guys went through this site and let me know how much it sucks or if you by chance liked it!!&lt;br&gt;
(Hope its atleast presentable 😅)&lt;/p&gt;

&lt;p&gt;A quick context about me before you visit my portfolio website :&lt;/p&gt;

&lt;p&gt;I am a final year computer science student. I was not technically active till very recently. I have always loved technology but i mostly didn't build much projects until the last 6 months. I was not that serious about college, but now i do want to get good job.&lt;/p&gt;

&lt;p&gt;Do go through the entire website and my projects (I have deployed a few of them) and let me know what you guys think in the comments...&lt;/p&gt;

&lt;p&gt;Also feel free to star my every project in GitHub😋&lt;/p&gt;

&lt;p&gt;Portfolio Link : &lt;/p&gt;

&lt;p&gt;&lt;a href="https://vishal-madhav-portfolio.onrender.com" rel="noopener noreferrer"&gt;https://vishal-madhav-portfolio.onrender.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>portfolio</category>
      <category>career</category>
      <category>showdev</category>
      <category>sharepoint</category>
    </item>
    <item>
      <title>Slurm doesn't see your GPUs: the gres.conf, AutoDetect, and cgroup checklist</title>
      <dc:creator>Altostratus Amihai</dc:creator>
      <pubDate>Thu, 03 Dec 2026 13:36:58 +0000</pubDate>
      <link>https://dev.to/altostratus_amihai_71d88f/slurm-doesnt-see-your-gpus-the-gresconf-autodetect-and-cgroup-checklist-5cll</link>
      <guid>https://dev.to/altostratus_amihai_71d88f/slurm-doesnt-see-your-gpus-the-gresconf-autodetect-and-cgroup-checklist-5cll</guid>
      <description>&lt;p&gt;You run &lt;code&gt;srun --gres=gpu:1 nvidia-smi&lt;/code&gt; and get &lt;code&gt;Requested node configuration is not available&lt;/code&gt;, or the job starts and sees zero GPUs. Meanwhile &lt;code&gt;nvidia-smi&lt;/code&gt; on the node itself shows all 8 cards. The gap between "the OS sees the GPUs" and "Slurm sees the GPUs" is almost always one of the five things below, in this order.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Ask Slurm what it thinks the node has
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;scontrol show node gpu-node-01 &lt;span class="o"&gt;|&lt;/span&gt; grep -i gres
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you see &lt;code&gt;Gres=gpu:0&lt;/code&gt; or no &lt;code&gt;Gres&lt;/code&gt; at all, slurmd never detected the devices. If you see &lt;code&gt;Gres=gpu:8&lt;/code&gt; but jobs still fail, skip to section 4.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. gres.conf and AutoDetect
&lt;/h2&gt;

&lt;p&gt;Two layers have to agree:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;slurm.conf&lt;/code&gt; needs &lt;code&gt;GresTypes=gpu&lt;/code&gt; and a node definition that advertises GPUs, for example &lt;code&gt;NodeName=gpu-node-01 ... Gres=gpu:8&lt;/code&gt;, or the auto-detect path.&lt;/li&gt;
&lt;li&gt;For auto-detection, &lt;code&gt;gres.conf&lt;/code&gt; needs &lt;code&gt;AutoDetect=nvml&lt;/code&gt; and slurmd must be built with NVML support. Auto-detect only works when the &lt;code&gt;gres/nvml&lt;/code&gt; plugin is actually installed (check your plugin directory, often &lt;code&gt;/usr/lib64/slurm/&lt;/code&gt; or similar) and &lt;code&gt;libnvidia-ml.so&lt;/code&gt; is reachable on the compute node.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A manual &lt;code&gt;gres.conf&lt;/code&gt; line looks like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight properties"&gt;&lt;code&gt;&lt;span class="na"&gt;NodeName&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;gpu&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;node&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;01&lt;/span&gt; &lt;span class="nc"&gt;Name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;gpu&lt;/span&gt; &lt;span class="nc"&gt;Type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;h100&lt;/span&gt; &lt;span class="nc"&gt;File&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;dev&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;nvidia&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two common mistakes here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Listing control devices (&lt;code&gt;/dev/nvidiactl&lt;/code&gt;, &lt;code&gt;/dev/nvidia-uvm&lt;/code&gt;) as &lt;code&gt;File=&lt;/code&gt; entries. Only the numbered GPU devices belong in &lt;code&gt;File=&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Editing &lt;code&gt;gres.conf&lt;/code&gt; on the head node but not on the compute node. &lt;code&gt;gres.conf&lt;/code&gt; is read by slurmd, so it must exist on every compute node, and the contents must match the topology of that specific node.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Restart, not reconfigure
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;scontrol reconfigure&lt;/code&gt; does not fully re-read &lt;code&gt;gres.conf&lt;/code&gt;. After changing &lt;code&gt;gres.conf&lt;/code&gt; or GPU-related &lt;code&gt;slurm.conf&lt;/code&gt; lines, restart slurmd on the affected compute nodes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;systemctl restart slurmd
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then re-check &lt;code&gt;scontrol show node&lt;/code&gt;. A node that was drained for the change needs &lt;code&gt;scontrol update NodeName=gpu-node-01 State=RESUME&lt;/code&gt; afterwards.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. cgroup confinement
&lt;/h2&gt;

&lt;p&gt;If &lt;code&gt;cgroup.conf&lt;/code&gt; has &lt;code&gt;ConstrainDevices=yes&lt;/code&gt; (and it should on a shared cluster), the job's devices cgroup is built from the &lt;code&gt;File=&lt;/code&gt; entries in &lt;code&gt;gres.conf&lt;/code&gt;. Wrong or missing entries here produce a different symptom: the job is allocated a GPU but cannot open the device (&lt;code&gt;cuInit&lt;/code&gt; fails, or &lt;code&gt;nvidia-smi&lt;/code&gt; inside the job says "No devices were found"). Fix the &lt;code&gt;File=&lt;/code&gt; entries rather than turning off &lt;code&gt;ConstrainDevices&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Don't stack device managers
&lt;/h2&gt;

&lt;p&gt;On nodes that also run Kubernetes with the NVIDIA device plugin, decide who owns the GPUs. Slurm's gres accounting and the k8s device plugin allocate independently and will happily double-book the same card. Run GPU workloads under one scheduler per node, or partition the cards statically.&lt;/p&gt;

&lt;h2&gt;
  
  
  Verify the fix
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;srun --gres=gpu:1 --pty nvidia-smi -L
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One GPU listed, visible only inside the allocation, means detection, gres.conf, and cgroup are all correct.&lt;/p&gt;




&lt;p&gt;Disclosure: I am affiliated with Altostratus (altostratus.bot), an AI assistant for GPU and Kubernetes troubleshooting. The checklist above stands on its own and works without it. Treat any assistant, including that one, as a starting point and check your own logs. Questions about this checklist are welcome in the comments.&lt;/p&gt;

</description>
      <category>slurm</category>
      <category>gpu</category>
      <category>hpc</category>
      <category>devops</category>
    </item>
    <item>
      <title>A free planning poker with no sign-up, built on Cloudflare Durable Objects</title>
      <dc:creator>Herramientas Web</dc:creator>
      <pubDate>Thu, 03 Dec 2026 13:36:53 +0000</pubDate>
      <link>https://dev.to/herramientasweb/a-free-planning-poker-with-no-sign-up-built-on-cloudflare-durable-objects-1ln3</link>
      <guid>https://dev.to/herramientasweb/a-free-planning-poker-with-no-sign-up-built-on-cloudflare-durable-objects-1ln3</guid>
      <description>&lt;p&gt;Most planning poker tools ask you to create an account, or cap the free plan at a handful of stories. We wanted the opposite: open a link, vote, done. Here is how our free Planning Poker works and a few design decisions behind it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Start a table in one click, no account. Invite people with a link, a short code or a QR code.&lt;/li&gt;
&lt;li&gt;Roles: facilitator, voter and observer. Up to 50 people per table.&lt;/li&gt;
&lt;li&gt;Six decks: Fibonacci, modified Fibonacci, T-shirt sizes, powers of 2, hours, or your own.&lt;/li&gt;
&lt;li&gt;Timer with auto-reveal, vote statistics and distribution, with the lowest and highest votes highlighted so the discussion starts where it should.&lt;/li&gt;
&lt;li&gt;Paste stories from Jira, Linear or Trello, or import a CSV. Export a summary or a CSV at the end.&lt;/li&gt;
&lt;li&gt;Inside a table the tool takes the whole screen: participants, your hand and the result fit without scrolling, even on a phone.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Each table is one Cloudflare Durable Object with SQLite storage. The table is the single source of truth, so there are no race conditions between voters.&lt;/li&gt;
&lt;li&gt;Votes stay hidden on the server until the reveal: a hidden vote is never sent to other browsers, so nobody can peek with dev tools.&lt;/li&gt;
&lt;li&gt;Each participant gets a secret that travels in the WebSocket subprotocol header, so a copied link does not let someone impersonate you.&lt;/li&gt;
&lt;li&gt;If the facilitator disappears for two minutes, someone else can take over the table.&lt;/li&gt;
&lt;li&gt;An alarm deletes tables that have not been used for 30 days. No account means no profile to keep.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://herramientas-web.com/en/planning-poker" rel="noopener noreferrer"&gt;https://herramientas-web.com/en/planning-poker&lt;/a&gt; (Spanish: &lt;a href="https://herramientas-web.com/planning-poker" rel="noopener noreferrer"&gt;https://herramientas-web.com/planning-poker&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;We would love feedback from people who run refinement sessions every week: what is missing for your team?&lt;/p&gt;

</description>
      <category>agile</category>
      <category>scrum</category>
      <category>webdev</category>
      <category>cloudflare</category>
    </item>
    <item>
      <title>What Is a Forward Deployed Engineer? The Coding Job Right Next to the Customer</title>
      <dc:creator>Indhu Priya</dc:creator>
      <pubDate>Thu, 03 Dec 2026 13:36:21 +0000</pubDate>
      <link>https://dev.to/indhupriya_growmore/what-is-a-forward-deployed-engineer-the-coding-job-right-next-to-the-customer-2fm7</link>
      <guid>https://dev.to/indhupriya_growmore/what-is-a-forward-deployed-engineer-the-coding-job-right-next-to-the-customer-2fm7</guid>
      <description>&lt;p&gt;"Forward Deployed Engineer" (FDE) is one of the fastest-growing titles at AI and data companies, and most freshers have never heard of it. Short version: it's a coding job, done side by side with the customer. (Full guide: &lt;a href="https://coursegrowmoretechnologies.com/what-is-a-forward-deployed-engineer/" rel="noopener noreferrer"&gt;What Is a Forward Deployed Engineer?&lt;/a&gt;)&lt;/p&gt;

&lt;h2&gt;
  
  
  What an FDE actually does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Meets customer teams to understand their workflows and data&lt;/li&gt;
&lt;li&gt;Writes code that connects the product to the customer's systems&lt;/li&gt;
&lt;li&gt;Builds custom data pipelines or AI workflows on top of the product&lt;/li&gt;
&lt;li&gt;Deploys and troubleshoots in the customer's environment&lt;/li&gt;
&lt;li&gt;Feeds what they learn back to the product team&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How it differs from similar roles
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Role&lt;/th&gt;
&lt;th&gt;Main job&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Software engineer&lt;/td&gt;
&lt;td&gt;Builds the core product for all customers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Solutions / sales engineer&lt;/td&gt;
&lt;td&gt;Designs and demos before the sale&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Support engineer&lt;/td&gt;
&lt;td&gt;Fixes issues after deployment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Forward deployed engineer&lt;/td&gt;
&lt;td&gt;Writes code with the customer until the product delivers value&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  A typical first task
&lt;/h2&gt;

&lt;p&gt;Most FDE work starts with "get the customer's data into the product". In practice that's a small, reliable integration:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;sync_tickets&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;source_url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;product_api&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;token&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;headers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"Authorization"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"Bearer {token}"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="n"&gt;page&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
    &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;source_url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"page"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;raise_for_status&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;tickets&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"items"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;tickets&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;break&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;tickets&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;payload&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"external_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"subject"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"body"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
            &lt;span class="n"&gt;resp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;post&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;product_api&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status_code&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;429&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;  &lt;span class="c1"&gt;# rate-limited: wait, then retry once&lt;/span&gt;
                &lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sleep&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;post&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;product_api&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;page&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Pagination, error handling and rate limits: unglamorous, and exactly what FDE interviews probe.&lt;/p&gt;

&lt;h2&gt;
  
  
  Skills to build
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technical:&lt;/strong&gt; Python (sometimes JavaScript or Java), SQL, APIs and integrations, cloud basics, Docker, Git, and increasingly LLMs, RAG and agents&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Customer-facing:&lt;/strong&gt; turning vague problems into clear plans, explaining technical ideas simply, and staying with a problem until it works&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How freshers can prepare
&lt;/h2&gt;

&lt;p&gt;Get strong in Python, SQL and APIs. Build end-to-end projects that connect several systems. Practise explaining a project in five minutes. Learn basic cloud deployment. Many FDEs start as developers, data engineers or support engineers, and some companies hire freshers with strong projects and communication skills.&lt;/p&gt;

&lt;p&gt;Full guide and FAQs (travel, remote work, coding expectations): &lt;a href="https://coursegrowmoretechnologies.com/what-is-a-forward-deployed-engineer/" rel="noopener noreferrer"&gt;https://coursegrowmoretechnologies.com/what-is-a-forward-deployed-engineer/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I work at Growmore Technologies, an IT training institute in Chennai and Bengaluru.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>career</category>
      <category>ai</category>
      <category>python</category>
      <category>beginners</category>
    </item>
    <item>
      <title>30 Viral Hook Formulas &amp; 50 Script Frameworks for Short-Form Creators (2026 Playbook)</title>
      <dc:creator>TVXplorer</dc:creator>
      <pubDate>Thu, 03 Dec 2026 13:35:51 +0000</pubDate>
      <link>https://dev.to/tvxplorer/30-viral-hook-formulas-50-script-frameworks-for-short-form-creators-2026-playbook-24k0</link>
      <guid>https://dev.to/tvxplorer/30-viral-hook-formulas-50-script-frameworks-for-short-form-creators-2026-playbook-24k0</guid>
      <description>&lt;p&gt;Every creator I know has the same folder: 200 saved videos about hooks. Almost nobody has a system. The difference between the two is not effort — it is that a system is &lt;em&gt;finite and fillable&lt;/em&gt;. You do not invent an opener at midnight; you pick a formula, fill the brackets, and shoot.&lt;/p&gt;

&lt;p&gt;Below are ten of the thirty hook formulas I actually use, three of the fifty script frameworks, and the five-beat timing that every short I publish is built on. Take them and post something today. If you want the rest, they are at the bottom.&lt;/p&gt;

&lt;h2&gt;
  
  
  First: hooks are three things, not one line
&lt;/h2&gt;

&lt;p&gt;A hook is often taught as "the first sentence." That is only the surface. What makes a viewer stop is the simultaneous presence of three elements:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;A concrete subject.&lt;/strong&gt; A number, a named thing, a specific person, a place. "Gravity" is not concrete. "A 10-solar-mass black hole 100 km away" is.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A stake the viewer feels.&lt;/strong&gt; Something they lose, miss, or get wrong. Not "this is interesting" — "you have been doing this wrong."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A turn.&lt;/strong&gt; The sentence contradicts an expectation the viewer already holds. Without a turn, the fact is merely true, and true facts scroll past.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Miss one and the hook weakens in a predictable way: no subject reads as vague, no stake reads as trivia, no turn reads as a headline. Every formula below is just a repeatable way to guarantee all three in one sentence.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ten hook formulas, with worked examples
&lt;/h2&gt;

&lt;p&gt;Each of these is a fill-in structure. The examples are real openings, not placeholders.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. The wrong-cause correction&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Your videos aren't dying because of the algorithm. They're dying in the first 1.5 seconds."&lt;br&gt;
&lt;em&gt;Use for:&lt;/em&gt; any tutorial, any growth advice, any diagnosis.&lt;br&gt;
&lt;em&gt;Why it works:&lt;/em&gt; it names the belief the viewer already holds and moves the blame somewhere actionable.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;2. The specific-number reveal&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"I tested 14 free AI video tools. Two were worth keeping, and neither was the one everyone recommends."&lt;br&gt;
&lt;em&gt;Use for:&lt;/em&gt; comparisons, reviews, experiments.&lt;br&gt;
&lt;em&gt;Why it works:&lt;/em&gt; the number makes it verifiable; "neither was the popular one" is the turn.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;3. The cost confession&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"This 30-second short cost me 41 minutes to make. Twenty-five of those minutes were one mistake."&lt;br&gt;
&lt;em&gt;Use for:&lt;/em&gt; process content, build-in-public, tutorials.&lt;br&gt;
&lt;em&gt;Why it works:&lt;/em&gt; a real number plus an admitted error is the strongest trust signal short-form has.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;4. The hidden feature&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"There's a free setting in FFmpeg that removes the jitter from every zoom you've ever rendered. Almost nobody turns it on."&lt;br&gt;
&lt;em&gt;Use for:&lt;/em&gt; tool content, developer audiences.&lt;br&gt;
&lt;em&gt;Why it works:&lt;/em&gt; free + specific + mild social proof of scarcity.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;5. The contrarian flat statement&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Posting more is not a strategy. It's a way to avoid finding out which of your videos is good."&lt;br&gt;
&lt;em&gt;Use for:&lt;/em&gt; opinion, commentary, positioning.&lt;br&gt;
&lt;em&gt;Why it works:&lt;/em&gt; it takes a side against common advice, which forces a reaction either way.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;6. The before/after with a metric&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Same video. I changed the thumbnail for $0 and the click rate went from 4.1 % to 9.3 %."&lt;br&gt;
&lt;em&gt;Use for:&lt;/em&gt; case studies, redesigns, packaging.&lt;br&gt;
&lt;em&gt;Why it works:&lt;/em&gt; two numbers, one variable, no ambiguity.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;7. The countdown with a reason to stay&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Three things will kill your channel this year. The third one already happened to me."&lt;br&gt;
&lt;em&gt;Use for:&lt;/em&gt; listicles that need completion.&lt;br&gt;
&lt;em&gt;Why it works:&lt;/em&gt; the personal stake at position three creates a reason to watch past the first two.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;8. The named enemy&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"The reason your captions look cheap isn't the font. It's the 210-pixel margin nobody sets."&lt;br&gt;
&lt;em&gt;Use for:&lt;/em&gt; craft tutorials, design and editing.&lt;br&gt;
&lt;em&gt;Why it works:&lt;/em&gt; it turns a vague dissatisfaction into one fixable object.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;9. The question the audience is embarrassed to ask&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"What does 'average view duration' actually measure — and why is 40 % good on a short and bad on a long video?"&lt;br&gt;
&lt;em&gt;Use for:&lt;/em&gt; educational content for beginners.&lt;br&gt;
&lt;em&gt;Why it works:&lt;/em&gt; it validates the confusion instead of shaming it.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;10. The loop promise&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"By the end of this you'll know why the last frame of your video matters more than the first. Here's the first frame."&lt;br&gt;
&lt;em&gt;Use for:&lt;/em&gt; anything you want to end where it started.&lt;br&gt;
&lt;em&gt;Why it works:&lt;/em&gt; it sets a question, then resolves it into a re-watch.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Notice what none of them do: they do not say "hey guys," they do not introduce the channel, and they do not describe what the video is about. The viewer decides whether to stay before they know what they are staying for.&lt;/p&gt;

&lt;h2&gt;
  
  
  The five-beat script, with timing
&lt;/h2&gt;

&lt;p&gt;The hook is 10 % of the work. The other 90 % is not losing the viewer in the next twenty seconds. I use one structure for every length, and only the beats stretch:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Beat&lt;/th&gt;
&lt;th&gt;Job&lt;/th&gt;
&lt;th&gt;15 s&lt;/th&gt;
&lt;th&gt;30 s&lt;/th&gt;
&lt;th&gt;45 s&lt;/th&gt;
&lt;th&gt;60 s&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Hook&lt;/td&gt;
&lt;td&gt;Stop the scroll&lt;/td&gt;
&lt;td&gt;0–1.5 s&lt;/td&gt;
&lt;td&gt;0–2 s&lt;/td&gt;
&lt;td&gt;0–2 s&lt;/td&gt;
&lt;td&gt;0–3 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Context&lt;/td&gt;
&lt;td&gt;Minimum to care&lt;/td&gt;
&lt;td&gt;1.5–4 s&lt;/td&gt;
&lt;td&gt;2–6 s&lt;/td&gt;
&lt;td&gt;2–8 s&lt;/td&gt;
&lt;td&gt;3–10 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Value 1&lt;/td&gt;
&lt;td&gt;First payoff&lt;/td&gt;
&lt;td&gt;4–7 s&lt;/td&gt;
&lt;td&gt;6–12 s&lt;/td&gt;
&lt;td&gt;8–16 s&lt;/td&gt;
&lt;td&gt;10–22 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Value 2&lt;/td&gt;
&lt;td&gt;Escalation&lt;/td&gt;
&lt;td&gt;7–10 s&lt;/td&gt;
&lt;td&gt;12–18 s&lt;/td&gt;
&lt;td&gt;16–26 s&lt;/td&gt;
&lt;td&gt;22–36 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Value 3 / proof&lt;/td&gt;
&lt;td&gt;The number&lt;/td&gt;
&lt;td&gt;10–13 s&lt;/td&gt;
&lt;td&gt;18–24 s&lt;/td&gt;
&lt;td&gt;26–36 s&lt;/td&gt;
&lt;td&gt;36–50 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Loop&lt;/td&gt;
&lt;td&gt;Send back to frame 1&lt;/td&gt;
&lt;td&gt;13–15 s&lt;/td&gt;
&lt;td&gt;24–30 s&lt;/td&gt;
&lt;td&gt;36–45 s&lt;/td&gt;
&lt;td&gt;50–60 s&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Three rules that hold across every length:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Value beats must escalate.&lt;/strong&gt; If beat two is weaker than beat one, viewers leave at beat three. Order them worst-to-best, not chronologically.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cut the context beat in half.&lt;/strong&gt; Beginners explain. The context beat exists to make the value beats land, not to be fair to the topic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The loop is a sentence, not a fade.&lt;/strong&gt; "So the fall is the fast part" sends the viewer back to "you would not fall." A fade to black sends them to the next video.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Three frameworks out of fifty
&lt;/h2&gt;

&lt;p&gt;A hook opens; a framework carries. Here are three of the fifty in the full set, in enough detail to shoot today.&lt;/p&gt;

&lt;h3&gt;
  
  
  Framework 1 — The anomaly timeline
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;Best for:&lt;/em&gt; science, history, true stories, anything with a strange fact.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;T+0.0  The anomaly, stated as fact. ("The ship left port with 8 crew. It arrived with 7.")
T+0.2  The expected version. ("Records say all eight boarded.")
T+0.4  The detail that breaks it. ("The manifest was signed after departure.")
T+0.6  What was ruled out — fast, three lines.
T+0.85 The open question, which is also the loop.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The strength is that the first line is already the payoff. The viewer stays to see whether you can explain it, not to find out what happens.&lt;/p&gt;

&lt;h3&gt;
  
  
  Framework 2 — The cost ladder
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;Best for:&lt;/em&gt; tools, tutorials, business breakdowns, build-in-public.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;T+0.0  The final number. ("This setup makes a short for $0.40.")
T+0.2  The expensive way people do it. ("Most people pay $30 a month for the same frames.")
T+0.4  The swap, one step at a time, with the free replacement named.
T+0.7  What you give up. (Be honest — this is the credibility beat.)
T+0.9  The same output, re-shown, so the claim closes the loop.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The "what you give up" beat is the one everybody skips and the only one that makes the rest believable.&lt;/p&gt;

&lt;h3&gt;
  
  
  Framework 3 — The contrarian teardown
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;Best for:&lt;/em&gt; opinion, positioning, advice that needs a spine.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;T+0.0  The popular advice, quoted flatly.
T+0.2  The evidence that it fails. One example, with a number.
T+0.4  Why it fails — the mechanism, not the vibe.
T+0.7  What to do instead, in three steps.
T+0.9  The concession: where the popular advice does work.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The concession at the end is what separates a teardown from a rant, and it is what gets saved and shared.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fifty, by family
&lt;/h2&gt;

&lt;p&gt;The full set covers ten families. Knowing the families is useful even without the individual frameworks, because it tells you what you are missing when every video you make feels the same:&lt;/p&gt;

&lt;p&gt;curiosity · countdown · case study · contrarian · how-to · comparison · warning · data · documentary · series.&lt;/p&gt;

&lt;p&gt;A channel that only uses how-to frameworks plateaus, because every video is a transaction. A channel that only uses contrarian frameworks burns out its audience, because every video is an argument. The 90-day calendars that ship with the bundle deliberately rotate across families for that reason.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two small things that compound
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The 120-pixel rule.&lt;/strong&gt; Thumbnail text has to be legible at 120 px wide. If you cannot read it in a 120-pixel preview, no title rescues it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The first-hour routine.&lt;/strong&gt; The first sixty minutes after publishing decide the size of the test audience. Reply to every comment in that hour — the platform reads replies as a live conversation, and the humans who get a reply watch the next upload.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where the rest lives
&lt;/h2&gt;

&lt;p&gt;I sell two products for the writing side of short-form. Both are honest about what they are: documents, templates and assets. Neither promises views, and neither is a course.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://tvxplorer0.gumroad.com/l/viral-shorts-ai-creator-kit" rel="noopener noreferrer"&gt;Viral Shorts &amp;amp; AI Content Creator Kit 2026&lt;/a&gt;&lt;/strong&gt; — the full &lt;strong&gt;30 hook formulas&lt;/strong&gt; with worked examples, the &lt;strong&gt;5-beat retention script&lt;/strong&gt; with timing for 15/30/45/60 s, a fill-in worksheet, an AI visual workflow and &lt;strong&gt;13 backgrounds&lt;/strong&gt; at 1080×1920 and 1920×1080. &lt;strong&gt;$17&lt;/strong&gt;, or &lt;strong&gt;$11.90&lt;/strong&gt; with code &lt;code&gt;LAUNCH30&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://tvxplorer0.gumroad.com/l/faceless-youtube-empire-bundle-2026" rel="noopener noreferrer"&gt;2026 Faceless YouTube &amp;amp; AI Content Empire Bundle&lt;/a&gt;&lt;/strong&gt; — all &lt;strong&gt;50 script frameworks&lt;/strong&gt; in the ten families above, the &lt;strong&gt;50-hook CSV database&lt;/strong&gt; with a fill-in column for your own tested CTR, a production tracker, a 90-day content calendar, a 12-prompt AI production pipeline and 15 visual plates. &lt;strong&gt;$39&lt;/strong&gt;, or &lt;strong&gt;$27.30&lt;/strong&gt; with code &lt;code&gt;EMPIRE30&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you only take one thing from this article: pick one formula, rewrite it with your own specifics, and put it on the first 1.5 seconds of something you publish this week. The rest of the list only helps after you have done that once.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>marketing</category>
      <category>writing</category>
    </item>
    <item>
      <title>Your WordPress Sitemap Is Lying to Google — Here's the 5-Minute Audit That Proves It</title>
      <dc:creator>Web Vision Expert</dc:creator>
      <pubDate>Thu, 03 Dec 2026 13:35:40 +0000</pubDate>
      <link>https://dev.to/webvisionexpert/your-wordpress-sitemap-is-lying-to-google-heres-the-5-minute-audit-that-proves-it-53gi</link>
      <guid>https://dev.to/webvisionexpert/your-wordpress-sitemap-is-lying-to-google-heres-the-5-minute-audit-that-proves-it-53gi</guid>
      <description>&lt;p&gt;A client called me last month because half their site had vanished from Google. Search Console showed "Discovered — currently not indexed" climbing every week, and their sitemap report looked fine: 400 URLs submitted, no errors.&lt;/p&gt;

&lt;p&gt;So I opened the sitemap and actually read it. Ninety of those URLs redirected somewhere else. Forty were pages the site had set to noindex. Twelve still pointed at the old staging domain from a migration six months earlier.&lt;/p&gt;

&lt;p&gt;The sitemap loaded. It validated. It was also lying — and Google had stopped trusting it.&lt;/p&gt;

&lt;p&gt;A sitemap is a promise. Every URL in it says: this page is real, it is indexable, and it is worth your crawl. Break that promise often enough and Google stops believing the file, which is exactly when your new pages stop getting discovered. Here is the audit I run on every client site, and the three lies it keeps catching.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. First, make sure you are reading the right sitemap
&lt;/h2&gt;

&lt;p&gt;WordPress has more than one sitemap, and most "sitemap not working" reports start here:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Source&lt;/th&gt;
&lt;th&gt;Default URL&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;WordPress core (no SEO plugin)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/wp-sitemap.xml&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Yoast SEO / Rank Math&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/sitemap_index.xml&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;All in One SEO&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/sitemap.xml&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If you switched SEO plugins at some point, you probably have two sitemaps live right now — core's and the plugin's — disagreeing with each other. Pick one owner and turn the other off. When Rank Math or Yoast owns the sitemap, disable the core one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Turn off the WordPress core sitemap when your SEO plugin owns it.&lt;/span&gt;
&lt;span class="nf"&gt;add_filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s1"&gt;'wp_sitemaps_enabled'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'__return_false'&lt;/span&gt; &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then check Search Console → Sitemaps and confirm the submitted URL is the one you just fixed. The file Google has on record is the one that matters, not the one you happen to open in your browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. The 5-minute audit: ask every URL what it really returns
&lt;/h2&gt;

&lt;p&gt;A sitemap lists URLs. It never tells you what those URLs do. This loop does:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Count how many sitemap URLs return each status code&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; url &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nv"&gt;$(&lt;/span&gt;curl -s https://yoursite.com/post-sitemap.xml &lt;span class="o"&gt;|&lt;/span&gt; grep -oP &lt;span class="s1"&gt;'(?&amp;lt;=&amp;lt;loc&amp;gt;)[^&amp;lt;]+'&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt;
  curl -s -o /dev/null -w &lt;span class="s1"&gt;'%{http_code}\n'&lt;/span&gt; &lt;span class="s2"&gt;"$url"&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; sort &lt;span class="o"&gt;|&lt;/span&gt; uniq -c
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On a healthy site, that output is one line: every URL returning 200. On the client site I described, it came back as 258 × 200, 90 × 301, 40 × 200-with-noindex, and 12 × 404. Then list the offenders:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Print every sitemap URL that does NOT return 200&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; url &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nv"&gt;$(&lt;/span&gt;curl -s https://yoursite.com/post-sitemap.xml &lt;span class="o"&gt;|&lt;/span&gt; grep -oP &lt;span class="s1"&gt;'(?&amp;lt;=&amp;lt;loc&amp;gt;)[^&amp;lt;]+'&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt;
  &lt;span class="nv"&gt;code&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$(&lt;/span&gt;curl -s -o /dev/null -w &lt;span class="s1"&gt;'%{http_code}'&lt;/span&gt; &lt;span class="s2"&gt;"$url"&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
  &lt;span class="o"&gt;[&lt;/span&gt; &lt;span class="s2"&gt;"$code"&lt;/span&gt; != &lt;span class="s2"&gt;"200"&lt;/span&gt; &lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"$code $url"&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Repeat it for each child sitemap in the index (posts, pages, products, categories). Five minutes, no plugin, and you now know exactly which promises your sitemap is breaking. A quick spot-check for the noindex half of the problem:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s https://yoursite.com/some-page/ &lt;span class="o"&gt;|&lt;/span&gt; grep -i &lt;span class="s1"&gt;'noindex'&lt;/span&gt; \
  &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"noindexed — this URL should not be in the sitemap"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. The three lies I find most often
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Lie one: redirects in the sitemap.&lt;/strong&gt; After a redesign or a URL restructure, the old URLs stay listed while the new ones are missing — or both are listed. Google follows the redirect, lands on the destination, and notes that the sitemap pointed at a URL that no longer exists. List the destination, never the redirecting URL. The same goes for the trailing-slash twin and the http/https twin: one canonical version only.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lie two: noindexed pages in the sitemap.&lt;/strong&gt; Tag archives, thank-you pages, cart and checkout, login and account pages — set to noindex by the SEO plugin, then listed in the sitemap anyway. That is a direct contradiction: one signal says "index this", the other says "don't". Search Console flags it as "Submitted URL marked 'noindex'", and each one chips away at how much Google trusts the rest of the file. A good plugin removes noindexed pages automatically; if yours doesn't, exclude those post types and taxonomies in its sitemap settings.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lie three: staging URLs after a migration.&lt;/strong&gt; The site moves from &lt;code&gt;staging.client.com&lt;/code&gt; to the live domain, the Site Address changes, and the sitemap cache keeps serving the old domain for weeks. I have seen sitemaps that were half staging URLs six months after launch. After every migration: purge every cache layer, re-save permalinks (or &lt;code&gt;wp rewrite flush --hard&lt;/code&gt; from the terminal), and re-open the sitemap logged out to confirm the live domain is in every &lt;code&gt;&amp;lt;loc&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Two traps the guides skip
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The cache trap.&lt;/strong&gt; A page cache or CDN serving a stale copy of the sitemap is why new posts "don't appear in the sitemap" on so many sites. Exclude &lt;code&gt;sitemap*.xml&lt;/code&gt; from page caching entirely — a sitemap is generated on the fly and caching it only freezes old data. And if Search Console says "Couldn't fetch" while the sitemap opens fine in your browser, the problem is almost never WordPress: it is a firewall or Cloudflare bot rule treating Googlebot as a bot. Check that &lt;code&gt;robots.txt&lt;/code&gt; doesn't block the sitemap itself, and that bot-challenge protection exempts Googlebot.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The lastmod trap.&lt;/strong&gt; Google ignores &lt;code&gt;priority&lt;/code&gt; and &lt;code&gt;changefreq&lt;/code&gt; completely. It does use &lt;code&gt;lastmod&lt;/code&gt; — but only when the date is honest. Plugins that stamp every URL with today's date teach Google to ignore the field, which is the opposite of what you want when you publish something new. A correct &lt;code&gt;lastmod&lt;/code&gt; changes only when the page actually changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. What a clean sitemap looks like
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Only canonical URLs, each returning 200, each indexable&lt;/li&gt;
&lt;li&gt;No redirects, no 404s, no noindexed pages, no parameter or tracking variants&lt;/li&gt;
&lt;li&gt;No staging URLs, no thin archives, no utility pages (cart, checkout, thank-you)&lt;/li&gt;
&lt;li&gt;Honest &lt;code&gt;lastmod&lt;/code&gt;, one sitemap owner, submitted once in Search Console&lt;/li&gt;
&lt;li&gt;Under 50,000 URLs or 50 MB per file, split with a sitemap index above that&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then read the Sitemaps report the way Google does: submitted URLs versus indexed URLs. On an 80-page brochure site, a clean sitemap is 60–90 URLs. If yours lists 400 on a site with 300 indexed pages, most of it is being declined — trim it, then fix the pages that are left.&lt;/p&gt;

&lt;p&gt;A sitemap never makes Google index anything. It is a list of URLs you are willing to stand behind. Keep that list honest and Google leans on it; fill it with redirects and dead pages and Google learns to ignore it — along with the new pages you actually care about.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'm Taha Khan, Founder &amp;amp; CEO at Web Vision Expert in Karachi, where I build WordPress and WooCommerce sites for small businesses — sitemaps are one step in &lt;a href="https://dev.to/webvision_expert/the-wordpress-launch-checklist-i-actually-run-before-a-client-site-goes-live-536k"&gt;the pre-launch checklist I actually run on client sites&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Which of these have you found on a client site? The staging URLs surviving a migration is my most frequent — I'd be curious what tops your list.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>seo</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Process and people</title>
      <dc:creator>Timo Hoyland</dc:creator>
      <pubDate>Thu, 03 Dec 2026 13:35:13 +0000</pubDate>
      <link>https://dev.to/timo_hoyland_b8cf7d8283f7/process-and-people-c0j</link>
      <guid>https://dev.to/timo_hoyland_b8cf7d8283f7/process-and-people-c0j</guid>
      <description>&lt;p&gt;Decoupled.&lt;/p&gt;

&lt;p&gt;A process defines each step of a problem: what we should do, what might happen, and what may go wrong.&lt;/p&gt;

&lt;p&gt;Writing it down prevents re-discovery and lets us share it. Instructions become repeatable and measurable, and people stop bumbling over the same edge cases.&lt;/p&gt;

&lt;p&gt;Processes for processes going wrong.&lt;/p&gt;

&lt;p&gt;Processes are designed, upheld, and used by people, so it's easy for an owner to become an authority. We must never abuse that power, because we'd simply lose the benefits.&lt;/p&gt;

&lt;p&gt;Processes are where we build in guardrails. But when something unsafe happens, we lose trust in the people involved, and start doubting the processes they own.&lt;/p&gt;

&lt;p&gt;Take shifts and breaks. They exist so that oversight and safety can be guaranteed. If someone needs us outside them, we expect compensation, or we call it exploitation.&lt;/p&gt;

&lt;p&gt;We define such expectations in contracts, where compensation and terms are transparent. They can be negotiated, declined, and challenged if signed under duress.&lt;/p&gt;

&lt;p&gt;Without contracts, even safe subscription models can seem as extreme as debt bondage.&lt;/p&gt;

&lt;p&gt;That's why people should be decoupled from process. We should answer to the process, not to the person.&lt;/p&gt;

&lt;p&gt;So that another person is never our master.&lt;/p&gt;

</description>
      <category>leadership</category>
      <category>management</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Redesigning WanIP.info: two new tools, one simple homepage</title>
      <dc:creator>Maurizio Domba Cerin</dc:creator>
      <pubDate>Thu, 03 Dec 2026 13:34:58 +0000</pubDate>
      <link>https://dev.to/mdomba/redesigning-wanipinfo-two-new-tools-one-simple-homepage-5148</link>
      <guid>https://dev.to/mdomba/redesigning-wanipinfo-two-new-tools-one-simple-homepage-5148</guid>
      <description>&lt;p&gt;Most people open &lt;a href="https://wanip.info/" rel="noopener noreferrer"&gt;WanIP.info&lt;/a&gt; for one reason: to see their public IP address. I wanted to make the site more useful without making that job take any longer. So the IP is still the first thing you see, with a Copy IP button next to it. The network, reverse hostname when available, and browser details are there if you need them.&lt;/p&gt;

&lt;p&gt;I kept one thing from the old design just because I liked it: the little CSS wave in the WanIP logo. The page shows a static version when you've asked your browser to reduce motion.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tool 1: Did my public IP change?
&lt;/h2&gt;

&lt;p&gt;I nearly added a box where you could paste an old address to compare it with the current one. But if you already have both addresses in front of you, the site isn't doing much for you. The useful part is remembering the first address while you do something that might change it.&lt;/p&gt;

&lt;p&gt;On the &lt;a href="https://wanip.info/ip-change.php" rel="noopener noreferrer"&gt;IP-change checker&lt;/a&gt;, click &lt;strong&gt;Save this IP&lt;/strong&gt;, then switch networks or turn your VPN on or off. Click &lt;strong&gt;Check again&lt;/strong&gt; in the same tab. The saved address stays in that tab, and you can see whether WanIP now sees a different one. That's a before-and-after check, not a VPN leak test.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tool 2: Look up another IP address
&lt;/h2&gt;

&lt;p&gt;The homepage shows the address WanIP sees for your current connection. Sometimes you have a different address you want to check, perhaps one you saved earlier. The lookup takes an IPv4 or IPv6 address and shows its approximate country and network, where available. It won't tell you who's using that address or pinpoint their location.&lt;/p&gt;

&lt;h2&gt;
  
  
  Get the IP on screen first
&lt;/h2&gt;

&lt;p&gt;PHP sends the public IP in the first HTML response, so visitors don't have to wait for JavaScript to see it. The script for Copy IP loads with &lt;code&gt;defer&lt;/code&gt;, so it doesn't block the browser from parsing the page.&lt;/p&gt;

&lt;h2&gt;
  
  
  A small PHP tip: show help when it applies
&lt;/h2&gt;

&lt;p&gt;WanIP only shows &lt;strong&gt;Why am I seeing IPv6?&lt;/strong&gt; when the visitor's own connection uses IPv6. Here's a simplified example. &lt;code&gt;$lookup&lt;/code&gt; is true when someone has entered a different address to look up, and &lt;code&gt;$ip&lt;/code&gt; is the address being displayed.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;lt;?&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nv"&gt;$lookup&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nf"&gt;filter_var&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$ip&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;FILTER_VALIDATE_IP&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;FILTER_FLAG_IPV6&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="o"&gt;?&amp;gt;&lt;/span&gt;
  &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;details&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;summary&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="nc"&gt;Why&lt;/span&gt; &lt;span class="n"&gt;am&lt;/span&gt; &lt;span class="no"&gt;I&lt;/span&gt; &lt;span class="n"&gt;seeing&lt;/span&gt; &lt;span class="nc"&gt;IPv6&lt;/span&gt;&lt;span class="o"&gt;?&amp;lt;/&lt;/span&gt;&lt;span class="n"&gt;summary&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="nc"&gt;This&lt;/span&gt; &lt;span class="n"&gt;connection&lt;/span&gt; &lt;span class="n"&gt;used&lt;/span&gt; &lt;span class="nc"&gt;IPv6&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="nc"&gt;Your&lt;/span&gt; &lt;span class="n"&gt;network&lt;/span&gt; &lt;span class="n"&gt;may&lt;/span&gt; &lt;span class="n"&gt;also&lt;/span&gt; &lt;span class="n"&gt;have&lt;/span&gt; &lt;span class="nc"&gt;IPv4&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="n"&gt;details&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="o"&gt;&amp;lt;?&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt; &lt;span class="k"&gt;endif&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="o"&gt;?&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;PHP decides whether the help belongs on the page. The browser's built-in &lt;code&gt;&amp;lt;details&amp;gt;&lt;/code&gt; handles opening and closing it without another script.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I left off the homepage
&lt;/h2&gt;

&lt;p&gt;I tried adding a few website-hosting guides. They were useful on their own, but they didn't answer the questions people came to WanIP with, so I took them off the homepage. The router guide stayed because it answers a question that comes up right after checking your IP: &lt;strong&gt;Why does my router show a different address?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That was the test I ended up using for every addition: would this help someone &lt;em&gt;right after&lt;/em&gt; they check their IP? If not, it probably doesn't belong on the homepage.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Hosting disclosure: WanIP.info runs on shared hosting from &lt;a href="https://supremecenterhost.com/" rel="noopener noreferrer"&gt;SupremeCenterHost&lt;/a&gt;, my reseller storefront. I may earn a commission if you purchase through it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Writing disclosure: This case study was drafted with ChatGPT based on the actual redesign.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>php</category>
      <category>webdev</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
