Categories
life tech

A New Slacker and More

This January I engaged in a couple of projects that absorbed all of my spare time, forcing me to put my usual creative activities on hold. First there were the holidays, which was always a project unto itself, with all the obligatory get-togethers, visits from extended family, and gift coordination for the kids. A couple weeks before the holidays my wife had instructed me to build a personal computer (code name “Slacker”) for our oldest boy. I put it off until January, knowing what an effort it would be. I was also informed that I’d be waking up in the pre-dawn hours every Friday morning in January to take our youngest boy to skiing lessons at Brighton, up Big Cottonwood Canyon.

For the most part, my life was directed by a meticulously-organized Japanese woman, and I was okay with that. However, January was the month that I had planned to dive feet first into the training that would help me evolve my career and thereby allow me to elevate the lives of my family (in the form of a major housing upgrade in 2023, for example), and of course there were my usual creative projects, prerequisites to positive mental health. In the triad of goal categories I had created (family / creativity / vocation), family came first. I’d have to put creativity and vocation on on hold for a while to get these family projects done.

Four mornings at Brighton ski resort might not have seemed like too heavy of a chore, and in fact it may have sounded downright luxurious; but Friday mornings were normally my slot for prime-time productivity when it came to advancing my conditions at work, and for exploring whatever creative projects I had going at the time.

Very close to every hour of my remaining free time in January was devoted to the great PC upgrade. In truth there were two upgrades: upgrade number one was my son’s first PC, which I’d build using some of the components (motherboard, CPU, power supply) from my current gaming rig, Slacker, and install them in a new PC case with new RAM and video. The motherboard, CPU and RAM were about seven years old, but with the new video card they’d suffice. I’d also involve my son in every step of the hardware assembly and wiring, making sure he understood how all the parts fit together and how the system worked. Upgrade number two was the replacement of my gaming rig, which I’d build from scratch with all new parts. It would be nice to have a new PC, but I knew how much work it would take.

I had first started building PC’s in the 90’s, when I worked at a major electronics retailer as a techie dweeb who built, repaired, and-or upgraded thousands of computers. In the twenty years since then I had also assembled a couple dozen PC’s for myself, family, and friends. Seven years had passed since my last upgrade, and that had been more of an emergency repair, when the motherboard and CPU were upgraded to support a new video card that replaced one that had died. The technology had changed a lot since then.

The first phase of the project involved shopping and research. I took notes. LOTS of notes. For example, if I wanted X hardware feature on one component, would the other components be compatible? Was X component worth the extra X dollars it would cost? Would there be any noticeable performance increase? Would it be upgradeable in the future? For these evaluations I leaned heavily on my Canadian geek friend in Ontario. We had worked together for many years, and he had remained more tech-savvy when it came to assembling PC’s. We established a price-to-performance matrix with various upgrade paths and options. I spent maybe eight hours over the course of a week in this phase of the project and then sat back and waited for the waves of deliveries to arrive at our door.

The next phase of the project involved a) the disassembly of Slacker, my current gaming rig, b) the assembly of my son’s computer with old and new parts, and c) the instruction that went along with it. I set up an informal curriculum that involved explaining the function of each component and how they all fit together. We spent a couple nights after dinner putting things together and talking about how computers worked, and even more time on troubleshooting and configuration. This phase took maybe ten hours total. (Instruction on internet safety would come later!)

The technology may have advanced, but PC upgrades were basically the same. My hands were always too big to fit into the spaces they needed to go (so my son’s half-size hands came in handy). There was always a screw that got dropped into the chassis, never to be seen again. It was rare that any part fit perfectly. There were always bloody injuries, like when I first took the PC case out of the box and removed the tempered glass front panel, only to have it slip out of my hands, hit the hard floor, shatter, and slice my thumb open in the process. (Ironically the paper I grabbed to stop the blood flow was a manual of Safety Information.) Cuts on the tip of the thumb were a real joy because it was almost impossible to avoid jamming the wound into something every few minutes, especially when building a PC.

And once we finished assembling my son’s PC it had to go somewhere. Our house was small and there was only one place it could go. This required rearranging furniture and getting a desk ready in our dining room. All the stuff that had been on the desk had to go somewhere, too, so we got a cabinet from IKEA and I spent a Saturday afternoon assembling it with our youngest son. This was a enjoyable family endeavor, I had to admit.

After a couple weeks the first PC was up and running, and the parts for the second PC had arrived. It was time to do it all again, this time from scratch. Most of the hardware assembly I got done in one night. Organizing the cabling inside the case was another full night. It was a geeky art form, the closest task that resembled creativity in this type of work. I liked things in the case to be attractive and neat.

The final step of the hardware install were three NVMe solid state drives. This should have taken three minutes. It ended up taking over three hours. The modules came with built-in heat sinks that made them slightly too big to fit in the M3 slots on the motherboard. The screws that were supposed to secure the modules were tiny (the size of screws that hold glasses frames together), proprietary (so a phillips screwdriver didn’t quite work), and they were too short. By one in the morning on a Wednesday night I had finally rigged something that would hold these storage modules in place (maybe), and by that time I was done, done, done with the whole project. There was still the OS and apps installs to go, along with the inevitable follow-up troubleshooting.

By the end of the month I had officially crossed the finish line of family tasks. The early morning ski lessons were done. I had successfully built two PC’s. As much of a drag some of the project had been, it sure was nice to cold-boot to Windows in 2.5 seconds, and there were so many newer games I could play with the new video upgrade. My son was delighted with his new PC, too. I was relieved to move these projects into the “done” column. But I hadn’t merely gotten these projects out of the way. I had made a permanent, positive impact on the lives of my family, and I was grateful for the opportunity to help.

Categories
tech

Slacker Reset

I was psyched to get my first PC in the autumn of 1992. It was what they used to call an “IBM clone,” as IBM was the only Intel-based PC back then and there was no Dell or big name home computer resellers. There was no real internet yet either, but to me this offline PC was 33MHz of pure joy. It was my senior year at Colorado State and I logged more hours playing games on the computer than writing papers for school. Thus the PC earned the name “Slacker,” and this name would be passed down to future incarnations of my primary gamer rig in the decades to come.

Now, almost thirty years later, the current incarnation of Slacker ran a quad-core 3,300 MHz Intel CPU with a decent graphics card. It was a modest rig by contemporary gamer standards, but still enough to run the games I played.

Last weekend I got the idea that wanted to wipe and reload Slacker. There were no glaring technical issues, no malware or spyware known to me (the PC had never seen a single bit of downloaded data from nefarious web sites and I was ultra-paranoid about PC and browser security). It was just that I had been using the same build of Windows for a really long time.

During the move from Japan, I had disassembled Slacker and stored the parts in static-free bags, wrapped in tape and neatly packed into a suitcase. Upon arriving in the States I assembled all the parts in a new case, and by some miracle everything booted up and worked fine. (See featured image for Slacker resurrection in November of 2019).

Slacker remained functional, but I was still using the same OS and some stuff was a bit quirky, like the fact that it took at least ten minutes to load one of my favorite games, Total War Shogun 2. This was an older game that should’ve loaded in seconds. There was also a persistent problem with a mouse driver that aroused my fury when it spun out of control and randomly scrolled through my choice of weapons during a critical moment in a first person shooter game.

Plus, I just wanted a clean slate, the feeling of having the disks wiped and the underlying OS fresh and trim, which was perhaps the same emotion as loving that smell of new car interior.

Bottom line: Slacker needed a fresh start.

Windows included an option to “reset this PC,” with a choice of keeping data and reloading the OS, or nuking everything from orbit. My choice was the latter, of course, because what idiot would keep personal data on the system drive? I maintained a few elaborate scripts that kept my data secure and squared away, but there were a couple things to consider before blowing away the system, mainly regarding licensing. Licensing wasn’t the most exciting topic in the world. Most people threw money at it to make the problem go away (i.e., the software subscription route).

Me, I was still holding on to the more economical option of using the same Windows license I had been using for more than a decade (that had started with a FREE copy of Windows 7 snagged off Technet before Microsoft shut the doors on that program, and had been carried over through subsequent upgrades). Would my ancient licensing legitimacy get dropped in the reset? Microsoft wasn’t very forthcoming about what went on under the hood in this reset (as usual). So, to be safe I backed up the system disk to a USB drive using a great tool called Windows 7 Backup, still included in Windows 10.

There was also the issue of Microsoft Office. I was still using the last purely desktop-based version of Office (2013) because I didn’t care for the idea of paying Microsoft a minimum of $100 per year for the rest of my life, just for the privilege of occasionally opening a spreadsheet or using Word. Plus, Office hadn’t improved in a decade or so. It didn’t need improvements. It was done a long time ago. Microsoft Office used to be desktop software that seemed a bit pricey even twenty years ago, like $300 or more. Now, with a subscription to Office 365, it was at least $3,000 over time, considering I’d be paying for at least another 30 years. So, I double-checked my ISO library to confirm I had Office 2013 and the license key handy. (I had also grabbed this off Technet … for free!)

And because I’m a super-paranoid neat freak when it comes to everything, especially computers, I also decided to take this opportunity to zero-out and triple-wipe (by DoD standards, of course) EVERY DISK in use, including (3) half-terabyte SSD disks in the PC, and (3) two-terabyte external USB drives. Two of these external USB drives were a mirrored, secondary copy of all my digital keepsakes, making the operation a tricky juggling act. (The primary copy was in the cloud, a private and secure solution offered by a Swiss company that matched my level of paranoia.) But despite its trickiness this kind of activity was nothing for any decent IT person, and I had been in the game for a while.

It went like this:

  1. Backed up the system disk to USB drive 0, and noted the size was around 90 GB used space. (This backup would not be needed, thankfully.)
  2. Uninstalled all games from Steam that were no longer played by me or my boys.
  3. Backed up local saved game files for games we still cared about. (This turned out to be not needed, of course, as Steam saved games to the cloud; but I wanted to be 100% sure not to lose anything.)
  4. Uninstalled Steam.
  5. Triple-wiped internal SSD disk 1 (games).
  6. Uninstalled cloud storage service agent.
  7. Confirmed backups to Swiss cloud and USB.
  8. Triple-wiped internal SSD disk 2 (backup).
  9. Ran the Windows reset with nuke-from-orbit option. It did wipe the OS partition on SSD disk 0, but did not wipe the two tiny reserved partitions. This was probably how it retained Slacker’s core consciousness … and the license key, too?
  10. Triple-wiped internal SSD disk 1 again.
  11. Triple-wiped internal SSD disk 2 again.
  12. Set up new Windows environment, which didn’t seem as much of a hassle as in years past. Really it was just installing Windows updates, Firefox, the video card driver, Steam, and the Swiss cloud storage agent. Later I’d install Office 2013.
  13. Created Steam library on internal SSD disk 1 (games).
  14. Started synch of cloud data to designated vaults on internal SSD disk 2 (backup).
  15. Made backup of USB drive 1 to temporary location on internal SSD disk 2 (backup).
  16. Triple-wiped USB drive 1.
  17. Mirrored the designated data vaults on internal SSD disk 2 to USB drive 1.
  18. Triple-wiped USB drive 2.
  19. Mirrored USB drive 1 to USB drive 2.
  20. Triple-wiped USB drive 0 when it was confirmed the new Windows install was functional and was confirmed that I did not need a new Windows license key!

All this took a couple hours, but as mentioned, it wasn’t too bad. I was loving that fresh, new PC smell.

As an added bonus, Total War Shogun 2 now loaded in ten seconds instead of ten minutes, and that infuriating mouse problem went away.

Categories
vertical farming

Mirai Vertical Farm

Last Saturday we packed the kids into the minivan and navigated the highways, bridges, and tunnels of the most populated metro area on earth, destined for Chiba, home of Tokyo Disney, but we wouldn’t be visiting the Magical Kingdom again today. Our destination was an indoor vertical farm called MIRAI. The only problem was that I still wasn’t sure why.

A few weeks earlier I had contacted Spread, near Kyoto, operator of the largest indoor farm in Japan, but they had turned down my request for a tour. By some miraculous coincidence my wife knew the CEO of Mirai from her university days, a gentleman named Nozawa Nagateru. I was surprised and elated when he agreed to give me (us) a personal tour of their Chiba farm. I would’ve preferred to go alone; but I needed my wife there for introduction and translation, and with her came the kids.

The drive from our place on the Shonan coast was an hour and a half. My eyes were burning with seasonal allergies. Spring was the season of suffering for many people in Japan.

As we crossed the Yokohama Bay Bridge, I caught sight of the cruise ship that had been in the news. There were some people with COVID-19 “Corona” virus on board.

Mirai grew produce in clean room environments, where workers wore full body suits and breathing gear, sanitized in an airlock before going in. It was better quality control than whatever they were doing to contain the virus on the cruise ship. A day or two in that clean room and my allergic reactions would also subside.

Entering Tokyo, the kids slept and I got the head space to think about what I was going to ask Nozawa-san. How would represent myself to him? Why was I visiting an indoor farm? I wasn’t a journalist. I wasn’t a horticulturalist. I didn’t know anything about growing plants. Never mind the fact that I didn’t have a business card, the obligatory prop of any professional engagement in Japan. At least we were bringing souvenirs from our hometown of Kamakura, and a paperback copy of my book. I had worked in information technology for most of my life, and I was the author of an unknown novel that happened to feature a character who abandoned his corporate gig for a life of helping people and growing things indoors. If anything I was an otaku (geek). There were otaku obsessed with everything from Pokémon to bullet trains, so why not vertical farms? Either way, I was going on a whim and a dream, armed only with the desire to work with beneficial tech.

The Mirai farm consisted of a couple of tidy, non-descript warehouse buildings tucked into the midst of an industrial zone. A mob of uniformed workers from a nearby factory smoked cigarettes outside the convenient store down the street. If anyone had to pick the most unexpected place to find tens of thousands of vibrant green plants, this was it.

We parked in front of the main building and Nozawa-san met us outside. We exchanged greetings Japanese-style and he ushered us to the side of one building. Inside and upstairs, we entered an observation room overlooking a vast space containing rows of illuminated towers ten meters high, each containing thousands of plants in various stages of growth. Monitors on the wall displayed graphs of data points collected from the farm below, as well as from other facilities, both local and remote. “Mirai” meant “future” in Japanese, and they lived up to their name.

Nozawa-san poured green tea into paper cups and we sat down at a table to talk. His company was one of the early pioneers of indoor farming technology, with over fifteen years in the business. Their unique, data-driven approach to cultivating perfect produce could be described as precision farming, focusing on the balance of over two hundred growing factors. Like all vertical farms, their main selling points were steady, reliable production of perfect produce, at a fair price. Of course their products were free of pesticides and GMO’s. Best of all, their vegetables tasted great. We sampled fresh romaine lettuce and basil from a platter on the table. Each plant was ninety-five percent edible, with minimal stalk to throw away. Their produce was clean at harvest time. No need to wash.

Aside from the Chiba facilities, Mirai owned and operated a lab and another large farm in Tagajō, Miyagi prefecture, the area hit hardest by the Great Tōhoku earthquake of 2011. I asked if this lab was built in response to the doubly-whammy natural and manmade disasters there. Yes! Absolutely, he said. They chose this site to help the area recover, and to demonstrate the benefit of their tech. Sendai wasn’t too affected with fallout from the Fukushima meltdown, but I guessed their clean room facilities would be immune to radioactivity, as well as to pollen, vermin, and disease.

Mirai sold their design and built farms in numerous locations that were hard-pressed with resource issues and-or harsh weather conditions, with successful operations in Antarctica, Northern China, Mongolia, and Russia. Nozawa would soon visit Norway to consult on the construction of a farm there. Mirai was a leader in urban farming, too, having built farms in cities like Tokyo, Shanghai, and Beijing.

Mirai’s yield is up to one hundred times more resource efficient than traditional farming, using just two percent of the water and a fraction of the land. Their primary expenses were electricity (for the LED lights, the pump, cooling, and control systems) labor, and insurance.

Not knowing anything about the business, I asked the most common sense question on my mind: what would it take to make Mirai more cost-efficient than traditional farming? Sure, their product was of the highest quality and healthier on every level, but at what point would it make more economic to grow produce with the Mirai method as opposed to traditional farms? It turned out to be a good question. Mirai’s solution was in the size of plant. By growing bigger plants they could essentially get more bang for the buck. It wasn’t as simple as that, of course. Other operations, like Spread, got more bang for the buck by growing smaller plants and harvesting quicker. It was a complicated equation of precision farming, taking into account numerous factors of resource usage, output, and time.

Next I asked Nozawa-san what he thought of the impending world food crisis, and how Mirai might play a role. He was of course aware of American vertical farm marketing campaigns, but he answered flatly: “starving people don’t want lettuce”.

Excellent point. Poor countries facing population explosions and resource deficits needed protein and grain. The best answer to this problem was the kind of work done by George Kantor, Senior Systems Scientist with Carnegie Mellon University’s Robotics Institute, Farm View project, whose work focused on using technology to accelerate the efficiency of traditional farms. CMU was working on tech that didn’t require radical change; it could be plugged into existing, traditional farming techniques. Even the trillions of data points collected by start-ups like Plenty seemed only applicable to growing plants indoors, so it still wasn’t clear how vertical farming would save the world.

There was only so much to keep our young kids entertained in the observation room. They were getting unruly to the point it was impossible to concentrate, and it was a natural time to go. Nozawa-san also had two boys, too, so he understood. We decided to call it a wrap, taking a couple of photos and presenting our gifts. Nozawa was impressed with my novel even if he couldn’t read it in English. He asked why I wrote. I shrugged and told him it was the kind of work I wanted to do. I think he assumed my reason for the interview was research for my next book. Who knew? Maybe it was. Later it occurred to me that this was our first family outing in nine years dedicated to something I wanted to do. I didn’t stray far from the path between work and home. My visit to Mirai was a real treat. It may have been unclear how I could contribute to the business of indoor farming, but the fact that this was how I chose to spend my first real “me” time in nearly a decade spoke loud and clear. I was drawn to beneficial tech. It was work I wanted to do.

MIRAI Vertical Farm

FarmView: CMU Researchers Working to Increase Crop Yield With Fewer Resources

Categories
tech vertical farming

Vertical Farms

If I could do any kind of work, I’d devote a good part of my week to working at a vertical farm. (Or building one myself.) A couple years ago I wrote a novel called TOKYO GREEN. It’s about a guy who abandons his high-paying job in Silicon Valley to live a more natural, beneficial life. The MC ends up in Tokyo, where he builds an indoor farm for a bunch of retirees, with the help of a rogue AI. At the time of writing the novel I didn’t know much about vertical farming. I still don’t know much about it now. But I do know I want to get involved. I’ve worked twenty-plus years coding and automating systems, and I have a rough understanding of how machine learning works. This was the knowledge I brought to writing the book, and it’s the knowledge I could bring to vertical farming today.

I’m thinking about this now because I got an invitation to visit a vertical farm in Chiba, Japan (near Tokyo Disney) in a couple of weeks, and I want to have some informed questions for them. In particular I’m interested in the computing systems and software they use, as this is the most likely way I can contribute my current skills.

In general it does not seem likely that vertical farming will offer many job opportunities, as the technology that makes these operations economically feasible is also the technology that is eliminating the need for human work. Still, I’m imagining my contribution to beneficial technology starting with the question “what kind of work would I do if I could choose anything?” I’d write, of course, but vertical farming is at the top of the list.

Vertical farming is a sustainable, cost-effective method of Controlled-Environment Agriculture (CEA). It combines tech like aquaponics, hydroponics, robotics, and machine intelligence (analytics) to grow plants indoors. I’ve also seen “urban farming” and “low-impact farming” used to describe this kind of AGTECH, but these are general terms. Vertical farming refers to the particular way of growing plants in tower racks or even sideways, on a wall.

Hydroponics is all about growing plants without soil, in a nutrient-rich solution, and one way to get those juicy nutrients is through the age-old techniques of aquaponics. There is something very appealing about creating a cyclic, sustainable ecosystem of plants and water-dwelling creatures and organisms. For example, the hydroponics system might drain its water into a catfish tank for re-circulation and watering the crops. It reminds me of when I’d siphon fish poop out of my fish tanks and use it to feed the plants. Aquaponics takes it a step further, completing the loop.

How is vertical farming beneficial? It produces fresh, hyper-local, inexpensive greens with superior flavor, using sustainable techniques. The very nature of Controlled-Environment Agriculture means the product is free of pesticides and GMO. What could be more beneficial than that?

These indoor farms are also far more productive than soil-based farming, growing thirty or more crops per season, and they use a fraction of the resources. Some common stats cite up to 100% less water, 100% less land, and 100% less shipping fuel than field-grown produce that’s delivered to stores in far-away places. It would be interesting to know the net carbon footprint of a big vertical farm operation, considering the electricity it sucks off the grid. (In TOKYO GREEN, the MC uses solar panels to run his farm.) Some indoor farms use actual sunlight, further reducing the need for electricity.

Vertical farms are on the rise. I read somewhere that the industry has grown from near nothing to US$3 billion invested in the past three years. Even if those numbers are off, the industry promises to grow even more in the coming years.

The recent ascension of vertical farming is made possible by certain technologies that have become robust and cheap enough to make this method of food production economically feasible. These technologies include perception devices (cameras and sensors used to monitor and measure plant growth), machine intelligence that processes the data produced by the perception tech, and robotics that carry out the instructions of the AI.

According to this article, Carnegie Mellon University (CMU) has developed an integrated system called ACESys (Automation, Culture, Environment) that powers vertical farming, but the only thing I saw on the CMU website about this system was an implementation of it in a vertical farm in Taiwan in an effort backed by University of Illinois. There’s nothing about what the system is on a technical level, or how it works.

CMU is doing a lot of great things with robotics and AI, with a particular focus on AGTECH. Their mission is to avoid a world food crisis by the year 2040. By “world” they mean what used to be referred to as the third world, as that’s where populations will explode. CMU is developing soil-based, high-tech farming that will enable existing farms to produce all the food they need while reducing resource usage by half or more. I’d love to dive deeper into what CMU is doing, but for now I’ll focus on vertical farming. In the next week I’ll take a look at what various vertical farms are doing around the world.

Categories
tech

Beneficial Corporations

I’m tempted to write the title of this post with a question mark, as it’s not always clear that corporations are good. On the macro level, corporations have been a huge boost to elevating human quality of life. Governments can be slow, incompetent and wasteful. Corporations move fast. They’re good at raising capital and achieving big things. They can also do great harm.

I’ve been employed by corporations for the past couple of decades, yet I still don’t consider myself “the corporate type”. Very few people do. It’s the safest way to go if you live in America and have to pay health care for a family of four or more. If solvency is your thing then somebody in the household better be getting that subsidized health insurance as part of a corporate plan. It would be nice if working for a corporation was the safest and the most ethical way to bring home the bacon. I’ve never worked for an organization that benefited the greater good, but in the next five years I’d like this to change.

What qualifies as beneficial? I’ve thought about this before and I’ll think about it again. A search for “beneficial corporations” brings up the usual lists of “best companies to work for,” and the companies deemed to have the most social responsibility. Topping these lists are the likes of Facebook and Google. This should raise an eyebrow. One could argue that Facebook and Google are among the least socially responsible companies of all time, as they maximize advertising effectiveness by unleashing uncontrolled psychological experiments on the entire civilized world.

Tech companies are always cited as being the best to their employees, but they also work their employees to death. If you work for a Silicon Valley company then chances are you’ve kissed that work-life balance goodbye. You might’ve even found yourself crying alone in your cubicle as you miss your daughter’s dance rehearsal … again.

Work-life balance is a term that should not even exist. It implies that work is not good, a contrast to life. In reality work is an integral part of life. But the kinds of work people do these days can be anti-human, unnatural. I know that words like “human” and “natural” can be ambiguous, but if a term like “work-life balance” enters the common vernacular then something’s not right.

Even if work-life balance at a company is excellent, the benefits these companies provide to the world is usually limited to whatever perks they give their employees. Some companies seem to have a guilt complex about this.

In the past decade or so it has become popular for corporations to ask (demand?) that their employees volunteer their time to a charity, to “give back” to the community. This is one way to define social responsibility. However, the term “give back” is suspicious. To “give back” implies something was taken, probably without consent. If a corporation pays taxes and fulfills its legal obligations, isn’t that enough? Why are these reparations to the community necessary? If the organization was doing something beneficial in the first place then all of this mandatory volunteering would not exist.

One peculiarity of our economic system is that really beneficial jobs don’t pay good money. If you hear about someone helping someone else then you’re going to assume they’re not getting paid. Childcare, elderly care, teaching, farming: they’re all essential to maintaining or quality of life, not to mention our survival. These jobs are often thankless, the most difficult and the least lucrative. Some (like stay-at-home mom) don’t pay anything at all. On the flip side, a hedge fund manager, a corporate lawyer, even an engineer working as a cog in the military industrial complex, all of these are worthless (if not harmful) to society, but the money is nice.

What if there was some way to accurately measure and qualify the value of helping people? What if this became the new currency? Why can’t we have a system that incentivizes the pursuit of excellence while also taking care of our own?

I’m still not sure what qualifies as a beneficial corporation. I’m refining the definition as I go. Maybe it’s enough for a company to take care of its own employees and leave it at that. For me, it would be an awesome step in the right direction to help people and get paid. I’m going to keep an eye out for opportunities. My next employment situation will be with an organization that’s doing some good.

Categories
coding tech

Multimedia Archiving

Wouldn’t it be awesome if there was an easy way to catalog and control the ever-rising deluge of photos and videos we generate with our devices, a system of organizing that could be transferred to future family members for safe-keeping? What if this system had the following traits?

  1. locally-controlled (by you)
  2. decentralized (resilient)
  3. platform-independent
  4. with a standardized file structure
  5. and a standardized file naming scheme
  6. that is both effortless
  7. and flexible

Well, that would be awesome, indeed.

It so happens I have such a system. It achieves the first five of the above traits, but it’s not yet effortless (if there is such a thing) or flexible. Without me the system falls into disarray. This post isn’t exactly a life hack – not yet, anyway. It’s the first of what will be several posts on this project as I get closer to making it more flexible and easier for others to use. With this post I wanted to explore the reasons for such a system, and to illustrate the general idea.

Ten years ago my dad gave me a box of photos and slides, which I scanned and integrated into my family’s multimedia mess. This effort began a home-grown archiving system that would come to be known as the Multimedia Archive Project (MAP). For me it’s a workable solution, still evolving today.

My ultimate long-term goal is to establish a system (more a protocol than an actual set of tech) that is easily transferable to my kids and subsequent generations. A decade later I’m in a holding pattern, still looking for technology that could suit my needs. Here’s some more details about what I mean by the above traits and why they’re important to me.

What is “locally-controlled”? I want the primary location of my family’s multimedia files to remain in my hands, so to speak. I’m not contributing to the oceans of photographic knowledge that an artificial intelligence uses to shape the world in ways I don’t see fit. This might seem paranoid now, but the world is starting to understand “free” services for individuals have big costs to society as a whole. It’s very important that I maintain control.

“Decentralized” just means it’s impossible to lose data. This part isn’t exactly effortless. It requires discipline and planning that most people aren’t willing to do. The Multimedia Archiving Project is backed up in the same system I use to back up all the data in my household, which includes consolidation and copies made to mirrored USB drives, a NAS, and a cloud service based in Switzerland that is a stickler for General Data Protection Regulation (GDPR) rules.

“Platform-independent” is another cornerstone of this project. I don’t want to be locked into any single app, or depend on one company’s services. When I started this effort ten years ago the big cloud services were making it difficult to switch platforms. They’re a little nicer now, but to some degree this is still true.

Apple offers a great all-in-one photo archiving solution, and they’ll no doubt be around for decades to come. I’d be the first to recommend Apple to anyone who doesn’t have the discipline or technical chops to handle a DIY solution, based on their track record of quality software (iTunes for Windows not withstanding) and data privacy. Still, I prefer platform-independence. My family and I have some Apple devices, but we don’t have a Mac. What if I put my trust in a company who changes the rules twenty years down the road in a way that is unethical, inconvenient, and-or too expensive for me?

At the opposite end of the spectrum, I’d rather delete everything than trust a mind-control advertising platform like Facebook or Google with my family memories. Last year we went skiing with another family in beautiful Niseko, Japan. The other dad and I were on the mountain together one afternoon and he took a video of me as we skied down the slopes. I thought it would be an awesome video, with the sun in the right position and the spectacular scenery. And it was! The only problem was it had been live-streamed to Facebook and I didn’t have a Facebook account. Never mind me. What if the photographer wanted to preserve this video – or any media – and pass it down to his kids? They’d need Facebook accounts, too. This illustrates the importance of platform-independence. It’s the freedom to never be locked down to a proprietary system that defines how you can use your own stuff.

There are some very positive trends in digital identity that could work in my favor as the decades unfold (see previous post). Bottom line, I want the flexibility of moving my family memories securely and safely, with the maximum privacy levels, whenever I want.

The “standardized file structure” and “file naming scheme” are the coolest features of the system. They’re inspired by ISO standards. This gets into how this system works.

How does this thing work?

First, there are rules, because every system has rules. Fortunately most of the rules are enforced by code, but the first one must be observed by humans: NEVER MODIFY ORIGINALS.

The second rule is there is one and only one destination path for any given source device, a file folder in the ORIGINALS directory. For example, there is a folder for all the originals backed up from my wife’s iPhone, a folder for my camera photos, a folder for our Gopro, and so on. These devices and paths are configured in an XML file. This system runs on Windows, so I use PowerShell. In the future I might go with Linux and Python.

The process begins by running a script to “add new files to archive,” which reads the XML file for source and destination paths, checks to see if the devices in question are plugged into the system, and if so compares the latest photo and video files on the device with what’s already in the archive. If there’s new stuff then it copies it to the destination folder. I run a separate script to rename the files in a standard format so that anyone can take one look at the file name to know the date it was created, by whom, and where (all this data is available in the metadata of standard media files). A five-digit sequence number is tacked to the end of the file name. Ten years ago I never thought I’d have more than 99,999 files per device, but who knows? My wife is approaching 10,000 photos and videos now after five years with one iPhone (and these are the files remaining after she deletes stuff from her phone).

Since rule number one is NEVER MODIFY ORIGINALS (renaming doesn’t count as a modification, as it does not change the “last modified” timestamp), I maintain a separate directory for “COLLECTIONS,” which are basically photo albums of certain events or seasons. This is a manual effort and probably always will be. I don’t have the AI at my disposal to magically identify people, places, and events to assemble a photo album on the fly.

When the files are copied, updated, and renamed, I then kick off the backup script (basically a fancy Robocopy) to replicate the changes to the various backup locations, including the folder to sync with the cloud service.

In the future I might keep this basic system intact but expose a portion of it to a paid AI service to assist with categorizing, facial-recognition, tagging, and the like.

In days of old, family memories might be preserved in the form of hard-copy photographs in a shoe box. Back then, the problem was keeping this single point of failure safe from fires and floods. Now, the problem is we have too much stuff. Some intervention is necessary, and this system works for me. As for “effortless,” I’m not sure I’ll ever completely reach this goal. Maybe the point of an archiving system is that is should require some effort, otherwise how do we decide how we’re represented by future generations?

Categories
iedntity tech

Digital Identity and Better Quality of Life

It’s amazing we’ve gone this long with password protection as the primary way to prove who we are and what belongs to us online. Nobody likes user names and passwords and they’re a hacker’s dream. Dual-factor is more common now but it is proprietary and a short-term fix. Digital identity is much bigger than the convenience of logging into websites: without an expansion of this technology’s capabilities the future of our civil liberties are at stake.

A universal system of digital identity is a crucial piece of establishing meaningful and effective digital rights. To protect our future freedoms, we need an authentication system that is:

  • universal
  • decentralized
  • highly-available
  • sovereign (to the individual)
  • and most of all, secure

So what is the big deal with digital rights? The answer is obvious for corporations; their value is directly tied to their ability to maintain the integrity of their intellectual property, all of which is digital.

For individuals, the data we give away increasingly determines how much liberty we enjoy and what opportunities come our way. What we share online can determine whether we’re approved for a loan, accepted to a school, hired by an employer, or asked out on a date.

Fortunately there have been positive developments in the establishment of digital rights for individuals in recent years (See links to articles at the end of this post.) Digital rights are an issue in the U.S. presidential race for the first time I can remember. It’s about time.

Digital rights should be as clear-cut as property rights, but there’s still a lot of gray area for individuals. Part of the problem is lack of awareness. Another issue is that most of our digital property exists outside our direct control. On a technical level we can say that an online account belongs to us and that the files associated with that account also belong to us. But if the data gets into the wild then how can we take credit or claim it’s ours? With the right approach, digital identity has the potential to protect our virtual property more securely than age-old property rights.

In decades past, if someone stole your precious collection of Credence Clearwater Rival albums on eight-track tapes, you could call the police, but chances are you’re not going to get any “leads” on who stole your old-school tunes. In more recent years, if you purchase a product, say a blender, that allows online registration (and you’re diligent enough to complete the process and hold onto the registration info), then you have at least the potential to claim indisputable ownership of that blender if it’s stolen and then miraculously shows up at a garage sale or an eBay auction. The online registration process is analogous to how Public Key Infrastructure (PKI) encryption works. The manufacture is the Certificate Authority. The serial number stamped into the blender is the private key, and the proof of purchase is the public key, as it’s transferable.

What’s the right approach for data? What about all the bits and bytes that come from our smart home, our refrigerator, and multitude of devices we use? With a universal system of digital identity, would every outgoing packet be digitally signed and tagged in a way that can’t be hacked? (See Oasis Labs, below.) Anyone who has worked in cyber security knows there’s no such thing as one hundred percent secure, but with today’s technology we can get close enough.

In the past couple of years there has been a lot of talk about “self-sovereign identity” and biometrics, secured with block-chain tech. Block-chain ledgers bring the system a little closer to impenetrable by making the certificate authority distributed. A startup called Oasis Labs is working to make this a reality, but they’re in the beginning stages. Microsoft has been backing “self-sovereign digital identity” for a couple of years. This is a technology that would be a huge benefit to individuals interested in protecting their digital rights. No surprise, Facebook is not on board.

Digital identity is a hot issue right now. Like most people I’m no expert on this topic now, but we’d all be well advised to follow it closely in the coming years.

Microsoft and decentralized identity “Microsoft believes everyone has the right to own their digital identity, one that securely and privately stores all personal data. This ID must seamlessly integrate into daily life and give complete control over data access and use.”

Oasis Labs “With Oasis Labs you can use data without liability, easily comply with new regulations, and collaborate on shared data without risking privacy or losing control.”

GoodID looks interesting, but I can’t tell from their website how the technology works or whether it meets the criteria for digital identity mentioned at the beginning of this post.

As for digital rights:

(For an illuminating example how data we give away can affect the course of our life, see “It’s time for a Bill of Data Rights” in the MIT Technology Review.)

Some other recent and noteworthy articles:

Utah Just Became a Leader in Digital PrivacyContract for the Web “A global plan of action to make our online world safe and empowering for everyone”

Categories
data tech

Data is the New Dirt

You may have heard that “data is the new oil”. You might also sense a bit of marketing hoopla in this phrase. There are a few ways to define “big data” but none of them fits with this analogy. My definition comes from my experience in transforming disparate data sets into business intelligence for the purpose of enabling an organization to accomplish its tasks. The data by itself is useless. Data is the medium from which value is extracted, not the value itself. In this view it’s more accurate to say that data is the new dirt.

It is true that data needs to be transformed just like oil needs to be refined, but the key difference is that oil is a finite resource and data is infinite. The scarcity of oil determines its value. Oil in raw form has value. A barrel of crude is worth about US$60 today (I would’ve guessed much higher!) but raw data is worthless. In fact it’s less than worthless. It cuts into the bottom line.

Imagine you’re a CIO of a big organization. You’re standing in a state-of-the-art data center humming away with endless rows of sleek cabinets packed with the latest server hardware, each hosting tens of thousands of virtual machines running database server software on untold petabytes of storage. The lighting is low and the place pulses with high-tech power. It’s all very bad-ass. But as you walk down the center aisle you approach a wall where there’s a huge LED display with a seven-digit number spinning out of control – an amount representing the net cost in millions of dollars per year spent storing all this data Your gut tightens as you fathom the volumes of data flooding the data center and the costs spinning straight to hell. Those numbers are burning into your retinas as you stare up at the LED. Your face is about to melt off like the Nazis in the climactic scene in Raiders of the Lost Ark. But you make your wisdom saving throw and recover just in time, calling HR and telling them to hire some data professionals now.

The point is it’s not the data that’s valuable; it’s truth, and these days there’s a scarcity of truth. The number of things into which oil can be refined is limited. On the other hand data can be molded into any information that is somewhere on the scale between insanely valuable and totally useless. Transforming data must be a flexible, adaptive process or its value is never realized. Somewhere in this mountain of data are facts, the rarest nuggets in the world.

Admittedly, my professional view spells big data with a little “b”. What I work with is nothing compared to the vast oceans of Big Data processed by Silicon Valley powerhouses and the internet of things. Big Data in this sense may very well be the new oil for a handful of tech companies, but anyone who has flown from Houston to Galveston knows the impact oil refinery can have on the environment. The data centers that store all this data use a lot of juice, the production of which also affects climate. Social Media also outputs a massive amount of social pollution unchecked. Looking at the bigger picture, “Data is the New Oil” can also infer that everyone’s data is valuable and every individual should be getting rich, too. In the future there will be stronger, well-defined data rights to support this, but for now it’s delusional and dangerous thinking, a point made in the excellent blog post, “Data isn’t the new oil, it’s the new CO2,” by Martin Martin Tisné, managing director at Luminate, a philanthropic organization I follow. I plan on writing more about Luminate in the future, as well as Mr. Tisné’s article in the MIT Technology Review, “It’s time for a Bill of Data Rights”.

Categories
tech

Best Toilets on Earth

There are many things I love about Japan, and one of them their cleanliness and centuries-old devotion to good hygiene. The Japanese are known for their sensible protocols for staying clean, like no wearing shoes in the house and showering before baths. They also have the best toilets in the world.

When Commodore Matthew Perry sailed his “black ships” into Yokohama harbor in 1852, the level of tech he brought with him must have terrifying to the Japanese, who were still running around in robes, carrying katana and spears. At the time, the Japanese were centuries behind in war tech, but they were centuries ahead of the Westerners when it came to clean.

The comedian Ron White jokes that the most luxurious items in his Beverly Hills home are the Japanese toilets. He got so accustomed to the toilet lid opening as he approached that he defiantly pissed all over traditional toilets when they didn’t obey.

In Japan these “luxury items” are standard in every house, and the motion sensors are the least of their awesome perks. The most beneficial feature is the bidet. Toilet paper only requires a light padding to dry off, and you’re done. No repetitive wiping with course, dry paper. An Indian comedian, Hasan Minhaj, accurately observes that wiping a dirty ass with dry paper is the most ineffective way of cleaning. If you stepped in dog shit would you clean your shoe with a dry cloth? No, you’d run water over it to clean it off. Many cultures have adopted a moist towel approach to wiping, but the Japanese built-in bidet is far superior.

Some of the toilet side-arm control panels can be bewildering. I still don’t know everything our toilets can do.

There are many other wonderful features of the standard Japanese toilet, like UV light to sterilize the toilet bowl after you finish, and warm toilet seats that keep your butt warm on winter mornings. The toilets are more resource-friendly, offering the option for small or large flush. Each toilet has a control panel, either on the arm rest (yes, arm rest) or mounted on the wall. Some of the display panels can be bewildering. There are options to adjust seat warmth, water pressure, nozzle position, energy saving mode, deodorizer, and so on. I still don’t know everything our toilets can do. Japanese toilets are not only the cleanest and most comfortable, they’re healthier for the butt, too. These toilets are a game-changer. After experiencing this beneficial tech, there’s no going back.

Categories
social media tech

The Roaring Twenties

On New Year’s Eve 1979, I was eleven, cozy in my pajamas after a nice hot bath. I lay on my belly on the carpet of my grandparents’ living room, filling the pages of a sketch pad with dreams of the new decade to come. The Eighties were going to be kick-ass!

My grandparents lounged in lazy boy chairs and smoked as we watched an episode of M*A*S*H. Later we watched Lou Grant. I know these details now because I still have the sketch pad, and I’m reading the notes. (I just confirmed these shows were broadcast on the day in question, although there’s no mention of what we watched in the interim one hour between the shows.)

I didn’t take notes of every evening, but it was the first time I was conscious of entering a new decade. I drew spaceships and electric cars (the kind of stuff Elon Musk works on now, in real life), and other beneficial tech that would no doubt improve our lives in the future. Technology was exciting and cool. It would have been impossible to imagine an uncontrolled psychological experiment performed on the human race for the purpose of selling products and ideas, let alone draw it in my sketch pad. The inability to conceive of such a thing then is why many people were slow to understand the negative impact of social media today.

(I didn’t intend for this to be another post about the negative impact of social media, but it’s useful as a way of further defining what I mean by beneficial tech.)

Flash back to the scene of me watching TV with my grandparents on the last day of 1979. This was the golden era of TV, when there were just three competing networks who were in business to sell advertising. At the start of each show there was a commercial break, and another cluster of ads every fifteen minutes thereafter, with a few national ads and maybe a couple slots for local stuff. There were probably twenty or thirty ads aired during the time my grandparents and I watched TV that night, but nobody was paying attention. Commercials were for socializing, grabbing a bowl of ice cream, or taking a bathroom break. TV shows like M*A*S*H were not created for the purpose of selling things. Their entertainment value was incidental to the advertisement business that supported the platform on which they aired.

On the surface it looks like the content of Facebook is also incidental to its ads. But the amount of content is infinite, and “the algorithm” chooses what each individual sees. Put back in the TV age, this would be like everyone watching a slightly different version of the same show. At some point during an episode of M*A*S*H, Hawkeye would pause, look directly at me, and wink, holding the toy I hadn’t received for Christmas. “Still want one of these?” On an emotional level that’s how Facebook works.

Except it takes time for this magic to do its thing. The tech needs to learn every nuance of our behavior and moods. This requires hundreds of hours of our attention. In order to harvest the maximum amount of attention, social media companies employ armies of psychologists and developers to engineer addiction. The idea is to silo people into easily-marketable groups, and the best way to do this is to get them hooked and incite emotional reactions. It just so happens the easiest human emotions to tweak are all negative: anger, rage, hatred, and fear. Multiply this effect by billions of tweaked individuals and the result is a world of angry, depressed, divided masses who view the people on the other side of their engineered, bipolar worldview as sub-human.

This sucks.

It doubly sucks because on almost every measurable level we’re living in the best time in all of human history.

What to do? It doesn’t matter if someone doesn’t use social media, because everyone else does. Anyone who abstains from the madness is breathing in toxic fumes, second-hand-smoke.

My grandparents were cool, not because the commercial brainwashing of the day had convinced me that smoking was cool (it very likely had), but because they were fun people and I loved them. They loved me too, and would’ve never intended to do me harm; but one side-effect of hanging out with them was a continual lungful of second-hand smoke. At the time, I didn’t mind the smoke. Nobody did. It was 1979.

Is social media even less beneficial than cigarettes? On the micro level there are no doubt positive things that happen on Facebook and other platforms, but it’s possible to argue this point. Cigarettes were intentionally addictive and non-smokers breathed in the harmful byproduct. Forty years later, a technology called social media is intentionally addictive and non-users experience harmful byproducts. But the difference is that social media is also intentionally toxic. Cigarettes were incidentally toxic. If there had been a way for tobacco companies to engineer their product so that it didn’t kill their customers, then I’m sure they would’ve done it. Social media companies are colossal advertising platforms that purposely divide people, and mass-produce negativity for the purpose of selling products and ideas.

Should social media be regulated like tobacco? Maybe, but we’d need new laws. Anti-trust litigation isn’t the right tool. Alphabet and Facebook are indeed monopolies. (Their combined market capitalization is $1.3 trillion dollars as of last year, and no one else is even close.) But monopoly is not the problem. The problem is that social media companies are wielding unchecked control over a dangerous technology that does measurable harm to society. How is this not the most alarming thing in the world? Would it be beneficial to humanity if this market became more competitive through government anti-trust intervention? I don’t think so. Instead, the ad-based business model needs to go.

Social media should be sold as a premier service. In the past thirty years companies like HBO and Netflix obliterated the ad-based model of the big three TV networks. It turned out there was a big market for quality entertainment. The result was Peak TV. Shows like M*A*S*H were great, but any given show on Netflix today would be the best show on TV forty years ago. This further defines what I mean by beneficial tech.

A hundred years from now historians will look back on this time and see early social media as humanity’s first big mistake with AI. The technology is at a nascent stage. It can be a bridge to something better down the road.

So what about my dreams of a kick-ass decade? The Eighties turned out to be filled with a mix of miracles and personal tragedies, like any decade for anyone. There was also an explosion of fantastic entertainment and exciting change. I’m optimistic about the upcoming decade.

Let the Roaring Twenties begin!