Programming Leftovers
-
Qt Safe Renderer Monitor
The Qt Safe Renderer is our solution for creating user interfaces (UI) for safety-critical systems. Since 2017 the Qt Safe Renderer has been used by multiple customers and certified for different functional safety standards. With the upcoming version 2.0, we are introducing a new approach for validating the correct rendering of safety-critical information – the Monitor.
Functional safety applies to many industries, such as automation, medical, railway, and automotive. Safety-critical information in the digital displays must be correct, even if some malfunction prevents rendering the other parts of the user interface. Qt Safe Renderer provides a solution for rendering the safety-critical information to achieve functional safety. It can be used with Qt or other user interface technologies – or even for creating the whole user interface in some cases.
-
In Depth: Custom Shader Effects
Qt Graphical Effects was one of the modules left out from the original Qt 6.0 release, unfortunately without a direct replacement at the time. There was a port available as source, but it wasn't built or included in the official releases.
One of the reasons was that not all effects were compatible with the Qt 6 approach of precompiling shader code: Some shaders in Qt Graphical Effects are generated at run-time from the properties, to enable pregenerating tables such as Gaussian weights. With the introduction of RHI in Qt 6, we now compile shader code at build time. This can give considerable improvements for startup times and frame rate during loading, but the trade-off is that it somewhat restricts our ability to generate code on the fly.
And, in addition, we had seen over the years that there was a fundamental drawback in how the graphical effects were designed. Chaining effects requires an additional draw call, an additional set of shader passes and an additional offscreen buffer for each effect you add. This causes the chained effect to be both slower and more memory hungry than it needs to be. The end result was that users would often implement custom effects instead, in order to optimize their applications. We thought we could do better, and therefore we did not officially include Qt Graphical Effects in the first releases of Qt 6.
-
The modern OS desktop is a crime against humanity • The Register
The reason for the unholy UX mess with no signs of converging is, of course, marketing, and the reason they get away with it is because of one of the greatest con jobs in IT. We have been taught, and never question, the near-abolition of customer support by the OS makers. Unless you pay extra, you cannot pick up the phone or email Apple, Microsoft, and especially not Linux, to ask basic questions. You cannot say to Apple, "Which bit of the Finder actually finds things?" You cannot complain to Microsoft that File Manager thinks "Share with Skype" is the second most important file operation, right after Open. You cannot pick up a phone to Ubuntu and scream "Stop! Stop! In God's name, stop!"
The OS companies have insulated themselves from user pain, the sort that soaks up customer service resources and actually costs them money. Go to the forums, thou sluggard, and try to work out which version the answers you find are actually about. They have created their own walled poison gardens where they can mess around according to the will of whatever internal faction is carrying the day, sentencing billions to useless frustration, cognitive load, lost work, and lost lives. It is frankly criminal.
-
Making games in R- Nara and eventloop Game Changers
Making games in R- Nara and eventloop Game Changers, It’s possible that you are aware of the existence of the R programming language.
This is a fairly understandable language that is mostly utilized by data scientists as well as more conventional statisticians.