| USPS.com utilizing AWS's CDN |
Tuesday, January 18, 2022
Scaling USPS.com for Free COVID Test Kits
Saturday, January 8, 2022
I Am Not Your Guy (yet)
Cryptocurrencies
Blockchain
NFTs
Quantum Computers
Monday, December 27, 2021
Using Xcode to Develop a RDBMS
Ever since Apple stopped developing WebObjects, I haven't found a lightweight replacement for graphically designing relational databases like I used to do with EOModeler. Specifically, I wanted a graphical way to create a database by simply clicking and dragging between tables to join them as I demoed at WWDC in 2001.
RDBMS Design from Scratch
After putting some thought into the problem, I realized that EOModeler and EOs (Enterprise Objects) were repurposed into Xcode's Core Data framework and renamed Managed Objects. Xcode's xcdatamodeld is nearly an identical implementation of EOModeler tied to a SQLite database. (SQLite is a lightweight RDBMS designed to be embedded in end-user applications instead of the traditional client-server architecture.)
Once I made the connection between EOModeler and Xcode, I reasoned that it might work very nicely for graphically designing the entity relationship model along with the SQL to created the schema. It turns out that I was right and it worked nicely. Here's how I did it...
1. I created an Xcode project that used Core Data.
2. I designed my database schema, graphically, in XCode by dragging between entities to create one-to-many, one-to-one, and many-to-many joins. (Note: Every time I was about to create a many-to-many join, I gave that relationship a long, hard look to make sure I was modeling it properly.)
3. Each time I built my Xcode project (which only contained the database model, no code needed), a new SQLite database was created in ~/Library/Containers/Project Name/Data/Library/Application Support/Project Name. In this folder are typically three files: the SQLite database (.sqlite), the write-ahead log (.sqlite-wal), and a temporary file for shared memory access (sqlite-shm).
4. I downloaded and installed DB Browser for SQLite to access the SQLite database that Xcode created. From there, I exported the database as a SQL file which was then used to create the same database schema in a Postgres database running on Amazon's RDS.
The only gotcha I encountered with Xcode was that sometimes, when I made changes to the database schema that conflicted with a previous database version, I'd have to delete the target folder in Step 3, above, so Xcode would recreate the database from scratch.
It's hard to beat Xcode's ease of use for RDBMS design, even though that's not its primary intent. Please let me know if you're aware of a database client that allows the simple graphical design that EOModeler used to have.
Saturday, December 25, 2021
Adventures in Absinthe
| Absinthe fountain |
Absinthe is a rare drink in that it's not mixed by a bartender. Instead, it's prepared by the consumer, at their table, through a ritual known as louching where cold water is dripped over a sugar cube into a glass with absinthe. High end absinthe is typically more than 130 proof, so adding three to five parts water enhances the flavor while turning it from a deep green to a cloudy green that almost seems to glow.
| Absinthe spoons |
Absinthe Ritual
| Louching |
Friday, December 10, 2021
Thoughts on Non-fungible Tokens
When we buy physical things, we typically have complete control over the item such as a book, cup, or car. It becomes less clear when we buy things like stock or real estate.
After an IPO, when you buy a publicly traded stock, the money you pay (invest) never actually goes to the company. Rather, the money simply goes to the person you bought the stock from. But you do get a say as a shareholder since you are a partial owner of the company.
Another way to think about NFTs is similar to a property deed. You can purchase property (land), outright, without a mortgage. But you can't move it just like Jack's first tweet can't be moved. And, even though you physically own the land you bought, you don't really own it. Stop paying your taxes and then see who owns the land.
Perhaps the best way to think of NFTs is as proof of intellectual property ownership.
So, while I'm not yet a big believer in the future of NFTs, I understand that they could become a deed for digital property... if they're widely adopted. Perhaps the future of NFTs, as digital property, will require a tax to be paid to keep the servers running – just like I pay property taxes to keep the streetlights lit and the roads maintained.
Wednesday, November 17, 2021
Part 2: Rx at Amazon Pharmacy vs Kaiser Permanente
Part 1: Rx at Amazon Pharmacy vs Kaiser Permanente
I tried Amazon Pharmacy for a Kaiser Permanente prescription for a second time, this week, and there was a significant savings.
I tried it again, earlier this week, and Amazon Pharmacy was 60% cheaper than Kaiser Permanente since I was an Amazon Prime member.
Your mileage may vary, but it’s worth a gander.
Monday, September 20, 2021
Design Thinking Notes
Engineer Thinking
Business Thinking
Research Thinking
Design Thinking
![]() |
| Design Thinking Solves Wicked Problems |
Friday, September 17, 2021
iPhone 13 Pro Order Experience
It has been many years since I ordered a new Apple product on launch day. My old iPhone was long in the tooth and the camera on the iPhone 13 Pro is a perfect reason to upgrade. So, I pre-ordered my iPhone, yesterday, and then set this morning's alarm for 4:40 AM PDT.
Yesterday's pre pre-ordering yielded nothing since it couldn't be found, this morning. So, I went ahead and started an entirely new order.
There were plenty of reports from people who couldn't use their Apple Card to make the purchase. Although this wasn't as bad as the iPhone 4 launch disaster, it was still a significant cause of concern since the Apple Card will give you back 3% as cash when you use it for online Apple orders.
After my order was placed with a confirmed delivery date of next Friday, I made multiple attempts to change my credit card payment from my debit card to my Apple Card. That was not a fun experience.
The first CSR I spoke to was amazingly helpful, but she just didn't have the capability, in her system, to make the adjustment for me. She recommended calling back later when my order had moved to the next step, after processing the initial authorization.
About an hour later, I called back. The CSR I spoke to told me that changing payment options wasn't possible. She said that I'd have to cancel my order and reorder the new iPhone 13. That was obviously not an option because I wasn't willing to wait an additional three weeks due the delay from all the orders that had stacked up since the time I had originally placed my order.
Then I tried something that has always worked for me: tweeting to @AppleSupport. Unfortunately, this was the one time they couldn't help me.
Next, I texted Apple via Messages. They recommended that I call Customer Service specialist at 1-800-676-2775. That did the trick. I could immediately tell that the CSR I was speaking with was highly energized and engaged in solving my problem which only took about five minutes. Persistence pays off.
Friday, September 10, 2021
9/11: The Last Thing I Remember
![]() |
| RADM Craig Quigley, Pentagon Spokesperson on 9/11 |
The last thing I remember before hearing the news of the 9/11 attacks was how beautiful of day that late summer Tuesday morning was. I was living in Northern Virginia, a couple miles from Dulles Airport, where American Airlines 77 departed from and crashed into the Pentagon, about 20 miles away. I had just taken my four month old puppy out for a walk and vowed that I could go for a run at lunch because it was too perfect of a day to not do that. But that never happened. After walking my dog, I was working out with the radio on when I heard that a plane had crashed into one of the Twin Towers. My initial thought was it was a small plane that inadvertently hit the building much like a B-25 that crashed into the Empire State Building in the summer of 1945. As the news reports continued to flow in I turned on the TV and never left my house for the rest of the day.
Exactly one week earlier, my boss and I were driving to a client site at the Navy Yard, in Washington, DC. We both grew up in New York and, as we drove pass the Pentagon on SR 110, we pondered the question, "Which office building was bigger, the Twin Towers or the Pentagon?" Obviously, we wouldn't have reached our destination if that meeting were scheduled on 9/11, due to the mayhem.
Thursday, August 26, 2021
US Marines Documentary: 'Anybody's Son Will Do'
Before leaving for Marine Corps boot camp at Parris Island I watched this documentary, Anybody’s Son Will Do. It's a real and raw take on the boot camp I went through in the 1980s.
On the bus ride to boot camp I read a pamphlet that accompanied the documentary. The one comment that stood out in my mind was that Marines will trade casualties for time. And that’s what we’re seeing at Kabul Airport. This is one of many missions that Marines carry out while supporting and defending the Constitution. Today, Marines are guarding the airport perimeter so not only American citizens can return home, but also so Afghans, who served and supported America’s mission, can get out.
The following piece describes my first day on Parris Island and what led up to it: http://joemoreno.com/TheIsland.pdf




