HeiseHeise.com

The Personal Blog of Zach Heise

Sunset by Felucca boat ride, Egypt 2010
Sunset by Felucca boat ride, Egypt 2010

A random image. Reload page for more. Want more info?

  • What’s inside an iPass?

    My 10+ year old classic iPass that I bought from a gas station just on the other side of the Illinois border, has finally been retired. The nice thing is that the new, sticker-based iPass systems that they’ve started deploying, come with a “free” $10 refund that gets credited to my iPass account; that was the original $10 “rental” fee that I recall paying back in 2012 when I bought the box-shaped iPass; they would have refunded that to me if I had chosen to return the iPass for any reason, but since I never did and now they don’t use these anymore, it was returned as a credit.

    I was curious what is actually inside these things, and I couldn’t find many pictures online. So as I always think to myself – if I can’t find what I want online and I have the ability to contribute something to the web, why not do it?

    The box was kind of challenging to get apart. It strongly resisted even my largest flathead screwdrivers to pry it apart. So I took it down to the Linden workshop, found a half-size sledgehammer, and gave it a single whack, and a quarter of the back plastic chipped off. Then I was able to pry it apart fully with screwdrivers now that I had leverage. They definitely don’t want the average person getting in here!

    Oh, also Christine is 8.5 months pregnant and I’m going to be a dad in a week or two. Exciting!

  • New /files web software!

    Nerdy post here – sorry, no fun trip pictures this time.

    The ability of the Linux webserver to simply look at a folder filled with files and then generate an index of them is one of its earliest and most elegant features. You are probably well used to seeing folders like this around the internet – that’s an example.

    However, since around 2009 or so, I had been using a modified version of that made by a developer named Justin Hagstrom – you can see just how old his original “AutoIndex” PHP based system is because his site hasn’t changed much!

    Last week I got an email from Google Domains alerting me that one of the Google Earth kmz/kml map files from biking and hiking trips that I host at https://heiseheise.com/files was unable to be indexed anymore – HTTP error 500, not found.

    I don’t generally visit my own file server; why would I, I have the files on my computers already! But sure enough – the site was dead, not loading anything. My log files showed that it died somewhere in October 2023, which was about when I did a mandated PHP update on the webserver. Mandated in the sense that Ionos, my hosting company, told me that I’d be billed an extra $5 each month if I didn’t upgrade from PHP 7.4 to PHP 8.2, the current mainline support version.

    This is to be expected I suppose – in a vacuum, we could keep using old versions of all software forever, but thanks to the Internet not being a vacuum, we’re in a neverending cycle of needing to upgrade to prevent security vulnerabilities (and add new features too I guess; but who needs those? Sure, we could glue generative AI garbage onto a terminal program – that’ll be popular, right? /sarcasm Seriously, security is necessary, unfortunately… new features are…. eh? I don’t really care).

    Ah-hah, I thought – well, surely the PHP upgrade killed the /files system. Considering that as you can see from Justin’s link above, it was un-updated since 2007, I wasn’t entirely surprised. But now we have places like Github, so I immediately went on a mission to see if anyone had forked his old code. And they had! This one looked like the most full featured, so I simply dumped it in the /files subdirectory on my webserver and expected everything to be great. But it wasn’t. More 500 errors. What the heck?

    I replicated it on my work server – same thing. I spoke with our Linux admin and he immediately pointed me towards this closed issue (which I commented on today) saying that, ah-hah, it doesn’t work with PHP 8 either, which is what both our work server and my personal server are on.

    Sure enough, when I went to the rubo77 fork of AutoIndex PHP, and overwrote the BeitDina fork with its data – now everything works fine. I did have to clear out a bunch of random stuff that BeitDina emptied onto my webserver, as it seems like the developer has a bunch of new functionality planned for the site. Unfortunately, supporting PHP 8 is the #1 feature I needed right now, not new visual whizbangs!

    Now /files is back up and running again, with a slightly new look, the ability to download the entire site as a .tar.gz compressed file, and calculate hashes in MD5 to confirm that data wasn’t modified or damaged during a download (useful for the .ISO files I host there perhaps). Hopefully this new version will last me another 15 years!

  • Wearing my love of Thunderbird

    That’s the email client, not the Ford car (While I do like the car, I leave the love up to my Uncle Jim, who bought and restored a 1957 Thunderbird decades ago – he often takes it to car shows).

    No, for me, it’s the email client which first came out in 2003, from the Mozilla Foundation. I switched to it around 2005 from Microsoft’s basic email program Outlook Express (now discontinued), which came bundled with Windows XP, and never looked back. The sheer scope of customization with Thunderbird wowed me immediately; I love being able to alter the entire user interface to suit my whims, and its support for all manner of email address type is second to none. At work I use it with my work email address (Office 365 using the Activesync protocol, provided by an add-on extension), Gmail, AOL Mail, and Hotmail (all using the elderly IMAP protocol). I used to have theme modifications in place to add little lines between every email so that my eye would better track each message’s columns of From, Date, and Size. I even had an extension that would tell me what email clients other people were sending me email from.

    Mozilla Thunderbird for email, and Mozilla Firefox for browsing, have been a great combo for decades. While I generally think that people advertising for private, for-profit companies is silly (what, you’re going to pay THEM money, to wear THEIR logo on your body? Companies should be paying you to advertise for them, not the other way around), I definitely feel differently about open-source free-software foundations like Mozilla. They put their money into developing great software and releasing it at zero cost to the customer.

    Many years ago, Mozilla had a Community Store. They still have the old blog post up that touts it, but all the links in it are dead now and just redirect back to the homepage. The only thing it sold, however, was Firefox merchandise – nothing about Thunderbird. While I bought (and still wear constantly) a Firefox tee right away, I’ve messaged Thunderbird’s community moderators several times over the past 15 years asking them – why not put up a Thunderbird shirt for sale at “fundraiser” prices – $30, $40, and then people like me would pay a premium for the shirt, and the Foundation could pocket the rest? While they agreed, and sent me stickers and pins to thank me for being a fan – no shirt ever went on sale, and now you can’t even get any (official, mind you) Mozilla merch, not even Firefox.

    So if they weren’t going to sell me a shirt to wear my love of Thunderbird in public, I’d make one myself.

    We live in a custom-order world though now. Back in 2010 I made Pro-Palestine t-shirt via Cafepress, who I (believe?) was one of the early players in the custom made-to-order-product category. As most people can guess, a lot has changed in the e-commerce world since then, and now you’ll trip over dozens of websites to make custom products, be it for your personal use, or to sell and make a (tiny) profit (as of course, you’re only getting paid for your design and the company is doing all the actual work – and like as not, some other person on the internet will see your design and rip it off and sell it themselves pretty rapidly).

    Mozilla recently changed the logo of Thunderbird to be…how shall I put this tactfully… “simplified.” This is part of a larger trend, and I’m not a big fan of it. Thankfully, I was able to find a scalable vector graphic (SVG) version of their classic logo, and armed with that, I was easily able to import the 400KB .svg file into GIMP, set the resolution as 3000×3000 and the DPI to 300, and export a whopping 25MB rasterized bitmap PNG file out. I love vector graphics, particularly for logos, and the fact that you can export any size bitmap file you want makes them perfect for archiving. What might be “high resolution enough” for using on a product today, might not be in 15 years, but that vector image can always be used to generate a higher-resolution file in the future.

    I went with zazzle.com and uploaded the PNG file (most of these custom-order sites don’t want the SVG files, they want rasterized images) and added some text. I am not sure about Mozilla’s legal team’s opinion on fan products like this (I’m sure they do have lawyers, despite being a friendly open-source company) so I made sure to not use their company name at all. I did fret a little bit about the fact that Zazzle only does “Direct to Garment” printing rather than the more durable classic Screen Printing, but since this is just a one-off shirt and I’m not making hundreds of them, I guess I’ll have to take what I can get. My Pro-Palestine shirt, also DTG, has held up pretty well in the wash for the past 14 years; I always line-dry it rather than tumble, and I think that helps. Here’s the result that I hope will show up in a couple weeks.

    Men's Basic T-Shirt

    Email is great. I love it, vastly more than text messages for sure, certainly more than proprietary, dumbed-down chat clients like Google Chat, Facebook Messenger, Apple iMessage, and even Telegram, which is probably my second way to communicate after email. Email is interoperable, extensible, and easy to organize, and if you have a good junk mail filter, it doesn’t even show its downsides very much (that is, that so much garbage email gets blasted around the planet every second). New upgrades to email like SPF and DKIM records in the past decade are even making long-time issues like message spoofing less of a problem.

    I’ve had people throughout the world comment appreciably on my Firefox shirt for years now, particularly while visiting China (probably due to the lack of Google Chrome availability), and I hope to make a few more people curious about what this “Thunderbird” thing is, and maybe check it out. You never know when <insert email provider name here> might decide to close your account for any reason and without explanation, and then you’ll really wish you had an archive of all of your email safe on your computer. Thunderbird is there for you.

  • Blue down the west coast

    The final phase of our vacation in Morocco had begun. With Nicole and Connie safely on their way back to the USA, our travel group was back down to the family group, same as it had begun a week and a half ago. Our next destination was the incredibly famous, highly photographed “blue city” of Chefchaouen. Mom mentioned that she was pretty sure it was on the cover of all of the ‘visit Morocco’ guidebooks she owned, and pictures of the city may have even played a part in creating her initial wish to visit the country over a decade ago. So, good work Chefchaouen; you’re a beacon to tourism for the nation.

    On the drive north, we stopped at a roadside stall to buy some (blue) trivets made from repurposed, spun plastic bags. Both Betsy and mom were wearing blue too! With a blue lake behind us! We’re blue!!!

    Part of the journey involved stopping by the ancient Roman city of Volubilis for a couple hours, one of the best-preserved examples of Roman influence on the south side of the Mediterranean. Omar said that Odynovo Tours had subcontracted this part of the trip to a local guide, Amarad, who lived in the nearby village of Fertassa. Amarad’s command of English wasn’t great, but he was enthusiastic in his descriptions of the various surviving Mosaics that had been unearthed over the past couple centuries before the site reached UNESCO status. Almost no trees were allowed to sprout up in the extremely low ruins so the November sun beat heavily upon us. Apparently a lot of the Roman stones had been repurposed by various rulers over the centuries to build the city of Meknes a couple dozen kilometers to the south, explaining why the surviving city ruins were “knee high.”

    Amarad overlooks the city’s low-slung ruins
    The tallest, overall largest surviving structure on the site is the Basilica

    We reached Chefchaouen in the early evening as the sun was starting to set. Nestled into the hills between two mountain slopes, we examined it from one of said slopes alongside a small tour bus of about 20 Asian tourists. From up here, it didn’t actually look that blue and I wondered where the heck the pictures came from; I was expecting to crest the hillside and look down onto a town that might as well be as blue as the sea. Omar explained that it was further in (here he gestured to a section of town in the northeast corner of the city) that they painted everything blue, and it was difficult to see from here.

    Without planning it at all (I actually forgot we were going to a blue city when I got dressed this morning) we all were wearing somewhat blue clothing!

    It turned out that our big Mercedes touring minibus (large van?) was not allowed to go into the old city where our hotel was, so Omar flagged down a couple of taxis to take us and our luggage up the narrow streets to “Vanci Hotel” where we’d be spending our single night in the city. In comparison to the Palais Faraj or Ksar Ighnda, it was a bit of a step down, but Odynovo had warned us that here in the high-tourism season of November, hotels in Chefchaouen booked up incredibly fast and this rather middling hotel was really the only place left that could accommodate the four of us in 3 separate rooms. As we were checking in, a group of 30 Asian tourists flooded into the lobby, led by a Moroccan guide. I can’t find any news articles about this but it was quite interesting actually; of course we had seen other tour groups on our trip so far, but here in Chefchaouen the vast majority of large groups were Asian. I mentioned this to Omar, and he said that he thought it was because traveling outside China had been somewhat difficult before 1978, ever since that point, Chinese tourism had been constantly rising, filled with tourists that were obsessed with taking as many pictures and seeing as much as they possibly could. When put in that perspective, I can completely sympathize that they finally were free to travel and therefore, wanted to make the most of it. Maybe there was also a worry that perhaps the Chinese Communist Party will take their freedom away again at their whim someday too?

    Omar met us the next morning at the hotel at 8am to begin our walking tour. Several friendly local dogs who found us in the first 10 minutes of the walk seemed to enjoy our companionship, playing with a discarded shoe they had found (way to be stereotypes, dogs!) and romping within 20 feet of us for the first half an hour. It was still quiet at this time of morning except for gradually increasing sound of water. We came to the source eventually – a fast moving narrow channel of water that seemed to be used for washing by numerous stern looking elderly ladies. Omar cautioned us not to photograph them (I hope the Asian tourists got a similar memo), and we crossed a bridge over the stream and into the picturesque part of town. Here’s where the souvenir stands began and all* the walls were painted blue.

    Why the asterisk you ask? Well, it seemed like in most cases, despite most of the buildings being 2, 3 or even 4 stories tall, in these narrow car-less alleys we were walking through, the blue color only extended up to the top of the ground floor – the upper areas were left the drab color of unpainted concrete. It definitely helped to explain why the previous day, when viewed from a distance, the city didn’t actually look that blue.

    It was pretty, of course, but felt extremely touristy. In one town square, we came across a group of tourist women in lawn chairs who were simply painting a blue wall and alley. I was getting a rather bizarre vibe from the city by this point – what am I missing??? It’s a city with a lot of blue paint! Is this the best idea to make into tourism or what? I mean, I get that it has a historical background, having been inhabited by a lot of Jewish folks who were forced to flee Europe during the Re-conquest and the expulsion of all non-Christians from Andalusia.

    (more…)
  • Time to Fes up

    The mosaic-coated pillars of our hotel stretched away into the darkness of the night sky as Yaseen unloaded our bags. A trio of brown-suited bellhops, and a duo of black-suited concierges, greeted us at the 10 foot tall gate to usher us into the reception area. Credit cards were solemnly run for ‘incidentals’ and presented back to us with bowed heads and a clearly trained 2-handed, thumb and forefinger grip. This was the Palais Faraj, built in 1911 by a local judge favored by the Sultan as a home for his immediate and extended family – one year before the curtain came down on the Sultanate and the French forced the nation into a Protectorate status. So while it was only a century old, only after I later chatted with the concierge did I learn this, because the judge had a decidedly 1600’s taste in decor, following the yellow/blue/black/green mosaic style we’d seen in many of the madrasas of that time period.

    We were led through numerous sitting rooms, libraries, stepping up and down cautiously in the dim light to avoid tripping over the many small changes in floor height in our path. Some areas had once been courtyards, but all these courtyards had since been covered in glass caps; Fes after all does get plenty of rain, and tourism at a hotel like this demands that guests never sully their dainty heads with wet.

    Since our drive the previous day had been so long, Omar let us sleep in a bit, picking us up after our continental breakfast on the top of the building. Our view looked out over the edge of the Old City, across the Ouislane Valley, and upon the other side framed in the morning mists was a blocky, imposing beige structure called the South Tower. We’d be seeing that later.

    A tight squeeze in Fes’s old city alleys

    For now, though, we’d be starting in the Old City. Omar would be our guide, and he led us down the narrowest alleys and corridors we’d seen yet, sometimes no more than half a meter wide. In some places the 400 year old buildings were practically leaning into each other over the alleys, and needed to be braced with new-looking wooden supports. Omar explained that alleys this small would never have been okay with the municipality of the time, but instead were once a single large house, but then the owner had sold it, and it had been divided into smaller and smaller parcels until only these little practical crawlspaces remained.

    We saw a museum called Nejjarine, a beautiful former inn that now housed three stories worth of “stuff Moroccans have made that is made of wood.” If you can make it out of wood, there was probably some creation of that family in that museum. Musical instruments! Doors! Bridal palanquins! Mosque screens! Weapons! Islamic legal decisions! Toys! Intricately cut and painted shelves! It was quite fancy and all the signs were written in Arabic, English, and French so dad and I could browse inscriptions to our hearts’ content.

    Next was another madrasa, similar to Ben Yousef that we had seen back in Marrakech. This was al-Attarine, and it was similarly beautiful with its mosaics, fresco inscriptions, and carved wood upper areas. One immediate difference I noticed between Ben Yousef and Attarine was in the student dormitory area – while the former’s rooms were darken, with windows only looking back into the hallways, these ones were well lit, with openings in the ceilings to let sunlight pour in (like the Palais Faraj, they had been capped with glass for tourism purposes), and almost, if not all, student rooms had an outside facing window. Omar said that unlike Ben Yousef, which was more of a ‘graduate school’ for students practiced enough to have already memorized the Qur’an, Attarine was made for younger children who could graduate through ‘levels’ of memorizing parts of the Qur’an before the whole thing, and also that there was more competition from other possible madrasas that wanted students, so they wanted to make the student lodgings more attractive.

    We made a couple of stops in handicraft areas; the famous tanneries which are hundreds of years old and a well-known tourist stop. Dozens of pits in a 2000 square meter courtyard emitting a smell that could be described as ‘interesting’ in the politest sense. The entrance was nondescript, a staircase through a tiny door with merely a sign that said “tanneries; looking is free!” A fellow sat on the first landing with a sack of fresh mint leaves next to him, and he smiled as he handed a sprig to each tourist, and gestured to hold them under our noses. Every wall and every passage was covered in leather goods of all types and colors; jackets, belts, and thousands of handbags. Effective insulators, we could barely hear the murmur of the hundred other tourists ahead of us as we climbed and walked through the tangled hallways to find the ‘overlook’ of the tannery pits. The men below had their trousers hitched up to their thighs and were working the leather with their feet. The employee describing the hectic work below mentioned that pigeon dung was used as part of the process too, but the smell at this point was harsh, thick, acrid, and not really describable beyond ‘it smelled like a tannery.’

    Oh honey, do you really need to be posing right over tannery pits in your bright white palazzo pants for your “insta” followers?
    (more…)