phpc.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A server for PHP programmers & friends. Join us for discussions on the PHP programming language, frameworks, packages, tools, open source, tech, life, and more.

Administered by:

Server stats:

800
active users

#programmingtips

0 posts0 participants0 posts today

found, not really a bug, an interesting behavior in C# and @godotengine

When parsing JSON, an int gets parsed to a float. Which probably makes sense, since everything in JavaScript is a float anyways.
But that then breaks the ulong parsing with a wrong format. Don't know if this is a new 4.4 behavior or if it was always this way. In any case it took me a while to find this bug in my code.

#csharp #godot #gamedev #indiedev #Godot4 #programming #programmingtips #JavaScript #json

Kuzalisha #ufunguo mbadala #sparekey, unapiga tu picha take a photo, bhasi #HapaUjanjaTu🤷!

Ata hizi #socialmediaphotos, una download picha na kuzaliza #makekeys, #inshaAllah whatever Your intention be it, remember #KNOWujanjaNOujanja!

Zikiwa na #transponderkey hapo lazima #ujanja uongezeke👇

www.5021.tips/ujanja/keyprogramming

☝️👆
Hizo taka taka kuna #howitworks #howitsdone ili uweze ku #doityourself #diy #keyprogramming #programmingtips #5021tips #diytipsandtricks #techtipsandtricks #tech

🚀 What is PSR-6? A Beginner’s Guide to PHP Caching Standards
Caching is an essential part of optimizing PHP applications, and PSR-6 is here to set the standard for it! 💡

Discover how this caching standard works and how you can implement it to boost your project’s performance.

👉 Read the full guide here: qirolab.com/posts/what-is-psr-

Qirolab · What is PSR-6? A Beginner’s Guide to PHP Caching Standards | QirolabIs your PHP application slowing down because of repeated database queries or inefficient caching? Do you wish switching between caching libraries was simpler? That’s where PSR-6 (...)

The benefits of trailing commas (by @treyhunner):
➡️ Trailing commas in #Python simplify code changes and reduce errors.
➡️ When swapping or adding elements in multi-line data structures, trailing commas prevent syntax errors and make diffs easier to read.
➡️They also help avoid implicit string concatenation, a common Python pitfall.

pythonmorsels.com/trailing-com

www.pythonmorsels.comThe benefits of trailing commasTrailing commas make for easier code changes, shorter diffs, and fewer bugs.

💡Do you group multiple classes in a single file to save time? 🤔 Think again!

What if it’s slowing you down in the long run? 🤯

👇Here’s the deal:
✅ Better organization
✅ Easier testing
✅ Fewer merge conflicts

What’s your experience? Do you prefer splitting classes or keeping them together?

👇Share your thoughts & let’s discuss:

wp.me/pfQU48-6E

Puneet's Tech Journal · Why Splitting Classes into Separate Files Makes Your Code BetterAre you working on a project where you’ve started grouping multiple classes in on file because it seems easier? 🤔 Let’s take a quick detour and see why splitting them into separate file…

🔍 Lost in the maze of debugging? I've got your map: the "Useful GDB Commands" Quick Reference Guide!

In this post you'll find:

--> 🎯 Essential commands to control program execution

--> 🔬 Memory inspection tricks that actually work

--> 🛠️ Compilation flags to make debugging easier

👉 Check out the full guide here: dreaming-of-dragons.blogspot.c

dreaming-of-dragons.blogspot.comUseful GDB CommandsA simple list of GDB commands to aid the beginner debugger start their journey. Also a list of arguments to disable debugging protections.