Artificial Intelligence

Programming

Create Images from Text with AI and Python

It all began with DALL-E, a machine learning model developed by OpenAI to generate digital images from natural language descriptions. But it is closed source and not open to the public. Yet on August 22, 2022, the AI art community was shaken by the release of an open-source alternative, Stable Diffusion, which you can install and run locally using modest hardware. Within days, PCWorld described it as the new killer app. And it surely is.
2022-09-09T08:28:44-04:00September 6, 2022|AI art, Artificial Intelligence, Python|

Implementing Two-Factor Authentication

Two-​factor authentication using the time-​based one-​time password algorithm can be easily implemented with PHP on any web server. This standardized method is widely used as an additional security measure for logins and uses smartphone apps, e.g. the Google or Microsoft Authenticator, as a second factor.
2021-08-25T15:31:36-04:00September 11, 2020|Browser, HTML5, PHP, Web Design|

A minimal Web Push example

Web push notifications allow users to opt-​in to asynchronous messages from a server to a web application. The message can be sent at any time, even when the web application or the web browser is inactive. This W3C standard, based on the HTTP/2 protocol, is now supported by Chrome, Firefox, Edge, Opera, and Safari – but not by iOS.
2020-04-17T17:49:50-04:00February 8, 2020|Browser, Cloud, JavaScript, Progressive Web App, PWA, Web Design|

An Alexa skill for New York City transport service changes

Playing around with the idea of Alexa Skills based on live data feeds, I created an Alexa Skill which announces unplanned service changes of the New York City subway and bus lines, based on information provided by the Metropolitan Transportation Authority (MTA). This skill, available in English and German, was now certified and has gone live.
2020-04-17T17:49:50-04:00January 21, 2020|Alexa Skill, Amazon Echo, AWS, Node.js, TypeScript, Voice Assistant|

What web can do: a mobile speech-to-speech translator

In the 70s and 80s, some people thought that you could soon travel the world with a portable computer, only the size of a backpack, that would translate any spoken utterance to any other language. Nowadays, with the Google Translate App, you can easily do this with any mobile device. But is this also possible using only HTML, CSS, and Javascript?

What web can do today

Yesterday I tried to create a Progressive Web App displaying an artificial horizon over a live camera view and was wondering if this would be possible with a modern mobile web browser. During the research, I stumbled over several websites which you can use to test the hardware capabilities and their software support in web browsers and I wanted to share some links.
2020-04-17T17:49:51-04:00September 26, 2019|Device Independent, HTML5, Progressive Web App, PWA, Web Design, WebGL|

A 3D visualization of real-time earthquake data

This is a 3D visualization of real-time earthquake data gathered from the U.S. Geological Survey website. The data used in this example covers all earthquakes with a magnitude of at least 1 within the last 30 days. They are drawn into a template texture image file of the Earth’s surface according to the geographical position and the magnitude of the quake.
2020-04-17T17:49:51-04:00June 7, 2019|3D, Earth, PHP, Science, Web Design, WebGL|

Changing labels in WordPress with the gettext filter

An easy way to change labels and strings in WordPress is to use a gettext filter. This post shows the different filter functions, their purpose, and how to implement a filter callback in the file functions.php to change labels and strings in themes, plugins, and widgets using a table of string replacements, even for different languages.
2020-04-17T17:49:51-04:00March 22, 2019|GDPR, PHP, Web Design, WordPress|
Go to Top