Prompting: Mind the Context Window

Does it really matter if you open a new chat in ChatGPT or if you just keep working in the old chat which is getting longer and longer? Actually it matters—a lot!

Did you know that with every question that you send to ChatGPT the complete history of your current chat is sent to ChatGPT again? It is like an e-mail conversation where all previous messages are kept with each new mail. The problem: ChatGPT processes the entire previous conversation—every time.

The problem is: The longer your current chat history, the more words are fed into ChatGPT with each new prompt and—the less intelligent ChatGPT may be.

Continue reading

Prompting: Summarizing Papers for your Research

If you are writing a research article or if you are just trying to stay up-to-date in your research field, you need to read publications—lots of them. Of course, you know that ChatGPT can summarize these for you. But often the summaries are much too long and may lack the focus you need.

Recommendation: Provide ChatGPT with a structured template for your paper summary. This way your summaries remain short and comparable, so you can easily keep an overview of all your papers.

Continue reading

Azure Kinect: The third version of the popular body motion sensor

The Kinect sensor can recognize human bodies and track the movement of body parts in 3D space. It is quite useful in interaction projects in my course HCI Research. In 2019 a third version called Azure Kinect DK was released by Microsoft. In this post I share a few facts and resources.

The camera looks quite different from its earlier cousins.
Continue reading

Java: Umstieg auf OpenJDK

(es gab einige Updates bezüglich Windows, Dank an Corinna List und Stefan König für ihren Input…)

Leider gab es in letzter Zeit Entwicklungen, die es erfordern, dass alle, die mit Java (und NetBeans) arbeiten (oder es unterrichten) sich überlegen müssen, ob sie nicht umsteigen auf OpenJDK und auf IntelliJ.

Die eine Entwicklung ist, dass Oracle, die Firma, die Java bislang entwickelt hat, beschlossen hat, Java ab Januar 2019 zu kommerzialisieren. Das heißt: Ab sofort (Java 8) gibt es Updates nur für Entwickler*innen, die eine Lizenz erwerben. Das ist ein drastischer Einschnitt in der Geschichte der Sprache Java. (Siehe Artikel auf Heise, Artikel in Computerwoche und Artikel auf Aspera)

Zum Glück gibt es OpenJDK, eine open-source-Variante von Java. Diese Variante wurde 2007 von der Firma Sun Microsystems herausgegeben und wird aktiv von der Community weiterentwickelt. Laut Wikipedia ist “OpenJDK [is] the official reference implementation of Java SE since version 7”.

Die zweite Entwicklung betrifft die Entwicklungsumgebung NetBeans. Oracle will NetBeans “loswerden” und zu Apache abgeben (siehe Artikel auf ZDNET und Artikel auf Heise), was mittelfristig vielleicht keine schlechte Idee ist. Aber derzeit befindet sich NetBeans in einer Übergangsphase, so dass die Installation der “richtigen” NetBeans-Version umständlich und nicht unbedingt zu empfehlen ist.

Im weiteren zeige ich, wie man am besten umsteigt auf OpenJDK und IntelliJ IDEA.

Continue reading