this post was submitted on 23 Aug 2023
521 points (96.9% liked)

Technology

59179 readers
2124 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

Since its inception, Microsoft Excel has changed how people organize, analyze, and visualize their data, providing a basis for decision-making for the flying billionaires heads up in the clouds who don't give a fuck for life off~~the~~line

top 50 comments
sorted by: hot top controversial new old
[–] Asifall@lemmy.world 192 points 1 year ago (2 children)

Damn they found a way to make python slower

[–] some_designer_dude@lemmy.world 28 points 1 year ago (2 children)

Emulate that shit with Java!

[–] kameecoding@lemmy.world 5 points 1 year ago (27 children)
[–] milady@lemmy.world 16 points 1 year ago (4 children)

I mean, whatever speed java has or doesn't have, what the other person said was emulate, you'll have your os then on top of that the JVM then on top of that your python implementation, then finally the python code. If that's faster than os->python imp..

load more comments (4 replies)
load more comments (26 replies)
[–] Aceticon@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)

I used to make high performance distributed computing server-systems for Investment banks.

Since the advent of Just In Time compiling, Java isn't slow if properly used.

It can however be stupidly slow if you don't know what you're doing (so can something like Assembly: if you're using a simple algorithm with a O(n) = n^2 execution time instead of something with O(n) = n*log(n) time, it's going to be slow for anything but a quantum computer, which is why, for example, most libraries with sorting algorithms use something more complex than the silly simple method of examining every value against every other value).

[–] Valmond@lemmy.mindoki.com 5 points 1 year ago (1 children)

Just because you can make slow assembler doesn't make Java fast.

Java is clunky and not fast compared to C++ which is clunky and fast, Python which isn't clunky but slow bla bla bla bla...

[–] Aceticon@lemmy.world 7 points 1 year ago* (last edited 1 year ago) (2 children)

That's oversimplifying things.

For things like algorithms Java can be as fast as C++ because ultimatelly it all ends up as the same assembly code: the differences in performance between one and the other are within the same range as the differences in performance between different C++ compilers or even optimization flags chosen and ultimatelly boil down to how good the implementation of the Java Virtual Machine is for a specific architecture (things like whether the generated assembly takes in account the way the microcontroller handles conditional jumps and cache misses).

Were Java is slower than C++ is in things like memory management: even the best garbage collection will never beat the kind of carefully handcrafter managing of memory that you can do in C++, though the upside of the different memory management architecture in Java is that your programs don't just start behaving in weird ways because you incorrectly accessed a variable in stack using a pointer and overwrote other stuff or even the function return address.

Then again if performance is your greatest consideration you would go for C, not C++ (note that I didn't say Assembly, as good C compilers are actually better at optimizing than most Assembly programmers).

load more comments (2 replies)
[–] mrgreyeyes@feddit.nl 16 points 1 year ago

That made a python interface wrapper arround VB Script.

[–] ChaoticNeutralCzech@feddit.de 93 points 1 year ago (2 children)

Wow, Microsoft is now copying LibreOffice. Who could have guesses?

[–] TWeaK@lemm.ee 23 points 1 year ago (1 children)

The difference is Microsoft will feed your scripts into training its AI.

[–] nottheengineer@feddit.de 21 points 1 year ago (1 children)

Microsoft is stupid, but not too stupid to realize that Excel users are generally tech-illiterate and most of them will produce garbage code.

[–] baked_tea@discuss.online 10 points 1 year ago

Gpt/Bing attempts at python code for excel lmao, full circle, ai training on itself

[–] umami_wasbi@lemmy.ml 85 points 1 year ago (5 children)

I don't get it. Why I need cloud to run Python scripts which can be done locally? Installing Python isn't hard and MS can bundle it as a library with Office either.

[–] ChaoticNeutralCzech@feddit.de 23 points 1 year ago

I've been asking this for every other cloud service - either companies are jumping on the 10-year-old bandwagon or want to collect data for AI training purposes in a way you cannot just disable in the settings. And of course you cannot self-host your own server.

[–] Master@lemm.ee 20 points 1 year ago (1 children)

This sounds like a security check. Our liability and ransomware insurance both require scripts to be turned off for excel and word.

[–] umami_wasbi@lemmy.ml 16 points 1 year ago (3 children)

I believe security threats can be mitigated locally without resorts to cloud.

Actually, one can argue using cloud is less secure because there is a risk of sensitive data leaked out of cooperate network.

You could argue that, but I wouldn't recommend it.

Microsoft has a massive amount of resources to throw at securing their environment, whereas most businesses simply don't have the ability to field a dedicated security team. The solution many reach is to offload risk to your software vendor, in this case Microsoft. Then, if there is data lost, it's Microsoft's fault, and it's their problem to fix, too. It's not ideal, but it's the world we're living in.

load more comments (2 replies)
[–] Aopen@discuss.tchncs.de 15 points 1 year ago
[–] looeee@lemmy.world 5 points 1 year ago (1 children)

When you save your doc to one drive then you can access it from the web version of office. That's the reason they've been encouraging developers to write add-ins that run from the cloud. I'm guessing that this is for similar reasons

[–] Aatube@kbin.social 3 points 1 year ago

You can also access docs by uploading it to the web version of office. Correct me if I'm wrong but last I remembered add-ins don't choose between desktop and web.

[–] mrsgreenpotato@discuss.tchncs.de 5 points 1 year ago (2 children)

Not everyone has an opportunity to work with Python in their work environment. I'm on the "business" side of the company, capable of doing most of programming stuff myself (Python, C#, SQL, etc.), whereas only "IT" people can work with the proper compileable code. And I'm left out working with VBA macros, or ask IT to write a script for me, which will take 1 year to develop. This change now will improve my local productivity for sure.

[–] umami_wasbi@lemmy.ml 14 points 1 year ago (1 children)

This issue isn't about authoring the script, is about why it needs to execute on the cloud rather locally.

load more comments (1 replies)
load more comments (1 replies)
[–] just_change_it@lemmy.world 71 points 1 year ago (1 children)

Does anyone not think Microsoft is going to use all their cloud data for training language models?

"We promise not to" doesn't seem realistic to me. Proving they used it is impossible.

[–] ChaoticNeutralCzech@feddit.de 7 points 1 year ago

“We promise not to”

Where did you quote this from? I think they won't care, just like GitHub Copilot, or it will be an opt-out feature.

[–] deweydecibel@lemmy.world 54 points 1 year ago (2 children)

Surprising no one. You can't even autosave files in Office software anymore unless you use OneDrive.

[–] affiliate@lemmy.world 32 points 1 year ago (1 children)

unfortunately the local storage technology just isn’t there yet. we have to rely on the magic of the cloud to handle complex things like auto saving files and running python interpreters

[–] stevedidWHAT@lemmy.world 5 points 1 year ago (4 children)
load more comments (4 replies)
load more comments (1 replies)
[–] Kethal@lemmy.world 49 points 1 year ago* (last edited 1 year ago)

This is inside-out programming. I want my code to read data files, not my data files to contain code.

The first example is how to take cells in the sheet and make a data frame in an Excel equation. That's easy, pandas.read_excel(): no clound needed, no need to hunt through cells of a sheet to find your code.

[–] urfavlaura@lemmy.world 35 points 1 year ago

time to mine monero on their servers

[–] Eheran@lemmy.world 26 points 1 year ago (1 children)

Holy shit Excel is still like it was 20 years ago. And now, when they want to add such a useful feature, it comes with that bag of crap with it? Fucking hell. I know why I switched all non-trivial stuff to python.

Defining reusable functions? Diagrams with parametric ranges? (Only the title can be a cell reference, nothing else) Zooming in diagrams? More than 1 x axis? More than 2 y axis? ...

[–] ChaoticNeutralCzech@feddit.de 4 points 1 year ago* (last edited 1 year ago) (5 children)

Even a basic thing like XY scatter plots is absolutely terrible. I had made dozens of them before but in 365, when I selected the data and clicked "Scatter Plot", it refused to assign the left column to X and the right to Y. I fought for 10 minutes with "Chart Series" and then gave up to look up the solution. Also very few trendline functions are available, the default axes look like crap and min/max is broken for logarithmic charts.

Not to mention that one third of all options is in a keyboard-unfriendly, laggy "responsive" UI while the rest is in windows that barely changed since 1995, and are completely missing in the web version. Localization has only become sloppier and you want centimeters rather than inches in Office Online? Fuck you.

[–] Eheran@lemmy.world 3 points 1 year ago (5 children)

Oh those numbers? That is a date. I will delete the original numbers and replace it with something else. Good luck.

Excel is one of those examples of a software that is only used everywhere because it used to be the best and it is overall not bad. So "everyone" already knows it and the incentive to move to something else is fairly small, because it would only be so much better. But still, why are they not developing it further? Completely crazy.

load more comments (5 replies)
load more comments (4 replies)
[–] steventhedev@lemmy.world 8 points 1 year ago (2 children)

So this is basically a native version of xlwings that requires exposing your excel data?

load more comments (2 replies)
load more comments
view more: next ›