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

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

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

Now try opening js interpreter and doing the same.

Also, try 0.1+0.2 in python interpreter.

[-] andnekon@programming.dev 4 points 3 weeks ago

That's alright until u need ushort

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

I have it remapped to control

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

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

28

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 5 months ago

not necessarily llms, just ml models

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

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

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

Stilltoomuchwasteofspace

12
submitted 7 months ago* (last edited 7 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 :) )?

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

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

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?

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

50/50 would be for isOdd with the same implementation

[-] andnekon@programming.dev 8 points 8 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...

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

Does this even count?

[-] andnekon@programming.dev 9 points 10 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 10 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

view more: next โ€บ

andnekon

joined 1 year ago