this post was submitted on 23 Aug 2023
480 points (97.1% liked)

Technology

59314 readers
4948 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 171 points 1 year ago (2 children)

Damn they found a way to make python slower

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

Emulate that shit with Java!

[–] Aceticon@lemmy.world 5 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)
[–] kameecoding@lemmy.world 5 points 1 year ago (27 children)
[–] milady@lemmy.world 15 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)
[–] mrgreyeyes@feddit.nl 16 points 1 year ago

That made a python interface wrapper arround VB Script.

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

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

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

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

[–] nottheengineer@feddit.de 19 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 69 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.

[–] Master@lemm.ee 17 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.

[–] heyoni@lemm.ee 3 points 1 year ago

Cloud doesn’t have access to local drives…but in this day and age, python could be containerized or sandboxed. Sounds messy though.

load more comments (1 replies)
[–] ChaoticNeutralCzech@feddit.de 15 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.

[–] Aopen@discuss.tchncs.de 13 points 1 year ago
[–] 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 12 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)
[–] looeee@lemmy.world 4 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

load more comments (1 replies)
[–] just_change_it@lemmy.world 65 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 8 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.

[–] 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.

[–] deweydecibel@lemmy.world 49 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 29 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)
[–] urfavlaura@lemmy.world 32 points 1 year ago

time to mine monero on their servers

[–] Eheran@lemmy.world 22 points 1 year ago (11 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? ...

load more comments (11 replies)
[–] steventhedev@lemmy.world 7 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 ›