Blog

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.

Washington Post Caught O’Keefe in the Act

It seems that James O'Keefe's group is trying to create false narratives to help their buddy, Pedophile Moore. However, they were caught in the act this time. This is an example how conservative "journalists" try to shift the narrative to what they want low information voters to think. They create false narratives by making recordings... Continue Reading →

Wasted Medicine [Share]

ProPublica has a series called Wasted Medicine that investigates how the healthcare industry is being wasteful and overcharging people. WASTED MEDICINE Billions of dollars are routinely wasted every day by health care providers in the United States — and it’s driving up the cost of care for all of us.  

End Times: Marie-Camila

The door slid open without a sound. Even though it was dark outside, the windows were shaded as they usually were. The occupant never liked her view of the enclave. The room was pitch black except for the small flashing status lights from the auto-med; a monstrous spider-like android that hangs above the patient’s bed.... Continue Reading →

End Times: News Report

Johnathan was not happy. He stood in the transparent glass elevator as it carried him to the top floor. There was a military operation going on of which he had not authorized. Nobody was giving him any answers. Now, he had orders to report to Rhineshire tower; a distraction he did not need right now.... Continue Reading →

End Times: Invasion

Eilen and her sister hid under the bed in their room. She slid her hand into the darkness towards sister and Eilen could feel her doing likewise. When their hands touched, they interlocked, and only a crowbar could separate them. Eilen knew in her sister’s other hand, she would be clutching the filthy teddy bear... Continue Reading →

Facts on the Bob Menendez Trial

Bob Menendez charges, explained As jurors continue to deliberate in New Jersey Democratic Sen. Bob Menendez's bribery and corruption trial, CNN has assembled the highlights of the 10-week trial. Jurors heard from nearly 60 witnesses and were shown almost 300 pieces of evidence. Jurors must determine under federal bribery law whether or not Menendez performed... Continue Reading →

Create a website or blog at WordPress.com

Up ↑