Daniel Rotter

@danrot
132 Followers
143 Following
1,028 Posts

Studied and lectured Computer Science at fhvorarlberg, coorganizes VlbgWebDev and AgentConf, programming in #php, #symfony, #laravel, #javascript, #vuejs.

Currently working at Yummy Publishing, previously valantic, Sulu and MASSIVE ART.

Websitehttps://danielrotter.at
GitHubhttps://github.com/danrot
LinkedInhttps://www.linkedin.com/in/rotter-daniel/
I am wondering why I haven't added the time to my shell prompt years ago.
I have been a happy #FishShell user for a while, but recently it feels like moving back to #Bash could really make sense, since the latter is almost always installed on every server and docker container. I think I'll just play around with its configuration a bit and see if e.g. auto-completion can be tuned up to a point I'd find it acceptable.

I just realized my Mastodon experience hasn’t enshittified one bit in the 2+ years I’ve been here.

In fact, it’s only gotten better.

Please verify your information sources before you boost a post that contains news, facts, statistics, etc. Don't spread propaganda.

📸 Recently I had the issue that I wanted to upload some photos into a online album. However, the photos had the wrong date, so the online album sorted it all wrong.

🖥️ Luckily, the filename consisted of the actual date. So I decided to write a small #FishShell command to change all the modified dates.

🔗 Read more about that in my blog: https://danielrotter.at/2025/11/12/batch-fixing-date-of-images-based-on-filename-in-fish.html

Batch fixing date of images based on filename in fish

I was confronted with a large amount of images, all of which did not have the correct date attached to them. Fortunately I was able to fix them by relying on the filename.

Daniel Rotter
In the age of LLM agents, the intruder is already inside the house. If you're running Claude Code in dangerous mode, a prompt injection attack is one bash call away from exfiltrating almost anything that's unlocked on your machine, or using your (auth'd) gh cli to steal your repo

@leaverou

IIRC, the three main areas of concern are Content (HTML), Presentation (CSS), and Annoying Advertisements (JS), right?

😉

TIL that using xdebug_debug_zval's refcount is not entirely reliable, since xdebug seems to increase the refcount every time an exception us thrown. Took me quite some time to figure that out.

#php

Another nice example baked into #PHP why having different return types for the same function is a really bad idea. It just results in way more effort to do things right everywhere this function is used.

A funny case study of the 21st century “software engineering” at its best.

As result of #AWS failure, a number of commercial products stopped working that relied on AWS hosted services. Such as the Eight Sleep Pod beds.

Yes, physical beds for sleeping relied on AWS to work. And it was not some kind of extremely sophisticated “AI” processing, but simple schedule “make warmer”, “make colder”, “raise/lower” etc. All that was controlled through AWS.

When AWS stopped working users started complaining that their beds got stuck in weird positions and users were unable to control them. So yes, a bed say in Netherlands stopped working because it could not retrieve instructions from US server which were sent there by the person physically present on said bed.

And the bonus: each bed sent 20 GB of telemetry data to AWS each month.

Source: https://x.com/zimm3rmann/status/1980491408948572167 (on Twitter, sorry)

Michael Zimmermann (@zimm3rmann) on X

@m_franceschetti Is 16+gb/mo a normal amount of telemetry? Can you not do any local compute of “get hot” or “get cold” with a multi core processor and multiple gigabytes of memory? Can’t just repeat the previous nights settings? It’s bad enough that you slapped a $200/yr subscription on things,

X (formerly Twitter)