Until very recently, Dropbox had a technical strategy on mobile of sharing code between iOS and Android via C++. The idea behind this strategy was simple—write the code once in C++ instead of twice in Java and Objective C. We adopted this C++ strategy back in 2013, when our mobile engineering team was relatively small and needed to support a fast growing mobile roadmap. We needed to find a way to leverage this small team to quickly ship lots of code on both Android and iOS.
We have now completely backed off from this strategy in favor of using each platforms’ native languages (primarily Swift and Kotlin, which didn’t exist when we started out). This decision was due to the (not so) hidden cost associated with code sharing. Here are some of the things we learned as a company on what it costs to effectively share code. And they all stem from the same basic issue:
By writing code in a non-standard fashion, we took on overhead that we would have not had to worry about had we stayed with the widely used platform defaults. This overhead ended up being more expensive than just writing the code twice.
Say it with me: "write once, run everywhere" is a terrible long-term approach for building mobile apps.
One of the biggest reasons we lose leads is because people are swayed by the promise of having a single codebase that runs on iOS, Android, and the web. Solutions like Xamarin, Flutter, and React Native are touted as these golden solutions that will save you time and money.
These solutions, however, introduce a layer of overhead that end up making it more expensive than it would have been if you did it the right way from the start.
If you are looking to build custom mobile software for your business, learn from Dropbox's example and build your apps using native frameworks from day one.
Oakland resident Dan Stevenson was never the type to call the cops on drug dealers or prostitutes in his neighborhood. He took a lot of technically criminal behavior in stride, but he drew the line at piles of garbage people that kept dumping across from his house. When the city installed a permanent traffic-diverting median at the intersection next door, no amount of signage seemed able to keep litterers from dumping all kinds of waste on this new raised concrete divider.
So Dan Stevenson and his wife Lu discussed options and decided to try something unusual: they would install a statue of the Buddha. When asked why they chose this particular religious figure, Dan explained simply: “He’s neutral.”
Unlike most 99PI episodes which I find can be cynical and dark in tone, this episode was quirky, unexpected, and gives you a bit of hope in a world that often feels dark and cynical.
If you are not already making $500,000 compensation in your job, there are five steps to getting you there.
(1) Do everything you say you are going to do.
(2) Manage your boss and colleagues — don't make them spend time managing you.
(3) Proactively help the organization.
(4) Be positive (don't complain). Be a “yes, and” person.
(5) Report to someone making over $500k.
The summary is helpful for reference, but Auren Hoffman’s entire reply is quite useful if you would like to make more money doing what you do.
Inventor William Cubitt subscribed to the “no pain, no gain” philosophy. His “Tread-Wheel,” which was described in the 1822 edition of Rules for the Government of Gaols, Houses of Correction, and Penitentiaries, was presented as a way for prisoners to put in an honest day’s labor. Prisoners used treadmills in groups, with up to two dozen convicts working a single machine, usually grinding grain or pumping water, sometimes for as long as eight hours at a stretch. They’d do so “by means of steps … the gang of prisoners ascend[ing] at one end … their combined weight acting upon every successive stepping board, precisely as a stream upon the float-boards of a water wheel.”
Given a treadmill workout and nothing, I sadly choose nothing all too often.
However, it is fantastic that we have the option, and I’m glad the technology is evolving to make treadmill runs feel more like “real” runs.
I do wish, however, I had one of those treadmill desks. I could see myself easily getting 30,000 steps a day if I had one of those bad boys.
I spent the past year telling myself I’d make changes. I told myself that I’d rather be in a much larger body and competing healthy, than in a smaller body and be broken standing on the sidelines. That “looking the part” of an athlete doesn’t mean shit if you are too injured to even get to the start line. I knew these things. And at times, I thought I was succeeding in changing things.
But with the fourth stress fracture two weeks before Barkley this year, I hit bottom. With sport taken from me, I looked around at all the things that had propped up my “management” of the eating disorder, and realized my disorder was all I had left.
I’ve been fortunate enough to never have to deal with something like anorexia or bulimia, but I find myself constantly struggling with my body image and eating habits.
I know logically that people don’t look at me and judge me as fat or pudgy... in fact, I would venture to guess most people don’t give my appearance a second thought.
But as someone who deals with me and my body every single day, it is hard to sometimes silence that voice in your head who tells you that you have to eat those 8 cookies, and then turns around and tells you that you’re getting fat again.
Anyway, I’ve looked up to Amelia Boone ever since I heard her on the Tim Ferris Show, and we were lucky enough to have her on C Tolle Run as well. Her performances speak for themselves, but the vulnerability she displays in this post makes me respect her even more.
If you’re struggling with an eating problem, talk about it with someone.
I am an unabashed fan of thoughtbot, and I have long felt like I'll have "made it" if I woke up one day and had an agency that was like theirs.
This podcast gave me the reassurance that I am on the right path.
If thoughtbot can make $20 million a year, then JMG can definitely get to $10 million.
There is one thing that you’re better at than other people: being you. This is the only game you can really win.
When you start with this mindset the world starts to look better again. No longer are you focused on where you stand relative to others. Instead, your focus and energy is placed on what you’re capable of now and how you can improve yourself.
Life becomes about being a better version of yourself. And when that happens, your effort and energy go toward upgrading your personal operating system every day, not worrying about what your coworkers are doing. You become happier, free from the shackles of false comparisons and focused on the present moment.
I think this blog is quickly turning into a spot where I can look when I need some internal motivation, and this is a perfect post for that future time.
This is a tremendous piece of reporting by Jody Rosen. I have never had many kind words for the big record labels, but this just takes my distain to a whole new level.
As mentioned in the article, I understand how costly it is to maintain an archive of content as large as this. It’s not economical, and it is likely never to be a profit center.
But one could argue that if your entire business model is to leech the intellectual property of artists, you would at least have a moral imperative to keep that IP in as pristine of a condition that you could.
Of course, though, we are talking about the music industry. Why do something altruistic and beneficial to society with the gobs and gobs of money they make when, instead, they can hire more lawyers?
Here’s a small list of artists mentioned in the article, just to leave you with a taste of what we, as a society, have collectively lost:
Virtually all of Buddy Holly’s masters were lost in the fire. Most of John Coltrane’s Impulse masters were lost, as were masters for treasured Impulse releases by Ellington, Count Basie, Coleman Hawkins, Dizzy Gillespie, Max Roach, Art Blakey, Sonny Rollins, Charles Mingus, Ornette Coleman, Alice Coltrane, Sun Ra, Albert Ayler, Pharoah Sanders and other jazz greats. Also apparently destroyed were the masters for dozens of canonical hit singles, including Bill Haley and His Comets’ “Rock Around the Clock,” Jackie Brenston and His Delta Cats’ “Rocket 88,” Bo Diddley’s “Bo Diddley/I’m A Man,” Etta James’s “At Last,” the Kingsmen’s “Louie Louie” and the Impressions’ “People Get Ready.”
The list of destroyed single and album masters takes in titles by dozens of legendary artists, a genre-spanning who’s who of 20th- and 21st-century popular music. It includes recordings by Benny Goodman, Cab Calloway, the Andrews Sisters, the Ink Spots, the Mills Brothers, Lionel Hampton, Ray Charles, Sister Rosetta Tharpe, Clara Ward, Sammy Davis Jr., Les Paul, Fats Domino, Big Mama Thornton, Burl Ives, the Weavers, Kitty Wells, Ernest Tubb, Lefty Frizzell, Loretta Lynn, George Jones, Merle Haggard, Bobby (Blue) Bland, B.B. King, Ike Turner, the Four Tops, Quincy Jones, Burt Bacharach, Joan Baez, Neil Diamond, Sonny and Cher, the Mamas and the Papas, Joni Mitchell, Captain Beefheart, Cat Stevens, the Carpenters, Gladys Knight and the Pips, Al Green, the Flying Burrito Brothers, Elton John, Lynyrd Skynyrd, Eric Clapton, Jimmy Buffett, the Eagles, Don Henley, Aerosmith, Steely Dan, Iggy Pop, Rufus and Chaka Khan, Barry White, Patti LaBelle, Yoko Ono, Tom Petty and the Heartbreakers, the Police, Sting, George Strait, Steve Earle, R.E.M., Janet Jackson, Eric B. and Rakim, New Edition, Bobby Brown, Guns N’ Roses, Queen Latifah, Mary J. Blige, Sonic Youth, No Doubt, Nine Inch Nails, Snoop Dogg, Nirvana, Soundgarden, Hole, Beck, Sheryl Crow, Tupac Shakur, Eminem, 50 Cent and the Roots.
I've never heard any of DHH's RailsConf keynote speeches before, so I guess I kind of expected it to be more about the state of Rails and where things are going.
In a way, I suppose this is that. But really, it's a personal manifesto about the intrinsic value of software, human worth, and capitalism.
This was mind bending and well worth the watch.
The bittersweet consequence of YouTube’s incredible growth is that so many stories will be lost underneath all of the layers of new paint. This is why I wanted to tell the story of how, ten years ago, a small team of web developers conspired to kill IE6 from inside YouTube and got away with it.
As someone who got started developing websites on IE2, IE6 continues to haunt my nightmares to this day. This story made me feel some semblance of vengeance. Kudos to these unsung heroes of the internet.