home.social

Search

367 results for “czietz”

  1. #Swift concurrency question:

    Do y'all migrate #RxSwift view-updating closures (e.g. RxCocoa.Binder's blocks) to MainActor-isolated closures, or do you do something different entirely?

  2. The depicted code on its own doesn't make much sense for you, but what I see here is a template for same-ish behavior that I can refactor and reuse:

    1) find existing inline token ranges

    2) remove the markup pieces (backticks, parens, brackets, asterisks, underscores, ...) from all occurrences in the selected range (expanded to full "words")

    3) in cases of italics, bold, and inline code, wrap the result in markup again *if* the intent seems to be to unify 2+ spans into one

    #textkit

  3. I wonder why #Emacs #eshell, of all the shells, doesn't do the "remove stuff from the buffer and overwrite it" trick while more primitive terminal emulators can

  4. 🏁 Milestone reached!

    This "Inline Code" shortcut implementation

    1. detects all existing inline code spans in the document
    2. removes their backticks
    3. wraps the result in a new pair of backticks.

    All in 27 lines of code 🎉

    (And many hundred lines of text mutation library and token tree traversal)

    #swift #textkit #markdown

  5. #emacs nerds, can you help me with the name of a concept?

    We have multiple modes that collect snippets from other buffers, e.g. in `occur-mode`, rg.el, or #embark's "collect" buffers that are editable and will change the original location accordingly.

    I'm thinking of "transclusion" here, but the most Emacs-y thing that comes to mind is, well, 'occur-mode' itself, but what's the name of concept of what occur.el does? 🤔

  6. It lives, and it works!

    github.com/CleanCocoa/Declarat

    With this, I can now add wrappers to detect ranges in text buffers based on my AST/token tree information in the app and test-drive everything.

    #textkit #swift

  7. It's May 2nd!

    Two days ago, the results were discouraging, so now that the deadline has passed, I ask again :)

    Where can I steal *your* Privacy Manifest build step instructions for #SwiftPM packages and #Xcode frameworks?

  8. Did y'all write Privacy Manifests for your #Xcode / #SwiftPM projects?

    Still need to update packages I use and/or maintain 😥

  9. Do I know any #MIDI message format experts?

    Using #CoreMIDI I can get 256 bytes with multiple messages inside, e.g. for 2 instruments simultaneously playing a note.

    The CoreMIDI "MIDI Packet" contains e.g. messages with 1 status byte and 2 data bytes for one message,
    followed by multiple bytes that are 0x0 zero,
    followed by 0x48 or 0b01001000 -- aka a data byte (highest bit is 0), but there is no status byte before that.

    I can't make sense of these non-zero non-status bytes

  10. Remember when #alistapart was an excellent resource with stellar design for web development and web design?

    Now what on earth is this comment button and the social sharing ellipse madnes?

    This is so tasteless, I wonder if the project was bought

  11. After so many people were amazed by #latexmk's capabilities to auto-refresh a LaTeX document preview, check this out:

    latex-lsp/texlab: An implementation of the Language Server Protocol for LaTeX github.com/latex-lsp/texlab?ta

    I didn't think there would be a language server for TeX documents but there you go!

    In #Emacs/#Eglot, you now get auto-completion of all macros that are loaded by your project, even your own. 🤯

    #texlatex #lsp

  12. Proofing a LaTeX-exported book PDF in #Emacs #pdftools is really nice with `synctex` and stuff active:

    I can go to the source for each PDF with a single click, and when I change it, `latexmk` auto-compiles and updates the PDF which is immediately redisplayed in the preview window.

  13. I hate that I can't figure out how to disable clever ligarues, or babel shorthands, or whatever is causing

    ,,?``

    to render as

    „¿‘

    Of course I'm using #xelatex and the no. 1 stack overflow answer then doesn't apply

    #TeXLaTeX

  14. I hate that I can't figure out how to disable clever ligarues, or babel shorthands, or whatever is causing

    ,,?``

    to render as

    „¿‘

    Of course I'm using #xelatex and the no. 1 stack overflow answer then doesn't apply

    #TeXLaTeX

  15. I hate that I can't figure out how to disable clever ligarues, or babel shorthands, or whatever is causing

    ,,?``

    to render as

    „¿‘

    Of course I'm using #xelatex and the no. 1 stack overflow answer then doesn't apply

    #TeXLaTeX

  16. I hate that I can't figure out how to disable clever ligarues, or babel shorthands, or whatever is causing

    ,,?``

    to render as

    „¿‘

    Of course I'm using #xelatex and the no. 1 stack overflow answer then doesn't apply

    #TeXLaTeX

  17. I hate that I can't figure out how to disable clever ligarues, or babel shorthands, or whatever is causing

    ,,?``

    to render as

    „¿‘

    Of course I'm using #xelatex and the no. 1 stack overflow answer then doesn't apply

    #TeXLaTeX

  18. #Emacs users of #Embark and #Vertico need to switch to the multiform/grid display.

    It's amazing, combining which-key like columnar display with completing-read filtering.

    hachyderm.io/@goofansu/1121610

  19. and thus, another day of PHP coding in emacs ensues.

    I'm really happy with #yasnippets -- I used almost an identical facility in TextMate back in the day. Great for boilerplate reduction.

  20. @godlike I'm currently switching between #Intelephense (paid) and #PHPActor -- I'd love a combination of both. :)

  21. @godlike I'm currently switching between #Intelephense (paid) and #PHPActor -- I'd love a combination of both. :)

  22. @godlike I'm currently switching between #Intelephense (paid) and #PHPActor -- I'd love a combination of both. :)

  23. @godlike I'm currently switching between #Intelephense (paid) and #PHPActor -- I'd love a combination of both. :)

  24. @godlike I'm currently switching between #Intelephense (paid) and #PHPActor -- I'd love a combination of both. :)

  25. Had the weirdest support interaction, yet.

    It turns out that someone wanted a refund for an app. No problem. #FastSpring thankfully reached out to me and I resolved the issue.

    What I received for 2 days, though, were emails with all-caps subjects in Portuguese. I deleted these without even looking close as spam. Mods in our forum did the same there, it turns out.

    I still can't quite grasp that someone bought an app on an English website and then email in their own language.

  26. The Magic of Property Testing
    youtube.com/watch?v=4bpc8NpNHR

    @krisajenkins followed up on Property-Based Testing and I love the demo.

    Also #Purescript looks cools

    #pbt

  27. SwiftUI Challenge: 🏆

    Can You Port this from #AutoLayout to #SwiftUI? Does it take you 10 minutes (like Auto Layout), less or more?

    christiantietze.de/posts/2024/

    Share your solutions! 🔥

  28. 🗒️ "Developer Voices" on Property-Based Testing Made Me Realize PBT’s Value christiantietze.de/posts/2024/

    None of what I took away from the linked podcast is a replacement for unit tests.

    But it does sound like a much better high-level approach to regression testing and describing the rough behavior of systems!

    Like host @krisajenkins says: PBT usually sounds impractical, but interesting in theory.

    Now I feel like something new has opened up, and that is exciting.

    #propery-based-testing

  29. 🗒️ "Developer Voices" on Property-Based Testing Made Me Realize PBT’s Value christiantietze.de/posts/2024/

    None of what I took away from the linked podcast is a replacement for unit tests.

    But it does sound like a much better high-level approach to regression testing and describing the rough behavior of systems!

    Like host @krisajenkins says: PBT usually sounds impractical, but interesting in theory.

    Now I feel like something new has opened up, and that is exciting.

    #propery-based-testing

  30. 🗒️ "Developer Voices" on Property-Based Testing Made Me Realize PBT’s Value christiantietze.de/posts/2024/

    None of what I took away from the linked podcast is a replacement for unit tests.

    But it does sound like a much better high-level approach to regression testing and describing the rough behavior of systems!

    Like host @krisajenkins says: PBT usually sounds impractical, but interesting in theory.

    Now I feel like something new has opened up, and that is exciting.

    #propery-based-testing