Category Archives: Software

Statistical parrot

While Harald Lesch talks about AI language models as “statistical parrots”, others are concerned about the hallucinations they produce

“Language models are trained to predict the next word,” said Yilun Du, a researcher at MIT who was previously a research fellow at OpenAI, and one of the paper’s authors. “They are not trained to tell people they don’t know what they’re doing.”

GPSless theft protection with a mobile router

After some try and error, I am invoking now an own startup script on a Teltonika RU950 router

opkg install nano
nano —saveonexit /etc/rc.local
source /etc/myscript.sh
CTRL+x

and here is the script

touch /etc/myscript.sh
chmod +x /etc/myscript.sh
nano —saveonexit /etc/myscript.sh

sending the following variables

cellid=$(gsmctl -C)
op=$(gsmctl -o)
lac=$(gsmctl -A 'AT+CGREG?' | cut -d'"' -f 2)
gsmctl —sms —send “0049********** @op @lac $cellid”
CTRL+x

Science Foo Camp

Where I would really like to go at least on time in life is the Science Foo Camp. Unfortunately I have been never invited… Meetings with no fixed agenda are great but maybe to anarchic for DFG?

 

Call for an AI moratorium: Pause Giant AI Experiments

More than 1,000 technology leaders and researchers … have urged artificial intelligence labs to pause development of the most advanced systems, warning in an open letter that A.I. tools present “profound risks to society and humanity.”
A.I. developers are “locked in an out-of-control race to develop and deploy ever more powerful digital minds that no one — not even their creators — can understand, predict or reliably control,” according to the letter, which the nonprofit Future of Life Institute released on Wednesday.

I signed the letter also (although some other people may have signed for other reasons).

 

May 5, 2023

30,000 signatures by today while the White House now also

pushed Silicon Valley chief executives to limit the risks of artificial intelligence, telling them they have a “moral” obligation to keep products safe, in the administration’s most visible effort yet to regulate AI.

Audio/video sync + latency test file

Here is an 60 fps audio/video test file with a 440 Hz beep every 3s to test latency in OBS.

Direct download here.

 

Continue reading Audio/video sync + latency test file

Remote control of any Phase One from a tablet

While it is straightforward to connect a new Hasselblad X2D 100C to an iPad for viewing high res images, it’s a pain with older Phase One backs like the p65+. These older backs including the p45+ haven an excellent image quality that is even a decade after it’s introduction on par with much newer IQ backs. Unfortunately the old backs have only a small screen with a menu system from the 1980ies which is basically unusable. The biggest issue, however, comes by the Firewire connection that has been abandoned by Apple preventing older Mamiya/Phase One cameras from any LAN or WLAN access by Capture One. Nevertheless I tried  a Firewire dock as recommended by Phase One only to find out that it does not work with any current macOS.

So why not going back and using some contemporary computer?

What finally worked was a Mac mini from Ebay from late 2012 (100€). This unit still has firewire ports and works perfectly with Capture One 12 under Catalina. Bothe packages are in the archives (if not already pre-installed as on my Ebay purchase) . I tried to control the Mac mini remotely with VNC from the iPad but this was not an option as the connection was neither responsive nor did the screen scale correctly. There is however a better solution for the so called “headless use” of the Mac mini without any display and keyboard.

The installation needs of course display and keyboard at the start. Both devices need to be in the same WLAN with the same GHz band (in my case 2.4 GHz due to the mini). Any VPN and firewall should be set off before installation of the luna display app on both machines. We also need a small HDMI display port dongle from astropad.com (50€) that connects the devices.

iPad screenshot connected to Mac mini using luna display app. All icons can be reached.
iPad screenshot connected to Mac mini with Capture One open.

But then we can remove keyboard and screen from the Mac Mini, while it is super nice to control now the Phase One  via original Capture One by a touch display. It works wireless and by USB connection between Mac Mini and iPad, while it should work with any Phase One camera. Best of all, even an iPhone with C1 Pilot will connect to Capture One on the Mac Mini.

The only drawback:  this current solution is not fully portable as the Mac mini needs 220 V. But luckily, there are 12V DC conversion kits in the high end audio market (120€).

Or you just use your big flash power unit that can output 110/220V…

A real, no-fake Springer Nature press release

Springer Nature continues its focus on tailored solutions for academics with acquisition of researcher-created writing tool, TooWrite (14 Feb 23)

Developed by researchers for researchers, the TooWrite platform streamlines and simplifies scientific writing by guiding researchers through the process as if they were answering a questionnaire. In addition, expert how-to guides are attached to each question, supporting researchers as if they had an editor by their side. By structuring it in this step by step way, researchers’ time is freed up by making the writing process more efficient.

 

the comment that hits the nail

At some point there will be nothing left to buy. But then there will be no way out for researchers anymore from ready-made workflows that suck them dry at every stage of the research life cycle.

https://openbiblio.social/@RenkeSiems/109867215004553634 16Feb23 

 

the strategy is from “cradle to grave”

https://twitter.com/brembs/status/1625871585428004865 17Feb23

 

in the original full version

https://101innovations.wordpress.com/workflows/ 17Feb23

How to stream from your phone

Wireless transmission worked perfect for me with Elgato’s EpocCam transmission from iPhone to Macbook where I am using OBS . And well, the native USB connection works now out of the box since macOS 13 Ventura.

But how to attach the mobile cam under Linux? So far I connected only DSLRs but found only recently DroidCam that  includes not only Android and iPhone but also a Linux client. As a bonus multiple remote actions are possible from setting white balance to focus mode or using flash settings.

 

How to regulate ChatGPT use

With the even increasing use of ChatGPT there is also a debate not only on responsibility but also crediting findings to individual authors.

The artificial-intelligence (AI) chatbot ChatGPT that has taken the world by storm has made its formal debut in the scientific literature — racking up at least four authorship credits on published papers and preprints.  Journal editors, researchers and publishers are now debating the place of such AI tools in the published literature, and whether it’s appropriate to cite the bot as an author.

Software recognition of AI generated text is not 100% accurate in particular if there are less than 1000 characters available. And of course, scientific texts will be always edited to evade the classifier.

Having discussed here this issue yesterday, we think that we need some kind of software regulation – sending the generated AI output not only to the individual user but keeping a  full logfile of the output that can be accessed, indexed and searched by everybody.

 

 

 

DPI and PPI in scientific publications

It seems that also graphic design tasks are more and more shifted to the authors. A journal asked me to revise my R “figures with >6 px size fonts at 600 dpi” which does not make so much sense to me as it mixes apples and oranges (DPI and PPI) and does even give me any size estimate of the final image.

Fortunately, there is a great website that has a lot of helpful explanations and demo code.

In summary PPI are number of pixels per inch. Pixel is the smallest unit that can be displayed on a screen, the picture x element. So my screen has about 227 ppi which is super sharp while for historical reasons not the physical but a logical PPI of 96 is being assumed for screens. Continue reading DPI and PPI in scientific publications

PHP update issues: Goodby miniflux, welcome freshRSS

With a forced upgrade of my provider from PHP 7.4 to PHP 8.1  miniflux v1  did not work anymore with Reeder 5. After trying to  correct all issues with phan, I decided to switch to a freshRSS install that has even a more modern Google API.

BTW I find it quite helpful to debug PHP 7.4 code by intentional throwing a javascript error to block any ongoing action with

throw "SimulatedException"

and setting PHP more verbose with

error_reporting(E_ALL | E_STRICT)

While it was quite straightforward to replace all “each” with “for each”, or “read_exif_date” with “exif_read_date” the main issue were unquoted “$_SERVER” variables and functions that need to be checked for missing variables

$rows= (is_countable($ret) ? count($ret) : 0

The biggest problems came by Nextcloud update to version 25. It turns out that there is a file limit of 262.144 of my internet provider.

Any Nextcloud update always needs about 30.000 files. Whenever it encounters any other error, a restart produces  another 30.000 files, basically killing my account.

In contrast to the documentation the issue is also not at the root nextcloud updater directory but in the data directory.

superfluous Nextcloud backup files hiding in the data directory

If Etcher dies silently

Balena Etcher dies silently on Mac OS 13.2 Ventura when creating a rescue system (rescatux 0.74) for the repair cafe. It seems to be a problem with missing rights, so only

sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher

works.