mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.2K
active users

#programmingtips

0 posts0 participants0 posts today

Preprocessor directives can do a lot more for your C# projects — especially when you want to conditionally compile code for different environments, platforms, or configurations.

💬 Have you used preprocessor directives in a clever way? Drop your favourite use case below👇

Kuona saizi, uzito, mfano 8 Byte, haimaanishi kuwa unayo data sahihi! Ni uzito tu, lakini sio data🤷!

Imagine hiyo data, bits zimejipanga jinsi ilivyo a🤔, kumbe ulitaka data yenye mpangilio wa bits za d! Uzito ni ule ule but data tofauti, seen?!

Hizi #programmingtips in fact #codingtips ni kama rubbish👇

www.5021.tips/ujanja/eepromwork

👆
Ni wewe tu ku #teachyourself #ujanja wa #coding hizo #digitalelectronics #ProgrammingMadeEasy juu #HapaUjanjaTu #ECUProgramming #5021tips #techtipsandtricks

So as I am doing experiments for finetuning parameters for #wakegp, I noticed the repository is taking a lot of space, more than 0.5GB. I asked in #codeberg #Matrix room. As they have limits.

One of their people did git gc and that ~700MB turned into under 200MB. I learned a lesson here. You can use git gc for housekeeping of your #git repository. It also does compression.

I wonder when could I master git an learn all of its wonderful features.

PS: In non profit services like codeberg, the resources you use aren't paid with your data. Then you have to be careful to not waste their resources. If you've got a huge repository on codeberg, it would be a good idea to do a git gc so the resources would be available for other users.

@Codeberg
#programming #development #softwaredevelopment #softwareengineering #controlversionsystem #cvs #techtips #programmingtips