End Times: Annoying Pests

"Commander Marion, can you confirm that Rhineshire Central Security Administration is under a security lockdown?" The information drone hovered before Johnathan waiting for an answer. It interposed itself between him and the doors to the administration office. Johnathan tried to sidestep it but it swung sideways to block him. He cursed at the drone in... Continue Reading →

End Times: All Alone

The makeshift door gave a metallic scream as Eilen pushed it open. Behind it, there was a small ramp that led into darkness. She had not been in this place but Buckley, her uncle, told her that it led to some underground chambers built before the Rage. Despite his warning to the clan that it... Continue Reading →

Your Language is a Tool

Dauvis' Dev Musings

One of the most quintessential questions asked by new (and experienced) developers is “What language is the best?” or “What is the best language to learn?” To that, I give the quintessential cop-out, “It depends.” It is best to view choosing a language the same way a car mechanic would choose a tool to work on a car. A mechanic would not use a sledgehammer to change a car’s oil (you may want to consider another mechanic if he or she does). Instead, the mechanic would use a wrench and a filter wrench.

If a developer must process several text files using regular expressions, C would be a poor choice. Instead, Perl would be a better choice because it has language constructs that make it superior to that application. Unfortunately, there are times when there is no choice. For example, when maintaining legacy software, the developer must use the language…

View original post 216 more words

Why you should consider brushing up on Boolean algebra

Dauvis' Dev Musings

Recently I was making changes to some code that was at least 10 years old. Being so old, the identity of the “guilty” party (or parties) has long since been lost to the sands of time. I cannot even say that I am not said party. 😁 The code in question looked similar to the following block of code.


if (inventTable.FlagField && custTable.FlagField)
{
    this.doSomeProcess();
}

if (!inventTable.FlagField || !custTable.FlagField)
{
    this.doSomeOtherProcess();
}

Think about this code for a moment.  I will wait.

AnimatedClock

What is wrong with the code is that the conditions of the two if statements are logically opposite (see De Morgan’s law). Actually, “wrong” might not be the correct word but it is unnecessarily complex. The block of code can be written as the following.


if (inventTable.FlagField && custTable.FlagField)
{
    this.doSomeProcess();
}
else
{
    this.doSomeOtherProcess();
}

In the field of electronics, people use Boolean algebra to design and to simplify electronic…

View original post 69 more words

Oubliette: An Unexpected Visitor

Jacob stopped. He crouched down behind some brown snow-covered bushes. He watched the small cabin. It was his cabin. Its thatched roof covered the single room that was only big enough for one person; two or three in an emergency but that would require the removal of the bench and makeshift table. Smoke curled from... Continue Reading →

Facebook sucks [Share]

Well, that is not exactly what the following linked article says but I think it is a good two-word summary. Basically, a former Facebook executive speaks out about the role that Facebook and other social media is having on our lives. This phenomenon is not just about America or even how Russia engaged in cyberwarfare... Continue Reading →

I've been looking at my homepage and it's been neglected. I'm going to have to start thinking about a renovation. 🤔

End Times: Security Lock Down

Johnathan flew from the door of his apartment to the seat at his workstation. He needed sleep and even the Lady ordered it but, what he really needed now was some answers. The transparent video panels in his cubicle like desk came to life with a blue glow on their border without an order from... Continue Reading →

Draw Your Concept of Fake News

Mozilla announced a program where they will award a cash prize to develop an artistic concept of fake news. If you have a great idea (and talent to boot), here is a way to express yourselves. Mozilla wants to pay you $15,000 to draw your concept of fake news Get out those paint brushes and... Continue Reading →

End Times: Status Report

Echo’s voice emanated from the wall console, “My Lady? Are you awake?” Luanne sat up on her bed, “Yes.” She always thought that it was odd that the androids would ask that question; they could tell by sight. She did not know if it was due to some sort of etiquette algorithm or just general... Continue Reading →

End Times: Lost in the Dark

“Len?” Eilen heard her sister call for her in the darkness in front of her. She turned the corner and flashed the light down the tunnel where Jessi waited. The light reflected off Jessi who was still wearing her dirty and tattered outfit and a dirt black, tattered teddy bear drooped over her arm. Eilen... Continue Reading →

I get it now. Clearly, the Republicans think of the middle-class as dwarves.

Create a website or blog at WordPress.com

Up ↑