[-] uthredii@programming.dev 1 points 1 day ago* (last edited 1 day ago)

I have run Fedora and NixOS on my framework. Both run well, Fedora is equal/close equal to Ubuntu in ease of use.

36

Homebrew is the most popular package manager on MacOS, and for good reason. However personally, I believe that Nix is more powerful.

94

TL;DR: uv is an extremely fast Python package manager, written in Rust.

-6
submitted 3 months ago by uthredii@programming.dev to c/gaming@lemmy.ml

cross-posted from: https://programming.dev/post/17763625

Datamining youtuber found some stuff.

6

Datamining youtuber found some stuff.

27

Came out a few days ago, but I thought it was worth posting here =)

[-] uthredii@programming.dev 9 points 4 months ago* (last edited 4 months ago)

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

27
[-] uthredii@programming.dev 10 points 5 months ago* (last edited 5 months ago)
35

cross-posted from: https://programming.dev/post/13537798

Exciting Partnership Announcement: Framework Community & NixOS Communities Join Forces!

23
submitted 6 months ago by uthredii@programming.dev to c/nixos@lemmy.ml

cross-posted from: https://programming.dev/post/13537798

Exciting Partnership Announcement: Framework Community & NixOS Communities Join Forces!

41
[-] uthredii@programming.dev 18 points 6 months ago* (last edited 6 months ago)

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.

16
33
[-] uthredii@programming.dev 10 points 8 months ago* (last edited 8 months ago)

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.

62
[-] uthredii@programming.dev 11 points 9 months ago* (last edited 9 months ago)

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/

[-] uthredii@programming.dev 10 points 9 months ago

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

[-] uthredii@programming.dev 46 points 9 months ago

In this regard, AI-generated code resembles an itinerant contributor, prone to violate the DRY-ness [don't repeat yourself] of the repos visited.

So I guess previously people might first look inside their repo's for examples of code they want to make, if they find and example they might import it instead of copy and pasting.

When using LLM generated code they (and the LLM) won't be checking their repo for existing code so it ends up being a copy pasta soup.

[-] uthredii@programming.dev 40 points 10 months ago* (last edited 10 months ago)

Doc martens are not so great quality now. The general consensus is that Solovair are the spiritual successor (in terms of quality) to what Dr Martens were. This video has more info: https://youtu.be/vkhCcvfVHRs?si=21bH9fSvkNgmjwm1

For laptops O would recommend framework laptops. The idea is that they have upgradable and repairable.modules. You can follow them on mastodon too: @frameworkcomputer@fosstodon.org And we have a Lemmy community too: !framework@lemmy.ml

[-] uthredii@programming.dev 18 points 11 months ago

Discourse and Lemmy are both based around topics/communities so hopefully there will be better federation here. E.g. being able to follow a discourse topic from lemmy would be really cool.

Hopefully they have done this in a way where Lemmy can federate with then easily.

[-] uthredii@programming.dev 32 points 1 year ago* (last edited 1 year ago)

I think it depends on the website. There are some websites where chrome will work better either because chrome works better with certain libraries/technologies or because the developers put more time into optimizing for chrome.

On the other hand Firefox might have less bloat around telemetry that gives it an advantage too.

[-] uthredii@programming.dev 41 points 1 year ago

Previous products took much longer for batches to sell out. Even the AMD framework 13 laptops didn't sell this fast and they were the #1 thing the community had been asking for for about a year.

We (sadly) can't tell how many units are in a batch. But we can tell that demand is far exceeding their expectations.

view more: next ›

uthredii

joined 1 year ago
MODERATOR OF