Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)V
Posts
10
Comments
185
Joined
3 yr. ago

  • Context: this happens if you use patch(1) with patches generated by git format-patch. If you do, you should be using git am instead.

  • Lawndesk. Its not on play store, you have to download apk from github, but it does not have a drawer.

    Every app is on the desktop, i organise them into folders and have a single home page with all the apps.

  • I wouldn't call it state-of-the-art, but rather maybe most-straightforward or database-agnostic or as-simple-as-they-get

  • I use helix btw

  • Yes. Highlighting, these selection actions and symbol detection all work with tree-sitter grammars. The whole premise of the editor is a modern-modal-editing with tree-sitter grammars.

  • I'm a bit surprised helix editor is not mentioned. It is based on tree-sitter grammars and allows for stuff like select-around-function or select-around-argument, to use grammar in the code navigation. Pretty wild and useful.

  • Thank thee

  • Hmm, i tried to make a joke about thanking both parent posters, which makes them a plural noun, which makes thou wrong as it is only used for singular.

    But i guess i was wrong in an orthogonal dimension as well.

  • Ok, i'm on board. Thank thou two

  • Yeah, but I think it is speaking in first person, about itself. So it should be "I saw" and "I think", regardless of its pronouns in third person.

  • Yea, but socket is not a file. Maybe if you stretch the definition.

    Well in any case, when people say that linux is great because everything is a file, they either mean that:

    • they can edit configuration of most things with a text editor, or that
    • in bash (and other shells) it is easy to work with byte streams, piping them from one process to another and compose complex behaviour from simple commands.
  • It could be a process, which you can talk to only via an IPC call. For example, dbus

  • You are either a crazy nutjob or a genius thinker. Interesting idea

  • Wikipedia to the rescue:

    However, some formats (ex., HDV, DVCPRO HD) use non-square pixels internally for image storage, as a way to reduce the amount of data that must be processed, thus limiting the necessary transfer rates and maintaining compatibility with existing interfaces.

    Actual displays do not generally have non-square pixels, though digital sensors might;

    TLDR; some formats use non-square pixels for reducing file size, some digital sensors has non-square pixels.

  • Does anyone know why anyone would want to encode their video using PAR != 1? Reducing the file size, by storing less pixels in one dimension, but not the other?

  • I'm assuming guacamole is communism? What avocado?

  • Did Nextcloud get any more performant in the last 5years, or did the Austrian ministry shoot itself in the foot?

  • Two great questions!

    First one comes down to how database query optimization and predicate pushdown in particular. In this case, albums would probably have an index on albums.id column, which would optimize get_album_by_id into a single index lookup. Ideally, I would want to have an explicit function for this, something like sql::from_index("albums", "id", 3), but there is no such thing as explicit index lookup in PostgreSQL right now.

    Regarding different function syntaxes:

    • curly braces { ... } construct a new tuple (think object, struct, record),
    • parenthesis are used for precedence. They are not strictly needed for function bodies, but they do give a better visual guide to multi-line definitions, especially when using pipe operator.

    So:

     lt
        
    func something() -> { ... }  # constructs a new tuple
    func something() -> ( ... )  # returns a value
    func something() -> ...      # equivalent to ( ... )
    
      

  • I think that ORMs work great for 90% of cases, and abismally for the rest. They are also limited by the syntax and semantics of the language they are embedded in. For example, if you refer to a non-existing column, it would take a call to database to figure that out, and a cryptic error message with non-helpful code span.

  • Programming @programming.dev

    Lutra: General-Purpose Query Language

    lutra-lang.org
  • Programming @programming.dev

    Lutra: General-Purpose Query Language

    lutra-lang.org
  • Selfhosted @lemmy.world

    Anyone running Sandstorm?

  • Programming @programming.dev

    Flutter is kinda good

  • Programmer Humor @programming.dev

    10000 line PR? LGTM, lol

  • Programming @programming.dev

    Coders or lemmy, what editors do you use? Is it worth learning a new one?

  • Programmer Humor @programming.dev

    Still relevant, just substitute for win 11

    xkcd.com /528/
  • Selfhosted @lemmy.world

    Electricians of fediverse, should I have my selfhosting box grounded?

  • Programmer Humor @programming.dev

    Yes, github, I want to dagger you

  • Selfhosted @lemmy.world

    Lemmings, what's your self hosted server power usage?