I was recently working on a project that required I setup a VAST/VPAID waterfall within VideoJS, and pass macros to be replaced on runtime to the ad tag. It was pretty tricky to get it working, but after much research, I was able to accomplish it. Here’s how I did it. […]
If you’re anything like me, you want clean data and don’t want to show anything that may look wrong. In this instance, I have rows of data, but some rows may not have data yet and I want them to be ready for when they do have data. Instead of […]
I’ve been casual gamer since I was about 8 years old when I was first introduced to computers. I played a really mean game of Oregon Trail on my Apple II E at school. My first computer had the blazing processing speed of 100mhz. I’ve seen a lot happen both […]
Keep it simple. select * from table1 where criteria1 = TRUE order by random() limit 500 Simple enough to get the job done and pulls a random sampling based on the result set.
Apple’s restrictions over defaults are typically a good thing. They help prevent users from accidentally being misled by something malicious or an attack. However, when someone wants to intentionally change the default to something, say, the default music player, Apple’s controls don’t make it very easy to do. I searched […]