Category Archives: Software

Nicht repräsentatives Sampling

Ob das Sinn macht? Krautreporter hat eine sehr positive Zusammenfassung von neueren Internet basierten Umfragemethoden

Eine nicht zufällig ausgewählte Stichprobe wird aber immer die zweitbeste Option bleiben. "Wenn man eine repräsentative, zufällige Stichprobe bekommen kann, wird jeder Wissenschaftler immer das nehmen", sagt Gschwend. Das ist aber in der Regel viel teurer. Deshalb müsse man aus wirtschaftlichen Gründen die Nicht-zufällige-Stichprobe in der Wissenschaft vorantreiben und neue Verfahren mit Big Data weiterentwickeln.
Berechnet wird die Civey-Umfrage mit verschiedenen höheren statistischen Methoden, die Bayesianische Statistik, Riversampling, Poststratifizerung und Raking heißen, und die von deutschen Meinungsforschern noch recht selten verwendet werden.

Es gibt nur leider kaum eine Alternative zu einer repräsentativen oder einer totalen Befragung, auch bekannt als garbage in, garbage out Phänomen. Das bleibt so auch mit big data hype und Kalibration am Mikrozensus. Wenn Daten fehlen, dann fehlen sie. Einmal kann die Interpolation stimmen, aber beim entscheidenden nächsten Mal stimmt sie dann doch nicht. Dazu werden solche Umfragen durch immer ausgefeiltere Bots bedroht.

Civey und Opinary sind wohl mehr Marketing Methoden als Meinungsforschungsinstitute.

Was steht in dem zitierten wissenschaftliche Artikel?

After adjusting the Xbox responses via multilevel regression and poststratification, we obtain estimates which are in line with the forecasts from leading poll analysts.

Das Sample hier ist die Gamer Szene: 90% Männer, 10% Frauen, bei denen Stimmungsschwankungen in 3 Tagesabständen gemessen wurden. Da Frauen bei der letzte Europawahl aber zu 24% Grüne wählten, aber Männer aber nur zu 18%, wäre der Forecast hier irrelevant, was heisst da schon ein Anstieg von plus 2% dieser Männer?
Und was ist mit Ereignissen kurz vor der Wahl, welche die Gamerszene nicht mitbekommen hat? Der Mobilisierung von Nichtwählern?
Zudem ist das amerikanische Wahlsystem nur eingeschränkt als Modell zu gebrauchen; die tatsächlichen 332 Wahlmänner wurde im übrigen mit der Vorsage 303 Wahlmänner deutlich verfehlt.

 

CC-BY-NC Science Surf , accessed 24.08.2026

Print your reveal.js presentation

I like the reveal.js framework for slide presentation, while I have even written a remote control for it.
Reveal allows branching of your slide presentation, has some zoom capability and can include external websites with interactive and dynamic plots. Best of all, the display is really full-frame when displayed with Chrome.
Maybe it is important to note, that I still produce slides in Keynote but export them into a directory that serves as a repository for building the final reveal presentation.

<div class="reveal">
  <div class="slides">
<?
$files = glob($dir . '/*');
for ($i = 1; $i<= count($files); $i++) {
  echo '<section data-background-image="' . $i . '"/><span></span></section>';
}
?>
  </div>
</div>

Printing the final presentation isn’t straightforward as the built-in mechanism did not work for me with dynamic slides although they already exist:

Reveal.addEventListener( 'slidechanged', function(e) {
  createChart();
});

The only solution that worked for me is decktape which produces a valid PDF

brew install node
npm install -g decktape
decktape -s 1280x720 reveal http://myserver/reveal.php reveal.pdf

 

CC-BY-NC Science Surf , accessed 24.08.2026

Remote control your reveal.js presentation

Add this somewhere at the end of your presentation.php

function sync() {
$.ajax({url: "position", success: function(e){
      Reveal.slide(e);
    }
  });
}
if (!window.location.search.match( /master/gi ) ) {
	setInterval(sync,1000);
    Reveal.configure({
  		keyboard: {
    	13: null,
    	23: null,
        32: null,
        37: null,
        38: null,
        39: null,
        40: null,
        68: null
  		}
	});
}
Reveal.addEventListener( 'slidechanged', function(e) {
	 $.ajax({
	 	url: "write.php",
	 	type: "get",
	 	data: {"k":e.indexh}	 	
    });
});

write.php

$fp = fopen('position', 'w+');
$k=$get["k"];
fwrite($fp, $k);
fclose($fp);

presentation.php?master will control the presentation. A simple presentation.php even at a dozen locations will show it.

 

CC-BY-NC Science Surf , accessed 24.08.2026

Update problems of MacOS Catalina

MacOS Catalina is bringing a lot of problems as 32 bit support is now being removed. Various software packages are broken.

Microsoft Office 2011 is gone as I will NOT pay an annual subscription of $69.99.

TextWrangler is gone, not sure if BBEdit will replace it?

ScanSnap doesn’t work. After a long search, I found an update.

Syncovery stopped working. Bought an update for 29,95€.

Transmit, New version 45.00€.

Little Snitch doesn’t work. Bought an update for 25,00€. Re-installed Catalina a second time (!)


Carbon Copy Cloner is defect. New Version $37,70.

Lightroom doesn’t recognize tethered Nikon cameras. Found a work-around although the end is near as I will NOT pay any monthly subscription of 11,89€.

Haven’t checked Capture One DB so far (but there are reports that it it will be slower).

Find Any File can be updated.

Max is gone.

Garmin Basecamp is gone – don’t care.

Quick Time Broadcaster is gone – don’t care.

Picasa is gone – don’t care.

Remote Desktop Verbindung can be updated.

Tuxera NTFS Disk Manager – no more necessary.

Home Concert Xtreme: Not working right now, update promised.

Catalina therefore will cost you 150€ and 5 hours.

 

CC-BY-NC Science Surf , accessed 24.08.2026

Computer skills

We usually assume – even in science – that many if not all have high computer level skills. But that may not be true according to the Nielsen Norman Group. They summarize the results of any OECD survery where 215,942 people were tested, with at least 5,000 participants in most countries.

26% of adult population
can't switch on Computers

14% – Below Level 1
Being too polite to use a term like "level zero," the OECD researchers refer to the lowest skill level as "below level 1."
This is what people below level 1 can do: "Tasks are based on well-defined problems involving the use of only one function within a generic interface". An example of task at this level is "delete this email message" in an email app.

29% – Level 1
This is what level-1 people can do: "Tasks typically require the use of widely available and familiar technology applications, such as email software or a web browser. ” An example of level-1 task is "Find all emails from John Smith."

26% – Level 2
This is what level-2 people can do: "At this level, tasks typically require the use of both generic and more specific technology applications.” An example of level-2 task is "You want to find a specific document that was sent to you by John Smith in October last year."

5% – Level 3
This is what this most-skilled group of people can do: "At this level, tasks typically require the use of both generic and more specific technology applications." An example of level-3 task is "You want to know what percentage of the emails sent by John Smith last month were about a specific topic."

 

CC-BY-NC Science Surf , accessed 24.08.2026

Eine Beglaubigung reicht nicht – Wissenschaft im Vakuum

Mit dem Übergang von der persönlichen Betreuung der Doktoranden zu den “research schools”, aber auch der immer längeren und immer schlechter bezahlten Promotionszeit, sind die direkten Stellenbewerbungen aus der eigenen Hochschule oder dem eigenen Bundesland immer weiter zurückgegangen.

Die Zeugnisse aus den Bewerbungen ausländischer Bewerber werden mühsam übersetzt und beglaubigt und dann mehr oder weniger vorausgesetzt, dass dieselben Bildungsvoraussetzungen vorliegen. Das reicht aber nicht, denn Wissenschaft findet nicht im Vakuum statt, so auch ein Kommentar in Science diese Woche.

A student at the small liberal arts college where I am a biology professor had allegedly posted anti-Semitic neo-Nazi rhetoric on social media. Faculty members and students alike were shocked. The bubble of our close-knit community had burst; the realities of the external world were now the realities of our internal world, too. In the hours and days that followed, we all asked, "How could this happen?" Students asked another question, too: "Why don’t faculty in our STEM courses discuss these issues with us?" This second question troubled me.

Vielleicht sollten wir mit unseren ausländischen Studenten nicht nur fachspezifisches Wissen vermitteln, sondern auch über Ethik reden. Oder vielleicht auch über politische Fragen.

 

CC-BY-NC Science Surf , accessed 24.08.2026

Whatsapp durch Email ersetzen?

Eigentlich wäre es eine gute Idee, über IMAP Facebook auszuhebeln. Im Prinzip ist ja auch Chat über IMAP möglich – COI Implementierung u.a. von Delta Chat. Praktisch gibt es aber dann doch Probleme wegen der veralteten Verschlüsselung oder wieder verloren gegangenen Nachrichten. Schade eigentlich, so auch golem.de.

 

CC-BY-NC Science Surf , accessed 24.08.2026

Forward WordPress URL variable to iframe URL variable

It may not be the best programming idea, but iframes are still quick way to add an existing page into a WordPress hierarchy.
The are many ways to forward an URL variable to an iframe (php function, plugin, …) while I think the easiest way is a short javascript

url_string = new URL(window.location.href);
uuid = url_string.searchParams.get("uuid");
new_url_string = 'https://xxx/index.php?uuid='+uuid;
el = document.getElementById('iframe');
if (uuid) { el.src = new_url_string };

and hook that into wordpress at the end of functions.php

add_action( 'wp_enqueue_scripts', 'myscript' );
function myscript() {
	wp_enqueue_script( 'myscript', 'https://xxx/myscript.js"', array(), false, true );
}

the last wp_enqueue_script parameter is important…

 

CC-BY-NC Science Surf , accessed 24.08.2026

Verify phone number by SMS

Even many bank accounts rely on it. But given the fact that there are a dozen of web sites commonly used to receive SMS authentication tokens on behalf of users (Twilio, Sellaite, Pinger, TextNow…) it may be insecure as the SMS are public available. A new study in Firstmonday looked into that and found some astonishing results. As expected most users needed it for Tinder… More importantyl, 76.5 percent of those messages included the name of the application for which the message was intended compromising their accounts.

 

CC-BY-NC Science Surf , accessed 24.08.2026