Friday feedback banner, a man with a phone writing reviews

The Most Terrifying Force of Death

The most terrifying force of death, comes from the hands of men who wanted to be left alone. They try, so very hard, to mind their own business and provide for themselves and those they love. They resist every impulse to fight back, knowing the forced and permanent change of life that will come from it. They know, that the moment they fight back, their lives as they have lived them, are over.

The moment the men who wanted to be left alone are forced to fight back, it is a form of suicide. They are literally killing off who they used to be. Which is why, when forced to take up violence, these men who wanted to be left alone, fight with unholy vengeance against those who murdered their former lives. They fight with raw hate, and a drive that cannot be fathomed by those who are merely play-acting at politics and terror. TRUE TERROR will arrive at these people’s door, and they will cry, scream and beg for mercy… but it will fall upon the deaf ears of the men who just wanted to be left alone.
— Alexandr Solzhenitsyn

Please don’t wake the man who wants to be left alone.

Charlie

As of Thursday night, they still do not have the shooter in custody. They have confirmed they have good video of the shooter. They believe they have his firearm. A Mauser in 30-06. They have released an image of a person of interest.

There are statements being presented as fact that the cartridges had things written in them indicating a trans or antifa motivation. This has not been confirmed by official sources. The different media reporting this might very well be circle sourcing.

Iryna

It has been 20 days since she was murdered. The look of stark fear in her face after she was stabbed is burned in my mind. I am waiting for the trial to end to find him sentenced to death.

Networking

It’s working. Shhh, don’t spook it.

Race Conditions

In computer science, a race condition is when two threads act on the same value at the same time, with the results of one thread being overwritten by the other.

Consider a database with a value in it; call it the number of visitors to the site. Simplistic code would read the data from the database, increment it by one, then write it back to the database.

This works if there is only a single thread. But if there are two threads, between the time one thread reads the value and writes it back to the database, another thread reads the same value. The value will be incremented in the database by one, when it was supposed to be incremented by two.

In this simple case, we can use a monoatomic action to do the operation: UPDATE options SET value=value+1 WHERE key='site-counter'

This SQL statement reads, increments, and writes the results back in a single operation.

The other method is by using a transaction. db_start(); $row = db_query("SELECT * FROM options WHERE key='site-counter'"); $value = $row['value']; $value += 1; db_query("UPDATE options SET value=$value WHERE key='site-counter'"); db_commit();

The framework I am using uses a crass and simplistic ORM (object relationship model). You don’t normally access the database directly. There is no method to start a transaction using the ORM. This would not be an issue except the framework actually has a critical section where a race condition can exist and is being hit on a semiregular basis.

And my last explanation to the client, this being the fifth time she’s asked what this thing is happening, was met with “I don’t speak your language. When will it be fixed?”

Question of the Week

What is the most touching thing you’ve seen since Charlie was assassinated?

Leave a Reply

Your email address will not be published. Required fields are marked *