Live data from Hacker News

Open-Sourcing Windows Calculator

blogs.windows.com

101–110 of 184 posts

Re: Open-Sourcing Windows Calculator

#101
post #5

Whoa, it appears to be written in C++/CLI. I wonder how much Windows code also is, and how it impacts maintainability.

I was trying to figure out if it was C++/CLI or C++/CX (I don't do enough Windows dev to know at a glance...). I was hoping it was C++/WinRT – I'm interested in seeing the new language projection in action.

It's C++/CX.

For an example of OS code that uses C++/WinRT, check out the native UI controls library, WinUI: https://github.com/Microsoft/microsoft-ui-xaml

Re: Open-Sourcing Windows Calculator

#103
post #7

https://github.com/Microsoft/calculator#data--telemetry "This project collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. Telemetry is disabled in development builds by default, and can be enabled with the SEND_TELEMETRY build flag." Even on a simple calculator.

Basically every Android and IOS app you use collects telemetry (which you usually cannot disable) for UX purposes but suddenly when Microsoft does it it's a Big Deal. I don't see the issue with refining UX using anonymous data if it improves the product for the end users. Every high quality commercial app does this.

You can effectively disable telemetry in Android by getting Blokada from F-droid

Re: Open-Sourcing Windows Calculator

#104
post #42

Earlier quoted context omitted.

Not windows, but `true` has to take the cake for the most trivial program, the portion of my comment after the second : is a valid implementation:

Is true a program? I thought it was a command built into the shell.

Some history: http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html

Re: Open-Sourcing Windows Calculator

#105
post #57
post #36

This is cool, but I really wish they'd release the source for the original Notepad. No real reason other than "this software was really important to me when I was a kid". As it stands, though, Calculator is not something I've particularly cared about in the Windows world; pretty much anyone here could write a simple calculator app in an afternoon. Still, I am glad MS is slowly becoming more OSS-friendly; I doubt anyo…

Part of the Windows 2000 source code leaked and it included Notepad. I don't think it's changed much since then as it's pretty much a wrapper around the Win32 widget with a few features like changing the font, printing, etc. The only place where I found it where it is publicly "browseable" -> http://www.codeforge.com/article/148667

It seems they updated a couple of things in Notepad (Unix eol, text size, ..) https://hn.algolia.com/?query=windows%20notepad&sort=byDate&...

Re: Open-Sourcing Windows Calculator

#106
post #18
post #6

I worked on a win32 application for my first job out of college. My boss told me "want to learn win32 and c++, go program a windows calculator clone." It was a great project to get started and I did learn a lot. Now I have something to compare my work to ha

This calculator is not written using Win32. (Why the downvotes?)

I didn't downvote you, but it comes across like you were trying to nitpick someone by pointing out a detail that isn't relevant to what they were saying.

Re: Open-Sourcing Windows Calculator

#108
post #38
post #7

https://github.com/Microsoft/calculator#data--telemetry "This project collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. Telemetry is disabled in development builds by default, and can be enabled with the SEND_TELEMETRY build flag." Even on a simple calculator.

> Even on a simple calculator. Why not? If they're paying people to build this software, they presumably want to make it good. With this data, they can learn all kinds of things to help improve future versions: when/why is it crashing, what features are people using most/least, are there patterns of clicks that suggest people are mis-understanding or mis-clicking certain features, etc, etc. edit: Another one that's o…

Virtually all of the complaints Microsoft receives about telemetry could be addressed by simply allowing people a global way to turn all telemetry for Microsoft apps off. If you want to support the improvement of apps by allowing this form of telemetry, you can leave it enabled. If you consider it a violation of your privacy, you should be able to easily turn it off.

There's a lack of user control and a lack of transparency. Even if you are a Windows 10 Enterprise user (lucky you, you can turn off system telemetry, unlike the plebes who run Windows 10 Professional), and you turn off telemetry for Windows as a whole, does that include the Calculator or not? Maybe it does. It's really unclear to most people.

Re: Open-Sourcing Windows Calculator

#109

Earlier quoted context omitted.

Basically every Android and IOS app you use collects telemetry (which you usually cannot disable) for UX purposes but suddenly when Microsoft does it it's a Big Deal. I don't see the issue with refining UX using anonymous data if it improves the product for the end users. Every high quality commercial app does this.

You can effectively disable telemetry in Android by getting Blokada from F-droid

Can it run on regular Android?

Re: Open-Sourcing Windows Calculator

#110
post #13

Earlier quoted context omitted.

I mean, I guess it would be cool to know what kind of operations people are doing most often? Maybe you send different ads to people who only use addition/subtraction than people who use sin / cos?

or target people who use large numbers with financial planning ads, for example?

Are there that many rich physicists?
Post reply on HN