60°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • Barnaby Walters https://waterpigs.co.uk

    Finally figured out how to format a memory stick for optimal compromise between compatibility and file sizes.

    The goal is to be able to stick this memory stick in anything from the last 15 years and be able to load files on and off. The implementation idea was to have two partitions, one FAT32 for compatibility with everything, and one ExFAT for wide compatibility allowing larger files.

    The mistake I made last time was using a GUID-based partition map, which rules out compatibility with older hardware which uses a BIOS. This can be rectified by using the older Master Boot Record partition map, which has some restrictions, but nothing particularly relevant in this case.

    I had no end of problems trying to achieve this with the Gnome Disks tool and GParted, and on Mac OS 10.11 it’s not possible in the Disk Utility GUI. It is, however, very easy using the command line Disk Utility tools.

    Firstly, run

    diskutil list
    

    to find out the descriptor for the device you want to format (e.g. /dev/disk2, referred to in future examples as /dev/diskX), then

    diskutil unmountDisk /dev/diskX
    

    to unmount it in preparating for formatting. I’m formatting a 64GB flash drive with 62.1GB actual capacity into two equal portions, so my command ends up looking like this:

    diskutil partitionDisk /dev/diskX MBR ExFAT NAME_OF_FIRST_PARTITION 31.1g FAT32 NAME_OF_SECOND_PARTITION 0g
    

    where the format is pretty self explanatory:

    volume partition_map partition_1_format partition_1_name partition_1_size partition_2_format partition_2_name partition_2_size
    

    The size of partition two is given as 0g, which results in the rest of the available space being taken.

    A list of available filesystems for formatting can be browsed with:

    diskutil listFilesystems
    

    I just tested the newly formatted universal memory stick with a computer with which it previously didn’t work, and it worked perfectly, so I’m confident that this approach achieves my original goal.

    Portland, Oregon
    Tue, Jun 13, 2017 1:26am +03:00 (liked on Mon, Jun 12, 2017 3:31pm -07:00) #tech #howto #usb
  • Tomas Quinones http://tomasquinones.com   •   Jun 12
    I have an extra Baofeng UV-5 (or some variation) if that's what you seek.
    Aaron Parecki
    @tomas_quinones I don't think those pick up the 88-108 broadcast range, do they? Anyway I want something consumery for this.
    Portland, Oregon, USA
    1 reply
    Mon, Jun 12, 2017 9:17am -07:00
  • Aaron Parecki
    Do I know anyone who has an extra battery-powered FM radio? We need a couple for a project, and I don't seem to have any anymore.
    Portland, Oregon, USA
    1 like 2 replies
    Mon, Jun 12, 2017 8:55am -07:00
  • 148.8lbs
    Weight
    18.1%
    Body Fat
    Portland, Oregon
    Mon, Jun 12, 2017 8:47am -07:00
  • Kevin Marks http://known.kevinmarks.com/profile/kevinmarks   •   Jun 12
    The weird thing is that a lot of phones have an fm radio in, but it is disabled
    Aaron Parecki
    I've heard that. I don't think I can get a phone with a radio cheaper than I can get a plain radio tho.
    Portland, Oregon, USA
    Mon, Jun 12, 2017 7:41am -07:00
  • 10:52pm
    Asleep
    6:23am
    Awake
    7h 31m
    Slept
    20m
    Awake for
    Portland, Oregon, USA
    Mon, Jun 12, 2017 6:23am -07:00
  • https://mailarchive.ietf.org/arch/msg/oauth/h0ivzMZBHjXGi6HqcB0LYdR4skw
    OAuth Working Group
    Aaron Parecki
    I've seen this done a few ways:

    • The Device Flow: https://tools.ietf.org/html/draft-ietf-oauth-device-flow which is what you see on browserless devices like the Apple TV logging in to a cable provider from your phone. A short code is generated and displayed on the screen, you launch a browser on your phone and enter the code. This would work just as well from the command line on the same device.
    • I've also seen apps use the authorization flow, by displaying the authorization URL on the command line prompt and instructing the user to open it in a browser. The redirect URI is a hosted web page that displays the authorization code and instructs the user to paste it back at the terminal.
    • The command line app can launch an HTTP server on localhost and use that as the redirect URL for the authorization code flow. This option ends up being the most seamless since it works like a traditional flow without any special instructions to the user.
    Portland, Oregon, USA
    Sun, Jun 11, 2017 8:59pm -07:00 #oauth #oauth2
  • Aaron Parecki
    at Dollar Tree
    Portland, Oregon • Sun, June 11, 2017 2:35pm
    45.53616 -122.619461
    On an expedition to find an FM radio
    Portland, Oregon
    1 reply 1 Coin
    Sun, Jun 11, 2017 2:35pm -07:00
  • Sebastian Kippe https://updates.kip.pe/profile/basti

    I'll be in PDX for two weeks from next Thursday on. Visiting friends, going camping, attending IndieWebSummit, and hitting the taprooms. \o/

    Portland, Oregon
    Sat, Jun 10, 2017 9:57pm +00:00 (liked on Sun, Jun 11, 2017 6:56am -07:00)
  • 11:17pm
    Asleep
    6:23am
    Awake
    7h 06m
    Slept
    22m
    Awake for
    Portland, Oregon, USA
    Sun, Jun 11, 2017 6:23am -07:00
  • William Narmontas http://www.scalawilliam.com
    #IndieAuth is SO MUCH easier than OAuth! https://indieauth.com/developers
    No secret keys, etc, etc. Works against localhost!
    Portland, Oregon
    Sun, Jun 11, 2017 12:34am +00:00 (liked on Sat, Jun 10, 2017 8:43pm -07:00) #IndieAuth
  • Jeremy Keith https://adactio.com/

    Month maps

    Portland, Oregon
    Sun, Jun 4, 2017 6:57pm +00:00 (liked on Sat, Jun 10, 2017 6:17pm -07:00)
  • 11:03pm
    Asleep
    7:24am
    Awake
    8h 21m
    Slept
    13m
    Awake for
    Portland, Oregon, USA
    Sat, Jun 10, 2017 7:24am -07:00
  • Ride
    1.31mi
    Distance
    9:24
    Duration
    6:26pm
    Start
    6:36pm
    End
    Portland, Oregon
    Fri, Jun 9, 2017 6:36pm -07:00
  • Beer
    Fri, Jun 9, 2017 5:40pm -07:00
  • Cocktail
    Portland, Oregon, USA
    Fri, Jun 9, 2017 5:01pm -07:00
  • 10:02pm
    Asleep
    6:07am
    Awake
    8h 05m
    Slept
    22m
    Awake for
    Portland, Oregon, USA
    Fri, Jun 9, 2017 6:07am -07:00
  • Train
    3.45mi
    Distance
    15:11
    Duration
    4:54pm
    Start
    5:09pm
    End
    Portland, Oregon
    Thu, Jun 8, 2017 5:09pm -07:00
  • Ride
    0.46mi
    Distance
    3:12
    Duration
    4:46pm
    Start
    4:50pm
    End
    Portland, Oregon
    Thu, Jun 8, 2017 4:50pm -07:00
  • Aaron Parecki
    Sometimes I wonder if I have too many projects
    Portland, Oregon
    7 likes 1 reply
    Thu, Jun 8, 2017 1:46pm -07:00
older

Hi, I'm Aaron Parecki, Director of Identity Standards at Okta, and co-founder of IndieWebCamp. I maintain oauth.net, write and consult about OAuth, and participate in the OAuth Working Group at the IETF. I also help people learn about video production and livestreaming. (detailed bio)

I've been tracking my location since 2008 and I wrote 100 songs in 100 days. I've spoken at conferences around the world about owning your data, OAuth, quantified self, and explained why R is a vowel. Read more.

  • Director of Identity Standards at Okta
  • IndieWebCamp Founder
  • OAuth WG Editor
  • OpenID Board Member

  • 🎥 YouTube Tutorials and Reviews
  • 🏠 We're building a triplex!
  • ⭐️ Life Stack
  • ⚙️ Home Automation
  • All
  • Articles
  • Bookmarks
  • Notes
  • Photos
  • Replies
  • Reviews
  • Trips
  • Videos
  • Contact
© 1999-2025 by Aaron Parecki. Powered by p3k. This site supports Webmention.
Except where otherwise noted, text content on this site is licensed under a Creative Commons Attribution 3.0 License.
IndieWebCamp Microformats Webmention W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv