Dear Pittsburgh, please drive better!

One of my favorite activities is to go running through the neighborhoods of Pittsburgh. I used to judge my runs based on the distance I covered, or the pace I achieved, or the total time I ran without stopping. But these days, I judge my runs based on how many times I nearly get killed by a passing motorist.

I don’t know if this phenomenon is specific to Pittsburgh (seems like it might be), or is more widespread throughout the country, but drivers have gotten significantly worse in the last few years. It’s now genuinely, literally dangerous to be on the road, whether you’re a fellow motorist, cyclist, or pedestrian.

Since our state requires a driving test only when first acquiring a license, and pretty much never again afterwards, I can see how it might be easy to forget the simple rules of road safety, so allow me to reiterate a couple of them while I have your attention (and feel free to pass these along to someone who you think might need a reminder):

The red octagonal symbol with the letters “STOP” inscribed in it means exactly what it says: stop, fully and completely, at the white line that is painted underneath it for your convenience. While stopped, take note of your surroundings, and check whether someone is about to cross the road in front of you, in which case remain stopped until the crossing is complete.

Of course the red sign mentioned above, as well as other signs, are only effective if you actually see them, which you can’t do if you’re looking at your phone instead. When you’re in the middle of driving your vehicle, put your phone down and do not look at it. Start your voice navigation app before leaving. Answer your friend’s text after you reach your destination. No matter how much you believe that you’re superior to other drivers and possess the attention bandwidth to do both things at once, you actually don’t. Please don’t wait until this fact is proved to you in the most tragic way possible.

There’s a theory that drivers have gotten more complacent because the safety features of our cars have gotten more advanced and sophisticated, so we can “afford” to pay less attention to the road. But the reality is that the sense of safety given by our modern vehicles is often a false one, driven by marketing tactics rather than actual data. It is never OK to let your attention to the road slip, and it’s never OK to use your own personal rules for obeying traffic signs.

So please, Pittsburgh, drive better!

Simple ray tracing in pure Javascript

As a quick diversion, I recently followed Peter Shirley’s excellent Ray Tracing in One Weekend guide, which is a terrific refresher of the surprisingly simple math involved in ray tracing. And in the spirit of Atwood’s Law, I decided to do it in Javascript, since I don’t work with Javascript very often, and thought I could use a refresher in it, as well. The result is some relatively passable Javascript code (which is slow as hell!), but some really pretty pictures:

Some possible future work might be to create a renderer for black holes (in addition to regular spheres) which would actually curve the surrounding space and affect the direction of the rays. This would necessitate a radically more complex ray tracer, which would need to follow the path of the ray in a stepwise fashion using Boyer–Lindquist coordinates within the Kerr metric. Perhaps a project for another weekend (or two)!

Long-form podcasts: a hope for political discourse

Few things in recent memory have resonated with me as much as Meghan Daum’s outstanding Medium article on the subject of the “intellectual dark web” and the ongoing erosion of nuance in today’s political climate, minus the heartbreaking divorce story.

Three years ago, I would have considered myself mostly apolitical. We had our first Black president and were well on our way to having our first female president. The economy had recovered from the 2008 recession. Everything was going well, without me needing to take any notice of political matters. And then something happened in 2016 that kick-started my interest in politics, as it did for so many other people.

Prior to election day, 2016, I drove around the suburbs of Pittsburgh, Pennsylvania, and was noticing a curiously large number of Trump signs on people’s front yards. Listening to the news, I would hear the broadcasters pleading with young people to “get out and vote,” and all I kept thinking was, “careful what you wish for.”

And then it happened: half of the American people (nearly half, that is) voted for a megalomaniacal, egotistical, misogynistic, late-night-tweeting, barely-coherent reality TV star, just for the purpose of rubbing in how much they hated his opponent, Hillary Clinton.

Since then, I’ve endeavored on a quest to understand the Trump voter, or more precisely to understand what enabled Trump, what gave birth to the idea of him as our president. This quest is still in its infancy, but there is one thing that stands out as a major contributor to our current state of affairs: our conversations have gotten more and more polarized, and any hint of nuance has been virtually extinguished.

The idea of “disagreement” on political matters has shifted from a chance for a healthy debate to instant knee-jerk responses of insult and offense. The problem exists on the left and the right. If you speak to a right-winger and broach the idea of socializing healthcare, you’re automatically an SJW. And if you speak to a left-winger and broach the idea of putting limits on immigration, you’re automatically a racist.

Much has been written on the rise of “victimhood culture,” which is what the Right perceives is happening to the Left. They believe the Left has become obsessed with identity politics, with minority groups competing for who is the most oppressed, researching where these groups intersect and thereby carving out even more oppressed minorities. College campuses have become “safe spaces” that stifle free expression and protect students from radical or dangerous ideas, they say, and many of today’s professors and academics are proudly Marxist and long for the next proletarian utopia.

Conversely, as a response, the Left have developed a tendency to lump together any kind of dissenting opinions into the same category, react to them with the same magnitude of revulsion, and even to misrepresent and inflate statements made by centrists or center-leftists, and brand them as “alt-right-adjacent,” further alienating people who would otherwise be their allies. They are convinced that any deviation from a perfect liberal progressive narrative will necessarily lead to white nationalism, misogyny, homophobia, trans-phobia, and fascism.

The reason for all of this polarization is, to me, plain as day: Twitter. Here we have a social network that literally forces us to condense our most deeply-held beliefs into a single sentence, into a slogan, or a hashtag. It is, of course, impossible to do this without grossly oversimplifying our beliefs, or without turning them into statements that sound profound but are actually meaningless (or turning them into “deepities,” as Dan Dennett calls them).

When we communicate with each other using nothing but slogans, what do you think will happen? It’s much easier to argue against a slogan using an equal-and-opposite slogan. It’s also much easier to take offense when someone rejects your slogan because of the beliefs you’ve poured into it. Twitter then compounds the problem by rewarding this behavior in the form of encouraging “likes” and “retweets,” giving rise to a competition of one-liners which can only be won by making your slogans all the more extreme. Is it any wonder, then, that Twitter is Donald Trump’s favorite platform for conveying his messages? Is it any wonder that Twitter creates bubbles and echo chambers where like-minded individuals egg each other on, often anonymously, to behave more and more extremely? And is it any wonder that Twitter can be so easily manipulated my malicious external forces who might want to influence our democratic process?

There is, however, a glimmer of hope. The last couple of years have seen the growing popularity of long-form discussions and debates in the form of podcasts, YouTube videos, and even live events. Joe Rogan’s podcast is one of the spearheads of this movement. Despite each episode being two to three hours long, it receives over 100 million downloads per month. To me, this level of popularity indicates a real craving for these kinds of discussions among the general public. People are getting tired of being angry at each other, and are demonstrating a willingness to listen to the whole story, a need to understand their opponents’ ideas before drawing conclusions.

On his podcast, Joe Rogan doesn’t prepare any specific questions or impose any kind of structure; he simply invites his guest to shoot the shit for two hours, and let the conversation or debate come about naturally. His interviewees come from all walks of life: MMA fighters, sports players, actors, musicians, writers, businesspeople, scientists, and more pertinently to this discussion, political commentators (in which all of the previous professions can also take part).

He has interviewed most of the major figures of the “intellectual dark web,” such as Jordan Peterson, Sam Harris, Bret and Eric Weinstein, Michael Shermer, etc. Many of these public figures have their own podcasts and YouTube channels. And many are also active on the live debate circuit – as Harris likes to point out, by doing nothing more than putting a date on a calendar, he can witness thousands of people fill the theatre hall to watch him debate his opponent.

It’s these intellectuals that are considered by some leftists to be gateway drugs to the alt-right, since some of their statements, crossing certain political trip-wires, can be seized upon to demonstrate a superficial sympathy with the alt-right. However, anyone who takes the time to listen to the full conversation, instead of a clickbait sound bite or an out-of-context quote (on Twitter, of course), will understand that this cannot be further from the truth. Saying that these people are gateway drugs to the alt-right is like saying that mountain climbing is a gateway drug to jumping off a cliff.   By the way, “intellectual dark web” is really a silly term for it, since it implies a well-defined club with which these people identify, or even some kind of groupthink among the people in it, which also cannot be further from the truth. The opinions of these intellectuals are as diverse as they come.

More importantly, however, Joe Rogan often interviews guests with whom he doesn’t agree (and neither do I). This includes provocateurs and opportunists like Milo Yiannopoulos and Candace Owens, as well as prominent farther-right figures like Ben Shapiro, Gavin McInnes, and Steven Crowder. At points when they disagree blatantly enough, or when they are factually incorrect, Rogan calls them out. But for the most part, he patiently lets them lay out their views and make all their arguments to support them. And from this style of conversation, as vehemently as I might disagree with them, I can take away a few important points: a) they are all human beings with strengths and weaknesses, b) they are not wrong about everything, c) at the points where they are wrong, I can analyze exactly why they’re wrong, what led them to these conclusions and what I can do to avoid those conclusions myself, and d) I can disagree with them without considering them irredeemable. But that’s merely my takeaway from these discussions. Yours may be different, and that’s OK  – let’s talk about it.

I am now virtually convinced that long-form podcasts, which are springing up all the time, will be the antidote to the abject cesspool of vitriol that Twitter has become. In the coming months and years, I hope for a mass exodus of users from Twitter to more meaningful, unabridged, unedited conversations, where people will truly understand the nuances of the issues that impact our society, and make more informed decisions based on knowledge and facts instead of emotionally charged placards in the form of tweets. This can only be a benefit to our democracy, our civilization, and our planet.

Knock-off apps: the sincerest form of flattery

As the developer of a relatively popular app, there are numerous things I have to worry about on a regular basis. One of these things, however, is something for which I was kind of unprepared, and still not sure how to deal with: the emergence of knock-off apps – apps that have a suspicious and often hilarious resemblance to the original.

There were, of course, counterfeit apps that were blatantly using my trademark in their name (“DiskDigger” is a registered trademark in the U.S.), or my graphics in their store listings, in which case the Google Play Store thankfully took them down upon request.

But then there are apps that don’t quite use my trademark, and don’t quite have the same icon and screenshots. But because they are close enough, they can take advantage of being near the top search results for this category of apps, and lead numerous unsuspecting users to install them and be greeted with a barrage of ads and spyware.

Most of these apps seem to come from Indian and Middle-Eastern developers, which makes the horribly broken English in their app verbiage even more amusing to read. A small part of me even applauds their enterprising spirit, and I don’t fault them for wanting to make a buck, but I wish they’d find ways of doing it more honestly.

Take a look! Can you tell the knock-off apps from the real ones?

The problem is that because these apps don’t explicitly violate my trademark, Google refuses to take them down, which is unfortunate because these apps do literally nothing except shove ads in the user’s face, and therefore actively harm the ecosystem of the Play Store. Shouldn’t Google care more about preventing the Play Store from becoming a cesspool of bottom-feeding cash grabbers?