[-] andnekon@programming.dev 14 points 1 month ago

I don't get why I don't like Rust then

[-] andnekon@programming.dev 5 points 1 month ago

Now try opening js interpreter and doing the same.

Also, try 0.1+0.2 in python interpreter.

[-] andnekon@programming.dev 7 points 2 months ago

I have it remapped to control

[-] andnekon@programming.dev 6 points 2 months ago

Mine made me want to hide all my public repos :')

29

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, currently it only works on Linux.

36

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, currently it only works on Linux.

[-] andnekon@programming.dev 23 points 6 months ago

not necessarily llms, just ml models

[-] andnekon@programming.dev 4 points 6 months ago

using lsp in vim has pretty much the same problem especially with java

[-] andnekon@programming.dev 11 points 8 months ago

Stilltoomuchwasteofspace

12
submitted 8 months ago* (last edited 8 months ago) by andnekon@programming.dev to c/linux4noobs@programming.dev

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:

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 :) )?

[-] andnekon@programming.dev 5 points 9 months ago

50/50 would be for isOdd with the same implementation

[-] andnekon@programming.dev 14 points 9 months ago

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...

54
submitted 9 months ago* (last edited 9 months ago) by andnekon@programming.dev to c/unixporn@lemmy.ml

Does this even count?

[-] andnekon@programming.dev 9 points 11 months ago

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.

[-] andnekon@programming.dev 32 points 11 months ago

"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

[-] andnekon@programming.dev 9 points 1 year ago

There's a rust dedicated lemmy instance, it has a support community https://lemmyrs.org/c/support

view more: next โ€บ

andnekon

joined 1 year ago