Category Archives: Software

Live video projection over 30 meter

Here is a working hardware combination after several failed attempts – jerky moves, black screen, lost signal, color shifts.

Nikon Z6 – switch video toggle @back of camera for clean HDMI output, set video menu to 60 frames (to avoid display lag), setting c3 standby on. 1800€ incl FTZ.

Sirui VH-10X Fluid, 100€ used.

subtel external power supply for Z6 (only this one allows closing of battery compartment). 56€.

Rode VideoMicro Compact. 88€.

Elgato Cam Link 4K with short USB C connector (to avoid shear stress). 122€.

Macbook Pro with USB-C Digital-AV-Multiport-Adapter (other display port and hdmi did not show up as external display in OBS). adapter 72€.

PW-HT225PIR HDMI Extender with power adapter (USB power alone not sufficient, HDMI amplifier failes consistently). 30€.

30m Cat6 cable. 30€.

Short throw Optoma UHD42 4K Beamer – UHD. 1200€

 

CC-BY-NC Science Surf , accessed 24.08.2026

Laborjournal einzelne Artikel archivieren

Ist ganz einfach. Neuestes Heft herunterladen und splitten

# brew install ghostscript
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=6 -dLastPage=9 -sOUTPUTFILE=Krull.pdf LJ_20_07.pdf
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=14 -dLastPage=17 -sOUTPUTFILE=Antes.pdf LJ_20_07.pdf
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=26 -dLastPage=29 -sOUTPUTFILE=Jaeger.pdf LJ_20_07.pdf
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=34 -dLastPage=37 -sOUTPUTFILE=Jeschke.pdf LJ_20_07.pdf

 

CC-BY-NC Science Surf , accessed 24.08.2026

Unter MacOS Keynote streamen mit Video

  1. OBS installieren mit Virtual Camera Plugin
  2. Powerpoint/Keynote als HTML exportieren und in lokalem Browser aufrufen
  3. OBS Template erstellen mit Text, Kamerainput und Browserwindow
  4. Virtual Camera in OBS starten
  5. In zweitem Browserwindow Konferenz starten und Einstellungen > Sicherheitscheck > Website > Einstellungen > Konferenz > Virtual Camera auswählen

Neu:

  1. OBS installieren
  2. Keynote in Fenster wiedergeben
  3. OBS Template erstellen mit Text, Kamerainput und Fensterinput

 

 

CC-BY-NC Science Surf , accessed 24.08.2026

Graphical display of outbreaks: Transmission trees

Let’s start with some examples from the literature, find out necessary elements, compare different versions and develop a R template for general use.

“Exploding Stars”

CDC Field Epidemiology Handbook, 2019, ISBN 9780190933692 p115

“Tetris”

https://doi.org/10.1016/S0140-6736(20)30154-9 (2020)

“Clean Undeterministic”
“Clean Tree”

https://academic.oup.com/mbe/article/34/4/997/2919386

“Tree Addons”

https://openres.ersjournals.com/content/4/2/00162-2017

“Railways”

https://www.ages.at/service/service-presse/pressemeldungen/epidemiologische-abklaerung-am-beispiel-covid-19/

“Simple ”

https://www.ncbi.nlm.nih.gov/pubmed/32003551

“Vertical”

“star bus”

https://en.wikipedia.org/wiki/Index_case

“Mathematical”

https://www.biorxiv.org/content/10.1101/142570v3.full

“Genetics”

https://wwwnc.cdc.gov/eid/article/26/9/20-1798_article

 

CC-BY-NC Science Surf , accessed 24.08.2026

From R to Python

It’s bit confusing if you are having long-term experience with R but need some OpenCV Python code. What worked for me

  1. download and install Python 3.8.3.
  2. pip install opencv-python
  3. pip install opencv-contrib-python
  4. although Spyder or Jupyter is recommended for data science, I went for PyCharm
  5. install Atom and follow the video instructions
  6. take care, numerous non working introductions out there, stick to recent version

 

CC-BY-NC Science Surf , accessed 24.08.2026

R leaflet – keep map in frame after closing info box

Although having some experience with leaflet before, it took me 5 hours to find out how to
(1) change the background color and
(2) re-center my map after the popup was panning the map basically out view. Here is my solution

leaflet(options = leafletOptions(
 zoomControl = FALSE,
 minZoom=6, maxZoom=6,
 centerFixed = TRUE) ) %>%
addPolygons(data = ds,
 fillColor = ~pal(AnzahlFall),
 color="black", weight = 1,
 fillOpacity = 0.7,
 label = ~name_2,
 popup = ~www,
 popupOptions = popupOptions( autopan=FALSE, keepInView = TRUE ) ) %>%
htmlwidgets::onRender("
 function(el, x) {
  var myMap = this;
  myMap.dragging.disable();
  myMap.on('popupclose', function(e) { myMap.panTo( {lon: 10.26, lat: 51.1} ) });
  var e = document.getElementsByClassName('leaflet-container');
  e[0].style.backgroundColor = 'white';	    
}")

 

CC-BY-NC Science Surf , accessed 24.08.2026

python3 cv2 installation

Homebrew is struggling with the older python 2.7 version that is missing ssl support. Python 3.8 did not recognize cv2 but this finally worked

brew install python3
brew postinstall python3
pip3 install virtualenv virtualenvwrapper
virtualenv env_name --python="python3"
/Users/wjst/env_name/bin/pip3 install opencv-python
/Users/wjst/env_name/bin/pip3 install pandas scipy matplotlib Pillow tqdm sklearn imageio
/Users/wjst/env_name/bin/python3 -c "import cv2"

then I could finally run the image forgery detection from Github.

cd /Users/wjst/Desktop/image-copy-move-detection-master
/Users/wjst/env_name/bin/python3
> from copy_move_detection import detect
> ...

 

CC-BY-NC Science Surf , accessed 24.08.2026

Was ist eigentlich Meinung, was ist Tatsachenbehauptung?

Volker Kitz erklärt den Unterschied

Was ist eine Meinung? Eine Meinung gibt ein persönliches Werturteil wieder. Das wesentliche Merkmal der Meinung ist: Sie kann nicht “richtig” oder “falsch” sein, man kann sie nicht ĂĽberprĂĽfen. Das unterscheidet die Meinung von der Tatsachenbehauptung. Sage ich: “Mein Nachbar prĂĽgelt seinen Hund”, lässt sich diese Ă„uĂźerung ĂĽberprĂĽfen, ist also eine Tatsachenbehauptung. Sage ich hingegen: “Der Lebenswandel meines Nachbarn ist inakzeptabel”, lässt sich das nicht ĂĽberprĂĽfen. Andere können das anders sehen. Es ist eine MeinungsäuĂźerung.

Das ganze ist deshalb so schwierig weil zuweilen Meinung und Tatsachenäußerung direkt in einander übergehen. Über eine Tatsachenbehauptung lässt sich manchmal sehr einfach auch eine Meinung transportieren.

Tucholskis “Soldaten sind Mörder” beinhaltet die Tatsache, dass Soldaten unter bestimmten Voraussetzungen andere Menschen töten (die Aussage ist also durch Art. 5 Abs. 1 GG gedeckt …).
Allerdings muss die Tatsache an sich stimmen. Mit unwahren Aussagen kann man sich nicht auf Meinungsfreiheit berufen.

 

CC-BY-NC Science Surf , accessed 24.08.2026

Link out symbol

I have been looking for a wikipedia-style link out symbol (wikipedia uses a svg symbol). Some websites recommend font awesome symbol /f08e others are in favor of the north east arrow #x2197; while I modfied now a code pen by thiago for the css of this wordpress child theme

  a:not([href*='wjst.de'])::after {
    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
    margin: 0 3px 0 5px;
  }

 

CC-BY-NC Science Surf , accessed 24.08.2026

Die Korrelationsmanie

Materialsammlung bioinformatics / big data / deep learning / AI

 

Passend dazu auch der CCC Vortrag Nadja Geisler / Benjamin Hättasch am 28.12.2019

Deep Learning ist von einem Dead End zur ultimativen Lösung aller Machine Learning Probleme geworden. Die Sinnhaftigkeit und die Qualität der Lösung scheinen dabei jedoch immer mehr vom Buzzword Bingo verschluckt zu werden.
Ist es sinnvoll, weiterhin auf alle Probleme Deep Learning zu werfen? Wie gut ist sind diese Ansätze wirklich? Was könnte alles passieren, wenn wir so weiter machen? Und können diese Ansätze uns helfen, nachhaltiger zu leben? Oder befeuern sie die Erwärmung des Planetens nur weiter?

 

Dazu der gigantische Energieverbrauch durch die Rechenleistung.

 

Wozu es fĂĽhrt: lauter sinnlose Korrelationen

 

https://www.technologyreview.com

Hundreds of AI tools have been built to catch covid. None of them helped.

 

CC-BY-NC Science Surf , accessed 24.08.2026

How to include a PDF in reveal.js

Right now there is a lot of information out there how to export a reveal presentation as PDF but much less not how to include a PDF document. The most natural way would be some embed

<section><object data="test.pdf" style="width:100%"><a href="test.pdf">PDF laden</a></object><section>

looks strange, not full frame, no handlers

<section data-background-iframe="test.pdf" data-background-interactive></section>

works but cannot jump to a certain page and cannot style the background.

So I am using now additionally the Chrome plugin that is based on pdf.js.

 

CC-BY-NC Science Surf , accessed 24.08.2026