dax

joined 2 years ago
[–] dax 4 points 1 year ago (1 children)

I think it's easier and less risky to bank on a whole-ass isolated OS than it is to bank on making sure you have perfect coverage and mitigations in place for every possible module that ships with conda (not miniconda). But honestly, they could just require that Hyper-V is allowed if you want Python in Excel and offload it into a tiny little excel-hypervisor-daemon, same as they're doing in the cloud.

Ultimately, it's all just us reading tea leaves tho. I don't feel super strongly about any of the hypothetical motives talked about in this thread - not even my own. They're all possible, and reasonable people would make different decisions based on their priorities, and we don't even know what the priorities were of the team that decided to ship this. I mean, obviously they want to make money; but making money can be done by asking your customers to pony up more, or it can be done by having a strong degree of confidence that you won't get your ass handed to you when an xslx doesn't tap into cortana tts and try to extend your car's warranty or whatever. Maybe it's both. Maybe they want to start shipping Python with Windows but it isn't ready yet, so they're doing this Up There for a bit first. Or none of these. My goal in my initial response was just to say "it could be this too", in reference to the "there is no possible other explanation". There is a possible explanation. Heck, I gave you two new ones in this response alone! I only submit it as an entrant, not necessarily as the frontrunner.

[–] dax 7 points 1 year ago (2 children)

I feel like you think you're talking to a different person than I am. My work computer is a linux box, my work IDE is either Jetbrains CLion or Pycharm, and my 40-hour-a-week-job is writing open source software that I release on behalf of Microsoft. So, yanno, if you want python libraries for graph spectral embeddings or approximate nearest neighbor algorithms, that's me.

The only thing I know about Visual Studio is it is distinctly not built for me, and I don't use it. I wouldn't know the first thing about creating a project in Visual Studio, because in the last 7 years I haven't created a single one in it. Gradle and Kotlin or SBT and Scala, sure. Python and pip, sure.

My problem with Python has nothing to do with the language itself. It has to do with the packaging. Remember that bit about me releasing open source software for Microsoft? Yeah. I'm stuck doing a lot of the packaging.

Friends don't let friends use Python, because then they're complicit in the frankly inhumane conditions in the pypa pit of eternal despair. Hug your numpy packager today!

[–] dax 1 points 1 year ago

I wonder if the model is "all data you want to process on has to already be in the sheets" or something?

[–] dax 3 points 1 year ago (3 children)

I sometimes question whether it's as easy as we think; surely they'd be able to have done the same for vba scripts, but instead they just yanked the whole dang thing. I don't know enough of Windows to have any idea tbh.

[–] dax 7 points 1 year ago (1 children)

They could easily vendor python in the excel distribution if they wanted to, though. In fact, it would be the smart thing to do from their perspective; expecting people to keep up to date python versions (and what counts as up to date and what counts as a needless forced upgrade just from typing import List for your typehints turns into : list is super plausibly arguable.)

I can't love python after all the pain and suffering I've had to go through packaging things from extension modules. I've never had a worse experience with computers, and I used to write coldfusion and java swing for money, so that's fucking saying something. The entire distutils ->setuptools->build/PEP517 + bdist vs. sdist is the least gratifying work in my entire career, by far. It's not even interesting, it's just shockingly poorly documented and your only plausible solution is "try literally everything and see which things work". I shouldn't have to fucking emulate a quantum computer just to ship a fucking bdist.

[–] dax 6 points 1 year ago* (last edited 1 year ago)

If you read the release, each spreadsheet gets to run in it's own isolated container in a hypervisor system. You literally have separation of information at the file level, which is good. But I absolutely agree with you that if you store things in the cloud, you don't own those things, you give them away and lease that access back under restrictive terms. I don't find it to be worth it, but countless other people disagree with me.

If I'm to get on my soapbox after all, I'll just say this: Use json or jsonl, use polars, use jupyter and seaborn/matplotlib-pyplot, keep your data lolcat, and never open Excel again.

Edit: unless someone sends you an xslx and you need to convert it to csv before you transform it to jsonl. If someone has a cli that'll turn xslx -> jsonl directly I'd be so happy.

[–] dax 32 points 1 year ago* (last edited 1 year ago) (17 children)

Full disclosure, I work for MSFT, but I do not speak for them. I fucking hate python and am forced to write it a lot while working here, but I want to suggest there's a complementary technological reason for wanting to run it in the cloud. This isn't to say that MSFT will stand to make more money if you are using their cloud services, and I don't have any insight at all into the "gib us money plz" side of this business.

The reason: One of the biggest headaches for IT depts has been attack vectors through office productivity suites. Download a sketchy excel spreadsheet from someone, and suddenly custom macros are purposefully creating avenues for attack, or are attacks themselves. Ken and Debra in accounting aren't security people. They got a spreadsheet from an email that seems superficially plausible, so they pop it open. Suddenly, your entire org is ransomwared just because two people who are just doing their normal duties get tricked.

That's why the ol' VBA shit and all those fancy macro systems from the past got neutered. Sandboxed and isolated, removed entirely, whatever. But a good feature gets lost.

Enter The Cloud, or in other terms, "Someone Else's Computer". As in, someone else's computer out there, far from your corporate network, that has no ability to reach back through your security perimeter and have a rummage around your business guts. The worst thing that will happen is the attack-vector-spreadsheet, itself, might be compromised. Or Microsoft's cloud computers, which are, again, not your computers.

Anyway, that's honestly a great reason for it. And there's also the business cat reasons, which I don't like in principle; I always begrudge businesses their attempts at squeezing us for more and more every single fucking day. So anyway, it probably isn't worth it to the average home user, but IT departments are going to be thrilled, even if the tech budget is going to get even fatter paying for all these users using someone else's computer.

I have strong opinions about home users who can write Python already but choose to use excel, but I'll keep them to myself. They're elitist and basically just me being a little shit, so... you do you, boo.

[–] dax 2 points 1 year ago

https://identify.plantnet.org/ might be able to help, or at least give you some candidates to carefully inspect and rule out!

[–] dax 2 points 1 year ago

I mean, this is near enough as makes no difference, I think?

Either way I won't have to look at his trash-ass takes anymore, but I'm just saying it does exist and when you run across a take like that, it tends to taint everything near it.

[–] dax 5 points 1 year ago (1 children)

I just figured the cat gif well was deeper than the bee gif well. I didn't want them to move heaven and earth, just tape a piece of candy to the receipt, yanno?

[–] dax 6 points 1 year ago (6 children)

I feel like those of us who have contributed should receive in return an adorable cat gif.

Not like, to display or anything. Just something happy that bounces in our mailboxes after we contribute. Maybe the cat is wearing a hat! Or maybe the cat has gotten into a humorous predicament. Or maybe the cat is riding a dog. Or a human! The possibilities are endless, the joy boundless; and pragmatically speaking, it makes our monthly receipts for donation slide ride on through with less risk of begrudging it :D

I am not a business cat and you should not take this as business advice

[–] dax 1 points 1 year ago

honestly I think the last time I could have pulled it off was elementary. I went from a skinny stick to mr. chubs in a flash in 6th grade. though maybe it was because I didn't have any ropes to climb anymore?

view more: ‹ prev next ›