Greetings, Earthling 🖖

I’m Shantanu, aka Shaan.

Your friendly neighborhood co-inhabitant of this tiny speck of dust, I maintain this site as a stochastic log of my calculations towards the futile aim of weeding out the anomalies from the equation that gives me my “42”.

In my Clark Kent mode, I spend my day at The Trade Desk, trying to crunch through petabytes of data and trillions of queries every day to understand the human behavior and make the advertising technology world a little bit better.

Before that, I spent a couple of decades in the Semiconductors world at Qualcomm and Google, building processors and AI accelerators, tinkering with chips, operating systems, device drivers, human interface devices, security et al.

When the lights go out everywhere, I like to don my maker hat and build stuff that no one wants.

I like to make and break things around me ranging from my smart toaster/TV to my web and phone apps to my car, strumming a bit of guitar, 3d printing stuff, and of course, shit-posting on twitter @shantanugoel.

Sometimes I post some of my travel and 3d print outputs on instagram, because I’ve been told by my gen-z interns that that’s a thing to do.

Do check out some of the other subdomains that I run.

Display Message on Samsung TVs in Python (Samsung MessageBox Service Exploitation)

This script is the result of a weekend’s hacking to get my TV to display incoming calls/texts which I miss invariably because the phone is buried under a sofa or in a different room. Earlier I had done this using my Odroid U2 and Tasker/AutoRemote but this was limiting as this meant that I could see the notifications only when I was watching something through the Odroid. Samsung TVs, which are DLNA enabled, also include a hidden service called “Message Box” which can display different information on the TV natively irrespective of which display mode/input mode you are in.

Fixing The Static Noise, Clicks And Pops with Turtlebeach Earforce PX5

So I got this beautiful piece of headset a few days ago, called the EarForce PX5 by TurtleBeach. It’s claim to fame being an awesome virtual surround sound headset which also does the double duty of providing game audio as well as voice chat over the same headset. I preferred this over the Sony PS3 Elite headset as the PX5 is more generic and can work across multiple devices since it uses the regular bluetooth for A2DP and voice chat and the wireless transmitter has standard optical/RCA inputs and outputs.

The 80 Column Coding Rule

I’ve followed the 80 column rule almost always when I code, i.e., I keep a soft limit of keeping my lines of my code limited to 80 characters max. unless breaking up the line really messes up the readability of the code.

I was asked recently why do I bother now in this age of 24" widescreen monitors (and above) with resolutions of 720p at the bare minimum. I could certainly afford to have more than double that limit staring back at me from the screen without overflowing. Then, am I just being pedantic in following this religiously? Am I not wasting precious screen real estate by doing this?

Apple, Anti-Malware, Patents

Recently, there has been this trend. Blogs look for patents filed by companies and then report on each of them as if they are second coming of Jesus in technology. Especially if it is Apple who is doing the filings.

A few days ago, this new patent showed up about Apple’s “new wave approach to fighting malware” with the author giving up half-researched commentary on it.

I was intrigued by this news (if you can call it that), not because it’s something new but instead because process isolation is hardly a new concept. The author mentions “Qubes OS” as the one to be original inventor before Apple but in fact, it has been used for years (eg chrooting/containers in linux) and more popular recently in Android’s uid based approach. Even Qualcomm (and other SoC vendors) have stuff that helps in this space with Trustzone based isolation between processor entities at hardware level.

Fixing the DS3/Sixaxis Controller Not Working in PSN Store Issue

So, my wife got me a new slim PS3 today to replace my old YLOD’ed phat (Yes, Awesome wife I know. And slim PS3 cuz I hate the looks of the new superslim). But, I digress. The issue at hand is that everything worked fine when I unwrapped it, hooked it up to the power and TV and switched it on. However, once I started the PSN store (or what is now called Sony Entertainment Network Store), nothing worked. I got the main screen/content of the store displayed but I couldn’t move around in the store. None of the buttons on the DS3 worked. I hooked up my older sixaxis and still the same. The only thing I could do was to hit the PS button which would bring up a menu from where I could quit the store app and then again everything worked fine once I was out onto XMB or in any game or for any other feature not related to the store.