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 David Smith (catfish_man@mastodon.social), page 3

  1. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Saturday, 22-Nov-2025 08:41:51 JST David Smith David Smith

    One little thing I love is how Swift helps with my favorite game*: the floor^W^Wmalloc is lava

    Allocation counts:

    ```
    NSMutableArray *c = [NSMutableArray array]; //1
    [c addObject: @"hello"]; //2
    id d = [c mutableCopy]; //3

    var a = [] //0
    a.append("hello") //1
    let b = a //1

    NSMutableString *e = [[NSMutableString alloc] init]; //1
    [e appendString: @"hello"]; //2
    id f = [e copy]; //3

    var g = "" //0
    g.append("hello") //0
    let h = g //0
    ```

    *"malloc is lava" is a survival horror roguelike

    In conversation about 8 months ago from mastodon.social permalink
  2. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Wednesday, 19-Nov-2025 14:04:20 JST David Smith David Smith

    Apropos of recent events, reminder that crashing is memory safe behavior. When someone says something is “safe” it’s a good idea to find out what they mean by the word, since it may not be what you mean by it.

    Memory safety makes some bugs easier to diagnose, avoids some types of data corruption, and prevents a very large class of security exploit. It does *not* address availability.

    In conversation about 8 months ago from mastodon.social permalink
  3. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Saturday, 15-Nov-2025 13:52:11 JST David Smith David Smith
    in reply to

    The running joke among some of my friends is that we defend against cosmic rays by filling the entirety of memory with high-color-depth high-resolution bitmaps, such that it's wildly unlikely a random bit flip will hit something critical

    In conversation about 8 months ago from gnusocial.jp permalink
  4. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Saturday, 15-Nov-2025 11:48:56 JST David Smith David Smith

    It's kinda interesting that

    a) random bit flips DO happen, and frequently enough that people have been able to measure the per-gigabyte rate in various memory technologies with pretty good precision

    b) in 16 years of triaging bug reports from an installed base of >1 billion devices I have *never* seen a "random bit flip" bug report that didn't end up being something else under closer examination

    In conversation about 8 months ago from mastodon.social permalink
  5. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Friday, 14-Nov-2025 07:19:56 JST David Smith David Smith
    in reply to
    • Paul Cantrell

    @inthehands "what incentives does this create?" has become a durable meme in at least one of my social circles as a result of that project

    In conversation about 8 months ago from mastodon.social permalink
  6. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Friday, 14-Nov-2025 07:09:39 JST David Smith David Smith
    in reply to
    • Paul Cantrell

    @inthehands it's fun how subtle this gets even in "objective" things like software performance.

    When we did the iOS 12 launch time improvement push we intentionally chose the "wrong" metric: arithmetic mean instead of geometric mean. The rationale was that over-weighting the slowest apps would actually get us better results for our purposes.

    In conversation about 8 months ago from mastodon.social permalink
  7. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Saturday, 08-Nov-2025 08:22:37 JST David Smith David Smith

    This is exactly right, and it feels completely ridiculous the entire time you're watching.

    In conversation about 8 months ago from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/115/510/221/779/641/023/original/deb06d00083f6620.png
  8. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Thursday, 09-Oct-2025 04:14:02 JST David Smith David Smith
    in reply to
    • Paul Cantrell

    @inthehands I am fully expecting to be the only person who's managed to lose money on SF real estate twice in a row 😂

    In conversation about 9 months ago from mastodon.social permalink
  9. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Thursday, 09-Oct-2025 04:08:15 JST David Smith David Smith
    in reply to
    • Paul Cantrell

    @inthehands I’m hoping to be selling my house around then so I figure the market will crash exactly as I do

    In conversation about 9 months ago from mastodon.social permalink
  10. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Friday, 26-Sep-2025 02:33:17 JST David Smith David Smith

    Tired: posting work stuff on Mastodon

    Also tired: posting personal stuff on LinkedIn

    Wired, apparently: posting lewds on Electron GitHub pull requests??

    Some people really are just out here making choices every day.

    In conversation about 9 months ago from mastodon.social permalink
  11. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Thursday, 25-Sep-2025 01:43:04 JST David Smith David Smith

    New ISA proposal: UTF-8 instructions

    * variable width but you can count leading bits in the decoder to quickly find out how wide an instruction is
    * use zero-width joiners to attach modifiers, e.g. atomic add is “lock zwj add”
    * self-synchronizing means it’s easy to disassemble and you can’t jump to the middle of an instruction
    * emoji

    In conversation about 10 months ago from mastodon.social permalink
  12. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Saturday, 13-Sep-2025 09:17:49 JST David Smith David Smith

    FYI: Kaiser sent me an email recommending I get a flu vaccine, but I checked their website and covid vaccines are also available starting the 15th!

    Irresponsible of them not to headline that imo, but glad to see it.

    #covid

    In conversation about 10 months ago from mastodon.social permalink
  13. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Friday, 05-Sep-2025 10:20:57 JST David Smith David Smith

    Mathematicians are very into optimal packing arrangements but I really think they’ve neglected the subject of packing liquids. Specifically, how to fit 8 cups of chicken broth into 2 cups of rice (and assorted onions, garlic, turmeric, and mushroom seasoning) ❤️ #cooking

    In conversation about 10 months ago from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/115/149/046/264/654/461/original/56823b79fff56ff1.jpeg
  14. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Friday, 08-Aug-2025 15:25:30 JST David Smith David Smith
    in reply to
    • ✧✦Catherine✦✧

    @whitequark @pikhq rare context where me groggily misreading this as “on the other one, the third hand, …” made sense still 😂

    In conversation about a year ago from mastodon.social permalink
  15. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Thursday, 31-Jul-2025 01:32:51 JST David Smith David Smith
    in reply to
    • Paul Cantrell

    @inthehands my very favorite variant of this is the ones who think farming would be easy for programmers. Ran across that on Twitter back in the day.

    In conversation about a year ago from mastodon.social permalink
  16. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Tuesday, 22-Jul-2025 14:13:54 JST David Smith David Smith

    Still can’t get over this error UI 😂

    In conversation about a year ago from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/114/895/072/365/594/653/original/2c78351a10dffe5a.jpeg
  17. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Monday, 21-Jul-2025 11:16:27 JST David Smith David Smith
    in reply to
    • Paul Cantrell

    @inthehands also sometimes Chesterton’s Fence is electrified and will just kill you if you try to remove it.

    Thinking about how people on Darwin OSs trying to skip the Foundation dependency when doing file IO tend to get blindsided by “oh no iCloud fault files depend on WHAT??” at some later date.

    In conversation about a year ago from mastodon.social permalink
  18. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Friday, 11-Jul-2025 10:39:28 JST David Smith David Smith
    in reply to
    • Adrianna Tan

    @skinnylatte lol yeah for the price of my janky 1300 sq ft freeway-adjacent house in SF I could get two of the gorgeous architect-designed 2000 sq ft passive solar home in the woods in Portland that my parents live in. People have no idea how ridiculous it is around here.

    In conversation about a year ago from mastodon.social permalink
  19. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Monday, 30-Jun-2025 11:47:05 JST David Smith David Smith

    Paste of fresh grated ginger, lemon zest, salt, pepper, msg, ground coriander, and grated garlic to use as a dry rub ❤️ #cooking

    In conversation about a year ago from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/114/763/916/512/785/700/original/d93b4646d957e86b.jpeg
  20. Embed this notice
    David Smith (catfish_man@mastodon.social)'s status on Monday, 30-Jun-2025 11:47:04 JST David Smith David Smith
    in reply to

    So the bad news is that was supposed to produce “syrup” when roasted for me to baste the chicken with, and it produced “goop” instead, which will probably burn if I do that.

    The good news is that means we are now officially Off Recipe, so I can do whatever I want, and this goop is delicious.

    #cooking

    In conversation about a year ago from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/114/769/955/058/687/507/original/471fa80813ec361a.jpeg
  • After
  • Before

User actions

    David Smith

    David Smith

    I am an irregular collection of floating diffuse lights, chiming softly

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          152378
          Member since
          22 Jul 2023
          Notices
          133
          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.