Sun Mon Tue Wed Thu Fri Sat
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
|
Book
It was only yesterday evening late that I discovered that the Book fair Glanerbrug already had started day before yesterday. In the past
years, I usually went on the first day of the book fair. I went this afternoon.
I did not find many interesting books and I also noticed that the prices have
come closer to the prices in thrift stores. At 13:59, I bought the book
Information is Beautiful written by David McCandless in English and published by Collins in 2009,
ISBN:9780007294664, for € 2.00. There is a website related to the book.
I downloaded some data about the precipitation deficit in the Netherlands from
the Dutch page Data neerslagtekort of the Royal Netherlands Meteorological Institute to calculate on ever day since
April 1, in what percentage of the driest years we are. The numbers for the
past weeks are:
date value max %
-------------------------------
20260424: 52.3 67.2 2.8%
20260425: 55.6 69.8 2.7%
20260426: 59.1 73.1 2.6%
20260427: 61.8 76.6 2.1%
20260428: 65.6 77.3 1.5%
20260429: 69.7 80.3 1.2%
20260430: 73.8 84.3 0.7%
The value in the second colomn is the current precipitation deficit in mm. The
value in the third column is the highest value on record. The value in the
third column is an estimation of the driest year we are in based on the
distribution of measuremenst from 1906 to and including last year, a total of
120 years. Some rain has been predicted for the coming days, so hopefully it
might drop a bit in the coming days. I used the following code to process the
int_nl.dat file:
#include <stdio.h>
int main(int argc, char* argv[])
{
char buffer[200];
while (fgets(buffer, 199, stdin))
if (buffer[0] == '1' || buffer[0] == '2')
{
buffer[8] = '\0';
double val;
sscanf(buffer + 9, "%lf", &val);
printf("%s %05.1lf\n", buffer + 4, val);
}
return 0;
}
And the following code to process the sorted output of the above using the
contents of the file rdev_tijdreeks.txt with the latest numbers:
#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[])
{
FILE *f = fopen("rdev_tijdreeks.txt", "r");
char buffer[100];
fgets(buffer, 99, f);
char buffer2[100];
fgets(buffer2, 99, stdin);
while (fgets(buffer, 99, f))
{
double val;
sscanf(buffer + 9, "%lf", &val);
double prec = -1;
double prev = 0;
int years = 0;
for (;; years++)
{
if (strncmp(buffer + 4, buffer2, 4) != 0)
break;
double val2;
sscanf(buffer2 + 5, "%lf", &val2);
if (val2 >= val && prec < 0.0)
{
double diff = val2 - prev;
prec = (double)years + (diff > 0 ? (val - prev)/(val2 - prev) : 0);
}
prev = val2;
fgets(buffer2, 99, stdin);
if (feof(stdin))
buffer2[0] = '\0';
}
if (prec < 0.0)
prec = years;
buffer[8] = '\0';
printf("%s: %6.1lf %6.1lf %6.1lf%%\n", buffer, val, prev, 100 - 100*prec/years);
}
return 0;
}
De Vrijhof
This morning, I saw two exhibitions at De
Vrijhof, a building at the University of Twente, which is the cultural centre and houses the central
library. First I saw the exhibition with thirteen gouaches by Klaas Versteegen. The second was the exhibition See What We Make.
I found the sculpture by Sophia de Vries and Jet van de Werf noteworthy and
also the paintings by Tessa van Belois, Carlijn Tempelaars, Joanita Leferink,
Mirka Tako Morocho and Emile Hollander.
Taken
I came across the page Taken,
which shows information that a webpage receives from the client. When I looked
in the source code of the page, I discovered that the page was not generated by
the server, but that the information was retrieved with JavaScript. Of course,
this allows the code to make some kind of request to a server using this
information and thus being used to track someone. As far as I can see, this
page does not do it. So, although it seems that the page knows a lot about you,
the information shown never reaches the website but stays local. In the text
box below, some information is shown that is can easily be retrieved with
JavaScript embedded in this page. Again, this is purely local. This is a static
website and no information is send to a server and the website does not use
cookies.
Maker Festival Twente
I went to Maker Festival Twente. I first saw the exhibition at Tetem Art Space with the
installation Synthetic
Halo by Kurina Sohn, which
generates sounds and graphics based on the brainwaves detected by an EEG
sensor. I also subjected myself to the installation. I heard various kinds of
sounds. Only afterwards, I looked at the explaination of the various sounds. I
am not sure if I identified all the sounds on the explaination. Next, I joined
the free embroidery workshop using TurtleStitch. I decided to program it without reading the manual after
someone showed me some elementary steps. It took me some time out that drag
and drop is the primary method of creating the Scratch based programs. In my first program that was executed on an
embroidery machine I had added some movement, not realizing that it introduced
a line as well. I was told that the machine automatically centers the output
generated by the program. The second second program, saved in the file
SimpleFractal.xml, in which I also
increased the size a bit, resulted in a nice result. Both were executed with
pink wire on a purple sample of felt. I looked around the area at all the
stands and also wanted to have a look inside the Luminarium by
Architects of Air, but when I
was told I had to buy a ticket for 5.00 €, I declined. At the end, I
talked with two people (students) from the AKI, I was given a copy of AKI ArtEZ FINALS 2025, the last one they
had with them. It is sealed in plastic and I might decided not to open it.
This months interesting links
Home
| April 2026