neovim Neovim keymap to inspect unsaved changes
Jump
dataisbeautiful Data Is Beautiful Keyboard shortcuts visualization
Jump
dataisbeautiful Data Is Beautiful Keyboard shortcuts visualization
Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    1 month ago 100%

    Why? The purpose of this project was for me to see which keys I press more often so I know which fingers get stressed, and it exactly what the project does

    3
  • opensource Opensource Keyboard shortcuts visualization
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    1 month ago 100%

    Thank you for clarification!

    I don't really understand how can specific programs map the Meta key as something. Isn't it the job of the driver to map key-presses to input events (which are then passed to display server by evdev)?

    3
  • opensource Opensource Keyboard shortcuts visualization
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    1 month ago 100%

    I thought it meant the same, Meta/Super/Windows

    I saw these used in documentation interchangeably

    3
  • opensource Opensource Keyboard shortcuts visualization
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    1 month ago 100%

    I'm using a tiling window manager and neovim as my main editor, so I have to use hot-keys quite a lot As for the caps, I have it remapped to control

    2
  • dataisbeautiful
    Data Is Beautiful andnekon 1 month ago 87%
    Keyboard shortcuts visualization

    cross-posted from: https://programming.dev/post/18098231 > Have you ever wondered if your keyboard shortcuts are set up optimally? Well, I did, so I decided to visualize it with a heat-map. > > It proved to me that I rely on my left pinky too much, so I'll try to rework my shortcuts. > > You can check out the project [here](https://github.com/AndreiNekrasOn/keyboard_heatmap), currently it only works on Linux.

    29
    15
    opensource
    Opensource andnekon 1 month ago 94%
    Keyboard shortcuts visualization

    Have you ever wondered if your keyboard shortcuts are set up optimally? Well, I did, so I decided to visualize it with a heat-map. It proved to me that I rely on my left pinky too much, so I'll try to rework my shortcuts. You can check out the project [here](https://github.com/AndreiNekrasOn/keyboard_heatmap), currently it only works on Linux.

    32
    15
    unixporn Unixporn [SwayFX] Minimal and Immutable Nord with Fedora Sericea.
    Jump
    python Python Counting CPU Instructions in Python
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    7 months ago 100%

    I doubt it's useful for performance evaluation, however, if you are writing a paper and want to compare your algorithm to an existing one, this can be handy

    3
  • linux4noobs linux4noobs [SOLVED] Ubuntu disk space usage after upgrade from 20.04 to 22.04
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    7 months ago 100%

    I want to thank everyone for the help!

    I was finally able to find the issue. Thanks to @slappy@lemmy.blahaj.zone 's question regarding my filesystem type, I decided to look into it.

    I use btrfs, and this command showed me, that I have a lot of snapshots made by apt.

    $ sudo btrfs subvolume list -s /         
    ...
    ID 318 gen 2617038 cgen 2566262 top level 5 otime 2024-02-13 06:59:10 path @apt-snapshot-release-upgrade-jammy-2024-02-13_06:59:10
    

    It was probably possible to determine how much space each of them was occupying, but I decided to simply delete them all and be done with the issue. So I installed apt-btrfs-snapshot and run delete-older-than 0d.

    As a result, I now have 29 Gb and no backups, which is fine with me.

    This answer on askubuntu was useful

    1
  • linux4noobs linux4noobs [SOLVED] Ubuntu disk space usage after upgrade from 20.04 to 22.04
    Jump
    linux4noobs linux4noobs [SOLVED] Ubuntu disk space usage after upgrade from 20.04 to 22.04
    Jump
    linux4noobs linux4noobs [SOLVED] Ubuntu disk space usage after upgrade from 20.04 to 22.04
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    7 months ago 100%

    lsof -a +L1 / lsof -a +L1 /home

    No, the output of these commands is empty. U also tried running with +L, in both cases most of the files were ~100Kb, largest was telegram in /opt with 150Mb.

    Is it safe to remove /var/log? I almost never read logs anyway

    1
  • linux4noobs linux4noobs [SOLVED] Ubuntu disk space usage after upgrade from 20.04 to 22.04
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    7 months ago 100%

    I run dual boot windows/ubuntu, nvme0n1p1 is efi system partition, p2-p5 are windows-reserved, and p6 is linux-swap.

    Also, I didn't mention it in the post, but I recently grew linux partition up for around 16GB. I rebooted into windows several times after that, and everything was fine before the update.

    / and /home is just how I set it up.

    /var seems to take up only 1.2 GB. I don't know, how can I check for any 'cruft'

    ::: spoiler spoiler

    :::

    1
  • linux4noobs linux4noobs [SOLVED] Ubuntu disk space usage after upgrade from 20.04 to 22.04
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    7 months ago 100%

    Running sudo apt-get autoclean && sudo apt-get autoremove was the first thing I tried.

    I am not sure, how do I interpret output of apt-cache stats?

    ::: spoiler spoiler

    Total package names: 126893 (3,553 k)
    Total package structures: 122145 (5,374 k)
      Normal packages: 81989
      Pure virtual packages: 2797
      Single virtual packages: 22954
      Mixed virtual packages: 2708
      Missing: 11697
    Total distinct versions: 101553 (8,937 k)
    Total distinct descriptions: 180829 (4,340 k)
    Total dependencies: 609988/159599 (14.8 M)
    Total ver/file relations: 32564 (782 k)
    Total Desc/File relations: 49757 (1,194 k)
    Total Provides mappings: 50727 (1,217 k)
    Total globbed strings: 239740 (5,895 k)
    Total slack space: 65.4 k
    Total space accounted for: 47.7 M
    Total buckets in PkgHashTable: 196613
      Unused: 109956
      Used: 86657
      Utilization: 44.0749%
      Average entries: 1.40952
      Longest: 17
      Shortest: 1
    Total buckets in GrpHashTable: 196613
      Unused: 103120
      Used: 93493
      Utilization: 47.5518%
      Average entries: 1.35725
      Longest: 8
      Shortest: 1
    
    

    :::

    1
  • linux4noobs linux4noobs [SOLVED] Ubuntu disk space usage after upgrade from 20.04 to 22.04
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    7 months ago 100%

    I've already tried rebooting (as mentioned in the post, I've run GParted 'check' from liveUSB, reboot after. Also, I've done it seperately). And ncdu shows basically the same result as baobab — it doesn't add up to 93% disk usage from df

    1
  • linux4noobs
    linux4noobs andnekon 7 months ago 100%
    [SOLVED] Ubuntu disk space usage after upgrade from 20.04 to 22.04

    Hello, everyone. Recently I finally decided to update my system, and right after the update ran into a problem: before update baobab showed ~22 GB avaliable space, and after the update it went down to around 8. Here's some info, that might be relevant: df output: ``` Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 788700 1976 786724 1% /run /dev/nvme0n1p8 53050368 48246568 4054792 93% / tmpfs 3943496 0 3943496 0% /dev/shm tmpfs 5120 4 5116 1% /run/lock /dev/nvme0n1p8 53050368 48246568 4054792 93% /home /dev/nvme0n1p7 998060 133944 795304 15% /boot /dev/nvme0n1p1 364544 89768 274776 25% /boot/efi tmpfs 788696 104 788592 1% /run/user/1000 ``` `du -h /` shows 23G, `du -h /home` — 13G. Overall I have 54.3G disk space, so (23+13)/54 doesn't add up to 93% `sudo lsof | grep deleted | wc -l` shows 8433 deleted files that are still in use. I also tried booting with liveUSB and running 'check' on partition via GParted. I did some research online: - https://forum.manjaro.org/t/baobab-shows-14gb-less-usage-where-is-the-rest/109527 - seems like a similar problem, but does not address huge du/df difference, also doesn't provide solution for me - https://unix.stackexchange.com/questions/414417/du-not-accounting-for-space-shown-by-df helped me understend difference between du/dh, so I provided output of lsof as suggested. - a lot of other stackoverflow posts, all having similar answers, that didn't help me I tried some methods to locate what consumes all the space, but couldn't figure it out. Also, the problem seems to be getting worse (right now baobab shows only ~5GB avaliable space). Can you help me find the source of the problem (and ideally also help me solve it :) )?

    12
    9
    no_stupid_questions
    Is it safe to move unallocated partition past Windows Recovery Image?

    Hello. I have Windows - Ubuntu dual boot and I'm trying to move space from Windows to Ubuntu. I've already freed space from the Windows side ![](https://programming.dev/pictrs/image/a24e3bc1-3639-415e-bdb3-63a865efa0ee.jpeg) I'm pretty sure that I've read online that it can be dangerous to move the unallocated partition, because next boot to windows can corrupt my Ubuntu system. Is it true? Also, when I'm trying to move the unallocated partition, there's no option to "move/resize", so I swap them with the next following partition one by one. Is it the right way to do it? ![](https://programming.dev/pictrs/image/a4aae5b6-348d-4e9e-a72a-9d143bf9faf6.jpeg)

    6
    2
    java Java Quite surprised by the negativity towards Java in this thread about Sublinks, a Java-based Lemmy alternative. Is it that bad?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    8 months ago 14%

    Java is a boilerplate-driven language designed for writing verbose, object oriented, instant-legacy code

    -5
  • programmer_humor Programmer Humor git commit -m "minor fixes" +26858 -69429
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    8 months ago 93%

    If you don't know what you've done within a commit, it probably shouldn't be a single commit, with or without AI Although if you're talking about using AI to make funny commit-messages...

    13
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearUN
    Unixporn andnekon 8 months ago 90%
    [GNOME] Catppuccin, neovim and anime-girls

    Does this even count?

    54
    3
    programming Programming I'm Not Participating in This Year's Advent of Code For Very Good Reasons
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    10 months ago 100%

    After day 5 part 2 I take it back, it's not fun anymore it's suffering. This is my first time doing aoc, I didn't know what I was getting myself into.

    9
  • programming Programming I'm Not Participating in This Year's Advent of Code For Very Good Reasons
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    10 months ago 100%

    "Doing Work Outside of Work is Fucking Stupid" - completely disagree with this take. I got into programming because I like it, and the challenges in aoc are fun. I'm not doing work outside of work, I'm having fun outside of work, and it's alright to invest about an hour of my time into it. Also, you don't have to chase the leaderboards? You can just do it in the comfortable pase, it's not like the internet points mean something

    30
  • advent_of_code Advent Of Code How will you be tackling the challenges this year?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAN
    andnekon
    10 months ago 100%

    It's my first time participating, and I'll be sticking with Java since I'm getting ready to interview, but might switch to Go midway through if I get bored

    1
  • programming Programming I've lately been making my git commit messages with AI
    Jump
    rust Rust Is there something like /r/learnrust around here?
    Jump