• 0 Posts
  • 21 Comments
Joined 25 days ago
cake
Cake day: September 21st, 2024

help-circle

  • Composition is far better and immensely more flexible than inheritance. Extracting duplicate code into helper classes or static functions is a good option.

    Conformance to interfaces or protocols with default implementations is a great alternative as well.

    I like OOP more than other styles, it’s just often badly done. Complex inheritance, huge classes that do too much, overuse of factories and similar patterns, can ruin it.






  • Color Management Related to the above — and to ensure consistent colors across monitors — we’ve implemented more complete support for the Wayland color management protocol, and enabled it by default.

    We have also improved brightness handling for HDR and ICC profiles, as well as HDR performance. This will improve your experience when designing graphics, playing games, and watching videos.

    This is the biggest improvement by far.


  • With over 500 bug fixes and performance improvements since Qt 6.7, your existing code will run better without changing a single line. On macOS, Qt Quick applications now integrate with the native menu bar, and for a native Windows 11 look they can use the new Fluent style. Resizing Quick windows is snappier on macOS with Qt 6.8, and on Windows the application start-up time has been improved by changing the default font database to DirectWrite.

    Nice. Lots of other great stuff too.











  • Richer countries wasting more food, because it’s cheap and abundant makes sense. Brazil has the highest food waste though.

    Might this also be connected with availability of food and climate? If food grows all year round and goes bad faster because of a warm and humid climate, it could explain it.

    Food waste can happen at many different stages. It might not be economically viable to collect the harvest, if prices are too low. There might not be sufficient transport, storage, and processing available to actually use the food before it goes bad. All of that happens before food even reaches the shop or market.

    Growing your own food plays a role in Russia. Many people have their little gardens where they grow stuff for their own use. The amount of waste is possibly much lower from that.