home.social

#macros — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #macros, aggregated by home.social.

fetched live
  1. 🧵 16 τρόποι να συνεισφέρεις στο @ONLYOFFICE – και να κάνεις τη διαφορά στο FOSS

    16 πρακτικοί τρόποι συμμετοχής στο οικοσύστημά μας:

    🔹 Πρότεινε νέες λειτουργίες
    🔹 Ανέφερε σφάλματα
    🔹 Δοκίμασε τις beta εκδόσεις
    🔹 Γράψε ή βελτίωσε την τεκμηρίωση
    🔹 Μετάφρασε τη σουίτα στη γλώσσα σου
    🔹 Δημιούργησε AI functions

    📖 Διάβασε το άρθρο:
    onlyoffice.com/blog/el/2026/08

    #ONLYOFFICE #FOSS #OpenSource #OfficeSuite #Community #SelfHosted #Collaboration #Developers #Localization #Plugins #Macros #AI #16Years #Tech

  2. 🧵 16 τρόποι να συνεισφέρεις στο @ONLYOFFICE – και να κάνεις τη διαφορά στο FOSS

    16 πρακτικοί τρόποι συμμετοχής στο οικοσύστημά μας:

    🔹 Πρότεινε νέες λειτουργίες
    🔹 Ανέφερε σφάλματα
    🔹 Δοκίμασε τις beta εκδόσεις
    🔹 Γράψε ή βελτίωσε την τεκμηρίωση
    🔹 Μετάφρασε τη σουίτα στη γλώσσα σου
    🔹 Δημιούργησε AI functions

    📖 Διάβασε το άρθρο:
    onlyoffice.com/blog/el/2026/08

  3. 🧵 16 τρόποι να συνεισφέρεις στο @ONLYOFFICE – και να κάνεις τη διαφορά στο FOSS

    16 πρακτικοί τρόποι συμμετοχής στο οικοσύστημά μας:

    🔹 Πρότεινε νέες λειτουργίες
    🔹 Ανέφερε σφάλματα
    🔹 Δοκίμασε τις beta εκδόσεις
    🔹 Γράψε ή βελτίωσε την τεκμηρίωση
    🔹 Μετάφρασε τη σουίτα στη γλώσσα σου
    🔹 Δημιούργησε AI functions

    📖 Διάβασε το άρθρο:
    onlyoffice.com/blog/el/2026/08

    #ONLYOFFICE #FOSS #OpenSource #OfficeSuite #Community #SelfHosted #Collaboration #Developers #Localization #Plugins #Macros #AI #16Years #Tech

  4. 🧵 16 τρόποι να συνεισφέρεις στο @ONLYOFFICE – και να κάνεις τη διαφορά στο FOSS

    16 πρακτικοί τρόποι συμμετοχής στο οικοσύστημά μας:

    🔹 Πρότεινε νέες λειτουργίες
    🔹 Ανέφερε σφάλματα
    🔹 Δοκίμασε τις beta εκδόσεις
    🔹 Γράψε ή βελτίωσε την τεκμηρίωση
    🔹 Μετάφρασε τη σουίτα στη γλώσσα σου
    🔹 Δημιούργησε AI functions

    📖 Διάβασε το άρθρο:
    onlyoffice.com/blog/el/2026/08

    #ONLYOFFICE #FOSS #OpenSource #OfficeSuite #Community #SelfHosted #Collaboration #Developers #Localization #Plugins #Macros #AI #16Years #Tech

  5. 🧵 16 τρόποι να συνεισφέρεις στο @ONLYOFFICE – και να κάνεις τη διαφορά στο FOSS

    16 πρακτικοί τρόποι συμμετοχής στο οικοσύστημά μας:

    🔹 Πρότεινε νέες λειτουργίες
    🔹 Ανέφερε σφάλματα
    🔹 Δοκίμασε τις beta εκδόσεις
    🔹 Γράψε ή βελτίωσε την τεκμηρίωση
    🔹 Μετάφρασε τη σουίτα στη γλώσσα σου
    🔹 Δημιούργησε AI functions

    📖 Διάβασε το άρθρο:
    onlyoffice.com/blog/el/2026/08

    #ONLYOFFICE #FOSS #OpenSource #OfficeSuite #Community #SelfHosted #Collaboration #Developers #Localization #Plugins #Macros #AI #16Years #Tech

  6. #Editors, make #editing easier on your hands: use #macros! In this post by @AmyJSchneider — on the blog of The Quad, a #MastermindGroup since 2015 — learn about creating macros, using macros, & finding macros created by others. quadlings.com/micro-macros-an- (1/2)

  7. #Editors, make #editing easier on your hands: use #macros! In this post by @AmyJSchneider — on the blog of The Quad, a #MastermindGroup since 2015 — learn about creating macros, using macros, & finding macros created by others. quadlings.com/micro-macros-an- (1/2)

  8. #Editors, make #editing easier on your hands: use #macros! In this post by @AmyJSchneider — on the blog of The Quad, a #MastermindGroup since 2015 — learn about creating macros, using macros, & finding macros created by others. quadlings.com/micro-macros-an- (1/2)

  9. #Editors, make #editing easier on your hands: use #macros! In this post by @AmyJSchneider — on the blog of The Quad, a #MastermindGroup since 2015 — learn about creating macros, using macros, & finding macros created by others. quadlings.com/micro-macros-an- (1/2)

  10. #Editors, make #editing easier on your hands: use #macros! In this post by @AmyJSchneider — on the blog of The Quad, a #MastermindGroup since 2015 — learn about creating macros, using macros, & finding macros created by others. quadlings.com/micro-macros-an- (1/2)

  11. Two quick macros for Helix Editor that you can add to your configuration that are helpful during web dev:

    ```toml
    [keys.normal.m]
    t = "@i<lt>🏷️<gt><esc>a<lt>/🏷️<gt><esc>b*vNc"
    e = "@ctry {<ret><esc>Pji catch (error) {<ret><esc>"

    [keys.select.m]
    t = "@i<lt>🏷️<gt><esc>a<lt>/🏷️<gt><esc>b*vNc"
    e = "@ctry {<ret><esc>Pji catch (error) {<ret><esc>"
    ```

    The first one, m → t, wraps your current selection in an HTML tag that you can begin writing the name of.

    The second one, m → e, wraps your current selection in a JavaScript try/catch block and drops you into the catch.

    If you have any you’ve written and use, do let me know :)

    #HelixEditor #macros #web #dev

  12. Two quick macros for Helix Editor that you can add to your configuration that are helpful during web dev:

    ```toml
    [keys.normal.m]
    t = "@i<lt>🏷️<gt><esc>a<lt>/🏷️<gt><esc>b*vNc"
    e = "@ctry {<ret><esc>Pji catch (error) {<ret><esc>"

    [keys.select.m]
    t = "@i<lt>🏷️<gt><esc>a<lt>/🏷️<gt><esc>b*vNc"
    e = "@ctry {<ret><esc>Pji catch (error) {<ret><esc>"
    ```

    The first one, m → t, wraps your current selection in an HTML tag that you can begin writing the name of.

    The second one, m → e, wraps your current selection in a JavaScript try/catch block and drops you into the catch.

    If you have any you’ve written and use, do let me know :)

    #HelixEditor #macros #web #dev

  13. Two quick macros for Helix Editor that you can add to your configuration that are helpful during web dev:

    ```toml
    [keys.normal.m]
    t = "@i<lt>🏷️<gt><esc>a<lt>/🏷️<gt><esc>b*vNc"
    e = "@ctry {<ret><esc>Pji catch (error) {<ret><esc>"

    [keys.select.m]
    t = "@i<lt>🏷️<gt><esc>a<lt>/🏷️<gt><esc>b*vNc"
    e = "@ctry {<ret><esc>Pji catch (error) {<ret><esc>"
    ```

    The first one, m → t, wraps your current selection in an HTML tag that you can begin writing the name of.

    The second one, m → e, wraps your current selection in a JavaScript try/catch block and drops you into the catch.

    If you have any you’ve written and use, do let me know :)

    #HelixEditor #macros #web #dev

  14. Two quick macros for Helix Editor that you can add to your configuration that are helpful during web dev:

    ```toml
    [keys.normal.m]
    t = "@i<lt>🏷️<gt><esc>a<lt>/🏷️<gt><esc>b*vNc"
    e = "@ctry {<ret><esc>Pji catch (error) {<ret><esc>"

    [keys.select.m]
    t = "@i<lt>🏷️<gt><esc>a<lt>/🏷️<gt><esc>b*vNc"
    e = "@ctry {<ret><esc>Pji catch (error) {<ret><esc>"
    ```

    The first one, m → t, wraps your current selection in an HTML tag that you can begin writing the name of.

    The second one, m → e, wraps your current selection in a JavaScript try/catch block and drops you into the catch.

    If you have any you’ve written and use, do let me know :)

    #HelixEditor #macros #web #dev

  15. Two quick macros for Helix Editor that you can add to your configuration that are helpful during web dev:

    ```toml
    [keys.normal.m]
    t = "@i<lt>🏷️<gt><esc>a<lt>/🏷️<gt><esc>b*vNc"
    e = "@ctry {<ret><esc>Pji catch (error) {<ret><esc>"

    [keys.select.m]
    t = "@i<lt>🏷️<gt><esc>a<lt>/🏷️<gt><esc>b*vNc"
    e = "@ctry {<ret><esc>Pji catch (error) {<ret><esc>"
    ```

    The first one, m → t, wraps your current selection in an HTML tag that you can begin writing the name of.

    The second one, m → e, wraps your current selection in a JavaScript try/catch block and drops you into the catch.

    If you have any you’ve written and use, do let me know :)

    #HelixEditor #macros #web #dev

  16. Learning to Spot Foods that Support Recovery ❤️‍🩹

    Recovery-focused nutrition means looking beyond calories and protein alone.

    Learning how to read nutrition labels allows you to identify foods that provide the nutrients your muscles and body need to repair, adapt, and perform at a high level.

    #recovery #protein #carbs #micronutrients #macros

  17. Learning to Spot Foods that Support Recovery ❤️‍🩹

    Recovery-focused nutrition means looking beyond calories and protein alone.

    Learning how to read nutrition labels allows you to identify foods that provide the nutrients your muscles and body need to repair, adapt, and perform at a high level.

    #recovery #protein #carbs #micronutrients #macros

  18. Learning to Spot Foods that Support Recovery ❤️‍🩹

    Recovery-focused nutrition means looking beyond calories and protein alone.

    Learning how to read nutrition labels allows you to identify foods that provide the nutrients your muscles and body need to repair, adapt, and perform at a high level.

    #recovery #protein #carbs #micronutrients #macros

  19. Specs drift. Handwritten code doesn't keep up. What if JSON, INI Mermaid diagrams, and Markdown were your source of truth - and Rust macros handled the rest?

    Tao Liu demonstrates exactly that: a workflow where structured, human-readable documents are transformed at compile time into strongly typed Rust code, applied to a working RISC-V assembler and linker.

    🔗 oxidizeconf.com/sessions/risc-

    #Oxidize2026 #RustLang #RISCV #Macros #SystemsProgramming

  20. Specs drift. Handwritten code doesn't keep up. What if JSON, INI Mermaid diagrams, and Markdown were your source of truth - and Rust macros handled the rest?

    Tao Liu demonstrates exactly that: a workflow where structured, human-readable documents are transformed at compile time into strongly typed Rust code, applied to a working RISC-V assembler and linker.

    🔗 oxidizeconf.com/sessions/risc-

    #Oxidize2026 #RustLang #RISCV #Macros #SystemsProgramming

  21. Specs drift. Handwritten code doesn't keep up. What if JSON, INI Mermaid diagrams, and Markdown were your source of truth - and Rust macros handled the rest?

    Tao Liu demonstrates exactly that: a workflow where structured, human-readable documents are transformed at compile time into strongly typed Rust code, applied to a working RISC-V assembler and linker.

    🔗 oxidizeconf.com/sessions/risc-

    #Oxidize2026 #RustLang #RISCV #Macros #SystemsProgramming

  22. Specs drift. Handwritten code doesn't keep up. What if JSON, INI Mermaid diagrams, and Markdown were your source of truth - and Rust macros handled the rest?

    Tao Liu demonstrates exactly that: a workflow where structured, human-readable documents are transformed at compile time into strongly typed Rust code, applied to a working RISC-V assembler and linker.

    🔗 oxidizeconf.com/sessions/risc-

    #Oxidize2026 #RustLang #RISCV #Macros #SystemsProgramming

  23. Today I started using #emacs #macros again I think I probably forgot about this and using find and replace/regex replace so gradually stopped using until I stumble across some blog today

    Used it a few times today and learned about repeat-complex-command too #til

  24. Today I started using #emacs #macros again I think I probably forgot about this and using find and replace/regex replace so gradually stopped using until I stumble across some blog today

    Used it a few times today and learned about repeat-complex-command too #til

  25. Today I started using #emacs #macros again I think I probably forgot about this and using find and replace/regex replace so gradually stopped using until I stumble across some blog today

    Used it a few times today and learned about repeat-complex-command too #til

  26. Today I started using #emacs #macros again I think I probably forgot about this and using find and replace/regex replace so gradually stopped using until I stumble across some blog today

    Used it a few times today and learned about repeat-complex-command too #til

  27. Macros Build Muscle for Workout Signals 🥗

    The goal is not to eat recklessly, it is to eat enough so performance, recovery, and muscle repair can keep moving forward.

    👉 Training sends the message, macros provide the materials

    👉 Protein repairs and rebuilds muscle tissue

    👉 Carbs fuel better workout performance

    👉 Fats support the recovery environment

    #macros #carbs #fats #protein #onlinecoach

  28. Macros Build Muscle for Workout Signals 🥗

    The goal is not to eat recklessly, it is to eat enough so performance, recovery, and muscle repair can keep moving forward.

    👉 Training sends the message, macros provide the materials

    👉 Protein repairs and rebuilds muscle tissue

    👉 Carbs fuel better workout performance

    👉 Fats support the recovery environment

    #macros #carbs #fats #protein #onlinecoach

  29. Macros Build Muscle for Workout Signals 🥗

    The goal is not to eat recklessly, it is to eat enough so performance, recovery, and muscle repair can keep moving forward.

    👉 Training sends the message, macros provide the materials

    👉 Protein repairs and rebuilds muscle tissue

    👉 Carbs fuel better workout performance

    👉 Fats support the recovery environment

    #macros #carbs #fats #protein #onlinecoach

  30. 🧵 Νέο @ONLYOFFICE PDF Editor API – Macros για PDF! 🧵

    1. Ανοίγουμε το PDF API της ONLYOFFICE. Τώρα μπορείτε να αλληλεπιδράτε με PDF μέσω κώδικα. Ιδανικό για automation των εργασιών.

    2. Το νέο άρθρο δείχνει 3 macros:

    - Διαγραφή σχολιασμών με keyword
    - Αφαίρεση όλων των σχεδίων
    - Προσθήκη υδατογραφήματος σε κάθε σελίδα

    3. Δείτε τον κώδικα και τις νέες μεθόδους:
    👉 onlyoffice.com/blog/el/2026/04

    #ONLYOFFICE #PDF #API #Macros #OpenSource #FOSS #SelfHosted #PDFEditing #Tech #SelfHosting

  31. 🧵 Νέο @ONLYOFFICE PDF Editor API – Macros για PDF! 🧵

    1. Ανοίγουμε το PDF API της ONLYOFFICE. Τώρα μπορείτε να αλληλεπιδράτε με PDF μέσω κώδικα. Ιδανικό για automation των εργασιών.

    2. Το νέο άρθρο δείχνει 3 macros:

    - Διαγραφή σχολιασμών με keyword
    - Αφαίρεση όλων των σχεδίων
    - Προσθήκη υδατογραφήματος σε κάθε σελίδα

    3. Δείτε τον κώδικα και τις νέες μεθόδους:
    👉 onlyoffice.com/blog/el/2026/04

  32. 🧵 Νέο @ONLYOFFICE PDF Editor API – Macros για PDF! 🧵

    1. Ανοίγουμε το PDF API της ONLYOFFICE. Τώρα μπορείτε να αλληλεπιδράτε με PDF μέσω κώδικα. Ιδανικό για automation των εργασιών.

    2. Το νέο άρθρο δείχνει 3 macros:

    - Διαγραφή σχολιασμών με keyword
    - Αφαίρεση όλων των σχεδίων
    - Προσθήκη υδατογραφήματος σε κάθε σελίδα

    3. Δείτε τον κώδικα και τις νέες μεθόδους:
    👉 onlyoffice.com/blog/el/2026/04

    #ONLYOFFICE #PDF #API #Macros #OpenSource #FOSS #SelfHosted #PDFEditing #Tech #SelfHosting

  33. 🧵 Νέο @ONLYOFFICE PDF Editor API – Macros για PDF! 🧵

    1. Ανοίγουμε το PDF API της ONLYOFFICE. Τώρα μπορείτε να αλληλεπιδράτε με PDF μέσω κώδικα. Ιδανικό για automation των εργασιών.

    2. Το νέο άρθρο δείχνει 3 macros:

    - Διαγραφή σχολιασμών με keyword
    - Αφαίρεση όλων των σχεδίων
    - Προσθήκη υδατογραφήματος σε κάθε σελίδα

    3. Δείτε τον κώδικα και τις νέες μεθόδους:
    👉 onlyoffice.com/blog/el/2026/04

    #ONLYOFFICE #PDF #API #Macros #OpenSource #FOSS #SelfHosted #PDFEditing #Tech #SelfHosting

  34. 🧵 Νέο @ONLYOFFICE PDF Editor API – Macros για PDF! 🧵

    1. Ανοίγουμε το PDF API της ONLYOFFICE. Τώρα μπορείτε να αλληλεπιδράτε με PDF μέσω κώδικα. Ιδανικό για automation των εργασιών.

    2. Το νέο άρθρο δείχνει 3 macros:

    - Διαγραφή σχολιασμών με keyword
    - Αφαίρεση όλων των σχεδίων
    - Προσθήκη υδατογραφήματος σε κάθε σελίδα

    3. Δείτε τον κώδικα και τις νέες μεθόδους:
    👉 onlyoffice.com/blog/el/2026/04

    #ONLYOFFICE #PDF #API #Macros #OpenSource #FOSS #SelfHosted #PDFEditing #Tech #SelfHosting

  35. Please like my photos published on YouTube:

    youtube.com/post/UgkxqAVoNS0SF

    My latest photo project is about #macros in the #goldenhour of an #urban #park in #Berlin. Correspondingly, my latest YouTube photo publication shows the #lichen #Xanthoria #parietina (#Teloschistaceae), which is associated with #algae of #genus #Trebouxia. The yellow color of the ecologically tolerant lichen is due to the anthrachinone #parietin.
    © #StefanFWirth Berlin April 2026

  36. Please like my photos published on YouTube:

    youtube.com/post/UgkxqAVoNS0SF

    My latest photo project is about #macros in the #goldenhour of an #urban #park in #Berlin. Correspondingly, my latest YouTube photo publication shows the #lichen #Xanthoria #parietina (#Teloschistaceae), which is associated with #algae of #genus #Trebouxia. The yellow color of the ecologically tolerant lichen is due to the anthrachinone #parietin.
    © #StefanFWirth Berlin April 2026

  37. Please like my photos published on YouTube:

    youtube.com/post/UgkxqAVoNS0SF

    My latest photo project is about #macros in the #goldenhour of an #urban #park in #Berlin. Correspondingly, my latest YouTube photo publication shows the #lichen #Xanthoria #parietina (#Teloschistaceae), which is associated with #algae of #genus #Trebouxia. The yellow color of the ecologically tolerant lichen is due to the anthrachinone #parietin.
    © #StefanFWirth Berlin April 2026

  38. Please like my photos published on YouTube:

    youtube.com/post/UgkxqAVoNS0SF

    My latest photo project is about #macros in the #goldenhour of an #urban #park in #Berlin. Correspondingly, my latest YouTube photo publication shows the #lichen #Xanthoria #parietina (#Teloschistaceae), which is associated with #algae of #genus #Trebouxia. The yellow color of the ecologically tolerant lichen is due to the anthrachinone #parietin.
    © #StefanFWirth Berlin April 2026

  39. Please like my photos published on YouTube:

    youtube.com/post/UgkxqAVoNS0SF

    My latest photo project is about #macros in the #goldenhour of an #urban #park in #Berlin. Correspondingly, my latest YouTube photo publication shows the #lichen #Xanthoria #parietina (#Teloschistaceae), which is associated with #algae of #genus #Trebouxia. The yellow color of the ecologically tolerant lichen is due to the anthrachinone #parietin.
    © #StefanFWirth Berlin April 2026

  40. Hey #BrownsSocialhouse, you need to fix your #nutrition info. The #Steak #Frites is clearly missing the #macros for the #fries especially with a #carb count that low, and the separate listing for the HCDC fries has a #calorie count that is way too high for those macros. People who have #insulin dependant #diabetes need that info to be accurate when #bolusing, as inaccurate #carbcounting can lead to glucose levels that are either too high or too low. This is why accurate nutrition and #allergen info should be mandatory at all #BritishColumbia restaurants, because the lack of them is a huge barrier for many #disabled people to eat at #restaurants.

  41. Hey #BrownsSocialhouse, you need to fix your #nutrition info. The #Steak #Frites is clearly missing the #macros for the #fries especially with a #carb count that low, and the separate listing for the HCDC fries has a #calorie count that is way too high for those macros. People who have #insulin dependant #diabetes need that info to be accurate when #bolusing, as inaccurate #carbcounting can lead to glucose levels that are either too high or too low. This is why accurate nutrition and #allergen info should be mandatory at all #BritishColumbia restaurants, because the lack of them is a huge barrier for many #disabled people to eat at #restaurants.

  42. Hey #BrownsSocialhouse, you need to fix your #nutrition info. The #Steak #Frites is clearly missing the #macros for the #fries especially with a #carb count that low, and the separate listing for the HCDC fries has a #calorie count that is way too high for those macros. People who have #insulin dependant #diabetes need that info to be accurate when #bolusing, as inaccurate #carbcounting can lead to glucose levels that are either too high or too low. This is why accurate nutrition and #allergen info should be mandatory at all #BritishColumbia restaurants, because the lack of them is a huge barrier for many #disabled people to eat at #restaurants.

  43. Hey #BrownsSocialhouse, you need to fix your #nutrition info. The #Steak #Frites is clearly missing the #macros for the #fries especially with a #carb count that low, and the separate listing for the HCDC fries has a #calorie count that is way too high for those macros. People who have #insulin dependant #diabetes need that info to be accurate when #bolusing, as inaccurate #carbcounting can lead to glucose levels that are either too high or too low. This is why accurate nutrition and #allergen info should be mandatory at all #BritishColumbia restaurants, because the lack of them is a huge barrier for many #disabled people to eat at #restaurants.

  44. Meet #Rust + #DependencyInjection #MacroCrimes:

    Supercharge Rust functions with implicit arguments using CGP v0.7.0

    contextgeneric.dev/blog/v0.7.0

    Absolutely mind-blowing stuff! 🤯

    I think this can be very useful for e.g. #UI libraries - really reminds me of #Vue's provide/inject mechanism:

    vuejs.org/guide/components/pro

    #RustLang #Macros #plt

  45. Meet #Rust + #DependencyInjection #MacroCrimes:

    Supercharge Rust functions with implicit arguments using CGP v0.7.0

    contextgeneric.dev/blog/v0.7.0

    Absolutely mind-blowing stuff! 🤯

    I think this can be very useful for e.g. #UI libraries - really reminds me of #Vue's provide/inject mechanism:

    vuejs.org/guide/components/pro

    #RustLang #Macros #plt

  46. Meet #Rust + #DependencyInjection #MacroCrimes:

    Supercharge Rust functions with implicit arguments using CGP v0.7.0

    contextgeneric.dev/blog/v0.7.0

    Absolutely mind-blowing stuff! 🤯

    I think this can be very useful for e.g. #UI libraries - really reminds me of #Vue's provide/inject mechanism:

    vuejs.org/guide/components/pro

    #RustLang #Macros #plt

  47. Meet #Rust + #DependencyInjection #MacroCrimes:

    Supercharge Rust functions with implicit arguments using CGP v0.7.0

    contextgeneric.dev/blog/v0.7.0

    Absolutely mind-blowing stuff! 🤯

    I think this can be very useful for e.g. #UI libraries - really reminds me of #Vue's provide/inject mechanism:

    vuejs.org/guide/components/pro

    #RustLang #Macros #plt

  48. Meet #Rust + #DependencyInjection #MacroCrimes:

    Supercharge Rust functions with implicit arguments using CGP v0.7.0

    contextgeneric.dev/blog/v0.7.0

    Absolutely mind-blowing stuff! 🤯

    I think this can be very useful for e.g. #UI libraries - really reminds me of #Vue's provide/inject mechanism:

    vuejs.org/guide/components/pro

    #RustLang #Macros #plt

  49. #rust #macros #TIL

    I love rust, but I always kept my distances from lifetimes and macros. I'm trying to get to know macros now. After 2 days of deepseek, Claude, doc.rust-lang.org, ... I'm looking at

    `$in:pat => $out:expr`

    And I still don't really understand why it matches all of the following `enums`:

    ```
    m => O::A(m)
    I::A(m) => m
    I::B => O::B
    ```

    but why "expr => pat" or any other combination does NOT work.

  50. #rust #macros #TIL

    I love rust, but I always kept my distances from lifetimes and macros. I'm trying to get to know macros now. After 2 days of deepseek, Claude, doc.rust-lang.org, ... I'm looking at

    `$in:pat => $out:expr`

    And I still don't really understand why it matches all of the following `enums`:

    ```
    m => O::A(m)
    I::A(m) => m
    I::B => O::B
    ```

    but why "expr => pat" or any other combination does NOT work.

  51. #rust #macros #TIL

    I love rust, but I always kept my distances from lifetimes and macros. I'm trying to get to know macros now. After 2 days of deepseek, Claude, doc.rust-lang.org, ... I'm looking at

    `$in:pat => $out:expr`

    And I still don't really understand why it matches all of the following `enums`:

    ```
    m => O::A(m)
    I::A(m) => m
    I::B => O::B
    ```

    but why "expr => pat" or any other combination does NOT work.

  52. #rust #macros #TIL

    I love rust, but I always kept my distances from lifetimes and macros. I'm trying to get to know macros now. After 2 days of deepseek, Claude, doc.rust-lang.org, ... I'm looking at

    `$in:pat => $out:expr`

    And I still don't really understand why it matches all of the following `enums`:

    ```
    m => O::A(m)
    I::A(m) => m
    I::B => O::B
    ```

    but why "expr => pat" or any other combination does NOT work.

  53. #rust #macros #TIL

    I love rust, but I always kept my distances from lifetimes and macros. I'm trying to get to know macros now. After 2 days of deepseek, Claude, doc.rust-lang.org, ... I'm looking at

    `$in:pat => $out:expr`

    And I still don't really understand why it matches all of the following `enums`:

    ```
    m => O::A(m)
    I::A(m) => m
    I::B => O::B
    ```

    but why "expr => pat" or any other combination does NOT work.