#programmingtips

2025-06-30

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๐Ÿ‘‡

#dotnet #csharp #programmingtips #developers #cleanCode #softwareskills

Ramsay Dev RantsRamsayDev
2025-06-24

18 rules of software engineering

0. You WILL regret complexity when on-call 
1. Stop falling in love with your own code 
2. Every single thing is a trade-off - no "best"
3. Every line of code you wrote is a liability
4. Document your designs and decisions
5. Everyone hates code they didnโ€™t write
6. Don't use unnecessary dependencies
7. Coding standards prevent arguments
8. Write meaningful commit descriptions
9. Never ever stop learning new things
10. Code reviews are to spread context
11. Always build for maintainability
12. Always ask for help when stuck
13. Fix root causes, not symptoms
14. Software is never finished
15. Estimates are not promises
16. Ship early, iterate often
17. Keep. It. Simple.
2025-06-23

Just read the Google Cloud incident report from last weekโ€™s outage
Turns outโ€ฆ they missed a null check, and it took down almost the entire platform.
Let this be your reminder:
Unit tests matter.
Do your tests. Save your cloud.

status.cloud.google.com/incide

#DevLife #GoogleCloud #Outage #UnitTesting #CodeQuality #NullCheck #DevOps #CloudEngineering #TechFails #ProgrammingTips

TechKeysXTechKeysX
2025-06-22

Loop through dictionaries in Python:
A dictionary in Python is a collection of key-value pairs. To loop through a dictionary, you can use several methods depending on what you want to access: keys, values, or both.

5021tips5021tips
2025-06-19

While doing your , this rubbish could help You crack PIN, old & new!
The is the blaa bla while ๐Ÿ—๏ธ so ๐Ÿ‘‡

www.5021.tips/ujanja/hyukiapin

๐Ÿ‘†โ˜๏ธ๐Ÿ‘†
Instructions included how you could use a usual doing ๐Ÿคท!

5021tips5021tips
2025-06-11

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 in fact ni kama rubbish๐Ÿ‘‡

www.5021.tips/ujanja/eepromwork

๐Ÿ‘†
Ni wewe tu ku wa hizo juu

5021tips5021tips
2025-06-08
5021tips5021tips
2025-06-08

Usikwame na kazi ya kwasababu umekosa hiyo unadhani ndo sahihi tu, yet kuna kutambua jinsi zinaingiliana, yaani kufanana matumizi, ๐Ÿ‘‡

www.5021.tips/ujanja/datasheets

๐Ÿ‘†
Maandishi yakiwa katika lugha ya kigeni, unatafsiri tu ili uelewe ujinga๐Ÿคทโ€โ™‚๏ธ!

5021tips5021tips
2025-06-08
5021tips5021tips
2025-06-06

NO no NO hapana! NOT all every has same data ๐Ÿ™†โ€โ™‚๏ธ!
Learning one 's doesn't mean You can f*k all , seen๐Ÿค”?

Whatever rubbish shared here ๐Ÿ‘‡it's always You to unrubbish the rubbish๐Ÿ˜…๐Ÿ˜‚๐Ÿคฃ ๐Ÿ‘‡

www.5021.tips/ujanja/eepromwork

๐Ÿ‘†
Just mere looking at the data, U know which where what

TechKeysXTechKeysX
2025-06-01

Async and Await Non-Blocking UI in C# Tip #39 Using async and await in C# keeps the UI responsive during long tasks like delays. Without them, the UI freezes and becomes unresponsive until the task is complete.

5021tips5021tips
2025-05-31

CAN, x, is the language that a uses to talk to other fellows on the ๐Ÿค”!

BUS, y, is the actual wires & protocol that connects these 's๐Ÿซฃ!

www.5021.tips/ujanja/eepromwork

The๐Ÿ‘† of CANbus data-loggers, capturing, storing messages transmitted over this CAN bus, allows for & whatever ๐Ÿคฃ๐Ÿ˜‚๐Ÿ˜… but ๐Ÿซฃ!

Farooq | ูุงุฑูˆู‚farooqkz@cr8r.gg
2025-05-29

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

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst