My Account List Orders Book Page

The Lighthouse Keeper's Algorithm

Table of Contents

  • Chapter 1 Silicon on the Rocks
  • Chapter 2 Notice of Termination
  • Chapter 3 The Fog Rolling In
  • Chapter 4 System Error 404
  • Chapter 5 Cap in Hand
  • Chapter 6 Reluctant Terms
  • Chapter 7 Oil, Grease, and Fiber Optics
  • Chapter 8 Salt in the Code
  • Chapter 9 Dinner by Lantern Light
  • Chapter 10 Analog Defiance
  • Chapter 11 Static on the Line
  • Chapter 12 The Storm Warning
  • Chapter 13 Tower in the Gale
  • Chapter 14 High Voltage
  • Chapter 15 Morning After the Tempest
  • Chapter 16 Recalibrating Distance
  • Chapter 17 Shared Quarters
  • Chapter 18 Manual Override
  • Chapter 19 Decoding Each Other
  • Chapter 20 Interference from the Mainland
  • Chapter 21 The Glitch in the Heart
  • Chapter 22 Blown Fuses
  • Chapter 23 The Dark Horizon
  • Chapter 24 Guiding Signal
  • Chapter 25 Sea Glass and Microchips
  • Chapter 26 Steady Beam

CHAPTER ONE: Silicon on the Rocks

The twin-engine Cessna pitched sideways, catching a pocket of cold Atlantic air that dropped Arthur Vance’s stomach straight into his tailored wool trousers. He gripped his leather briefcase with white knuckles, fighting the sudden urge to surrender his artisanal oat-milk macchiato to the plastic floorboards. Through the rain-streaked oval window, Maine’s mid-coast looked less like a romantic maritime postcard and more like a collection of jagged slate knives waiting to gut an unwary traveler.

Beside him, the pilot, a man named Vern who smelled entirely of dried cod and clove gum, adjusted a rusted lever with the heel of his hand.

"Wind’s picking up out of the northeast," Vern yelled over the drone of the props. "Usually does around three. You picked a hell of a day to visit the rock, Mr. Vance."

"The schedule was fixed three weeks ago," Arthur said, his voice clipped and precise, pitched to project without straining. He adjusted his titanium-framed glasses, pushing them up the bridge of a nose that had spent too much time pointed at high-resolution monitors and not nearly enough confronting the elements. "The Department of Transportation’s regional maritime transition window closes at the end of the quarter. Efficiency requires adherence to timetables."

Vern let out a short, wheezing laugh that got swallowed by the engine noise. "Out here, timetable's spelled w-e-a-t-h-e-r. But hey, you’re the fella with the computer boxes."

Arthur chose not to dignify that with a response. Instead, he pulled his tablet from the briefcase, waking the screen with a thumbprint. The dashboard of his proprietary suite—beaconOS, version 4.2—glowed back at him in soothing shades of dark slate and electric blue. Lines of telemetry fluttered steadily, waiting for hardware handshake signals.

At thirty-four, Arthur had already built and sold two logistics algorithms to trans-Pacific shipping conglomerates, making enough money to ensure he would never have to worry about rent or cheap wine again. But this project was different. BeaconOS wasn't just a back-end logistics routing tool; it was his bid for civic indispensability. The federal maritime safety infrastructure was archaic, burdened by legacy mechanical systems, rusted brass, and, worst of all, the stubborn unpredictability of human labor.

Pelican Reef Light was his pilot project. An isolated, nineteenth-century granite monolith perched six miles off the coast of Cape Sorrow, it had been maintained continuously by human keepers since the administration of Chester A. Arthur. If Arthur could automate Pelican Reef—integrating automated Fresnel-equivalent LED arrays, cloud-linked barometric sensing, predictive fog detection, and remote diagnostic failovers—he could automate the remaining manned stations across the Eastern seaboard. One central server farm in Boston could do the work of dozens of men who demanded pensions, medical leave, and an endless supply of kerosene.

It was clean. It was elegant. It was progress.

The plane banked steeply, and the island finally rose into view through the grey murk. Pelican Reef was barely an island; it was a half-acre spine of dark, fractured granite thrusting out of the white foam like the vertebrae of a drowned leviathan. Waves slammed into the western shelf, throwing spray thirty feet into the air.

At the highest point of the rock stood the tower: eighty feet of salt-bleached granite blocks, banded with faded black paint near the gallery, topped by a glass lantern room that caught the dull afternoon light like a cold eye. Connected to the tower by an enclosed brick breezeway sat a two-story keeper’s cottage with a slate roof, weathered cedar shingles, and a stone chimney puffing a thin, defiant thread of grey smoke into the gale.

"There she is," Vern said, throttling back. "Look at the south slip. Tide’s halfway up. We’re landing on the water strip off the leeward spit, but I ain't cutting the engines all the way. The tender’s waiting."

Arthur peered down. In the comparatively calm water sheltered by the island’s eastern spine, a battered, diesel-belching skiff bobbed like a cork. A figure stood in the stern, clad in faded yellow oilskins, holding a boat hook with the casual balance of someone who had grown up on an incline.

The landing was violent. The Cessna’s pontoons slammed into the choppy swell with a sound like sheet metal being kicked down a flight of stairs. Arthur’s teeth clattered together, his fingers digging into his briefcase until the leather groaned. Spray plastered the windows, turning the world into a blur of grey-green foam before the aircraft settled, rocking violently from side to side.

"Alright, city boy," Vern shouted, popping the cabin door latch. A blast of freezing air, thick with brine and the smell of dead kelp, surged into the heated cabin. "Grab your gear. Mac won’t hold that skiff against the pontoon for more than two minutes without swearing a blue streak."

Arthur slung his waterproof backpack over one shoulder, grabbed his hard-shell equipment case—housing the primary processing unit for beaconOS—and stepped onto the pontoon. The wind hit him like a physical blow, flattening his dark overcoat against his ribs and instantly chilling the bare skin of his neck.

The skiff drew alongside, its battered wooden rub-rail squealing against the pontoon’s rubber fender.

The man holding the boat hook looked up.

Arthur’s first impression was one of sheer, immovable density. The man wasn't extraordinarily tall—perhaps an inch or two under Arthur’s six feet—but he was built like a dock piling, wide-shouldered and thick-chested beneath a heavy, salt-stained wool sweater worn under his oilskin bib. His face looked as though it had been carved out of driftwood with a dull knife: deep-set hazel eyes sheltered beneath heavy, dark brows, a jaw lined with a week’s worth of silver-flecked stubble, and skin weathered to the color of an old boot. A dark watch cap was pulled low over ears that looked perpetually red from the cold.

The man didn't offer a hand. He merely hooked the pontoon’s cleat, held the bucking boat steady with one muscular forearm, and glared up at Arthur with undisguised contempt.

"Toss the black box," the man said. His voice was a low, gravelly rasp that barely carried over the roar of the surf. "Then step on the center thwart. Don't step on the gunwale unless you want a swim in forty-degree water."

"I am perfectly capable of boarding a vessel," Arthur said, though his knees trembled slightly as the pontoon rose and fell beneath his designer leather-soled boots.

He handed the heavy Pelican case down. The man caught it with one arm, not even shifting his stance, and set it carefully beneath the wooden seat out of the bilge water. Arthur took a breath, timed the roll of the swell as best he could from his three months of competitive rowing at Dartmouth a decade ago, and stepped into the skiff.

His right boot slipped on a patch of wet sea lettuce.

Arthur gasped, arms flailing, gravity violently asserting itself. But before he could crack his ribs against the wooden thwart, a hand like an iron vise clamped onto his upper arm. The grip was shockingly firm, arresting his fall instantly. Arthur stumbled forward, his face landing inches from the man’s chest. He caught a sudden, overwhelming scent of woodsmoke, cedar, raw wool, and the sharp, mineral tang of cold sea salt.

"Told you," the keeper muttered. He didn't let go until Arthur had both feet firmly planted on the floorboards. "Center thwart. Sit down and don't touch the throttle."

Arthur scrambled to the midship bench, his cheeks burning with a mixture of embarrassment and cold wind. "Thank you," he said stiffly, attempting to re-straighten his tie, which had whipped over his shoulder.

The man ignored him, casting off the hook and shoving the skiff away from the plane’s pontoon with a single thrust of his leg. Vern gave a wave from the cockpit, gunned the Cessna’s engines, and began taxiing back out toward the channel, leaving a foaming wake behind him.

The roar of the plane receded, replaced entirely by the thunder of the Atlantic. The skiff’s small diesel engine chugged with a rhythmic, heavy thumping—thump-chug, thump-chug—as the keeper turned the tiller toward the rocky slipway carved into the leeward side of Pelican Reef.

Arthur adjusted his glasses, wiping a spray of sea mist from the lenses with his sleeve. "You must be Mr. Wallace. Thomas Wallace."

The keeper didn't look at him. His eyes were fixed on the narrow approach between two half-submerged granite ledges where the swell surged and broke into white water. "Mac," he said.

"Pardon?"

"Nobody calls me Thomas except the tax collector and the minister, and both of 'em are on the mainland where they belong," Mac said, shifting the tiller an inch to port. The boat slid neatly between the foaming rocks with barely two feet of clearance on either side. "You’re Vance."

"Arthur Vance. Chief Executive Officer and Lead Architect of Vance Maritime Systems." Arthur offered a hand across the gap between the thwarts, a reflex ingrained by years of venture capital pitches.

Mac looked down at Arthur’s outstretched, clean-manicured hand, then looked back at the wave timing ahead. He didn't take it. "I know who you are. Government sent three letters about you. Used a lot of big words to say the same damn thing."

"Which is?"

"That you’re here to turn eighty years of family work into a pile of circuit boards."

Arthur slowly withdrew his hand, resting it on his knee. He wasn't entirely surprised by the hostility. Every digital transformation initiative encountered resistance from incumbent operators. In logistics, it had been the warehouse foremen; in shipping, the unionized harbormasters. People hated being replaced by math, even when the math was provably superior.

"Automation is inevitable, Mr. Wallace—Mac," Arthur corrected himself smoothly. "The federal mandate requires all Class Three coastal aids to navigation to achieve Tier Four remote autonomous capability by the end of the fiscal year. Pelican Reef has the highest maintenance overhead per operating lumen of any station in the First District. This installation isn't personal. It’s an upgrade."

Mac cut the throttle just as the skiff slid into the sheltered cove. The keel ground onto the slipway gravel with a harsh, shuddering scrape. The engine sputtered and died into sudden, ringing silence, broken only by the cry of gulls and the rhythmic boom of the outer surf.

Mac stood, looping a thick hawser around an iron ring bolted directly into the stone. He turned to face Arthur, blocking the view of the path up to the lighthouse. Standing fully upright, Mac’s presence was even more formidable than it had appeared in the boat. His shoulders strained the seams of his sweater, and there was an unyielding, rooted quality to him, like an oak tree that had grown through granite.

"An upgrade," Mac repeated flatly. He looked down at Arthur’s polished shoes, now soaked with saltwater, then at the hard-shell electronics case. "That what you call it when you replace a man who knows every rock between here and Mount Desert with a box made in California?"

"The hardware was assembled in Massachusetts, actually," Arthur said, standing up and immediately regretting it as his stiff legs wobbled on the slick gravel. He reached down to lift his case, but Mac had already hoisted it onto one broad shoulder, along with Arthur’s waterproof duffle.

"Don't care where it was made," Mac said, turning toward the steep stone stairs carved into the cliff face. "It won't last the winter out here. Salt eats copper. Frost cracks solder. And computers don't know the difference between sea smoke and a nor'easter until the hull of an oil barge is sitting on the reef."

"The sensors utilize dual-spectrum infrared and algorithmic optical density analysis," Arthur said, quickening his pace to keep up as Mac ascended the stairs two at a time without breaking a sweat. "It doesn't guess. It measures particulate moisture in the air up to five kilometers out. The foghorn triggers automatically at three hundred meters of degraded visibility."

"Particulate moisture," Mac muttered, shaking his head. His heavy boots thumped rhythmically against the stone. "You talk like a technical manual, Vance."

"Because precision matters."

"The sea don't give a damn about precision."

They reached the crest of the cliff. Up close, the lighthouse was far more imposing than it had seemed from the air. The granite blocks were massive, four feet long and two feet thick, held together by mortar that had weathered into deep grooves. The tower soared upward, tapering slightly toward the lantern gallery where the complex prisms of a second-order Fresnel lens caught the pale sky, splintering the light into subtle rainbows.

Arthur stopped, momentarily captivated despite himself. As an engineer, he had to appreciate the sheer audacity of the structure. It had been built with hand tools, block and tackle, and muscle, anchored into solid bedrock to withstand centuries of relentless hydraulic battering.

"Second-order bivalve," Arthur murmured, looking up at the glass lantern. "Installed 1888. Mercury float mechanism replaced with roller bearings in 1962."

Mac stopped beside him, his gaze following Arthur’s up the tower. For a second, the hard lines around his mouth softened, just a fraction, before settling back into granite.

"Grandfather helped pour the concrete collar around the base after the hurricane of '38," Mac said quietly. "My father kept the light during the blizzard of '78 when the sea broke the lower kitchen windows and the mainland ran out of coal. I took the station over twelve years ago."

Arthur looked at Mac. The keeper’s profile was sharp against the grey sky, his jaw set, his eyes distant. There was an ache there, buried under layers of stoic Yankee silence, that Arthur recognized with an uncomfortable jolt of familiarity. It was the look of a man who had staked his entire identity on a single point of purpose, only to find the ground shifting beneath him.

Arthur cleared his throat, uncomfortable with the sudden emotional gravity. "It has an impressive history. But the mechanical drive is inefficient. The rotational gear assembly requires daily winding, the lamp uses obsolete halogen elements, and the generator burns two hundred gallons of diesel a month. The new system runs on solar arrays with wind-turbine assist and solid-state battery banks. It will run uninterrupted for five years without requiring a human being to turn a single screw."

Mac turned his head slowly, looking down at Arthur with eyes that were as cold and deep as the channel they had just crossed.

"Five years," Mac said. "That’s the promise, is it?"

"That is the operational specification."

Mac snorted, a sharp, humorless sound. He turned and walked toward the cottage door, throwing it open without bothering to knock. "Come inside before your little shoes freeze to the rock. We got three hours of daylight left, and you’ve got work to do if you’re gonna prove that box of yours is smarter than the ocean."

Arthur lingered on the threshold for a second, feeling the wind tear at his coat. The ocean crashed against the reef below, a relentless, primal rhythm that vibrated through the stone beneath his feet. He glanced at his tablet, where the blue telemetry lines still waited for a signal.

He squared his shoulders, gripped his briefcase, and stepped inside.


CHAPTER TWO: Notice of Termination

The cottage smelled like linseed oil, chicory coffee, and two centuries of dried wood soaked in salt air. It was a narrow, practical space, dominated by a cast-iron stove that radiated a dry, fierce heat that instantly made Arthur’s salt-crusted face prickle. A braided rug sat on wide pine floorboards that had been scrubbed until the grain stood out in pale ridges, and against the far wall stood a drop-front secretary desk overflowing with logbooks, brass dividers, and curled tide charts.

Mac dropped the heavy hard-shell case by the door with a dull thud that made Arthur wince. He kicked off his boots by the threshold, not bothering to untie the laces, and hung his yellow oilskins on an iron peg. Underneath, his flannel shirt was worn thin at the elbows, the plaid pattern faded into soft shades of charcoal and brick red.

"Kitchen table's over there," Mac said without looking back, heading straight toward the stove. He grabbed a blue enameled kettle and slammed it onto the iron ring. "Don't drip on the charts. Coast Guard still audits the paper logs until the end of the month, whether your gadgets like it or not."

Arthur carefully placed his briefcase on the round oak table, which had been cleared down to a single brass kerosene lamp. He unbuttoned his soaked wool overcoat, feeling remarkably out of place in his tailored charcoal trousers and cashmere knit. "Mr. Wallace—"

"Mac."

"Mac," Arthur corrected, taking a breath. "As I’m sure you’re aware, my visit isn't merely an informal site survey. We have formal administrative protocols to execute before I begin the physical installation in the lantern gallery. The Department of Transportation’s Maritime Administration issued a final operational transition directive."

Mac turned from the stove, a thick ceramic mug in hand. His gaze drifted down to Arthur’s hand, which was reaching into the briefcase. "You brought paperwork."

"It requires your signature of receipt," Arthur said evenly. He pulled out a crisp, manila folder containing the Department’s official off-boarding documentation: Form 104-B, Notification of Decommissioning and Civilian Personnel Relocation, stamped with the blue seal of the federal government. "It formally marks the end of manned civilian custody of Pelican Reef Light. The transition period is twenty-one days, during which you will oversee the decommissioning of the old machinery and the concurrent commissioning of beaconOS."

Mac walked over, his heavy woolen socks whispering against the pine boards. He took the mug of black coffee, didn't offer any to Arthur, and pulled out the chair directly opposite. The wood groaned under his weight. He didn't touch the folder. He just stared at the neat black typography on the cover.

"Notice of Termination," Mac murmured, his voice flat.

"It’s an administrative de-staffing notification," Arthur said, falling back on the sterile vocabulary of municipal contracts. "You aren't being fired, Mac. You’re being retired with a complete civilian service pension, plus a lump-sum relocation allowance to cover your transit and housing on the mainland. The First District office in Portland even offered a desk position in dispatch, if you wished to remain active until retirement age."

Mac lifted his gaze from the paper. His hazel eyes were startlingly intense in the warm glow of the stove, flecked with gold and framed by crow’s feet that seemed carved by decades of squinting across grey water.

"Desk job," Mac said softly.

"It’s an option."

"In a basement in Portland, staring at radar screens and answering VHF calls from weekenders who forgot to check their fuel tanks before leaving Falmouth." Mac took a slow sip of the scalding coffee, never breaking eye contact. "Twelve years I’ve been out here alone, Vance. Before that, eight years as assistant to my father at Mount Desert Rock. My hands have changed every gasket on the diesel generators three times over. I’ve ground down the lantern rollers with emery cloth in thirty-below weather so the beam didn't freeze and leave five hundred tons of Canadian lumber on the shoals."

He leaned forward, placing both broad hands flat on the oak table. His knuckles were thick, scarred, and stained around the cuticles with machine grease that no amount of soap would ever truly lift.

"You think a pension check and a plastic chair in Portland squares that ledger?"

Arthur felt a knot tighten in the base of his stomach. He was familiar with balance sheets, venture term sheets, and municipal arbitration hearings, but those took place in glass-walled conference rooms with bottled mineral water and lawyers. Out here, with the Atlantic thundering against the foundation fifty feet away and this massive, solitary man leaning across the table, the corporate jargon sounded hollow, like an echo inside an empty drum.

"I understand that you have a sentimental attachment to the facility," Arthur began, trying to keep his cadence steady.

"It’s not sentimental," Mac snapped, the roughness in his voice sharpening like an axe against a whetstone. "It’s duty. You city types use words like inevitable and redundant because you don't know what it feels like to have blood on your hands when a light goes dark. If my grandfather missed a watch, men drowned. If my father let the fog bell ice over, ships broke apart in the sound. Now you come out here with a box of printed wire and a piece of paper that says I’m an obsolete expense."

"The technology is more reliable than human attention," Arthur said, defending the foundation of his life’s work. "It doesn't suffer from fatigue. It doesn't get sick. It doesn't fall asleep on watch. An automated array monitors its own voltage forty times a second. If an LED module fails, the secondary array strikes within eight milliseconds. It communicates via satellite to three separate regional redundant servers. It eliminates human error entirely."

Mac let out a harsh, dry chuckle that held no warmth at all. "Human error. That’s what you call a man who cares enough to stay awake forty-eight hours straight when the backup generator throws a rod in a blizzard?"

"I call it an inefficient risk factor," Arthur said plainly. "No single point of failure should depend on the physical endurance of an individual."

Mac stared at him for a long, quiet moment. The only sound in the cottage was the steady crackle of the stove and the wind whining around the eaves of the roof. Then, without a word, Mac reached across the table, flipped open the folder, and picked up the heavy steel pen Arthur had laid beside it.

He didn't read the terms. He didn't glance at the relocation figures or the pension calculation tables. He simply scrawled a jagged, aggressive signature across the line marked Custodian of Record: Signature of Acknowledgment, then threw the pen down. It bounced once against the wood and rolled off the table, landing on the rug.

"There," Mac said, his voice dropping into a quiet, dangerous calm. "Your government paper is signed. You got three weeks of food in those rations you brought?"

"I brought freeze-dried provisions and emergency rations, yes."

"Good," Mac said, rising from the table and picking up his mug. "Because the pantry here is mine, bought and paid for out of my stipend, and I don't cook for tourists. The west bedroom upstairs is open. Mattress is straw and wool, blanket is horse-hair. Don't use the hot water in the copper basin for more than three minutes or you’ll drain the cistern, and rain hasn't filled the collector since Tuesday."

Arthur bent down to retrieve his fallen pen, feeling a flush of annoyance. "I am not a tourist, Mr. Wallace. I am an engineer contracted to perform an infrastructure modernization."

"You’re a trespasser who brought a warranty," Mac said, walking toward the narrow stairs that led to the upper floor. He paused with one hand on the newel post, looking back over his shoulder. "High tide’s at six tomorrow morning. If you want to carry that computer nonsense up eighty-four steps of cast-iron spiral staircase to the lantern deck, you’d better be up before the sun. The wind usually shifts north by seven, and after that, opening the gallery hatch will take the fingers right off your hands."

Before Arthur could formulate a biting reply about the physical specifications of modern industrial ergonomics, Mac’s heavy footsteps were already ascending the wooden stairs, each tread groaning under his weight until a latch clicked shut above, leaving Arthur completely alone in the silent, amber-lit room.

Arthur stood there for a few seconds, breathing in the quiet. He straightened his shoulders, pulled his tablet back out of his bag, and logged the receipt of the signed Form 104-B. The bureaucratic requirement was checked off. The system had accepted the input.

Yet, looking at the bold, angry scrawl of Mac’s signature on the pristine white page, Arthur felt an odd, prickling unease beneath his ribs. He closed the folder, slid it back into his leather bag, and looked out the narrow cottage window toward the dark tower rising against the darkening sky.

The glass prisms of the Fresnel lens were already beginning to catch the twilight, casting faint, ghostly shards of pale amber light across the churning waters of the reef. In less than a month, that light would be cold, precise, and white, driven by an algorithm Arthur had spent four years perfecting.

It was the future. It was progress. And looking up at the cold granite ceiling, Arthur realized that the next three weeks were going to be the longest of his life.


This is a sample preview. The complete book contains 27 sections.