I might try to commit to this. I've always found the "App" version of Calculator lacking compare to its Win32 predecessor. In particular History. On the old Calculator you could double-click the history and edit the equation, and get a new result, no go on the App. Plus the Programmer UI, while being more powerful is actually harder to use since the information is now split between two screens rather than one. Oh and…
Open-Sourcing Windows Calculator
141–150 of 184 posts
Re: Open-Sourcing Windows Calculator
#142Earlier quoted context omitted.
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
#143While I applaud this, and I'm generally positive about Microsoft's new stance regarding open source, I wonder whether they ever have, or ever will, apologise for having made remarks like "Linux is communism". They caused a lot of damage. It feels a bit disingenuous to just pretend now that nothing happened.
what?
Re: Open-Sourcing Windows Calculator
#144Earlier quoted context omitted.
IIRC Notepad source code is in a Windows SDK. Probably an old one, but it only started to be actively maintained quite recently (and even then: only very lightly), so the source code you can get will likely cover most of its lifespan for now. I'm not sure the source of notepad is that much interesting, though. I mean, yeah, nice to have out of curiosity, maybe, but I'm not sure I would get anything from looking at it…
I have this kind of masochistic fantasy of rewriting Notepad directly in a modern language. No new features, an identical port in Scheme or something.
Re: Open-Sourcing Windows Calculator
#145Whoa, 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.
Re: Open-Sourcing Windows Calculator
#146Re: Open-Sourcing Windows Calculator
#147Earlier quoted context omitted.
That's some pretty boring information overall. One which might be cause for concern is LogInvalidInputPasted() specifically because pastedExpression is included in the Telemetry Event. I also have questions on LogConversionResult(). Why is that recording NetworkAccessBehavior or the raw conversion values? Wouldn't knowing the FromUnit/ToUnit be enough to know how much something is being used?
Conversion between currencies requires access to the API that provides conversion rates.
Re: Open-Sourcing Windows Calculator
#148https://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.
So it's OK, then. Jimmy jumped off a bridge, so it's OK if Johnny does it, too. No harm done!
but suddenly when Microsoft does it it's a Big Deal
No, it's a big deal because Microsoft feels entitled to collect information about people using... wait for it... a calculator.
using anonymous data
It's not anonymous. We know it's going to at least get a timestamp and IP address.
I don't see the issue with refining UX
Neither do I. Do it by bringing people in and testing the program on them, the way it was done for decades before "telemetry" became one of those SV euphemisms.
Every high quality commercial app does this.
No. They don't.
Re: Open-Sourcing Windows Calculator
#149Earlier quoted context omitted.
But how can that be when "... the engineering lead owning conhost.exe: I can't find anything in our code that would trace user input, or data effectively derived from user input, to even a local event stream."
I mean, I suppose that the key sequences around copy/paste are technically user input. Those events get processed into telemetry as to whether they were done in processed or raw input mode, and whether Quick Edit was engaged at the time. Additional telemetry points include whether the "Find" dialog is being used (explicitly, whether "find next" has been clicked, and how long the search string is -- no other user-gene…
Re: Open-Sourcing Windows Calculator
#150https://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…
I find it more likely that the real answer is they're trying to "maximize shareholder value." If Microsoft wanted to make good software, there are several thousand other things it could do other than collecting information on people using a calculator.