I have been having fun embedding video on chrome as a looped background image.
The same simple code worked across safari and firefox.
Chrome now bans autoplaying video that has audio. Removing the audio and using mute fixed the problem.
Random outpourings of a software developer
I have been having fun embedding video on chrome as a looped background image.
The same simple code worked across safari and firefox.
Chrome now bans autoplaying video that has audio. Removing the audio and using mute fixed the problem.
This is a great link for handling counts in RSpec.
It’s not quite as clean as Spock.
Most definitions of the Open Closed Principle talk in terms of extension. This makes it hard to checkĀ for because you need to imagine all possible extensions. There is a simpler equivalent test: How much would I need to change to remove this feature? Theoretically it could be as little as deleting one class that self registers (plus the tests). The advantage is that it’s easier to reason aboutĀ removal.