Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 10
  1. Home Assistant and Dahua NVR

    Problem Displaying live video feed from the Dahua camera / NVR in a home assistant dashboard.

  2. 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. import time from datetime import datetime from…

  3. Introduction Scala can automatically infer types of variables so that val x = 5 is equivalent to: val x: Int = 5 When should we use explicit type annotations (as Intellij Idea calls them)?

  4. Scala – Imitating Case Class Apply

    Introduction Let’s create a simple case class with one String: case class RealCaseClass(value: String) The common wisdom is that case classes provide many useful features out of the box: immutability pretty printing (overridden toString) comparison based…

  5. 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…

  6. Dell Inspiron and SmartByte issues

    My wife has recently bought a 13,3” Dell Inspiron 5370 laptop with Windows 10.

  7. Firefox WebExtensions Theme API issue

    I finally got round to learning how to create a browser extension.

  8. 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.

  9. 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.

  10. JAR Hell in Practice

    Hibernate maps String fields to varchar(255) database columns by default.