The Crossroads
by in Feature Articles on 2026-08-10I moved some things around on my calendar. 4:00 PM today is open. Please come to the executive floor.-Leila
I moved some things around on my calendar. 4:00 PM today is open. Please come to the executive floor.-Leila
Looked to the past for some time-traveling entries to round out a themed post. They're 25% fresh.
Robert apparently got a notification of a planned past delivery. It could be just a case of two systems that don't report different time zones, but even so, that's a wtf. Says he: "I just received an email from OnePlus this morning letting me know they have updated the planned delivery date for my order to Yesterday. I guess the delivery driver is going to time travel to get there on time since it still hasn't arrived. "
Greta (previously) sends us more updates from her "Ancient Development Environment".
An important task an IDE must do is report build errors to its users. Arguably, that's one of the most important parts. I wouldn't know, I insist on building from the CLI all the time, because IDEs confuse and frighten me. I recognize I'm the weird one here, who is more comfortable in GDB than in a GUI debugger, but this isn't about me, it's about the IDE Greta is using.
Frederick A sends us a bit of null checking code, and offers us a better solution.
class ConferenceService
{
/// <summary>
/// Checks if conference is active
/// </summary>
public bool IsCalling()
{
try
{
return m_ConnectionService.Core.State.IsWebRTCConnected;
}
catch
{
return false;
}
}
}
Frequent submitter Capybara James sends us this simple snippet, which highlights that even when you have the lovely convenience of Optional types, you can use them wrong.
if (StringUtils.hasLength(dto.getAssetModelUUID())
// Other conditions
) {
return Optional.ofNullable(dto);
}
Flat-file style databases were designed to fit the constraints of the systems they were running on. You specify your schema in terms of "how many characters in a file we use to store this data", meaning something like this: JOHN SMITH 12343rd StAnytown PA12345 is read in my knowing that the first name field is 8 characters wide, the last name field is 8 characters wide, the street number is 4 digits, and so on.
It's also a terrible schema, and woe to anyone with a long name. But many a mainframe had a similar schema.