Ch. 03
Legacy Code
The alarm went off at six-fifteen. Diego reached for it without opening his eyes, a clock radio, the kind with the red numbers that blur when you're too close, the kind you can find at any Kmart for twelve dollars. He'd had this one since the apartment.
The apartment. That was how he thought of it, three years in: the apartment. Before that, there was the house in Bergen County, the lawn he mowed on Saturdays, the garage where he kept a bicycle he never rode. Then came the papers and the lawyers and the conversation where neither of them raised their voice, and now there was this: two rooms on the fourth floor of a building on Newark Avenue, Jersey City. A couch, a stereo, CDs on a shelf. One mug in the sink because he only owned two and the other was in the cabinet. The walls were white. He had never put anything on them.
He made coffee on the stovetop, an Italian moka pot his ex-wife hadn't wanted in the divorce, probably the only thing in the kitchen with any history. The coffee was strong and too hot. He drank it standing at the counter, looking out at the fire escape and the back of another building that looked exactly like his.
Forty-nine years old, he thought. Not for the first time. Not with any particular feeling. Just the number, sitting there like a batch code. April was half gone, ten workdays since Kurt's anniversary, ten identical mornings. The display at the record store on Newark had come down sometime last week.
Lucas was coming Saturday. Every other weekend, rain or shine, the one rhythm in Diego's calendar that wasn't batch processing.
He showered, dressed: khakis and a blue polo, the flannel-lined denim jacket over everything because the morning was cold and April in Jersey City was not April anywhere he'd choose to be — and walked three blocks to the PATH station. The platform smelled like metal and rain. The 7:18 was on time. Unusual.
Mutual Guaranty Insurance occupied the seventh and eighth floors. Diego worked on the seventh, in a row of cubicles along the window that looked out at another building's parking structure. His desk had a beige tower PC under it, a monitor on top, a phone he rarely used, and a framed photo of Lucas from four years ago when he still looked like a kid. The monitor took thirty seconds to warm up after he hit the power button, settling into its low hum, the sound of the machine remembering what it was for. The login screen was the same blue it had probably always been. Diego had stopped noticing.
He maintained batch processing systems. COBOL, mostly, with some SQL gluing things together. Claims came in overnight from branch offices across the northeast, queued up in flat files, got sorted and validated by Diego's jobs, then shipped to wherever they needed to go: some to internal processing, some to the overflow processing company, a small outfit in Kansas called Heartland Data Services. The jobs ran on a schedule. The schedule hadn't changed in two years. Nothing about Diego's work ever changed, which was the part he liked best.
He logged in, pulled up the overnight run logs, scrolled through. Green, green, green. All jobs completed. He leaned back and drank his second coffee of the day, the office coffee, which was worse than his. That was saying something.
Jeff from accounting stopped at his cubicle door. "Diego. You see the Knicks last night?"
"No."
"They lost by nineteen."
"Sounds right."
Jeff stood there another second. Then he leaned against the cubicle wall.
"You hear about that place in Ohio? Datamark, Dataline, something like that. Processing outfit."
"No."
"Got flagged in a compliance audit. Their outsourcing cert didn't check out, something about the vendor chain not matching the declared specs. Linda in legal was talking about it. Said they got a letter from the Bureau of Technological Compliance, had to freeze operations for six weeks while they sorted it out."
"Huh."
"Apparently it's happening more now. Something about the thirty-year review cycle coming up — they're tightening the audits ahead of it. Linda said even the regional suppliers are getting looked at."
"Sounds like a headache," Diego said.
Jeff decided that was the whole conversation, and left.
Diego liked Jeff fine. He liked most of the people here fine. He'd been at Mutual Guaranty for six years and he could name every person on the floor and what they did, and none of them had ever been to his apartment and none of them ever would. That was the arrangement. Lucas was the exception. Lucas had a drawer. The job paid fifty-eight thousand a year and asked nothing of him that he didn't already know how to give.
By ten-thirty, he'd reviewed the logs, fixed a date-format mismatch in one of the validation scripts, and was reading the documentation for a batch module he'd written himself eighteen months ago because the comments were sparse and he didn't trust his own memory. The morning passed.
His desk phone rang. The internal line, the one with the short ring that meant it was someone in the building. He picked up.
"Diego, it's Dave."
Dave Kessler. Seventh-floor manager. Good enough boss. Didn't micromanage, didn't inspire. The kind of manager who sent emails with bullet points and expected the same back.
"I've got claims sitting in the queue," Dave said. "A lot of them. Operations flagged it an hour ago."
Diego frowned. "My batches ran clean last night. I checked this morning."
"I'm not saying they didn't. I'm saying there's a backlog. Unprocessed items, maybe four hundred, sitting in the intake queue right now. Janet thinks it's a duplicate-key issue, records getting rejected on insert."
"That doesn't make sense. The validation catches duplicates before they hit the queue."
"Well, something put them there. Can you take a look before you head out?"
Diego looked at the clock on his monitor. Four forty-two. The 5:15 PATH would get him home by six. If he stayed, it'd be the 6:45. Takeout from the Chinese place on the corner would be cold by the time he sat down.
"Yeah," he said. "I'll look."
He hung up and pulled up the intake queue. Dave was right — 412 records sitting unprocessed, flagged as duplicates. Diego opened the first ten. They weren't duplicates. They were legitimate claims, all from the same source: the overflow processor, Heartland Data Services, the outfit in Wichita that handled the out-of-hours batch.
The issue was timing. Diego's nightly batch had sent a set of claims to Heartland at 11:00 PM Eastern, as scheduled. Heartland was supposed to process them and return the results by mid-morning. That was the rhythm, had been for years. But the results hadn't come back mid-morning.
They'd come back at 11:47 PM. The same night. Diego's own batch was still running when Heartland's results landed. The two outputs collided. The system flagged everything as duplicates because it couldn't reconcile two sets of results for the same input arriving almost simultaneously.
Diego stared at the timestamps. His first thought was that Heartland had a backlog, maybe they'd been down for a day or two, something had happened in Kansas, and they'd dumped everything at once when they came back online. A power outage, a server crash, a blizzard. Something he wouldn't have heard about because he didn't watch the news and didn't read the paper and had stopped caring about what happened in places he'd never been.
But the numbers didn't support that either. The claims had been sent at 11:00 PM and returned at 11:47. That wasn't a backlog dump. A backlog dump would be messy, spread over hours, mixed in with other days' work. This was clean. Forty-seven minutes, start to finish. Like they'd been waiting for the files to arrive and processed them on the spot.
He knew what Heartland ran. He'd seen the TPA filing — every overflow processor had one on record. A batch engine on that hardware didn't clear four hundred claims in forty-seven minutes. Not without skipping steps, and the results were clean.
Nothing added up today. Not the queue, not the forty-seven-minute turnaround. Diego rubbed his eyes. It was past five. The 5:15 PATH was already gone.
He fixed the queue. It took him an hour: manually retagging the duplicates, clearing the flags, resubmitting the ones that hadn't been processed locally. Boring work. The kind of work that shouldn't have been necessary because it had never been necessary before.
He put on his jacket. On his way out he stopped at Dave's door. It was open. Dave was on the phone, leaning back in his chair, nodding at whoever was talking. Diego stood in the doorway with the spreadsheet in his hand — the one he'd made while fixing the queue, the one with the timestamps that didn't add up. Dave saw him. Held up one finger. One minute.
Diego waited. Dave kept nodding. The clock on the wall behind Dave's desk said 6:34. The 6:45 PATH was in eleven minutes. Dave said "right, right" into the phone and wrote something on his notepad without looking up.
Diego folded the spreadsheet, put it in his jacket pocket, and walked to the elevator.
There was a note under the door. Mrs. Kaminsky from 2B, written on the back of a Con Edison envelope:
┌─────────────────────────────────────┐
│ CON EDISON ████████-██ │
│ 4 Irving Pl, New York NY 10003 │
└─────────────────────────────────────┘
April 17, 1996²
Internet is gone again. You're the
only one who knows how to fix it.
Thank you!!!
— Mrs. K, 2B
Three exclamation marks.
He dropped his keys on the counter and went down to the basement. His back seized on the third step, a knot below the right shoulder blade that had been there since February. He stopped, breathed through it. Forty-nine years old. The connection box was behind the water heater, a beige plastic thing with four blinking lights that served the whole building. The coax cable had worked itself loose from the splitter. He pushed it back in, waited for the lights to cycle, and stood there in the damp concrete smell until the fourth light went solid. Five minutes. He'd done it so many times he could have done it without the lights on.
Back upstairs, he opened the fridge. Half a container of lo mein from two days ago. He smelled it, decided it was fine, ate it cold standing at the counter. He could hear the couple upstairs arguing about something, the woman's voice rising, the man's going flat. Through the wall, Mrs. Kaminsky's television was on too loud.
He put on a CD, Jagged Little Pill, because it was everywhere anyway, on every radio, in every store, and the album was actually good despite that. The opening track filled the apartment and made it feel less like a waiting room.
He sat on the couch. The couch was where he ate, where he read, where he sometimes fell asleep with the TV on. A street after rain. A record store that smelled like plastic and cardboard. The sound of a guitar through a wall, and someone saying something that made someone else laugh, the kind of laugh that came from the stomach and surprised the person making it. A hallway that smelled like garlic, the iron gate, the broken doorbell. A couch that wasn't this couch, in a room that wasn't this room, in a place that was his in ways this apartment would never be.
The phone rang.
"Dad."
"Lucas."
"Can you pick me up Saturday? Mom has a thing."
"What time?"
"Like ten? I've got stuff at the house I need to bring over."
"Sure."
A pause. Diego could hear something in the background. Music, or a TV, or both. Lucas was seventeen and lived in a world of background noise.
"Hey, Dad, you know about CD players that don't skip?"
"What do you mean?"
"Sofia's cousin has this thing, it looks like a portable CD player, small, with headphones, but it never skips. Even if you shake it. And it's way thinner than yours."
"That's a MiniDisc," Diego said. "They've been around for years."
"No, it's not a MiniDisc. There's no disc. There's nothing inside. He opened it and there's just, like, a chip."
"Saturday at ten," Diego said. "Bring a jacket."
He hung up. A MiniDisc had a disc. That was the whole point — a small disc in a cartridge. What Lucas was describing didn't have one. Diego had looked at every portable player on the shelf at Sears three Christmases ago, pricing gifts he couldn't afford. None of them worked without media.
He didn't call back.
Lucas found things to get excited about. Last month it was a pair of sneakers, the month before that some skateboard wheel made of a material he couldn't name. He'd be fine without the Saturday visits soon. He probably already was.
The answering machine had a blinking light. He already knew who it was: Silvina, his sister, calling from Quilmes. She called every two weeks. He returned the call every three. Her voice messages trailed off into "bueno, nada, eso" when she ran out of things to say. That was rare. He pressed the button to save it without listening.
He turned on the computer. At least the connection was working, one thing he didn't have to fix twice in the same night. He opened his inbox.
Three messages. A credit card offer. A newsletter from a COBOL user group he'd joined and never read. And one from Lucia.
Subject line: back in milan. everything is the same here too.
He opened it.
Arrived Tuesday. The rain here is colder. My father looks older every time, which I know is how time works but it's still annoying. The university hasn't changed. The woman at the café downstairs still gets my order wrong. I ordered a cortado and she brought me a latte. Again. I think she does it on purpose, as a statement about Argentines who come back and expect things to be how they left them.
How's Jersey City? Still standing?
Diego read it twice. He moved the cursor to the reply box.
He thought about typing something about the backlog. About the forty-seven minutes. About Heartland processing four hundred claims in less time than it takes to watch a movie. He thought about typing: do you ever notice things that don't quite fit, and then you decide they fit anyway because it's easier?
He didn't type any of it.
He opened a new file, the plain text editor, the blank one he used for notes nobody asked for. He typed the number: 47. Then the date. Then Heartland. He looked at it for three seconds. Three lines on a white screen. He selected all and deleted it. The file closed without asking if he wanted to save, because there was nothing to save.
He thought about logging into the office system to check those timestamps again, but the building connection could barely load email. The forty-seven minutes would have to wait until morning.
He turned off the monitor. Alanis was still playing. The forty-seven minutes were still there, underneath everything, quiet and wrong.
Diego finished the lo mein. He didn't reply to Lucia.
Part 1 continues with five more chapters.
Leave your email and I'll tell you when they're ready.
También en castellano.