Browsed by
Author: matt

Blurring the walls between games and film

Blurring the walls between games and film

PAX 2021 was an online event for me as COVID cases keep rising. One of the better streamed sessions was about the Blurring Lines between Games and Film. Definitely worth a watch as they cover a number of topics: difficulties in embracing the immersive nature of VR/AR, using VR/AR in advocacy work to immerse viewers into environments or as an alternative to zoos/animals in captivity, digital character design, virtual production with LED stages and Unreal engine, massively evolving digital production pipelines, and interactive VR environments. While these are some well known topics in the field, it’s still worth giving it a listen to hear how production folks are dealing with the massive upheaval of changing pipelines.

I still find LED stages instead of greenscreening with post-shoot CG one of the most amazing recent developments – something I’ve written about before with the Mandalorian.

Some panelist links:

On their topic of AR/VR environments, it was noted that COVID has decimated many in-person VR/AR experiences. One casualty was the VOID – and even their website is now gone. the VOID had interesting setups mixing VR, haptic feedback systems, and real-world props. Sadly, their setups in Las Vegas an other places are no more (like Venetian Las Vegas). Still, their legacy lives on in YouTube footage and some installations still hanging on through COVID.

Footage from the now defunct VOID:

Fight with some zombies in Zero Latency at the MGM Grand in Las Vegas.

As well as overseas, such as some of the interesting installations in Japan.

Peak Fall Foliage Tool

Peak Fall Foliage Tool

My favorite season is fall. The air turns cool, there are hay rides and pumpkin patches, one curls up with a good book in front of a fire, reading scary tales, and, of course, watching the leaves change.

Japan has some very good, live updating of fall colors on a few websites.

The folks over at this website have a nifty little tool that predicts when fall colors will change this year. How do they predict the trends this year? With a little bit of data (and possibly a touch of pretentiousness):

The company uses a model that ingests a multitude of data sources including historical precipitation, NOAA precipitation forecasts, elevation, actual temperatures, temperature forecasts, and average daylight exposure to develop a baseline fall date for each county in the continental United States. Next, the model consumes hundreds-of-thousands of additional data points from a variety of government and non-government sources and layers this data over its own historical data from past years and, finally, with a high degree of accuracy, the algorithm produces nearly 50,000 date outputs indicating the progression of fall for every county in a graphical presentation that is easy to digest.

Split-flap displays

Split-flap displays

Some of my fondest early foreign traveling memories were going to places in Europe and traveling from city to city where the train and airport arrivals/departures boards used these amazing electro-mechanical split-flap display boards. The last place I saw one still in use was at Frankfurt airport in Germany a year or so before covid (and I believe it’s still there):

Scottbez1 walks us through how they work with a demonstration of his single-digit Arduino-controlled display.

Even better, all the parts, software, 3D print resources, and information you need to make your own can be found on his github page: https://github.com/scottbez1/splitflap

But be forewarned, his estimates run around $200 to make only 4 of these wonderful digits.

Also, there are now companies around that will make these displays for you:

But be ready to pay $2800 for even a basic model. This guy does a decent job summarizing the current offerings.

The Difficult World of Relays

The Difficult World of Relays

Before transistors were created in 1947 by American physicists John Bardeen and Walter Brattain and vacuum tubes in 1908, electric circuit switching between on and off was a purely physical, mechanical process done via relays (invented in 1809). Some people have made whole computers from relays. But as ElectroBOOM comedically describes, there are a lot of difficult problems that relays had to be overcome which leads to an amazing number of trade-offs of speed, heat, longevity, safety, etc.

While we consider flipping circuits on/off in the GHz range (1,000,000,000 times per second) common on today’s modern transistor-based circuits, many of the same problems he describes here exist in some form in transistors (switching time, etc). Instead of the more mechanical issues/solutions relays use, transistors solve related problems with the types of substraits, power properties, etc.

At any rate, it’s a great trip back in time and a reminder that engineers know that while a concept looks very simple on paper, the devil is in the details – and sometimes those devils take decades to work out (if ever).

Magnetically Levitating Power Generation

Magnetically Levitating Power Generation

Tom Stanton, maybe unintentionally, walks us through the entire industrial revolution’s worth of power generation technology in under 15 minutes as he demonstrates his desktop toy sized magnetically levitated flywheel. He then uses it to generate AC power for some LED’s and motors. Again, maybe unintentionally, he educates people on how power is generated today from turbines. The technology is the same whether it is a hand crank, steam from a nuclear reactor, or a spinning windmill.

Bonus points for the most clear explaination of a full bridge rectifier I have ever seen.

Incorruptibility

Incorruptibility

Let us drive another nail in the tired and completely false Hollywood/pop culture trope of science vs religion shall we? Because, in case one forgets, a huge number of the world’s greatest scientists, mathematicians, and Nobel Prize winners were Christians that saw no conflict of science and religion but as two paths equally seeking truth. One path via the created world, and the other path via divine revelation of the human condition – and not in conflict but in harmony with each other.

Delayed Decomposition

“It’s definitely happening, and it’s definitely weird”. Scientists are increasingly agreeing something is going on, but in the centuries it has been happening, no science has come forth to explain it. Most recently, scientists have noted that after the death of some Tibetan Buddhist monks, their bodies remain in a meditating position without decaying for an extraordinary length of time, often as long as two or three weeks. A fascinating account of the phenomenon was written by Daniel Burke for the publication Tricycle.

The Thukdam Project of the University of Wisconsin-Madison’s Center for Healthy Minds is now studying the phenomenon. For Buddhists, thukdam begins with a “clear light” meditation that allows the mind to gradually unspool, eventually dissipating into a state of universal consciousness no longer attached to the body. Only at that time is the body free to die. Neuroscientist Richard Davidson first encountered thukdam after his Tibetan monk friend Geshe Lhundub Sopa died and then saw him five days later: “There was absolutely no change. It was really quite remarkable.”

But this isn’t a new phenomenon, incorruptibility and long delays in decomposition of particularly holy individuals has been well known in the Christian world for centuries.

Faith and Science together – as they always have been.

As Fides Et Ratio and other Catholic documents point out, faith and science are two sides of the same coin of seeking truth. This isn’t just a Catholic idea, here’s a particularly interesting quote from Dalai Lama from the article:

What science finds to be nonexistent we should all accept as nonexistent, but what science merely does not find is a completely different matter. An example is consciousness itself. Although sentient beings, including humans, have experienced consciousness for centuries, we still do not know what consciousness actually is: its complete nature and how it functions.

Dalai Lama

Links:

8GB vs 16gb Mac M1

8GB vs 16gb Mac M1

I dabble around in Mac development semi-regularly, and was recently looking to update my Mac Mini to an M1 mac. Finding real data on whether you should buy the 8gb or 16gb version has been difficult. Despite many articles, very few do this kind of excellent side-by-side comparison.

I will say that some of the comparisons done early in this side-by-side video aren’t quite representative. Just opening an app and switching tabs isn’t super representative of performance since a good stack will just cache the image. To do a real test requires you make the app render something: scroll, select a dialog, or do a minimal interaction with the app to see if it snaps back to life or is just showing a static cached image (like the iPhone often does).

Experienced Programmer’s Wisdom #42

Experienced Programmer’s Wisdom #42

#42 – Never rewrite your software from scratch.

I have referred this article to many a developer that has become enamored with the idea of ‘scrapping it all and rewrite from scratch’. It’s a phase that almost every young developer goes through when they come into an existing codebase. Senior engineers have a duty to explain why re-writing isn’t always an option and how to make that choice. Refactoring, or a organized series of refactor stories, however, is almost always a better answer.

As Joel tells us, rewriting from scratch is one of the worst strategic mistakes and likely one of the larger technical mistakes you can make. He wrote this in the first dot-com boom in 2000, but it’s even MORE relevant today in the fast paced entrepreneurial world where time to market is one of the critical factors to the success of your idea. Even to the point that speed is the ONLY critical factor and the only requirement is that you just need to get it working once.

Joel Spolsky knows his stuff. He’s a chairman, founder, developer and entrepreneur that created Trello, Glitch, FogBugz, worked at Stack Overflow, Microsoft Excel, and numerous other accolades.

Give his excellent article a read.

Further musings

Are there legitimate times you need to re-write from scratch? Possibly, but I think they are rare and getting rarer – refactoring is almost always a better solution unless you are radically changing the direction of a product. A good lead should take a step back from the desire for the cleanest code and ask what’s the right decision given the entirety of my engineering and business constraints.

Legitimate cases I can think of: radical change of direction in your product, dependent hardware/OS goes end of life, security issue in component you can’t update, or due to licensing issues. Then you are likely facing a legitimate re-write – MAYBE. And that maybe gets bigger each year.

In the case of end-of-life hardware, one notices that compute overhead is increasing every year. Many realize now that simply virtualizing and/or emulating old hardware is MUCH better, faster, and cheaper than re-writing/porting. Apple is demonstrating this with Rosetta 2 on their new M1 chips. Intel did this with it’s mobile emulator. There’s literally hundreds of game console emulators. Why rewrite when you can simply write one emulator and statistically end up with far few bugs, far better scaling of impact, and hugely faster time to market for a whole product line?

Virtualization has also become a first class solution for OS/software stacks that no longer have support. One should ask if they can simply slap the component into a virtual machine. This might work if the system has an issue like an unpatchable security hole or you need new functionality on a system with no more support. You might be able to wrap the component in a virtual machine and solve the security or feature issue in the host and pass through existing behavior. This keeps production going and you can replace the system at your leisure.

Licensing issues can be the one real killer. This is why it’s so critical to evaluate usage licenses strategically before you first pick up a SDK/piece of software and use it. Properly evaluating the IP and licensing of your core packages is a critical first architecture task. There is no greater disaster than finding out a critical package has a business model breaking licensing requirement right before you ship – and this is one case in which you almost guarantee a painful rewrite/replacement of key functionality.

If you find out you have to do the rewrite, his points about rewriting are true for these forced cases too. You’re going to spending a TON of time and money to get back to where you already are today. Strategically, this is going to crater all forward momentum of your business and opens you to now being in a race with any competitor also starting from scratch. Even worse, once you have your rewritten solution, you’re also going to have to fix bugs and edge cases you had already solved, or never even knew about since they were covered by the old architecture’s inherent properties (this is another reason why people that argue “the code is the documentation” are patently wrong).

So, to add to his article, I’d add emulation and virtualization as further solutions to avoid a rewrite.

Anime Star Wars: Visions

Anime Star Wars: Visions

Check out this beautiful and eye-popping footage from the upcoming Star Wars animated series. It features seven original stories as told through the eyes of some of Japan’s greatest anime studios. The series premieres on Disney+ on 9.22.2021

A little background on the project: