[–] 4 points 1 month ago

Usually regex by it self is shown with / delimiter. Using it on code is language-specific. On rust you normally use r#"<regex>"#, on javascript you can just /<regex>/, but that's just the language's definition, not regex.

  • source
  • parent
  • context
  • [–] 42 points 1 month ago (2 children)

    When search results are just links to content related to a topic, the provider isn't responsible for the accuracy of the content, which is created by others.

    Maybe google should try to make a service that just shows links to useful pages to answer the search requests.

  • source
  • parent
  • context
  • [–] 2 points 1 month ago

    Exactly! Making a DSL and using it like a programming language introduces necessities that will not be considered as throughly if they where added to a "real" language.

    I once wanted a DSL for a calendar program I was making (so the user could define complex events and stuff). So I made a simple programming language that could be embedded in the program, kinda like how lua is commonly used.

  • source
  • parent
  • context
  • [–] 10 points 1 month ago (3 children)

    Vim has several modes. INSERT mode let's you write text, NORMAL mode let's you navigate (with h,j,k,l and others) and perform operations on the text with your keyboard, like "dw" to Delete Word or "A" to enter insert mode at the end of the line.

    You can use arrow keys to navigate in insert mode. However I just press escape, which changes to normal, navigate to where I want to, then change to insert mode.

    I may seem like this makes simple navigation complex, and it kinda does. But complex navigation becomes easier.

    Vi (and vim and neovim)'s primary concern is viewing and editing code, writing is secondary (although it's still an excellent experience)

  • source
  • parent
  • context
  • [–] 73 points 1 month ago (10 children)

    Oh yeah!

    Before I had septum surgery and I'd get constant congestion I thought that jerking off actually helped me to breath better. Honestly I actually thought it was placebo, nut apparently not!

  • source
  • submitted 5 months ago* (last edited 5 months ago) by to c/lemmyconnect@lemmy.ca
     

    Bug Report

    Describe the issue: This post's preview image failed to load and was rendered on top of the title. I've only seen this happening to this exact post, so I'm not sure if this has something to do with the image failing do decompress.

    PS the fail on the images rendering is: Failed to decompress image.

    PSS if you wish I test something I'm happy to help

    lemmy post

    Steps to reproduce:

    1. Open post

    Device Information

    • App Version: 1.0.415 (415)
    • Platform: android
    • OS Version: UP1A.231005.007.M346BXXU7CXL3
    • Notice: Using legacy Shared Preferences

    Modified Settings

    The following settings have been changed from defaults:

    • shouldShowCrossposts: false (default: true)
    • commentTextStyle: bodySmall (default: bodyLarge)
    • mediaSecondaryAction: download (default: none)
    • showFullVotes: true (default: false)
    • isImageTapToClose: false (default: true)
    • shouldImageConvertWebp: false (default: true)
    • shouldStackDuplicatePosts: false (default: true)
    • colourPrimary: 4287749631 (default: null)
    • nsfwView: Show (default: Blur)
    • postActions: [comment, save, none] (default: [comment, save, none, crosspost])
    • swipeActionsPost: [upvote, upvote, save] (default: [upvote, save, hide])
    • shouldVideoAutoplay: never (default: always)
    • shouldRemembercommentPosition: false (default: true)
    • shouldResolveOpenGraph: false (default: true)
    • theme: amoled (default: system)
    • enableHistory: false (default: true)
    • displayUserVoteTotals: false (default: true)
    • imageDomainRewrites: {} (default: {})
    submitted 6 months ago* (last edited 5 months ago) by to c/lemmyconnect@lemmy.ca
     

    Bug Report

    Describe the issue:

    Steps to reproduce:

    1. Open a community or post
    2. Open three dot menu
    3. Click "settings"

    Device Information

    • App Version: 1.0.343 (343)
    • Platform: android
    • OS Version: UP1A.231005.007.M346BXXU7CXL3
    • Notice: Using legacy Shared Preferences

    Modified Settings

    The following settings have been changed from defaults:

    • commentTextStyle: bodySmall (default: bodyMedium)
    • mediaSecondaryAction: download (default: none)
    • enableCommentNavigator: false (default: true)
    • showFullVotes: true (default: false)
    • shouldHighlightNewComments: true (default: false)
    • shouldStackDuplicatePosts: false (default: true)
    • colourPrimary: 4287749631 (default: null)
    • nsfwView: show (default: blur)
    • postActions: [comment, save, none] (default: [comment, save, none, crosspost])
    • swipeActionsPost: [upvote, upvote, save] (default: [upvote, save, hide])
    • shouldVideoAutoplay: false (default: true)
    • shouldRemembercommentPosition: false (default: true)
    • shouldResolveOpenGraph: false (default: true)
    • theme: amoled (default: system)
     

    Bug Report

    Describe the issue: The commenter's name should be in the contrast color since they are also the poster.

    Steps to reproduce:

    1. Open the post and search for the comment

    Device Information

    • App Version: 1.0.316 (316)
    • Platform: android
    • OS Version: UP1A.231005.007.M346BXXU7CXL3

    Modified Settings

    The following settings have been changed from defaults:

    • commentTextStyle: bodySmall (default: bodyMedium)
    • mediaSecondaryAction: download (default: none)
    • enableCommentNavigator: false (default: true)
    • showFullVotes: true (default: false)
    • shouldHighlightNewComments: true (default: false)
    • shouldImageConvertWebp: false (default: true)
    • colourPrimary: 4287749631 (default: null)
    • nsfwView: show (default: blur)
    • postActions: [comment, save, none] (default: [comment, save, none, crosspost])
    • swipeActionsPost: [upvote, upvote, save] (default: [upvote, save, hide])
    • shouldVideoAutoplay: false (default: true)
    • shouldRemembercommentPosition: false (default: true)
    • theme: amoled (default: system)
    view more: next ›