GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by Chris Krycho (chriskrycho@mastodon.social)

  1. Embed this notice
    Chris Krycho (chriskrycho@mastodon.social)'s status on Sunday, 12-Jan-2025 04:55:50 JST Chris Krycho Chris Krycho
    in reply to
    • Aaron Turon ?
    • Paul Cantrell
    • Ben Cohen

    @aturon’s (re)framing was the phrase “reasoning footprint”, which has not caught on as widely as I wish it had, because I think it gets at this nicely! @inthehands @airspeedswift

    In conversation about 4 months ago from mastodon.social permalink
  2. Embed this notice
    Chris Krycho (chriskrycho@mastodon.social)'s status on Sunday, 12-Jan-2025 04:55:50 JST Chris Krycho Chris Krycho
    in reply to
    • Aaron Turon ?
    • Paul Cantrell
    • Ben Cohen

    @inthehands @airspeedswift There was a great summary of the “explicit/implicit” dynamics from @aturon when discussing “ergonomics”-focused changes to Rust back in 2017: https://blog.rust-lang.org/2017/03/02/lang-ergonomics.html#implicit-vs-explicit

    He points out there, and I think this is key, that we actually mostly want to be explicit about *the things in the domain we actively care about*, and implicit about everything else. The challenge for language design (and API design generally) is that “what domain do I care about?” is very dynamic!

    In conversation about 4 months ago from mastodon.social permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: www.rust-lang.org
      Rust's language ergonomics initiative | Rust Blog
      from @rustlang
      Empowering everyone to build reliable and efficient software.
  3. Embed this notice
    Chris Krycho (chriskrycho@mastodon.social)'s status on Saturday, 09-Nov-2024 02:08:10 JST Chris Krycho Chris Krycho

    In today’s #ThursdayRTFM, we’ll look at two of my favorite macOS CLI tools, `pbcopy` and `pbpaste`. Why both? Because `man pbcopy` and `man pbpaste` launch the same manual page: together they “provide copying and pasting to the pasteboard (the Clipboard) from command line”.

    In conversation about 6 months ago from mastodon.social permalink
  4. Embed this notice
    Chris Krycho (chriskrycho@mastodon.social)'s status on Saturday, 09-Nov-2024 02:08:09 JST Chris Krycho Chris Krycho
    in reply to

    The two things I did *not* know about this before reading the manual were:

    • That it supports EPS and RTF as well as plain text.
    • That it supports rendering to multiple pasteboards.

    The latter in part because I only vaguely knew that macOS *had* multiple pasteboards.

    In conversation about 6 months ago from mastodon.social permalink
  5. Embed this notice
    Chris Krycho (chriskrycho@mastodon.social)'s status on Saturday, 09-Nov-2024 02:08:09 JST Chris Krycho Chris Krycho
    in reply to

    I use these multiple times every day. It’s a super handy way of getting the contents of a file into my clipboard—if I don’t have the file open already in a text editor, I can `pbcopy < path/to/the-file` and then paste it (a chat, a Gist, a text editor, etc.) with OS shortcuts.

    In conversation about 6 months ago from mastodon.social permalink
  6. Embed this notice
    Chris Krycho (chriskrycho@mastodon.social)'s status on Saturday, 09-Nov-2024 02:08:09 JST Chris Krycho Chris Krycho
    in reply to

    `pbpaste` pops whatever is on the specified pasteboard and puts it on standard output—if and only if the pasteboard has plain text, EPS, or RTF available. Otherwise, it’s “produces no output”.

    In conversation about 6 months ago from mastodon.social permalink
  7. Embed this notice
    Chris Krycho (chriskrycho@mastodon.social)'s status on Saturday, 09-Nov-2024 02:08:09 JST Chris Krycho Chris Krycho
    in reply to

    `pbcopy` takes whatever is on standard input—whether you pipe it there or type it in—and puts it on “the specified pasteboard”, by default the “general” pasteboard. It copies as plain text by default, unless it’s Encapsulated PostScript (EPS) or Rich Text Format (RTF).

    In conversation about 6 months ago from mastodon.social permalink
  8. Embed this notice
    Chris Krycho (chriskrycho@mastodon.social)'s status on Saturday, 09-Nov-2024 02:08:08 JST Chris Krycho Chris Krycho
    in reply to

    Net, there’s no good way from the man page, and no easy way in Apple’s docs, to figure out what the other pasteboards besides `general` are for. Their names (`ruler`, `find`, and `font`) don’t tell me much, unfortunately!

    Still, I learned something today, and I hope you did too.

    In conversation about 6 months ago from mastodon.social permalink
  9. Embed this notice
    Chris Krycho (chriskrycho@mastodon.social)'s status on Saturday, 09-Nov-2024 02:08:08 JST Chris Krycho Chris Krycho
    in reply to

    There *are* other docs (e.g. for Core Transferable), which is great, but those old docs had something Apple’s current approach does not—a way to understand not just the APIs but the system, including the operating system and its view of the world, the *why* behind the APIs.

    In conversation about 6 months ago from mastodon.social permalink
  10. Embed this notice
    Chris Krycho (chriskrycho@mastodon.social)'s status on Saturday, 09-Nov-2024 02:08:08 JST Chris Krycho Chris Krycho
    in reply to

    Worse, when you go looking for docs in Apple’s *current* API docs, the result is… mixed. Hey, there’s a `Pasteboard` class! https://developer.apple.com/documentation/applicationservices/pasteboard/ Spoilers: there’s absolutely nothing there. It literally just has the declaration of the class itself. Otherwise: a blank page.

    In conversation about 6 months ago from mastodon.social permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: developer.apple.com
      Pasteboard | Apple Developer Documentation
      There's never been a better time to develop for Apple platforms.
  11. Embed this notice
    Chris Krycho (chriskrycho@mastodon.social)'s status on Saturday, 09-Nov-2024 02:08:08 JST Chris Krycho Chris Krycho
    in reply to

    The man page ends with a See Also referencing pages in “ADC Reference Library”: “Cocoa > Interapplication Communication > Copying and Pasting”. In theory it should still be online, just archived: https://developer.apple.com/library/archive/navigation/index.html In practice, this document is nowhere to be found.

    In conversation about 6 months ago from mastodon.social permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: developer.apple.com
      Documentation Archive
  12. Embed this notice
    Chris Krycho (chriskrycho@mastodon.social)'s status on Saturday, 09-Nov-2024 02:08:07 JST Chris Krycho Chris Krycho
    in reply to
    • amos ✨

    Oooh, bonus, turns out my excellent fellow #rustlang people @jamesmunns.com and @fasterthanlime did some digging into the Mac and Linux clipboards recently! https://sdr-podcast.com/episodes/clipboards/

    In conversation about 6 months ago from mastodon.social permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: sdr-podcast.com
      Things you might not have known about clipboards
      (and some things I still don't understand) Amos and James reminisce about how weird clipboards have always been. Or is it pasteboards? Or buffers? Oh boy. View the presentation
  13. Embed this notice
    Chris Krycho (chriskrycho@mastodon.social)'s status on Wednesday, 10-May-2023 00:59:54 JST Chris Krycho Chris Krycho
    in reply to
    • Dan Luu

    @danluu In my experience, most managers (up through VPs, and the more so the higher) do not believe in those productivity differences *or* make choices which undercut them, in large part because they ignore things like https://danluu.com/people-matter/ and attempt to treat engineers as interchangeable. And as far as I can tell, when you ignore competencies, domain expertise, etc., and aim for interchangeability, you *do* dramatically reduce productivity wins.

    In conversation Wednesday, 10-May-2023 00:59:54 JST from mastodon.social permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      Individuals matter

User actions

    Chris Krycho

    Chris Krycho

    Software engineer and composer; theologian; writer, runner, and erstwhile podcaster. Previously the tech lead for LinkedIn web, Ember TypeScript & Framework emeritus.Hireable! I can teach you TypeScript or Rust (right now, I am writing a new chapter on async for the official The Rust Programming Language book), tackle the hardest TypeScript problems, and help you see your way to a viable front end web strategy.

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          117803
          Member since
          9 May 2023
          Notices
          13
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.