RSSAmplifier

Blog

Blog – joegreen.pl

blog.joegreen.plRSS feed ↗10 posts

Latest posts

Home Assistant and Dahua NVR

Problem Displaying live video feed from the Dahua camera / NVR in a home assistant dashboard. Using the Dahua integration and the WebRTC card (custom:webrtc-camera). The video is delayed or freezes, the “MSE mode” label is displayed in the corner.

Python-miio + Air Purifier 3

Problem When python-miio (0.5.4) is used to query status of a Xiaomi Air Purifier 3 (zhimi.airpurifier.mb3) the AQI returned by the library may appear constant and differ from the AQI displayed on the device.

Scala – An Argument For Explicit Types

Introduction

Scala – Imitating Case Class Apply

Introduction

High Memory Usage of LightArrayRevolverScheduler

Short Version If your Akka-based application is using too much memory and your heap dump indicates that LightArrayRevolverScheduler is retaining a lot of heap, the reason may be that the code is calling system.scheduler.scheduleOnce(...) with an argument that references a lot of other objects.

Dell Inspiron and SmartByte issues

My wife has recently bought a 13,3” Dell Inspiron 5370 laptop with Windows 10. We had some issues with it that turned out to be caused by the preinstalled SmartByte software.

Firefox WebExtensions Theme API issue

I finally got round to learning how to create a browser extension. The idea for my first project was very simple: an extension that changes browser theme when particular URLs are open in the active tab. I thought that could be useful to, for example, make browser window red when programmer visits a production environment instead of a test environment.

Lesser–Known Java Syntaxes

Even though I’ve been programming in Java for a few years, there are still cases when its syntax surprises me. Let me share a few examples that I thought would not compile when I first saw them, but they did.

Why I Stopped Using Signal

A few months ago I decided to give Signal a try as I loved the idea of end-to-end encrypted communication where servers are not able to see my messages. There were parts I really liked about Signal. The UI is quite simple and the app seems to be lightweight (especially in contrast to Facebook Messenger). I used it a lot and most of the time it worked quite well. Unfortunately, recently I felt that…

JAR Hell in Practice

Hibernate maps String fields to varchar(255) database columns by default. Sometimes it’s just OK, sometimes it can be tailored by changing the column length to a larger value. Unfortunately, sometimes the length of a user input shouldn’t be limited at all. That was the scope of the ticket I needed to resolve – to allow using the text of unlimited length in some specific fields.