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/)U
Posts
62
Comments
96
Joined
3 yr. ago

bio

  • One thing I haven't seen mentioned is that not moving between mouse and keyboard so much reduces the risk of getting an RSI. So even if it didn't make you faster it would still probably be worth it to find a keyboard based workflow.

    I use Helix and would suggest you try it (at least to start off with) as it is easier to learn than vim and does not require plugins or a complex config. To answer your question I will go from the less to more advanced/complex:

    1. Move a line to a new position in the file/another file (takes a couple of seconds)
      1. x then d to select a line (pressing N times will select N lines) and delete it (delete will also copy to the clipboard)
      2. navigate the cursor to the new location
      3. p to paste in a new
    2. Navigating around a file:
      1. jumping to a function/class definition by pressing g then d when on a function/class usage.
      2. getting a list and navigating to class/function calls when the cursor is on a class/function definition by pressing g then r.
    3. Multi cursor editing - I use this to make edits to multiple places at once. I most recently used this to extract the names of 30 tables that are used in a SQL file. This probably took ~5 seconds and I barely thought about it. To do this I used:
      1. % to select the entire files contents
      2. s to search
      3. typed "FROM "
      4. pressed enter to create cursor at all locations matching the search
      5. v then g then l to select the rest of the line
      6. space+y to copy to the system clipboard.
      7. paste into a document where I needed to list the tables
    4. Using a terminal workspace manager (zellij) with helix and a git tui app (gitui) so that I can easily make code changes, commit, push, ,run tests, move to a new repo and more without leaving the keyboard.

    There is actually a helix community on programming.dev: helix@programming.dev

  • I have definitely found it challenging at times to do even simple things. I think it does get easier over time.

    I really hope the new user experience will improve. Once the issues with flakes are fixed and they are no longer experimental I would expect flakes to replace the other ways of doing things. This will hopefully make the documentation more concise/focused/better. It might also mean more people start using nix/flakes which will surface more of these problems to be fixed.

    I think people need to decide if the benefits they are getting are worth the challenges. I personally really like the reproducibility and the massive amount of packages available from one place. On other distros I have used things have ended up breaking eventually and I have had to re-install things and search for fixes. But on NixOs things keep working.

  • "I'm playing both sides, so that I always come out on top"

  • Most is described here (the author probably has some amount of bias but this is the only summary I know of): https://github.com/KFearsoff/nix-drama-explained

    Other than that some very active contributors resigned as maintainers in support of the open letters.

    And it seems now that the community members in support of the open letters/changes have convinced the board of the foundation to agree on some things.

  • yep, this method didn't work with this method for gitui on my nixos machine either. And a youtube commenter pointed out that LazyGit (inside helix) can't open files to edit. So this method is definitely not perfect but is probably still useful in the right situation

  • What is the app?

  • Could you link to the Lemmy style app please, I haven't heard of this before

  • Why? It is the same power dynamic as any other open source project that is primarily built by a company.

  • From what I read in the HN thread the token is only used for governance (and possibly also fundraising), it is not baked into the actual platform. I am happy to be corrected though if anyone knows more/has more details.

    I agree that Forgejo looks good as well and is likely more usable than Radicle right now. But I do think there is value at looking at P2P solutions.

  • From what I read in the HN thread the token is only used for governance (and possibly also fundraising), it is not baked into the actual platform. I am happy to be corrected though if anyone knows more/has more details.

  • Its really hard to day without more information. You should talk to a doctor. Some other things that could be causing this that noone else has mentioned yet(I can't tell if this applies for you or not based on your post):

    • not enough exercise
    • vitamin d/c deficiencies (you can take supplements of vitamin d in winter time)
    • bad gut microbiome. Try to eat a variety of vegtables as well as prebiotics (fibre, oats) and probiotics (yogurt, kefir,, sourdough ect).
    • try to get regular sleep. I know this is your problem but there may be some things you can do like have a set bedtime, no screens for a while before bed.

    Remember that many people have had similar problems and overcome them. You will just need to work out what works for you. Good luck.

  • This actually sounds really promising!

    • They are teaming up with an existing python package manger written in rust.
    • These are the people who make/made ruff, probably the most useful and fast python linter.
    • you basically get pip from a single binary.
    • they plan to have cargo/poetry like functionality in the future.

    Edit: here is a blog post from the creator of rye talking about rye and UV: https://lucumr.pocoo.org/2024/2/15/rye-grows-with-uv/

  • Sorry about this. I just found the video interesting when it popped up on my feed.

  • I don't know about the history of this creator, I just found this particular video interesting when it popped up. Sorry if this creator is known to be untrustworthy.

  • Thank you Ategon and all the other admins for the work you are doing to make this place great.

  • Green - An environmentalist community @lemmy.ml

    The influencers being paid by fossil fuel companies

  • Green - An environmentalist community @lemmy.ml

    Is Veganism really the answer?

  • Videos @lemmy.world

    Can Lego created a cortex in a sphere?

  • Programming @programming.dev

    Effortless dev environments with Nix and direnv · Determinate Systems

    determinate.systems /posts/nix-direnv
  • Privacy Guides @lemmy.one

    Google's trying to DRM the internet, and we have to make sure they fail

    par1.iv.ggtyler.dev /watch
  • Technology @lemmy.ml

    Framework Sold Out of 3 Batches of Laptop 16 in Less Than 3 Hours.

  • Technology @lemmy.world

    Framework Sold Out of 3 Batches of Laptop 16 in Less Than 3 Hours.

  • Green - An environmentalist community @lemmy.ml

    Parking Laws Are Strangling America | Climate Town

  • Videos @lemmy.world

    The Mouse Utopia Experiments | Down the Rabbit Hole

  • Python @lemmy.ml

    Check type annotations in Python with mypy

    opensource.com /article/19/5/python-mypy
  • Python @programming.dev

    Check type annotations in Python with mypy

    opensource.com /article/19/5/python-mypy
  • Text Editors @programming.dev

  • Text Editors @programming.dev

  • Technology @lemmy.world

    Eva steps down - Fairphone

    www.fairphone.com /en/2023/06/28/eva-steps-down/
  • You Should Know @lemmy.world

    YSK: about wefwef, a mobile friendly 'Apollo like' Lemmy web app. By far the best mobile experience I have tried so far.

    wefwef.app
  • Text Editors @programming.dev

    Helix: A vim/Kakoune like text editor with modern features built in

    helix-editor.com
  • Permaculture, Sustainable Design, Homesteading, Off-Grid Living, Natural Building, and more @lemmy.world

    The buildings constructed from cannabis

    www.bbc.com /future/article/20230614-the-buildings-constructed-from-cannabis
  • Linux @lemmy.ml

    That Computer Scientist - Nix is the New Arch!

    thatcomputerscientist.com /weblog/nix-is-the-new-arch
  • Framework Laptop Community @lemmy.ml

    Framework Laptop 16 Deep Dive - Enclosure

    frame.work /gb/en/blog/framework-laptop-16-deep-dive---enclosure
  • Technology @lemmy.world

    Exclusive: Here's our first look at the Fairphone 5

    www.androidauthority.com /fairphone-5-3336135/