Library to spawn a process with given input and receive its output

I have created a C library to span a process with given input and receive its output. One cannot just write to stdin of a process and then read its stdout through pipes, because this way it may lead to a deadlock. Instead use my library: Homepage API docs It is an alpha release, tested on Linux. During its development I managed to crash Linux: https://bugzilla.kernel.org/show_bug.cgi?id=198549 Continue reading Library to spawn a process with given input and receive its output

A new problem appeared writing automatic XML transformations

This is about Automatic transformation of XML namespaces. Previously I divided all transformations into two groups: with a given source and target namespace (as converting DocBook into HTML); with only source given but not the target (as for XInclude). Today I’ve realized that it is a wrong division. Instead we need to split into: transformations for transforming from a specified source to a specified target; … Continue reading A new problem appeared writing automatic XML transformations

Expired access token in Google OAuth

I sought in Internet how to determine from Google response whether an access token is expired. I found no definitive answer. So, finally I created an access token and waited for a hour to see the Google response when I try to use this token. The Google response (with a partial list of HTTP headers) is below: HTTP/1.1 401 Unauthorized WWW-Authenticate: Bearer realm=”https://accounts.google.com/”, error=invalid_token Content-Type: … Continue reading Expired access token in Google OAuth

Why Linux is better than Windows

One man asked me: I have heard of Ubuntu Linux, but have never seriously considered using it. What makes it “good”? Here is my reply (not aspiring for completeness, Linux has other advantages also): I could say that the “main” advantage over Windows is that the system goes together with applications. You can update ALL installed applications with single command. You can easily update all … Continue reading Why Linux is better than Windows

Google AdWords bug slowed down my ad campaign :-(

I have started a Google Grant AdWords campaign for an USA based nonprofit recently (about two days ago). It worked well and I was enjoyed. But then it was closed for “maintenance” as they say for 2-3 days (I don’t remember the exact word Google used to describe “maintenance”.) After about a day maintenance seemingly ended. But now I have another problem: Google says “Your … Continue reading Google AdWords bug slowed down my ad campaign 😦

“Automatic transformation of XML namespaces” specification

Automatic transformation of XML namespaces specification releases its first draft. From the specification: This is a preliminary rough draft. There may be errors, omissions, and logical inconsistency. There should be added more formal explanations (not just examples as now), more examples, and more explanation. The standard may change. However, the first draft is released and it is a complete specification, which should be formal enough … Continue reading “Automatic transformation of XML namespaces” specification