John’s Blog

My personal journal and blog. Subscribe via RSS


December 23, 2020

Hotwire

Hotwire, a new framework from the folks at Basecamp and Hey.com was released this week. It’s short for HTML-over-the-wire (HOT-wire), which is very clever and also quite a novel concept these days.

Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire. This makes for fast first-load pages, keeps template rendering on the server, and allows for a simpler, more productive development experience in any programming language, without sacrificing any of the speed or responsiveness associated with a traditional single-page application.

Complete with a lovely and efficient screencast of DHH walking through the entire setup in a standard Rails app:

<iframe src="https://www.youtube-nocookie.com/embed/eKY-QES1XQQ?controls=0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>

This looks very nice. Excited to give it a spin in the new year. It’s very similar to my own existing patterns, but with a bit more polish.

December 22, 2020

Get Back: Sneak Peek

Acclaimed filmmaker Peter Jackson has released an exclusive sneak peek of his upcoming documentary “The Beatles: Get Back” for fans everywhere to enjoy.

The 5-minute special look is available to fans worldwide on TheBeatles.com and streaming on Disney+.

Jackson said, “We wanted to give the fans of The Beatles all over the world a holiday treat, so we put together this five-minute sneak peek at our upcoming theatrical film ‘The Beatles: Get Back.’ We hope it will bring a smile to everyone’s faces and some much-needed joy at this difficult time.”

This made my day yesterday.

December 17, 2020

Facebook's Full-Page Newspaper Ads Attacking Apple

Kurt Wagner and Mark Gurman, writing for Bloomberg:

Facebook Inc. lashed out at Apple Inc. in a series of full-page newspaper ads, claiming the iPhone maker’s coming mobile software changes around data gathering and targeted advertising are bad for small businesses.
The ads, which ran Wednesday in the New York Times, Wall Street Journal and Washington Post, carried the headline “We’re standing up to Apple for small businesses everywhere.” They home in on upcoming changes to Apple’s iOS 14 operating system that will curb the ability of companies like Facebook to gather data about users and ply them with targeted advertising.

Alex Hern, summarizing nicely for The Guardian:

The point of contention is a feature coming to iPhones in the new year that will require developers to ask for permission before they can track what users do across apps. Apple says the feature, which was originally slated for launch in October before being delayed in order to allow advertisers time to cope, is necessary to protect user privacy; it comes alongside a number of similar changes in new versions of iOS, such as a requirement that app developers provide a “nutritional label” for their software to explain what they do with user data.
Facebook objects – but seems keen to stress it is not doing so because it is defending its bottom line. According to its pitch, the real victims are “your neighbourhood coffee brewery, your friend who owns their own retail business, your cousin who started an event planning service and the game developers who build the apps you use for free”.
“Yes, there will be an impact to Facebook’s diversified ads business,” said Dan Levy, the company’s head of ads and business products, “but it will be much less than what will befall small businesses, and we’ve already been factoring this into our expectations for the business.”

It’s pretty rich to see Facebook taking the angle of ‘standing up for the little guy.’ They’ve been getting away with a complete disregard for user privacy for a long time.

December 17, 2020

The US Federal Government Needs a VP of Engineering, not a CTO

Danah Boyd:

Inside tech companies, there is often a more important but less visible role when it comes to getting things done. To those on the outside, a VP title appears far less powerful, far less important than a C-Suite title. If you’re not a tech geek, a VP of Engineering might appear less important than a CTO. But in my experience, finding the right VP of Engineering is more essential than getting a high profile CTO when a system is broken. A VP-Eng is a fixer, someone who looks at broken infrastructure with a debugger’s eye and recognizes that the key to success is ensuring that the organizational and technical systems function hand-in-hand. While CTOs are often public figures in industry, a VP-Eng tends to shy away from public attention, focusing most of their effort on empowering their team to do great things. VP-Engs have technical chops, but their superpower comes from their ability to manage large technical teams, to really understand the forest and see what’s getting in the way of achieving a goal so that they can unblock that and ensure that their team thrives. A VP-Eng also understands that finding and nurturing the right talent is key to success, which is why they tend to spend an extraordinary amount of time recruiting, hiring, training, and mentoring.

Good take, I agree with the thinking here.

I also think, more than anything, it would help our government to not focus entirely on people from big tech companies to run the show at a federal level.

December 16, 2020

Figma: Meet us in the browser

Dylan Field, co-founder of Figma, writing about the company’s five year anniversary of launching on the web:

We didn’t realize that launching Figma was heresy, a generational assault on top-down, siloed models of decision making and a challenge to the identity of many designers. While some immediately understood the potential of building design software in the browser, our vision elicited an immediate and negative reaction from others. Some even told us that if this was the future of design, they were changing careers.

I remember when I first heard about Figma. It was at a Layers conference a few years ago and I thought the concept was cool, but wasn’t going to go anywhere. First: shows what I know, Figma is incredibly popular right now. And second: good for them. This is an amazing feat. I love companies that push the web forward and dream big when it comes to how we can all use it.

Initially I didn’t understand the negative reactions to Figma’s closed beta launch. I only saw the obvious benefits: a single source of truth for files, cross platform support, and multiplayer editing. Now I understand that the power of the browser lies in the broader cultural change it delivers — and this change can be scary. The browser is natively multiplayer. It forces a mindset shift on access. It strips away the need for expensive hardware. And it pushes us to embrace working together, especially when we are blocked and our default might be to hide.

This is the key. Recently I switched my workflow from Sketch to Figma as well. It’s just easier to collaborate with other folks on a project, share prototypes, and get feedback in the form of comments. It’s not perfect, but it’s getting better all of the time.

December 14, 2020

Johnny Bench’s Friend Buys Over $1M Worth of Bench Memorabilia, Donates it Back to Him

Darren Rovell with a pretty incredible story:

When the auction began, some of the prices paid seemed a bit high. Someone paid $80,000 for Johnny Bench’s last home run bat, more than double the estimate and $90,000 for his last Reds jersey, nearly five times what it figured to go for.
There was the $32,500 winning bid for his Rookie of the Year Gold Glove and a $55,000 winning bid for the same trophy he won in 1975, when the Reds won their first of two consecutive titles. His championship rings from the two titles went for $115,000 and $125,000, respectively.
Little did Bench know that the person bidding on these items was Alan Horwitz, who had set up with the auction house to do whatever it took to buy the items back so that Johnny could have them again.

Filed under: good things can happen in 2020 after all.

December 10, 2020

Cloudflare Web Analytics

Jon Levine on The Cloudflare Blog:

In September, we announced that we’re building a new, free Web Analytics product for the whole web. Today, I’m excited to announce that anyone can now sign up to use our new Web Analytics — even without changing your DNS settings. In other words, Cloudflare Web Analytics can now be deployed by adding an HTML snippet (in the same way many other popular web analytics tools are) making it easier than ever to use privacy-first tools to understand visitor behavior.

It’s limited to one domain per account for now, but the sign up process is super simple. I’m trying this out on a test project to see how it looks. Mostly because of this:

Being privacy-first means we don’t track individual users for the purposes of serving analytics. We don’t use any client-side state (like cookies or localStorage) for analytics purposes. Cloudflare also doesn’t track users over time via their IP address, User Agent string, or any other immutable attributes for the purposes of displaying analytics — we consider “fingerprinting” even more intrusive than cookies, because users have no way to opt out.
The concept of a “visit” is key to this approach. Rather than count unique IP addresses, which would require storing state about what each visitor does, we can simply count the number of page views that come from a different site. This provides a perfectly usable metric that doesn’t compromise on privacy.

Excited to give this a spin. I really want a privacy-respecting alternative to Google Analytics.

December 10, 2020

Stimulus 2.0 + Tailwind 2.0

Speaking of new stuff: I spent a few days this week upgrading my new project to use Stimulus 2.0 and Tailwind CSS 2.0, both out within the past few weeks.

I’m loving this new set up. I’ve used Stimulus a ton over the past few years, so that’s not particularly new to me. Although the new data values and classes APIs are pretty handy in 2.0.

But starting a project fresh in 2020 with all of the new good stuff, mostly Tailwind related, has been such a breath of fresh air. My app bundle is super small and focused on exactly what I need. I have a handful of generic Stimulus controllers that are used throughout the app to provide functionality. Nothing I’m doing there is limited to one particular context in the app: everything is reusable throughout.

There’s really never been a better time to develop for the web.

December 10, 2020

Rails 6.1 Released

Rails 6.1 has been officially released. Time keeps marching forward for this framework.

There are a couple of really nice features in here I’m looking forward to working with. I’ve been resisting using the new multi-db features for a while now and it might be perfect timing for me on Air Mail. Not that there’s anything wrong with the features, but mostly because I didn’t want to introduce extra complexity until it was absolutely necessary.

We’re currently storing a ton of user-related data (subscriptions, invoicing, preferences, usage, etc) and a totally separate set of editorial data (photos, articles, revision history, etc). I’m thinking it might be really nice to separate the two distinct functions out since they don’t need to do anything together. Then I can scale each piece of the pie independently. We’ll see.

Anyways, congrats to the Rails team. This is a great release.

December 9, 2020

What Joe Biden reads and watches

I thought this was interesting. A roundup of how president-elect Biden consumes his media, written by Daniel Lippman:

Biden is a devoted fan of the Apple News app on his iPhone, and frequently scrolls through it when he’s in a car, on a plane or just has some down time. (Playing chess and solitaire on his phone are also favorite activities.) He has the New York Times app on his phone, and a former Biden staffer said that when he was in the White House last time, Biden had the POLITICO app and checked it regularly.
He has the phone’s push notifications turned on: On the campaign trail, another Biden aide said, Biden would take meetings with his iPhone on the table in front of him and would get alerts from news apps. (The Biden aide declined to comment when asked if Biden still has his iPhone or if it’s having its security upgraded given that he’s about to become president.)

December 4, 2020

Why Web Scraping Is Vital to Democracy

The Markup:

People build scrapers that can find every Applebee’s on the planet or collect congressional legislation and votes or track fancy watches for sale on fan websites. Businesses use scrapers to manage their online retail inventory and monitor competitors’ prices. Lots of well-known sites use scrapers to do things like track airline ticket prices and job listings. Google is essentially a giant, crawling web scraper.
Scrapers are also the tools of watchdogs and journalists, which is why The Markup filed an amicus brief in a case before the U.S. Supreme Court this week that threatens to make scraping illegal.

I’ve become quite a fan of The Markup’s work over the past year or so. They are fighting for important causes in the modern tech world, especially user and data privacy. They created the Blacklight, a really cool service that inspects web pages and reports on trackers.

This piece on scraping really hits home for me too. A few years ago, I co-founded and then sold a startup almost entirely based on scraping tech that I created. It was really fun and would have never been possible without web scrapers like Google.

December 3, 2020

Salesforce Acquires Slack for $27.7 BIllion

The big news this week is that Slack has been acquired by Salesforce, as has been rumored recently. It’s a big deal: $27.7 billion.

Since I first saw it years ago, I’ve really loved Slack. We were using HipChat at the time and it was totally fine. Campfire was also around and doing very well in the space too. But Slack was such a breath of fresh air in the group chat market. It was well designed, fussy about typography, and has always been fast and feature-rich. I still wish that they would make a truly native Mac app so we weren’t stuck with the web UI, but it’s not the end of the world.

I’ve seen quite the consternation around the web about how Salesforce is bad and this is bad news for Slack. I think quite the opposite. Slack is currently running up against Microsoft Teams, a product that Microsoft is giving away for basically free with its Office 365 services. It’s the same reason so many companies have turned to SharePoint and other garbage Microsoft products over the years that have snuffed out great competition: it comes with Office for free. This is a bad thing for the industry and we need companies like Slack around. (Nothing against Microsoft Teams, by the way. It seems like it has its fans.) Salesforce buying Slack gives it the long-term support it will need. It’s not just a small player anymore, it’s part of a much bigger ecosystem.

Salesforce also acquired Heroku nearly a decade ago and there was much of the same concern then as there is now with Slack. I think Salesforce has done a fine job managing Heroku. Like Slack, I use Heroku every single day and it’s a great service. It could be better, of course. But that has nothing to do with Salesforce’s ownership.

Call me optimistic about Slack’s future. I’m excited to see how this goes.

December 1, 2020

The NFL Schedule is a Mess

The NFL has a serious scheduling problem on its hands. The Ravens and Steelers were scheduled to play on Thanksgiving night on NBC in primetime and are now tentatively scheduled for tomorrow at 3:40pm. This, after rescheduling the game previously to Sunday, then Monday, then Tuesday, and finally (for now) Wednesday. The game would have likely been the most watched game of the week and now surely will be the least.

Elsewhere in the league, the Broncos played a game this Sunday in which they had no quarterbacks on the roster to play. None! They even tried to get a coach to come off the bench and play but the league wouldn’t allow it. Of course, the Broncos lost in brilliant fashion.

This is a mess on so many levels, and the NFL has no one to blame but itself.

Every other major sports league had already restarted its mid-pandemic play this year before the NFL even kicked off. The NFL had time to sit back and learn from the other leagues’ mistakes and plan around the reality of a season in 2020. It doesn’t seem like they learned from anything that happened previously this year and marched on like nothing was going on. There were no extra breaks than normal in the schedule. There is seemingly no plan if one or more teams has an outbreak. The only plan so far it seems is to keep the owners making money from the TV contracts above all else. Not a good look.

After some early season moves, in which games were rescheduled and bye weeks were moved around, there is now no wiggle room left in the schedule for the remainder of the season. The league seems uninterested in cancelling or forfeiting games: they’ve threatened to not pay the players and coaches if such a situation arises. They’re bending over backwards for one team (my beloved Ravens, alas) and throwing another team into the fire with no quarterback. Not to mention the half dozen or so other teams affected by the Ravens and Steelers schedule moves.

I’m not sure where the league goes from here. It seems like it’s only going to get worse. Like many things in 2020, we all just need to deal with it. They’re just doing what we’re all doing: winging it one day at a time.

How about if there’s an outbreak on a team, they forfeit their next game? Pay the players. Pay the coaches. Move other games into primetime slots. Get the team healthy and protect everyone involved from spending this virus. Deal with it, and get ready for the next week. Have some make-goods for the TV networks in future seasons or future weeks. Do something other than just hoping this will go away.

November 26, 2020

Thankful

There’s so much to be thankful for this year. Every year, in fact. But especially this year.

It’s easy for me to go through each day without thinking of all of the good in my life. It’s easy to complain about minor details here and there and wish certain things would be better.

This year has been something. But I’m still aware of how blessed I am, and am thankful for it.

I’m thankful to have been spared (so far, knock on wood) from this virus that’s ravaging the world. I’m thankful for a healthy family that is taking this pandemic seriously and keeping themselves and those around them safe.

I’m thankful this year, more than ever before, to have a neighborhood full of good people. And especially for a neighborhood of kids for mine to play with outside.

I’m thankful for steady, challenging, and interesting work to do during this time. There has been abundance of good things to focus on and the blessing of that is not lost on me.

I’m thankful for so many little things. I hope you are too.

Happy Thanksgiving.

November 19, 2020

iPhone 12 Pro Max Photography

Sebastiaan de With, maker of Halide, with another excellent review of the latest iPhone camera system. This time it’s the iPhone 12 Pro Max. (This big one!)

Imagine a camera sensor as a collection of lots of smaller sensors. Each collect red, green, or blue light. These sensors are packed together to get an image that measures 3024 by 4032 pixels. (Technically each pixel on that sensor is called a ‘photosite,’ as they collect, yes, photons)
You’d think a bigger sensor means more pixels — and indeed, a bigger sensor could allow you to pack in more pixels. But we’re at a point of diminishing returns in megapixel wars.
Instead, Apple decided to make the the photo sites bigger, because one most important aspects of image quality images (and really, life in general) is signal to noise.

An important note on the difference between the Max and non-Max:

Here’s why we’re seeing stories that the camera is a minor difference at best: Most people who aren’t seeing the dramatic difference are shooting in daylight, with a fast ƒ/1.6 lens. On top of that, Apple’s intelligent image processing combines multiple shots together, which makes it harder to look into the hardware.

The visuals and diagrams here, especially of the sensors, are really cool. This is great work.

I still don’t want the huge phone, but it sure does look amazing.

November 19, 2020

Apple reduces commission for small developers

Yesterday Apple announced some great news for small businesses on the App Store: it is reducing its standard fee on App Store transactions from 30% to 15%.

Developers that make less than $1 million per year on the App Store will receive the new commission rate automatically starting next year. If a developer goes over the $1 million threshold within the year, they’ll be charged the standard 30% for the remainder of the year. There are details to come, but this seems very straight forward and fair.

This is an excellent strategy. It likely helps the vast majority of developers on the store, and encourages new apps to be developed that maybe couldn’t have been earlier. A 30% commission is a very high fee to pay for a small business selling software. 15% is significantly better. It’s still very high compared to normal payment processing vendors at around 3%, but this is still a big deal. (Especially since the other app stores will likely follow along soon.)

The incentives are well aligned here for Apple and developers. This encourages new apps and new developers which should have a positive impact on the number of great apps on the store for users. Apple likely is giving up very little in the long run here, because App Store revenue is very clearly tied to the big players.

This is a great first step in the direction of a better App Store economy for developers. Great move here, Apple.