home.social

#magicnumbers — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #magicnumbers, aggregated by home.social.

  1. Magic Numbers reduce code readability by hiding business rules in literal values. Replace Magic Number with Named Constant systematically improves code quality through self-documenting constants.

    This technique connects directly to clean code principles and software maintainability.

    newsletter.shiftelevate.dev/p/

    #CleanCode #Refactoring #Java #MagicNumbers #SoftwareEngineering

  2. Magic Numbers reduce code readability by hiding business rules in literal values. Replace Magic Number with Named Constant systematically improves code quality through self-documenting constants.

    This technique connects directly to clean code principles and software maintainability.

    newsletter.shiftelevate.dev/p/

    #CleanCode #Refactoring #Java #MagicNumbers #SoftwareEngineering

  3. Magic Numbers reduce code readability by hiding business rules in literal values. Replace Magic Number with Named Constant systematically improves code quality through self-documenting constants.

    This technique connects directly to clean code principles and software maintainability.

    newsletter.shiftelevate.dev/p/

    #CleanCode #Refactoring #Java #MagicNumbers #SoftwareEngineering

  4. Magic Numbers reduce code readability by hiding business rules in literal values. Replace Magic Number with Named Constant systematically improves code quality through self-documenting constants.

    This technique connects directly to clean code principles and software maintainability.

    newsletter.shiftelevate.dev/p/

    #CleanCode #Refactoring #Java #MagicNumbers #SoftwareEngineering

  5. Magic Numbers reduce code readability by hiding business rules in literal values. Replace Magic Number with Named Constant systematically improves code quality through self-documenting constants.

    This technique connects directly to clean code principles and software maintainability.

    newsletter.shiftelevate.dev/p/

    #CleanCode #Refactoring #Java #MagicNumbers #SoftwareEngineering

  6. Magic Numbers sind Zahlen (oder auch Strings), die irgendwo im Code „einfach so“ stehen und deren Bedeutung man nur errät. Du siehst dann `60`, `3`, `1024` oder `"admin"` und musst aus dem Kontext heraus rekonstruieren, *warum genau dieser Wert* dort steht. Zahlen im Code sind nicht per se schl

    magicmarcy.de/wenn-zahlen-lueg

    #MagicNumbers #Konstanten #Enums #Java #Programming #MagicStrings #Bedeutung #Dokumentation #Fachlichkeit

  7. Magic Numbers sind Zahlen (oder auch Strings), die irgendwo im Code „einfach so“ stehen und deren Bedeutung man nur errät. Du siehst dann `60`, `3`, `1024` oder `"admin"` und musst aus dem Kontext heraus rekonstruieren, *warum genau dieser Wert* dort steht. Zahlen im Code sind nicht per se schl

    magicmarcy.de/wenn-zahlen-lueg

    #MagicNumbers #Konstanten #Enums #Java #Programming #MagicStrings #Bedeutung #Dokumentation #Fachlichkeit

  8. Magic Numbers sind Zahlen (oder auch Strings), die irgendwo im Code „einfach so“ stehen und deren Bedeutung man nur errät. Du siehst dann `60`, `3`, `1024` oder `"admin"` und musst aus dem Kontext heraus rekonstruieren, *warum genau dieser Wert* dort steht. Zahlen im Code sind nicht per se schl

    magicmarcy.de/wenn-zahlen-lueg

    #MagicNumbers #Konstanten #Enums #Java #Programming #MagicStrings #Bedeutung #Dokumentation #Fachlichkeit

  9. Code Smells sind Hinweise darauf, dass im Code etwas nicht sauber ist - etwas schlecht riecht. Es geht nicht um Syntaxfehler oder Bugs, sondern um Strukturen, die dich langfristig ausbremsen. Der Code funktioniert vielleicht heute, aber er wird schwerer zu verstehen, zu testen und zu erweitern. Gera

    magicmarcy.de/code-smells-was-

    #CodeSmells #Methoden #Logik #Parameter #MagicStrings #MagicNumbers #Programming #Awareness

  10. Code Smells sind Hinweise darauf, dass im Code etwas nicht sauber ist - etwas schlecht riecht. Es geht nicht um Syntaxfehler oder Bugs, sondern um Strukturen, die dich langfristig ausbremsen. Der Code funktioniert vielleicht heute, aber er wird schwerer zu verstehen, zu testen und zu erweitern. Gera

    magicmarcy.de/code-smells-was-

    #CodeSmells #Methoden #Logik #Parameter #MagicStrings #MagicNumbers #Programming #Awareness

  11. Code Smells sind Hinweise darauf, dass im Code etwas nicht sauber ist - etwas schlecht riecht. Es geht nicht um Syntaxfehler oder Bugs, sondern um Strukturen, die dich langfristig ausbremsen. Der Code funktioniert vielleicht heute, aber er wird schwerer zu verstehen, zu testen und zu erweitern. Gera

    magicmarcy.de/code-smells-was-

    #CodeSmells #Methoden #Logik #Parameter #MagicStrings #MagicNumbers #Programming #Awareness

  12. file – Bestimmung des Dateityps

    Du kennst das Problem: Du findest eine Datei auf deinem Linux-System, aber du bist dir nicht sicher, was sie enthält oder welchen Typ sie hat. Gerade als Systemadministrator ist es essenziell, Dateien schnell und zuverlässig zu identifizieren, um Sicherheitsrisiken zu vermeiden, Skripte korrekt zu verarbeiten oder komprimierte Archive zu handhaben. Der file-Befehl ist dein zuverlässiger Helfer dafür, da er anhand von Magic Numbers und Inhalten den genauen Typ bestimmt, unabhängig von der […]

    andreas-moor.de/file-bestimmun

  13. Why do some numbers, like e and phi, appear everywhere in nature and mathematics? #MagicNumbers

  14. Why do some numbers, like e and phi, appear everywhere in nature and mathematics? #MagicNumbers

  15. Why do some numbers, like e and phi, appear everywhere in nature and mathematics? #MagicNumbers

  16. Why do some numbers, like e and phi, appear everywhere in nature and mathematics? #MagicNumbers

  17. Why do some numbers, like e and phi, appear everywhere in nature and mathematics? #MagicNumbers

  18. Why do some numbers, like e and phi, appear everywhere in nature and mathematics? #MagicNumbers

  19. Why do some numbers, like e and phi, appear everywhere in nature and mathematics? #MagicNumbers

  20. Why do some numbers, like e and phi, appear everywhere in nature and mathematics? #MagicNumbers

  21. Samsung. Why?

    If my TV has a brightness setting of 47 or lower, the backlight turns off if the screen is black for more than about a second. When it is 48 or higher, the backlight stays on.

    #internetofshit #magicnumbers

  22. Samsung. Why?

    If my TV has a brightness setting of 47 or lower, the backlight turns off if the screen is black for more than about a second. When it is 48 or higher, the backlight stays on.

    #internetofshit #magicnumbers

  23. Samsung. Why?

    If my TV has a brightness setting of 47 or lower, the backlight turns off if the screen is black for more than about a second. When it is 48 or higher, the backlight stays on.

    #internetofshit #magicnumbers

  24. Samsung. Why?

    If my TV has a brightness setting of 47 or lower, the backlight turns off if the screen is black for more than about a second. When it is 48 or higher, the backlight stays on.

    #internetofshit #magicnumbers

  25. Samsung. Why?

    If my TV has a brightness setting of 47 or lower, the backlight turns off if the screen is black for more than about a second. When it is 48 or higher, the backlight stays on.

    #internetofshit #magicnumbers

  26. Nibley Festival was amazing!! So nice to be able to take the kids to see some excellent acts in a safe, friendly environment. I mean it was glorified camping really, but the Magic Numbers, Stereo MCs and Kosheen were outstanding! What a spot to go camping too!

    #nibley #nibleymassive #magicnumbers #stereomcs

  27. Nibley Festival was amazing!! So nice to be able to take the kids to see some excellent acts in a safe, friendly environment. I mean it was glorified camping really, but the Magic Numbers, Stereo MCs and Kosheen were outstanding! What a spot to go camping too!

  28. Nibley Festival was amazing!! So nice to be able to take the kids to see some excellent acts in a safe, friendly environment. I mean it was glorified camping really, but the Magic Numbers, Stereo MCs and Kosheen were outstanding! What a spot to go camping too!

    #nibley #nibleymassive #magicnumbers #stereomcs

  29. Nibley Festival was amazing!! So nice to be able to take the kids to see some excellent acts in a safe, friendly environment. I mean it was glorified camping really, but the Magic Numbers, Stereo MCs and Kosheen were outstanding! What a spot to go camping too!

    #nibley #nibleymassive #magicnumbers #stereomcs

  30. The code smell called Magic Numbers is caused by using numbers that lack the proper semantics in our code 🧼

    blog.susomejias.dev/blog/code-

  31. My contribution to #jukeboxfridaynight is the #magicnumbers which are made up of 2 sets of siblings

    The Magic Numbers - Love Me Like You

    youtube.com/watch?v=m2XrO2tuQ0

  32. Watched the first episode of #MagicNumbers with #HannahFry as the host, and I am hooked. It asks a very fundamental question as to whether #maths is discovered or invented. Is it an underlying feature of our reality or just an illusion due to our pattern recognition skills.

  33. Hacking the DROID Signature File for Characterization


    by @beet_keeper

    Identification of a format can be approached from many angles. Often a magic

    number will be used at the beginning of a file. This may be strengthened by the addition of similarly consistent bytes at the end of a file or indeed any part of the bitstream inbetween. Using the sample file format we created last week the magic number to identify it is specified

    #characterization #digitalPreservation #droid #fileFormats #linkedData #magicNumbers #pronom #sparql