Microsoft Announces the Open Sourcing of Windows Calculator

Discussion in 'HardForum Tech News' started by cageymaru, Mar 6, 2019.

  1. cageymaru

    cageymaru [H]ard as it Gets

    Messages:
    19,514
    Joined:
    Apr 10, 2003
    Microsoft has announced that it has open sourced the Windows Calculator on GitHub under the MIT License. Microsoft is seeking more community contributions and ideas in the development of Windows Calculator. Reviewing the Windows Calculator code will allow developers to learn how to work with Microsoft technologies.

    Reviewing the Calculator code is a great way to learn about the latest Microsoft technologies like the Universal Windows Platform, XAML, and Azure Pipelines. Through this project, developers can learn from Microsoft's full development lifecycle, as well as reuse the code to build their own experiences. It's also a great example of Fluent app design. To make this even easier, we will be contributing custom controls and API extensions that we use in Calculator and other apps, to projects like the Windows Community Toolkit and the Windows UI Library.
     
  2. LightsOut41

    LightsOut41 Limp Gawd

    Messages:
    437
    Joined:
    Mar 5, 2017
    Jesus H.

    Can we please go back to the simplicity of 1996?
     
    Flapjack, glutto, BloodyIron and 4 others like this.
  3. timberwolf

    timberwolf Limp Gawd

    Messages:
    159
    Joined:
    Jul 7, 2015
    The same aberration that replaced the simple, small and easy to use calculator when I allowed the 1809 update to install?
     
    Flapjack and LightsOut41 like this.
  4. Jim Kim

    Jim Kim 2[H]4U

    Messages:
    3,368
    Joined:
    May 24, 2012
    Dividing by zero will now green screen your box.
     
    Last edited: Mar 6, 2019
  5. seanreisk

    seanreisk Gawd

    Messages:
    826
    Joined:
    Aug 29, 2011
    Microsoft has announced a new initiative for generating press release coverage using anything that isn't broken in Windows 10.


    P.S. I still have an old school calculator on my desk. I hate tabbing when I'm programming.
     
  6. Absalom

    Absalom Gawd

    Messages:
    597
    Joined:
    Oct 3, 2007
    I mean I knew that the latest Calculator used WPF/XAML or whatever, but Azure? Why the hell is Windows Calculator using Azure?!
     
    Flapjack, craigdt, tesfaye and 3 others like this.
  7. PhaseNoise

    PhaseNoise [H]ard|Gawd

    Messages:
    1,469
    Joined:
    May 11, 2005
    You're not the only one.

    upload_2019-3-6_19-25-40.png

    I've had an Hp48 on my desk for decades. Still use it almost daily for quick maths / conversions, and I have a few macros which really help random things I'm working on. Yes, they could be done in something else, but this is super easy and doesn't disrupt anything I have on the screen.
     
  8. seanreisk

    seanreisk Gawd

    Messages:
    826
    Joined:
    Aug 29, 2011
    Do you speak the Reverse Polish Notation 'out loud' (but only in your head) when you're using it? :D

    "52, 14, divide, store ..." I can't break the habit.
     
  9. PhaseNoise

    PhaseNoise [H]ard|Gawd

    Messages:
    1,469
    Joined:
    May 11, 2005
    Haha, yes, actually. I'm the Calculator Whisperer!
     
  10. bobdabilder

    bobdabilder Limp Gawd

    Messages:
    292
    Joined:
    Oct 7, 2009
  11. BloodyIron

    BloodyIron 2[H]4U

    Messages:
    3,440
    Joined:
    Jul 11, 2005
    Um is this the first mainline software from Microsoft to go open source? Maybe? Damn!
     
  12. sadsteve

    sadsteve Gawd

    Messages:
    551
    Joined:
    Oct 1, 2010
    I use a scientific/programmers calculator on my cell phone instead of the Win 10 calculator.
     
    Revdarian likes this.
  13. sadsteve

    sadsteve Gawd

    Messages:
    551
    Joined:
    Oct 1, 2010
    Heh, I've written a number of forth interpreter/compilers in my career so a stack oriented language or calculator is pretty much second nature to me.
     
  14. cjcox

    cjcox [H]ard|Gawd

    Messages:
    1,097
    Joined:
    Jun 7, 2004
    In a related news blurb, big blue has decided to take the Linux "cat" command and make it closed source so you can better understand how they roll.
     
  15. STEM

    STEM Gawd

    Messages:
    561
    Joined:
    Jun 7, 2007
    It has a currency converter, so it's going on the "Internets" to look up currency prices, so it's complicated... hence -> "Reviewing the Calculator code is a great way to learn about the latest Microsoft technologies"
     
    katanaD and clockdogg like this.
  16. Delicieuxz

    Delicieuxz Gawd

    Messages:
    946
    Joined:
    May 11, 2016
    Using Windows 10 LTSC here. It doesn't have UWP (thankfully). It has the classic calculator.

    I imagine the best thing to come out of Microsoft open-sourcing the Windows calculator is that people will now release it as a Win32 program so that non-LTSC plebeians don't have to use awful UWP.

    Seriously, just get LTSC. It makes everything better.
     
    craigdt, LightsOut41 and jfreund like this.
  17. Uvaman2

    Uvaman2 2[H]4U

    Messages:
    3,003
    Joined:
    Jan 4, 2016
  18. SmokeRngs

    SmokeRngs [H]ard|DCer of the Month - April 2008

    Messages:
    15,438
    Joined:
    Aug 9, 2001
    Is this the proof that MS has let quality control slip so much that they need other people to fix something as simple as a calculator because they can't do it?
     
    LightsOut41 and Nathan_P like this.
  19. kju1

    kju1 2[H]4U

    Messages:
    3,031
    Joined:
    Mar 27, 2002
    You people never heard of set /a in windows or for linux expr? Meh waste of code
     
  20. Glock24

    Glock24 [H]Lite

    Messages:
    123
    Joined:
    Jan 2, 2005
    I wouldn't be surprised if someone finds a serious bug in the calculator code, like a privilege escalation o worse. Microsoft has a talent for those kind of things.
     
  21. Shagittarius

    Shagittarius n00b

    Messages:
    63
    Joined:
    May 3, 2016
    This is the big one! Microsoft shows their commitment to open source by releasing the one piece of software we thought we 'd never see blown wide open!
     
  22. carnageX

    carnageX Limp Gawd

    Messages:
    491
    Joined:
    May 25, 2009
    It's using Azure Pipelines, which is Microsoft's automated build/release mechanisms. "Azure DevOps" is their rebranding of both Visual Studio Team Services and Team Foundation Server (on-premises local server). It's just their code building / executable deployment mechanism - it offers a bunch of tools/checks for their developers to make sure that releases are being pushed out as they expected.

    As for the OP, as a developer - this is pretty cool. Always good to be able to see real world applications to base applications off for reference if you're unsure on how to do something (whether it's the framework [UWP], structure, etc.) - better than a lot of those "demo" apps out there online that aren't complex at all and don't give a good "feel" for how to structure things in complex applications.
     
  23. katanaD

    katanaD [H]ard|Gawd

    Messages:
    1,987
    Joined:
    Nov 15, 2016

    LOL sure enough. I see it has a ton of converters besides just currency. cool
     
  24. kju1

    kju1 2[H]4U

    Messages:
    3,031
    Joined:
    Mar 27, 2002
    Google does that also...
     
    STEM likes this.
  25. wyqtor

    wyqtor Limp Gawd

    Messages:
    388
    Joined:
    Dec 30, 2011
    What next? Paint? Minesweeper?
     
    LightsOut41 likes this.
  26. STEM

    STEM Gawd

    Messages:
    561
    Joined:
    Jun 7, 2007
    It was a slice of my premium sarcasm ;)

    Now it's sarcasm squared :D

    I really need to see the Paint source code... because we had Gimp for eons that started out as a Photoshop knock-off, and almost no one ever cared to look at that source code. But please Microsoft put the Paint source code on GitHub!
     
    J3RK likes this.
  27. Space_Ranger

    Space_Ranger Gawd

    Messages:
    630
    Joined:
    Jul 13, 2007
    I waiting for them to put micro-transactions into Minesweeper. Gotta make that money yo!
     
    Flapjack likes this.
  28. kju1

    kju1 2[H]4U

    Messages:
    3,031
    Joined:
    Mar 27, 2002
    LOL I missed that sorry.

    As for paint that would actually BE awesome. The new replacement is garbage.
     
  29. XJDHDR

    XJDHDR n00b

    Messages:
    2
    Joined:
    Jan 10, 2013
    I was looking into switching to the LTSC edition a few weeks ago but the (as far as I can tell) removed OneDrive integration was a dealbreaker for me.
     
  30. caddys83

    caddys83 2[H]4U

    Messages:
    3,315
    Joined:
    Feb 14, 2009
    Leave my calculator alone dammit.
     
  31. Nenu

    Nenu [H]ardened

    Messages:
    18,638
    Joined:
    Apr 28, 2007
    You have to wonder what skills MS have left.
    Since the Fisher Price calculator its been clear they lost the plot, but to outsource a calculator because they "still" struggle with it?
    School apprentices could show them the ropes.
     
    Last edited: Mar 7, 2019
    wyqtor likes this.
  32. J3RK

    J3RK [H]ardForum Junkie

    Messages:
    9,058
    Joined:
    Jun 25, 2004
    Finally!!! I've waited my entire post-Windows 3.0 life for a chance to peek into the code of the Windows calculator. My friends all thought I was crazy. They told me "They'll never do it!" I said, "You wait and see! MS will see reason eventually, and give us the code that we deserve." Guess who's laughing now guys!! I can finally get it.




    Sooooooo....
     
    DrezKill and dvsman like this.
  33. J3RK

    J3RK [H]ardForum Junkie

    Messages:
    9,058
    Joined:
    Jun 25, 2004
    I'm waiting for the Snipping Tool source. That's going to be INSANE!!!!
     
  34. Delicieuxz

    Delicieuxz Gawd

    Messages:
    946
    Joined:
    May 11, 2016
    LTSC comes with OneDrive and to me seems like it does what it does in the non-LTSC versions of Windows 10 - but I'm not really a OneDrive user.

    It doesn't run itself if you don't want it to. But, it can be set to automatically run at startup.

    OneDrive LTSC.jpg
     
    Last edited: Mar 8, 2019