Swizec Teller - a geek with a hatswizec.com

    Looking for the perfect light work device

    You know how your laptop feels like it's for serious work only?

    It sits on your desk plugged into your monitor and your keyboard and your mouse and maybe some speakers and who knows what else. Lives on its little stand like a PC tower of old. Travels with you reluctantly when you really really need it to.

    This is great for coding. Fantastic even.

    You have a powerful device, great peripheries, and it doesn't draw the power of a small electric car or the noise of a tiny wind turbine.

    clarkson_thumbs_up giphy

    But sometimes you just want to send a quick email. Do some light work on an airplane. Sit back on the couch scroll through Slack and answer GitHub comments while a good-not-quite-fantastic show plays in the background.

    What then?

    Are you really going to unhook your laptop from aaaallll its devices, mess up your window layout (why macos why), and bring it with you?

    Eh maybe.

    Works okay with a 13inch. Sometimes with a 14inch. And when I got my 16inch laptop in February I was like heck no.

    That thing is huge. Way too serious for light work and good luck fitting it on an airplane tray table.

    I mean you can ...

    Click through for source
    Click through for source

    Looking for a light work device

    A light work device is something that:

    • works fast
    • big enough screen to be comfortable
    • small enough to feel casual
    • good for typing

    My iPad Pro had the first 3. I've had iPads before and damn this thing is on another level. With the pencil v2 it's the first iPad that didn't go into a dusty drawer never to resurface after a month.

    But I couldn't type.

    Slack was a chore, email was painful, don't even think about writing newsletters.

    And then Apple announced the Magic Keyboard. Perfect, right?

    Click through for source
    Click through for source

    Well ... sort of perfect. It doesn't bend over. The iPad becomes a baby laptop and stops being a tablet. ๐Ÿ™„

    So I bought the Logitech keyboard to compare.

    Didn't like that either. It bends over but the keys are tiny and weird. ๐Ÿ™„

    The silly video above was fun to make. You should give it a watch, I go into more detail on pros and cons of each keyboard.

    tl;dr is that I'm keeping the Magic Keyboard. Sturdy, heavy, kind of weird, and with amazing keyboard feel. Feels just like my laptop.

    What about light coding?

    Ok, got the light work device I always wanted. Girlfiend is already upset that work is creeping into our Netflix time.

    What about light coding? Could the iPad pull that off?



    Only very light coding.

    You can use the Buffer Editor to write code. Pulls from GitHub, pushes to GitHub, all works well. Some trickery around 2FA tokens.

    The editing experience is super nice. Bump up your font size a bit and it's downright cushy. Even supports multiple tabs ๐Ÿ‘Œ

    But you can't run your code.

    BufferEditor doesn't have a built-in way to run your code that I could find. No way to execute npm modules, no way to install locally, nothing that would let you see what you're doing.

    Bit of a shame. Light coding only.

    Maybe with SSH hackery?

    So it turns out iPads support terminals nowadays. Using the Blink Shell


    That's me SSH-ing from my iPad into my laptop as myself. With full control to do whatever I want.

    Buffer supports SSH as well, by the way.

    So here's what you could do if you really wanted to:

    1. Open your project in Buffer via SSH
    2. SSH into your machine
    3. Run Gatsby
    4. Open dev URL on your iPad

    Now you can edit code from your iPad on your serious laptop and preview locally on your iPad.

    That is just ridiculous that's possible. ๐Ÿคฏ

    And I think it goes beyond "light work" ...


    Did you enjoy this article?

    Published on May 15th, 2020 in Opinions, Personal

    Learned something new?
    Want to become an expert?

    Here's how it works ๐Ÿ‘‡

    Leave your email and I'll send you thoughtfully written emails every week about React, JavaScript, and your career. Lessons learned over 20 years in the industry working with companies ranging from tiny startups to Fortune5 behemoths.

    Join Swizec's Newsletter

    And get thoughtful letters ๐Ÿ’Œ on mindsets, tactics, and technical skills for your career. Real lessons from building production software. No bullshit.

    "Man, love your simple writing! Yours is the only newsletter I open and only blog that I give a fuck to read & scroll till the end. And wow always take away lessons with me. Inspiring! And very relatable. ๐Ÿ‘Œ"

    ~ Ashish Kumar

    Join over 14,000 engineers just like you already improving their careers with my letters, workshops, courses, and talks. โœŒ๏ธ

    Have a burning question that you think I can answer?ย I don't have all of the answers, but I have some! Hit me up on twitter or book a 30min ama for in-depth help.

    Ready to Stop copy pasting D3 examples and create data visualizations of your own? ย Learn how to build scalable dataviz components your whole team can understand with React for Data Visualization

    Curious about Serverless and the modern backend? Check out Serverless Handbook, modern backend for the frontend engineer.

    Ready to learn how it all fits together and build a modern webapp from scratch? Learn how to launch a webapp and make your first ๐Ÿ’ฐ on the side with ServerlessReact.Dev

    Want to brush up on your modern JavaScript syntax?ย Check out my interactive cheatsheet: es6cheatsheet.com

    By the way, just in case no one has told you it yet today: I love and appreciate you for who you areย โค๏ธ

    Created bySwizecwith โค๏ธ