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 Erin 💽✨ (erincandescent@akko.erincandescent.net), page 7

  1. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Wednesday, 30-Oct-2024 10:56:51 JST Erin 💽✨ Erin 💽✨
    in reply to
    • Haelwenn /элвэн/ :triskell:
    • Tulip ?️‍⚧️

    @lanodan @domi @easrng prospero:// URLs from 1738 use ;parameters

    also RFC2396 requires escaping it in path segments b/c its used for path params:

    path = [ abs_path | opaque_part ] path_segments = segment *( "/" segment ) segment = *pchar *( ";" param ) param = *pchar pchar = unreserved | escaped | ":" | "@" | "&" | "=" | "+" | "$" | ","

    An example of a URI scheme using params is IMAP: imap://joe@example.com/INBOX/;uid=20/;section=1.2

    In conversation about 8 months ago from gnusocial.jp permalink
  2. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Wednesday, 30-Oct-2024 10:56:49 JST Erin 💽✨ Erin 💽✨
    in reply to
    • Haelwenn /элвэн/ :triskell:
    • Tulip ?️‍⚧️
    • Erin 💽✨
    @lanodan @domi @easrng anyway the URL generic syntax specs a bunch of extra reserved characters so the person *defining* a given URL or URL scheme can use them as delimiters, use their encoded form to escape values that contain said delimiters, and not have generic URL parsers mangle things
    In conversation about 8 months ago from akko.erincandescent.net permalink
  3. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Wednesday, 30-Oct-2024 10:08:34 JST Erin 💽✨ Erin 💽✨
    • Xeon²

    @izaya I voted yes but honestly its more like “tights always look good. bare legs are high maintainance”

    …also tights & leggings are enormously practical in winter

    In conversation about 8 months ago from akko.erincandescent.net permalink
  4. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Tuesday, 22-Oct-2024 22:42:48 JST Erin 💽✨ Erin 💽✨

    Its 2024 and somehow I am in an argument on an IETF mailing list about signing things & cross-protocol attacks.

    In conversation about 8 months ago from akko.erincandescent.net permalink
  5. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Tuesday, 22-Oct-2024 09:47:19 JST Erin 💽✨ Erin 💽✨
    in reply to
    • Martyn

    @martyn this is a slight tangent, but: if you are at any risk of HIV transmission, PrEP taken daily is these days the single most effective method of prevention we have (even if you control for adherence; condoms sometimes get punctured or have manufacturing defects; if you forget to take PrEP occasionally, it’s still highly effective). It should be fairly easy to acquire at any sexual health clinic in Berlin.

    Of course PrEP + Condom usage is more effective than either alone.

    In conversation about 8 months ago from akko.erincandescent.net permalink
  6. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Tuesday, 22-Oct-2024 07:22:08 JST Erin 💽✨ Erin 💽✨
    • mx alex tax1a - 2020 (5)

    @atax1a @megmac tbh one thing i will say i like about postfix is that in most obvious places where you might want to delegate things to an external database it has a fairly simple protocol over a unix socket to do so

    e.g. socketmap for recipient lookups

    In conversation about 8 months ago from akko.erincandescent.net permalink
  7. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Tuesday, 22-Oct-2024 07:22:05 JST Erin 💽✨ Erin 💽✨
    in reply to
    • mx alex tax1a - 2020 (5)
    • Erin 💽✨

    @atax1a @megmac i suspect that qmail could do similar things with simple shell scripts but a lot of my problems end up being socket-shaped instead of shell-script-shaped

    In conversation about 8 months ago from gnusocial.jp permalink
  8. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Saturday, 19-Oct-2024 22:44:41 JST Erin 💽✨ Erin 💽✨
    in reply to
    • Evan Prodromou
    • silverpill
    @evan @julian @silverpill @trwnh @mikedev "context" isn't good enough to identify any relationship; this is the fundamental problem. It is a property that should never have existed. Today it identifies one relationship: the (loosely defined) thread. I would argue that this is in fact "common interoperability". I would also argue that this fully meets the incredibly vague letter of the ActivityStreams specification.

    I have yet to see an alternative use of context that would not be better served by inventing a more specific term. Yes, this applies to use of context for thread too, but we have 7 years of its user to identify the thread as a defacto standard.
    In conversation about 8 months ago from akko.erincandescent.net permalink
  9. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Saturday, 19-Oct-2024 03:51:35 JST Erin 💽✨ Erin 💽✨

    Do you ever think about how “Tom’s Obvious, Minimal Language” is neither obvious nor minimal?

    (Anyway not only is Toml a badly designed file format, but Tom‘s a dickhead; please pick something else)

    In conversation about 8 months ago from akko.erincandescent.net permalink
  10. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Saturday, 19-Oct-2024 02:05:55 JST Erin 💽✨ Erin 💽✨

    @grawity now anyone who is showing something other than first6 + last4 is grossly violating PCI-DSS and needs to be shot.

    In conversation about 8 months ago from akko.erincandescent.net permalink
  11. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Saturday, 19-Oct-2024 02:05:25 JST Erin 💽✨ Erin 💽✨
    in reply to
    • Foone🏳️‍⚧️
    @foone PCI actually permits this. There's approx no entropy in the first 6 digits; they just identify your bank. There's a US federal law against this IIRC, but for those of us who work in card payments in Europe first6 + last4 is what we see all the time
    In conversation about 8 months ago from akko.erincandescent.net permalink
  12. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Saturday, 19-Oct-2024 01:29:01 JST Erin 💽✨ Erin 💽✨
    He's learning about other ActivityPub implementations #plushtodon
    In conversation about 8 months ago from akko.erincandescent.net permalink

    Attachments


    1. https://erincandescent.catgirldelivery.network/383cf665bb682d2c28c5e69cc8cddbceea2f628f9c166572c84678d637dca11d.jpg
  13. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Thursday, 17-Oct-2024 23:23:28 JST Erin 💽✨ Erin 💽✨
    • mekka okereke :verified:
    • Sophie Schmieg
    • Jürgen Hubert
    @sophieschmieg @juergen_hubert @mekkaokereke tbh I've seen such things happen outside of Europe as well, in ways occasionally mind boggling. Language switching based upon nationality or country of residence is pervasive.

    If you scan a Swedish passport on one of China's fingerprint readers, it automatically switches to Swedish. Incredibly badly translated and difficult to understand Swedish.
    In conversation about 8 months ago from akko.erincandescent.net permalink
  14. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Wednesday, 16-Oct-2024 04:37:28 JST Erin 💽✨ Erin 💽✨

    DHL: Your package is in the packstation. Please collect it as soon as possible

    Also DHL: You don’t currently have any packages waiting in any Packstations.

    …could you folks make up your damn minds?

    In conversation about 8 months ago from akko.erincandescent.net permalink
  15. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Wednesday, 16-Oct-2024 04:15:51 JST Erin 💽✨ Erin 💽✨
    in reply to
    • Erin 💽✨

    Relatedly: The %x conversion specifier in fscanf is defined in terms of strtoul. fscanf is only allowed one character of lookahead (see §7.23.6.2 footnote 332, “fscanf pushes back at most one input character onto the input stream. Therefore, some sequences that are acceptable to strtod, strtol, etc., are unacceptable to fscanf.”). sscanf and scanf are both defined in terms of fscanf.

    Consider this sequence of code:

    unsigned int o; int n; int r = sscanf("0xZZ", "%x%n", &o, &n);

    Is the result

    1. r=1 (one conversion was possible), n=1 (one byte of input consumed), o=0 (we consumed the single zero digit)
    2. r=0 (no conversion was possible) because 0x is a valid prefix of a conversion specifier but is not a valid input to strtoul (see previous post)

    Now consider

    int r = sscanf("0xAA", "%x%n", &o, &n);

    We have a third potential option here: r=1, n=4, o=0xAA

    however per the above footnote we must pick that our result is

    • (1) in both cases
    • (2) in both cases
    • (2) in the first case, (3) in the second

    In particular combo (1) and (3) is impossible because it would require us to peak ahead two characters (xZ/xA) in order to know which of the two cases we are in

    I think (1) in both cases is the only reasonable result and the standard should probably call out explicitly that the 0b/0x prefixes are not permitted for the input to the %b/%x conversion specifiers respectively.

    In conversation about 8 months ago from akko.erincandescent.net permalink
  16. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Wednesday, 16-Oct-2024 04:15:49 JST Erin 💽✨ Erin 💽✨
    in reply to
    • Erin 💽✨

    Previous discussion on the glibc issue tracker and with the committee seems to indicate that for this case (2)/(3) is the correct result. I find this outcome emotionally upsetting (but then, that describes lots of the specifics of scanf…) but it is at least internally consistent.

    glibc for the first case will currently produce r=1, n=2, o=0 which is just nonsense, but at least its acknowledged as a (very old!) bug

    In conversation about 8 months ago from akko.erincandescent.net permalink
  17. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Wednesday, 16-Oct-2024 04:15:48 JST Erin 💽✨ Erin 💽✨
    in reply to
    • Erin 💽✨

    Anyway I think this interpretation means a C standard library implementation needs different implementations of scanf and strtoul to be conformant to both C23 and C17 and earlier.

    My displeasure is imeasurable and my day is ruined.

    :drgn_dizzy:

    In conversation about 8 months ago from akko.erincandescent.net permalink

    Attachments


  18. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Wednesday, 16-Oct-2024 04:10:02 JST Erin 💽✨ Erin 💽✨

    So I have set of interesting C corner cases…

    Consult 7.24.1.7 of WG14 N3220, concering “The strtol, strtoll, strtoul, and strtoull functions” and then look at the following:

    // C23 // In all of the following assume errno is initially 0 // Unambiguous r = strtoul("0", &endp, 0) r = strtoul("0", &endp, 2) r = strtoul("0", &endp, 16) // -> strcmp(endp, "") == 0, r = 0, errno = 0; r = strtoul("0b0", &endp, 0) r = strtoul("0x0", &endp, 0) r = strtoul("0b0", &endp, 2) r = strtoul("0x0", &endp, 16) // -> strcmp(endp, "") == 0, r = 0, errno = 0; // The following are ambiguous, however. // What is the correct output for each of these? strtoul("0b", &endp, 0) strtoul("0b", &endp, 2) // -> strcmp(endp, "b") == 0, r = 0, errno = 0;, or // -> errno = ERANGE strtoul("0x", &endp, 0) strtoul("0x", &endp, 16) // -> strcmp(endp, "x") == 0, r = 0, errno = 0;, or // -> errno = ERANGE

    Note: in versions of C prior to C23, the following are unambiguous (the language permitting the 0b prefix was added in C23). Depending upon interpretation, in C23 strtoul may reject inputs that were considered acceptible in in previous versions of the standard

    strtoul("0b", &endp, 0) strtoul("0b", &endp, 2) // -> strcmp(endp, "b") == 0, r = 0, errno = 0;
    In conversation about 8 months ago from akko.erincandescent.net permalink
  19. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Tuesday, 15-Oct-2024 05:48:33 JST Erin 💽✨ Erin 💽✨
    in reply to
    • Erin 💽✨

    If the local Bäckspace was a real thing I could go there and bake up a load of Franzbrötchen right about now…

    In conversation about 8 months ago from akko.erincandescent.net permalink
  20. Embed this notice
    Erin 💽✨ (erincandescent@akko.erincandescent.net)'s status on Tuesday, 15-Oct-2024 05:47:34 JST Erin 💽✨ Erin 💽✨

    Tired: Going to the hackspace to work on your programming project
    Wired: Going to the hackspace to work on your electronics project
    Un-Wired: Going to the Bäckspace to work on your baking project

    In conversation about 8 months ago from akko.erincandescent.net permalink
  • After
  • Before

User actions

    Erin 💽✨

    Erin 💽✨

    immigrant | they/them | software engineer in card paymentsliker of ISO 8583, the 8051, ASN.1 and EBCDIC.I wrote the ActivityPub initial draft, so this social network is in some way my fault.Formerly @erincandescent@queer.af Instance admin, queer.af (2018-07 - 2024-02, RIP)

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          242079
          Member since
          12 Feb 2024
          Notices
          433
          Daily average
          1

          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.