Programming Leftovers
-
Fade in / fade out in Qt/QML
This guide shows you how to add a fade in / fade out effect to a control in QML. There are a lot of built in animations in Qt/QML, but no fade in/fade out. Using a state machine and a SequentialAnimation, we can first animate the opacity, then set the visibility, achieving a fade in / fade out effect. Other ways like a PropertyAnimation are also available but are less expressive or configurable.
-
A few things I just learned about Lisp
I was trying to implement the Fisher-Yates algorithm earlier this evening. This algorithm lets you randomly shuffle the contents of a list. I wanted to provide a list of songs and return a shuffled list. I decided to use Lisp for this since I don't know much Lisp and I want to build my skills.
-
How Microsoft’s Looming Ownership of ‘Call of Duty’ Can Hurt Sony
The deal is still pending approval and is expected to close next year, but public documents courtesy of Brazil’s regulatory body CADE revealed last week just how strongly Microsoft and PlayStation owner Sony feel about the other’s competitive strategies for their respective console brands.
-
BaCon introduction pages rejuvenated