Jehan Alvani
  • Home
  • Photos
  • Archive
  • About
  • Cars
  • Block Notification Requests in Safari.

    Ben Werdmuller posted a quick blurb about entirely disabling website notifications in your browser of choice, and I’m right there with him in not ever granting permission for a website to send me notifications. And while he covered Chromium- and Gecko-based browsers, he omitted Safari and Webkit-based browsers.

    Fortunately Apple doesn’t hide this in hidden advanced settings panels. It’s in Safari Preferences → Websites (tab) → Notifications. Delete any entries you may have previously granted (or don’t) and uncheck the checkbox at the bottom.

    Screenshot of Safari Preferences
    26 July 2023
  • BBC: US Billionaire forced to relinquish $70M of stolen antiques, banned from antiquities trade

    Strong quote from the Manhattan DA Cy Vance Jr:

    …Mr Steinhardt “displayed a rapacious appetite for plundered artefacts without concern for the legality of his actions, the legitimacy of the pieces he bought and sold, or the grievous cultural damage he wrought across the globe”.

    7 December 2021
  • Replacing Headlights on 911 3.2s and 964s

    911s in ‘88 and ‘89 (and at least some from earlier 3.2 years; can’t quite find an exact demarcation point) had the same headlights that made it into the 964s. I had to pull them apart to replace my bulbs last night after noticing that my low beams were out. This video was an enormous help. In a short:

    1. Unscrew the bottom bolt on the rings which holds the rings in place1.
    2. Lift and pull to remove the ring, which is held in place by a small lip on the body-side above the bucket. If the lights haven’t been opened up in a while (20+ years in my case) it might take some effort to pull the rings. I used a hook tool wrapped in a microfiber towel placed into the bottom bolt’s hole and pulled hard on the right side. Left side lifted with no issue.
    3. Remove the four bolts which hold the light assembly in place (one each at 2:00, 4:00, 8:00, 10:00)2.
    4. Unclip the harness, remove the light assembly, remove the star-shaped retaining clip and replace the bulb. Use conductive grease to prevent connector corrosion.
    5. Assembly is the reverse of the above.

    1. The video says to remove the pugs which cover access to the adjustment screws, but this seems unnecessary to me. ↩︎

    2. The screws at 9:00 and 12:00 are for beam adjustment; don’t mess with those. ↩︎

    31 October 2021
  • Flula Borg on Baseball:

    17 September 2020
  • A few things I’ve been digging

    • Big Fan of Austin Wintory since he scored “Journey”. His recent album “Remnants” is really good. A series of short, well-executed tracks.
    • Also really feeling Melanie Martinez’s new album “K-12” . It’s angst-pop in high form.
    • In the late-90s, a bunch of big nineties bands teamed up to put our a really good album of Doors covers. (Supposedly, making the case that he could cover “The End” was why Scott Weiland put “Atlanta” on No. 4). The album was really good, and included a couple previously-unreleased Doors tracks. I owned it back then, but I lost it in a series of moves in the mid 2000s. Good news! It’s cheap on ebay!
    • I recently read (in the modern sense of a mix of reading and listening to) “Under Pressure: The Final Voyage of Submarine S-Five” by AJ Hill, which was absolutely phenomenal. I’d read it years ago, but revisited after hearing the recent replay of a Stuff You Missed in History Class Episode
    • I picked up this Tripp-Lite KVM to simplify my home office. It lists 100hz refresh rate, but I have it working at 120hz reliably with my PC. Currently have three computers connected to one monitor through it (PC, MacMini, 13” MacBoom Pro). Much better than my old setup of switching monitor inputs then tickling a USB switch to get the input and active computer to match.
    10 October 2019
  • Ars-Technica: Google to Punish Sites That Use Intrusive Pop-over Ads

    Link

    The point of this change is to make the mobile experience better by favoring sites that don’t use ads that take over the site when a user opens a page from search results.

    Good stuff. It’s one of those instances where something benefits Google and the web as whole. All for it.

    24 August 2016
  • Updating rsync on OS X

    Link

    I recently needed to move a few directorys of tens- or hundreds-of-thousands of files to my Synology. Perfect use for rsync!

    Unfortunately, rsync on OS X is stuck at 2.6.9, and I wanted to take advantage of some of the new features of 3.1.0. Specifically better handling of OS X metadata, and progress indication.

    Fortunately, this walks you through a quick build and installation of rsync 3.1.0 in your /usr/local/bin folder. The benefit is that you can install your new version alongside the OS X included version (which is installed in /usr/bin/). Then you can add a couple aliases to your .bash_profile to treat them appropriately.

    My aliases are as follows:

    alias oldrsync="/usr/bin/rsync"
     alias rsync="/usr/local/bin/rsync"
     alias nrsync="/usr/local/bin/rsync -a  --info=progress2"

    The first makes the system-installed 2.6.9 version refrencable by using the command oldrsync. The second makes the version in /usr/local/bin/ (which is 3.1.0, in my case) the one that runs when I type rsync. Finally, the third references the new version of rsync with a couple flags I almost always use.

    4 May 2015
  • Panic Blog: Firewatch Demo Day at GDC

    Link

    ![](https://jehanalvani.com/uploads/2020/c73fcdd2b1.jpg alt=“Firewatch demo table setup; a computer with the game menu at the end of a long rustic wooden table, all warmly and dimly lit as if by firelight.” description=“Incredible attention to detail”)

    There's been quite a lot of hype about this. I can't wait to get my hands on the game. The Campo Santo team has put together an incredible looking game, and knowing Panic's attention to detail, this is going to be a blast.

    10 March 2015
  • Grantland: The Tale of Two Flaccos

    Link

    To recap: durability, pretty deep balls AND timely pass-interference penalties! You wouldn’t call it the sexiest quarterback package, and you certainly wouldn’t feel great about paying one of the league’s most lucrative ransoms for it. […]

    Then again, the Ravens weren’t paying for Joe Flaccid. They were paying for Joe Flacco. You know, the calm dude from the playoffs. The towering, smiling, handsome, lanky, confident, gunslinging, teaser-killing, flag-generating, deep-ball-flinging machine. This version of Flacco suffered growing pains: seven straight road playoff battles; in the first five, he had no 200-yard games, one touchdown and six picks, three wins and two losses, and two season-ending stink bombs against the 2008-09 Steelers (three picks) and 2009-10 Colts (two picks, three points total). He looked better in his third postseason appearance (two more road games, including a blowout win in K.C.), then blossomed the following winter when deep threat Torrey Smith showed up. Flacco’s seven-game playoff stretch from January 2012 through last weekend kinda sorta maybe backs up John Harbaugh’s claim that Flacco is “the best quarterback in football.”

    9 January 2015
  • The Origins of the HTML blink Tag

    Link

    Lou Montulli in an old (but it seems to be impossible to find out how old) post on what appears to be a kind of personal website:

    At some point in the evening I mentioned that it was sad that Lynx was not going to be able to display many of the HTML extensions that we were proposing, I also pointed out that the only text style that Lynx could exploit given its environment was blinking text. We had a pretty good laugh at the thought of blinking text, and talked about blinking this and that and how absurd the whole thing would be. The evening progressed pretty normally from there, with a fair amount more drinking and me meeting the girl who would later become my first wife.

    1. Shocker.
    2. It seems pretty sad that someone so involved with developing the web as we know it has this for a website.
    31 December 2014
  • Song Exploder - Episode 24: Tycho

    Link

    The only bad thing about Song Exploder is that I've spent a lot more money on music I otherwise might not have found. Woe is me.

    Be sure not to miss the year-end episode Sea of Love by the National. You can go through the year-long archives and find plenty of gold. The access that Hrishikesh Hirway has been able to gain over 52 weeks is a great example of how thoughtful, interesting, and insightful commentary opens doors.

    30 December 2014
  • Stuff You Missed in History Class - Beast of Gevaudan

    Link

    This is the perfect pre-Halloween podcast. Grisly deaths; heroic figures, people who attempt to rise to "hero" status, but make themselves look like fools; supposedly supernatural monsters; all in late 18th century France.

    And, the best part? After you listen, you can watch Brotherhood of the Wolf with a fire and a glass of wine. That's exactly how I'd like to lead into Halloween.

    28 October 2014
  • A Day at the Ballpark - Six Colors

    Link

    The Giants take the lead over the Royals with a strong finish in San Francisco, and Jason Snell got to document the future of sporting events. Wonderful.

    Here's hoping the Giants win one more, and wrap this thing up.

    27 October 2014
  • Radiolab - Translation

    Link

    iPhone and Yosemite coverage got me stuck in podcast doldrums over the past couple weeks. Thankfully, Radiolab was there to give me a nice way out.

    24 October 2014
  • makemeasandwich.js

    Link

    A command line tool to order yourself a sandwich from Jimmy John's. Hilarious.

    13 October 2014
  • The Horror of a 'Secure Golden Key'

    Link

    An extraordinarily clear and understandable post by Chris Coyne that explains exactly what's wrong with the idea that by protecting our data, Apple (and Google, and other service providers) are only serving to protect the guilty. In fact, they're protecting us all, and in many ways.

    Beyond all the technical considerations, there is a sea change in what we are digitizing.

    We whisper “I love you” through the cloud. We have pictures of our kids in the bath tub. Our teens are sexting. We fight with our friends. We talk shit about the government. We embarrass ourselves. We watch our babies on cloud cameras. We take pictures of our funny moles. We ask Google things we might not even ask our doctor.

    Even our passing thoughts and fears are going onto our devices.

    Time was, all these things we said in passing were ephemeral. We could conveniently pretend to forget. Or actually forget. Thanks to the way our lives have changed, we no longer have that option.

    This phenomenon is accelerating. In 10 years, our glasses may see what we see, hear what we hear. Our watches and implants and security systems of tomorrow may know when we have fevers, when we're stressed out, when our hearts are pounding, when we have sex and - wow - who's in the room with us, and who's on top and what direction they're facing*. Google and Apple and their successors will host all this data.

    We're not talking about documents anymore: we're talking about everything.

    You should be allowed to forget some of it. And to protect it from all the dangers mentioned above.

    As I increasingly use my various devices as an outboard brain (which I do, a lot), I need things to be ephermal. I need to be able to tell my outboard brain to forget stuff with only slightly more difficulty than my real brain forgets stuff. And I want to know that eg the NSA isn't creeping on stuff I've already forgotten.

    9 October 2014
  • Retrofitting WiFi into a Commercial Airliner

    Link

    I've never been so thankful I don't have to support planes. Wow. Very cool video that shows all the effort required to keep you online at cruising altitude.

    25 September 2014
  • The Ultimate Photo Shoot: On Location in Iceland with the iPhone 6 and 6 Plus

    Link

    The Verge sent photographer Austin Mann to some amazing locations and into some incredible experiences to test the cameras on the new iPhones. I'm jealous of the experience, but I'm also amazed at how the cameras in these ever-thinner devices keeps improving.

    19 September 2014
  • A Watch Guy's Thoughts On The Apple Watch After Seeing It In The Metal

    Link

    Benjamin Clymer:

    Will anyone be trading in their Lange Double-Split for an Apple Watch? Certainly not. But, will the average Lange owner buy an Apple Watch, wear it on the weekends, and then, after a great workout with it, decide to leave it on next for a vacation to the beach, and then maybe on casual Friday to the office? It's possible. Apple products have a way of making someone not want to live without them, and while I wasn't able to fully immerse myself in the OS yesterday, what I saw was impressive. So while certainly not direct competition for haute horology watchmaking right now, the Apple Watch is absolutely competition for the real estate of the wrist, and years down the road, it could spell trouble for traditional watches even at a high level. When you realize you just don't need something anymore, there is little desire to buy another.

    This is basically how I'm thinking about the Apple Watch. It's another watch to add to my (small) collection of mostly inexpensive but nice looking watches. I may find that I love the features it brings with it, and I may wind up wearing it a lot.

    I still think the 3D emoji are butt-ugly, though.

    10 September 2014
  • iPhone 6 and 6+ PDFs

    Link

    Sized to be accurate when printed at 100%. If you or someone you know is debating about which phone to order, this is a great way to get a feel without waiting for the phones to show up in the Apple stores.

    10 September 2014
  • The Terminal

    Link

    Craig Hockenberry put together a really good list of Terminal tips and tricks useful for developers. Many of these require only a little thought to be useful for network engineers, as well. Being able to do stuff like this is a big part of why I've always been a fan of using Terminal directly, in OS X, to ssh to remote devices, as opposed to using a GUI like SecureCRT.

    5 September 2014
  • This American Life - Dr. Gilmer and Mr. Hyde

    Link

    An interesting, and especially well told, report of a murder, the trusted physician behind the murder, and the doctor who took over his practice. I was about to unsubscribe from This American Life, but this one pulled me back in.

    4 September 2014
  • TL;DR - An Imperfect Match

    Link

    This episode is a few weeks old, but I don't think the information or view points go stale. There were outbursts of surprise when it Facebook published their paper about potentially being able to manipulate people's emotions by adjusting the "mood" on their Facebook timelines.

    Christian Rudder of OkCupid talks us through how using measurable testing on real users means a better experience for all users of OkCupid.

    My take? It seems naive to believe that this kind of testing isn't happening on every service we visit. Maybe especially so on services where our attention is ostensibly the "product".

    1 September 2014
  • On The Media - Dissecting the Media After Michael Brown

    Link

    If you only listen to one podcast, make it On the Media. I'm almost always dissapointed by news coverage of a topic, but the meta-analysis from OTM is fantastic.

    27 August 2014
  • J.J. Hardy and the Quick Turn

    Link

    J.J. Hardy is one of the slickest fielding shortstops in the major leagues and his work around the bag on double plays is a leading reason why. Jonathan Schoop isn’t bad around the bag either and has a cannon for an arm to go with it. Put the two together and you have the best double play tandem in the MLB residing in Baltimore.

    Hardy has been good the whole time he's been in Baltimore, but seeing him surrounded by good middle infielders, and good corners, and we've been getting to watch something special.

    18 August 2014

Follow @jalvani on Micro.blog.