7
bosi
4y

What do you think are the most common magic numbers? I think it's something like 1440 or 86400

Comments
  • 10
    0xCAFEBABE
  • 2
    1, 2, and 3
  • 2
    3600, 3600000, 86400000, 1, 0, 52, 31
  • 6
    Oh, and my favorite: 0xDEADBEEF
  • 8
  • 2
    0xaa55 ¯\_(ツ)_/¯
  • 2
  • 1
  • 1
  • 2
  • 1
    60/3600 (time related)
  • 2
    1729 :)
  • 1
  • 0
    1337
  • 0
  • 0
    2013
  • 1
    @EaZyCode That's the one! ^^
  • 2
    299792458 - magic and valid throughout the whole universe
  • 1
    @wowotek came here to comment this, thanks
  • 0
    127

    255

    0
  • 2
    e: 2.7182818284590
    tau: 6.2831853071795864769
    c: 99792458
    0xbadc0de: 195936478
    0x5f3759df: 1597463007
    Illegal: 0x09F911029D74E35BD84156C5635688C0
  • 0
    To add further to my previous answers:

    ----

    We begin with the absolute limit imposed by Windows. The operating system API puts a limit (called MAX_PATH) of 260 characters for the complete name with the path included. This number is often quoted. However, actual limits are smaller because of various other restrictions. For example, all names have to have a null terminator at the end. Normally only the computer sees this end marker but it counts as a character so there are really only 259 characters available. (Forgetting to count the null terminator is a common mistake.) Another three characters are used by the drive or volume designation (e.g., C:\). Thus, the limit for naming all the folders and subfolders plus the file is reduced to 256 characters. However, no individual file or folder can have a name longer than 255 characters. This includes spaces and back slashes used as separators.

    ----
  • 0
    To add further to my previous answers:

    ---

    Max password length in Windows 10, Server 2003 & other modern operating systems

    Internally, Windows represents passwords in 256-character UNICODE strings. The logon dialog is limited to 127 characters, however. Therefore, the longest password that can be used to log on interactively to a computer running Windows is 127 characters. Theoretically, programs such as services can use longer passwords, but they must be set programmatically because the password change dialog will not allow a password longer than 127 characters, says an article about Passwords FAQ on TechNet.

    ---
  • 0
    Times when you might see this kind of issue:

    http://tech-faq.com/cannot-copy-the...

    Usually when you are backing up something. :-)

    You think, I'll just leave it to get on with it, it will take it hours..

    You come back hours later, and find its copied 5% before it hit this wall..
  • 3
    49310835970285019002757776723907649572849077721502086320807501840979262788509765886455780201366007328679544734112831735367831201557535981978545054811571939345877330038009932619505876452502382040811018988504261517657994170425088903702911901587003047943282607382146954157033022798755768189560162403006411151690087287983819425827167456477481668434792846458092913153186007001004335318936319343912948604450370991980047709462921558180711169153031876288477878354157593289109329544735088188246549506000501900627470530538116427829426747485349652574536815117065502819055526562213531463104210086628679711444670636692198258615811125155565048134207686732340765505485910826956266693066236799702104812396562518006818323653959348395675357557532461902348106470098775302795618689292538069330520423814996994545694577413833568990600587083218127048611336820265159051663518740290181976939376778529287221095504129257925738186605845015055250274994771883129310457698090915304613359419030258813205932277444385255046677902451869706262778889197958042306575061566983469561779787965920164405193996071698111261519561027628323398257914233217269614437443810564855293488763492103098870287874532331325321226786332837027925099749969488775936915917644588032718384740235933020374888506755706587919461134193230781485443645437511320709860639074641756412163504238800296780855867037038750941076982118376549920520436825585464228850242996332268536912464855000755916640247292407164507253196744999529448434741902107729606820558130923626837987951966199798285525887161096136561780745661592488660889816456854172136292084665627913147846679155096515431011353858620819687583688359557789391454539356819960988085404765907358972898983425047128918416265878968218538087956279039978629449397605467534821256750121517082737107646270712467532102483678159400087505452543537
  • 2
    @Root Ah, I see you like DVDs.
  • 3
    @filthyranter I like controversy because it illustrates people being horribly wrong and letting emotion or greed surpass or supplant their reasoning.
  • 3
    0. The deadliest of numbers.
Add Comment