create account

Microsoft open sourcing their Windows calculator by amosbastian

View this thread on: hive.blogpeakd.comecency.com
· @amosbastian · (edited)
$0.59
Microsoft open sourcing their Windows calculator
<center>
![](https://cdn.steemitimages.com/DQmQuw122JjEBHGRXzQ5u31AjLHwkuyGiCVSmmH9rBZRQi7/image.png)
</center>

I was scrolling through [Reddit](https://www.reddit.com/r/programming/comments/ay2gz7/announcing_the_open_sourcing_of_windows_calculator/) earlier today and saw that [Microsoft announced the open sourcing of their Windows calculator](https://blogs.windows.com/buildingapps/2019/03/06/announcing-the-open-sourcing-of-windows-calculator/#gmkoZ5SPdqWo37bV.97). Overall I think it's pretty interesting for a couple of reasons, namely that it's a good opportunity to learn by checking out their code (although it's a shit ton of code at ~300k lines, it's a calculator, why?!), and that it could mean that some of their more interesting projects also become open source in the future (Soltaire anyone?).

I saw something interesting about the Pinball game, which I played a lot when I was younger, in the comments of one of the threads:

 >[Raymond Chen](https://blogs.msdn.microsoft.com/oldnewthing/20121218-00/?p=5803): two of us tried to debug the program to figure out what was going on, but given that this was code written several years earlier by an outside company, and that nobody at Microsoft ever understood how the code worked (much less still understood it), and that most of the code was completely uncommented, we simply couldn't figure out why the collision detector was not working. Heck, we couldn't even find the collision detector!

One more reason supporting the writing of maintanable code with good comments! ;)

Also, as pointed out by some other people in the comments, apparently the calculator [sends telemetry](https://github.com/Microsoft/calculator/blob/057401f5f2b4bb1ea143da02c773ac18d1bb9a2e/src/CalcViewModel/Common/TraceLogger.cpp#L644-L655), which means that stuff pasted into the calculator actually gets sent to Microsoft. For some people this could be quite upsetting, as you obviously don't want your information to be used, especially when it's not really needed for an application like a calculator. Unfortunately I don't think this is really something extreme, and is probably commonplace in many other applications (of which you probably also don't expect it).

Anyway, my main goal with this post is to actually start writing more about open source stuff, not just my own projects, and seeing what others on here think about certain subjects. As this is the first post, I don't really want to flesh it out too much, and see if others would even be interested in something like this in the first place. So, let's see - what do you guys think about this?
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authoramosbastian
permlinkmicrosoft-open-sourcing-their-windows-calculator
categoryopensource
json_metadata{"tags":["opensource","windows","microsoft"],"image":["https://cdn.steemitimages.com/DQmQuw122JjEBHGRXzQ5u31AjLHwkuyGiCVSmmH9rBZRQi7/image.png"],"links":["https://www.reddit.com/r/programming/comments/ay2gz7/announcing_the_open_sourcing_of_windows_calculator/","https://blogs.windows.com/buildingapps/2019/03/06/announcing-the-open-sourcing-of-windows-calculator/#gmkoZ5SPdqWo37bV.97","https://blogs.msdn.microsoft.com/oldnewthing/20121218-00/?p=5803","https://github.com/Microsoft/calculator/blob/057401f5f2b4bb1ea143da02c773ac18d1bb9a2e/src/CalcViewModel/Common/TraceLogger.cpp#L644-L655"],"app":"steemit/0.1","format":"markdown"}
created2019-03-07 14:58:45
last_update2019-03-07 15:00:30
depth0
children2
last_payout2019-03-14 14:58:45
cashout_time1969-12-31 23:59:59
total_payout_value0.486 HBD
curator_payout_value0.100 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,604
author_reputation174,473,586,900,705
root_title"Microsoft open sourcing their Windows calculator"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id80,874,693
net_rshares853,167,125,617
author_curate_reward""
vote details (53)
@jaff8 ·
Since Microsoft bought Github, I have been expecting something like this. Open sourcing their Windows' calculator looks like a step in the right direction. It'd definitely be beneficial to them, unless they don't want people to know the amount of personal information they may be collecting.
properties (22)
authorjaff8
permlinkre-amosbastian-microsoft-open-sourcing-their-windows-calculator-20190307t223240935z
categoryopensource
json_metadata{"tags":["opensource"],"app":"steemit/0.1"}
created2019-03-07 22:32:54
last_update2019-03-07 22:32:54
depth1
children1
last_payout2019-03-14 22:32:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length291
author_reputation47,909,109,227,575
root_title"Microsoft open sourcing their Windows calculator"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id80,893,212
net_rshares0
@amosbastian ·
Well, you might be correct about the collecting of information, but for some reason I don't think that will stop them.
👍  , , ,
properties (23)
authoramosbastian
permlinkre-jaff8-re-amosbastian-microsoft-open-sourcing-their-windows-calculator-20190307t235235704z
categoryopensource
json_metadata{"tags":["opensource"],"app":"steemit/0.1"}
created2019-03-07 23:52:36
last_update2019-03-07 23:52:36
depth2
children0
last_payout2019-03-14 23:52:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length118
author_reputation174,473,586,900,705
root_title"Microsoft open sourcing their Windows calculator"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id80,895,474
net_rshares6,966,010,891
author_curate_reward""
vote details (4)