News for hackers. Stuff that matters.
Re:Bye Bye Microsoft Office, Hello LibreOffice by bernierocks on Monday November 25, 2019 @09:59AM (#21628621)
I made the switch to libreoffice a few years back. For simple word documents, it works well.

It breaks down when you are using something like Excel with complex macros/calculations. This is why most companies continue to use Microsoft products.

Re:Bye Bye Microsoft Office, Hello LibreOffice by diffeomorphism on Monday November 25, 2019 @10:48AM (#21629121)
> It breaks down when you are using something like Excel with complex macros/calculations.

As in compatibility with MS Office breaks or as in it can't be done in libreoffice?

For example, if I understand it correctly libreoffice supports javascript, python, beanshell and libreoffice basic for scripting and additionally offers non-complete support for VBA.

Does MS Office "break" when you try to import "complex macros/calculations" done in python?

Re:Bye Bye Microsoft Office, Hello LibreOffice by wil421 on Monday November 25, 2019 @11:01AM (#21629300)
The megacorp I work for has 40k people. There’s probably more people who can write Macros for excel than know JavaScript or Python (or who are willing to learn either). I’ve met business people who are masters of excel who’ve been using it since the 90s. Asking a huge amount of non-tech people to switch is extremely hard, much harder to convince them to use a new scripting language.
Re:Bye Bye Microsoft Office, Hello LibreOffice by diffeomorphism on Monday November 25, 2019 @11:23AM (#21629641)
Sure, that is a perfectly valid point. However, I think that "libreoffice breaks" says something quite different than "MS Office's VBA has bad compatibility with anything but MS Office and thus provides very strong lock-in".

Out of interest, is there any non-MS office suite with better VBA compatibility than libreoffice? For instance in view to the whole Adobe Venezuela story.

Re:Bye Bye Microsoft Office, Hello LibreOffice by amyjess on Monday November 25, 2019 @11:20AM (#21629591)
It ultimately doesn't matter.

Excel macros are code, and they are very often production-critical code. The people who wrote them don't see themselves as coders, sure, and management often doesn't give the code the respect it deserves (e.g. Excel is often exempt from basic things like version control and code reviews), but it's still code that the business still depends on.

When someone proposes replacing MS Office with LibreOffice, what they're really proposing is to replace the runtime that a significant amount of production code runs on with something that's only compatible with part of your codebase.

"If we switch, we are going to have to rewrite a decent chunk of our production-critical code" is a non-starter, especially when coupled with the fact that the developers have no experience with the new runtime and are going to have to learn it as they port the code. And because they don't see themselves as coders, they don't have the theoretical background that makes it easier for experienced software engineers to pick up new languages.

Re:Bye Bye Microsoft Office, Hello LibreOffice by penagwin on Monday November 25, 2019 @11:01AM (#21629319)
Sure libre _might be better_ in that regard. But 99% of business sheets are done in excel, and work in excel.

If they don't work in libre then that's an automatic no-go for most managers/whoever makes that decision.

Re:Bye Bye Microsoft Office, Hello LibreOffice by wayneftw on Monday November 25, 2019 @11:00AM (#21629293)
There are multiple avenues for supporting python macros and calculations in excel. As a matter of fact I believe Microsoft was considering adding python as the default scripting language for excel.
Re:Bye Bye Microsoft Office, Hello LibreOffice by alteria on Monday November 25, 2019 @11:59AM (#21630116)
It's the top voted suggestion on their UserVoice, but no updates from the devs in a while

https://excel.uservoice.com/forums/304921-excel-for-windows-...

Re:Bye Bye Microsoft Office, Hello LibreOffice by marticode on Monday November 25, 2019 @11:13AM (#21629459)
Libreoffice supports plenty of scripting options but documentation is abysmal, and there's barely a thought given to web service integration.
Re:Bye Bye Microsoft Office, Hello LibreOffice by jsiepkes on Monday November 25, 2019 @10:36AM (#21628993)
> It breaks down when you are using something like Excel with complex macros/calculations. This is why most companies continue to use Microsoft products.

It breaks down because you need some serious backup in your organization (for example from the owner) to switch to something like LibreOffice. People got enough on their plate and changing their tools for (from their perspective) no apparent reason will get a lot of push back. I think technically LibreOffice is perfectly up to the task. Sure if your a statistician then maybe Spreadsheet won't work as well for you as an Excel replacement. But other then that...

Re:Bye Bye Microsoft Office, Hello LibreOffice by nradov on Monday November 25, 2019 @10:43AM (#21629071)
It doesn't matter how much backup you have in the organization if the product is missing essential functionality. LibreOffice just doesn't have everything that MS Office does. That doesn't matter for some businesses but for others it creates a total block.
Re:Bye Bye Microsoft Office, Hello LibreOffice by cobbzilla on Monday November 25, 2019 @10:52AM (#21629181)
I have some pretty complex spreadsheets from Excel that I now run under LibreOffice without any problems.

That said, while they do use some complex formulas, they don’t use any VBScript or other such madness.

Complaining that your custom MSFT/VBScript stuff doesn’t work, so you can’t migrate — it sounds to me a bit like “We’re stuck on Oracle and can’t move to PostgreSQL because we decided to use a lot of Oracle magic stuff that doesn’t work anywhere else”.

This is classic vendor lock-in, which I tend to view as a business risk best avoided. There really is no option except to recognize it as technical debt and find time to dig yourself out from it.

When your only option for “Business Function X” limits you to a single vendor, fix that first.

Re:Bye Bye Microsoft Office, Hello LibreOffice by marcinzm on Monday November 25, 2019 @11:22AM (#21629623)
Everything has risks and tradeoffs. Excel means that you can communicate with clients and vendors in their preferred tool, it means you can onboard new hires more quickly, it means you need less internal support staff, etc. Switching from Excel adds those things back in as risks for your business.

Good business is about managing and understanding risks, and not about eliminating them at all costs.

Re:Bye Bye Microsoft Office, Hello LibreOffice by cobbzilla on Monday November 25, 2019 @11:55AM (#21630072)
This is a very sane approach, and I agree wholeheartedly.

But when the only thing holding you back and locking you in is your own company's internal vendor-specific tooling/infrastructure, the argument doesn't hold as much weight.

fwiw, I have never received an Excel spreadsheet from a vendor/partner/customer that I could not open and work with in LibreOffice, re-export to Excel and send back to them.

Re:Bye Bye Microsoft Office, Hello LibreOffice by immigrantsheep on Monday November 25, 2019 @01:09PM (#21630986)
I did because a lot of our clients and partners were non technical people using complex excel spreadsheets with macros and vba.

And since Excel is the de facto standard, shouldn't Libre Office offer a 100% compatibility to whatever Excel has if it wants a piece of that market share? Also $150/year for something that does it all and just works it's really not much. The same reason why we don't ask how much Visual Studio Enterprise costs or IntelliJ products even if you have free alternatives.

Re:Bye Bye Microsoft Office, Hello LibreOffice by bitwize on Monday November 25, 2019 @11:07AM (#21629380)
This sounds like an argument I would've made in my early twenties. I will now correct you in the way my elders corrected me:

Oracle and Microsoft Office are global standards. The world uses them. Our civilization relies on them. If alternatives such as PostgreSQL and LibreOffice are not 100% compatible with these standards, they are lacking in functionality.

Re:Bye Bye Microsoft Office, Hello LibreOffice by davidy123 on Monday November 25, 2019 @11:23AM (#21629630)
They are de facto standards as an application. As data formats, governments and large companies required them to become available under formal standards. After doing a lot of outright sleazy things, Office format (which is basically xml files wrapped in a zip file) is now a formal standard. When companies like Microsoft step around interoperability, they should be severely chastized and then punished, which apparently only governments and large companies have the wherewithal to do.
Re:Bye Bye Microsoft Office, Hello LibreOffice by littlestymaar on Monday November 25, 2019 @11:34AM (#21629813)
I wouldn't compare Oracle and Office: office is a monopoly, with LibreOffice being David against Goliath. Oracle is big, but it's not at all a standard, it's one of the players of database market, which is quite competitive: there are open source alternatives(MySQL and postgres) which are widely used (not like LibreOffice), and also big corporate players (DB2 and SQLServer).
Re:Bye Bye Microsoft Office, Hello LibreOffice by cobbzilla on Monday November 25, 2019 @11:11AM (#21629434)
I’m flattered to have such notions of youth imputed upon me :)
Re:Bye Bye Microsoft Office, Hello LibreOffice by edoceo on Monday November 25, 2019 @11:17AM (#21629535)
One must not give up the fight against closed-source monopoly.
Re:Bye Bye Microsoft Office, Hello LibreOffice by slantyyz on Monday November 25, 2019 @01:48PM (#21631378)
Oracle is a bit of a reach, imo.

Oracle's definitely a standard in companies of a certain size and pedigree, but it's not even remotely as ubiquitous as Office, which is both a business and consumer product.

Re:Bye Bye Microsoft Office, Hello LibreOffice by strzibny on Monday November 25, 2019 @11:42AM (#21629911)
Is this the biggest bull* I read today?
Re:Bye Bye Microsoft Office, Hello LibreOffice by braindeath on Monday November 25, 2019 @12:40PM (#21630615)
there is an option though: accept what you’re calling technical debt (though honestly, calling vendor lock-in technical debt reduces that term to meaningless in my opinion)... there’s nothing technically wrong with it.. you can create something well designed in excel or it can be shitty.

Anyway, it’s a risk like any other, and it may often be worth it. The alternative of switching to libreoffice is not free, and can truly be more costly than some office licenses and the risk that Microsoft will drop or fuck up excel (which most consider low)...

Personally having earnestly tried to do some complex work in libreoffice calc and running into just bugs and poor polish (error handling anyone?), it is not an experience I elect to relive... I still feel locked in to Excel as my life is too short to waste on the inferior product.

Re:Bye Bye Microsoft Office, Hello LibreOffice by abnry on Monday November 25, 2019 @10:49AM (#21629138)
Yes, I would imagine given how long Office has been around, there are some people who have delved quite deep into the feature set and become dependent on it. It's hard to let go of one feature that you have come to rely on.
Re:Bye Bye Microsoft Office, Hello LibreOffice by AnIdiotOnTheNet on Monday November 25, 2019 @11:39AM (#21629867)
> I think technically LibreOffice is perfectly up to the task.

IT people really need to stop declaring this about FOSS products when it is regarding workflows they have no experience in.

Re:Bye Bye Microsoft Office, Hello LibreOffice by marcinzm on Monday November 25, 2019 @11:15AM (#21629508)
>Sure if your a statistician then maybe Spreadsheet won't work as well for you as an Excel replacement.

We had a client send us a questionnaire in an Excel document with macros to compute various things based on our answers. You underestimate just how many things are done in Excel across companies (ie: you can't even force both side to switch to Libreoffice) that you would, probably, write a quick webpage for.

Re:Bye Bye Microsoft Office, Hello LibreOffice by bartread on Monday November 25, 2019 @10:32AM (#21628950)
Agreed.

It also becomes tricky when you need to interoperate or integrate with companies that have chosen to use either GSuite or LibreOffice rather than O365.

With that said, I'm glad these alternatives exist even though they're never going to work for me.

Re:Bye Bye Microsoft Office, Hello LibreOffice by tzs on Monday November 25, 2019 @03:20PM (#21632342)
Every spreadsheet I've used has managed to annoy me, but LibreOffice and Apple's Numbers both manage to do it even with simple spreadsheets with simple (or even no) calculations. Excel at least waits until I'm doing something slightly complicated before irritating me.

Example: create four rows of four cells each, like this:

  1  2  3  4
  2  4  6  8
  3  6  9 12
  4  8 12 16
Select rows 1 and 3 (but not 2), copy, and paste just below row 4.

In Excel, that pastes a copy of row 1 at row 5, and a copy of row 2 at row 6.

In Numbers, row 1 is copied to 5, and row 3 is copied to 7.

In LibreOffice, row 1 is copied to 5, and row 3 is not copied.

So we have three ways to handle copy/paste of a non-contiguous selection: make it contiguous on paste (Excel), past non-contiguously (Numbers), and just copy the topmost row (it's topmost, not first row selected--if you select row 3, then non-contiguously add row 1, it is row 1 that copy grabs) (LibreOffice).

I'm not sure which of these is actually the most right from a theoretical perspective, but I bet Excel is the one most likely to be based on data about which method best matches what users actually do with the spreadsheets.

Joel Spolsky has an article [1] where he talks about what they found when he was on the Excel team at Microsoft and they actually started visiting customers to see how they used Excel. A couple quotes:

> Over the next two weeks we visited dozens of Excel customers, and did not see anyone using Excel to actually perform what you would call “calculations.” Almost all of them were using Excel because it was a convenient way to create a table.

and

> What was I talking about? Oh yeah… most people just used Excel to make lists. Suddenly we understood why Lotus Improv, which was this fancy futuristic spreadsheet that was going to make Excel obsolete, had failed completely: because it was great at calculations, but terrible at creating tables, and everyone was using Excel for tables, not calculations.

Looking at my own spreadsheets...I find that most of them are indeed really just lists or tables with maybe a little calculation. The few that I would say are actually heavily calculation oriented would probably do just as well in LibreOffice or Numbers.

[1] https://www.joelonsoftware.com/2012/01/06/how-trello-is-diff...

Re:Bye Bye Microsoft Office, Hello LibreOffice by CmdrKrool on Monday November 25, 2019 @04:28PM (#21633005)
I've just tried that row copying activity myself in LibreOffice, and it's behaving the same as you describe for Excel - row 1 copied to 5, row 3 copied to 6.

I selected the rows by clicking the row numbers (while holding Ctrl for the second one), and the version is 6.3.3.2.0, FWIW (I'm on Arch Linux so I suppose this is right up to date).

Re:Bye Bye Microsoft Office, Hello LibreOffice by tzs on Monday November 25, 2019 @04:46PM (#21633163)
I've got 6.3.3.2 on a Mac.

I was selecting by just selecting the four columns in row 1 by clicking and holding on 1 while dragging to 4 and releasing, then doing the same thing with row 3 while holding the command key down which is how you do non-contiguous selection on Mac, then clicking on column 1 of row 5, and doing paste.

I just tried it with clicking the row number, to do whole row selection. So click the number for row 1, then command-click the number for row 3. Then I clicked the first cell in row 5 and hit paste. Same result as I got before...just row 1 copies.

I also tried it where I clicked the row number for 5, to select the whole row, before pasting, and no difference.

Good to see that it is working better on Linux. That probably suggests this is just a bug in their Mac port rather than intentional behavior.

Re:Bye Bye Microsoft Office, Hello LibreOffice by CmdrKrool on Monday November 25, 2019 @05:17PM (#21633407)
Yeah, if I select the cells in the way you just described then I get both the rows copied, again. It does sound like something in the Mac port. Certainly I would find that an annoying behaviour if I saw it.

Tangentially, and perhaps weirdly, if the ranges I select don't span the same columns - eg. if I select A1:B1 and C3:D3, a dialog box pops up upon Copy which says "This function cannot be used with multiple selections". Even though the ranges are still the same size. That seems undesirable, to me.

Re:Bye Bye Microsoft Office, Hello LibreOffice by chopin on Monday November 25, 2019 @04:56PM (#21633238)
Works as well in version 5.1.6.2 on Linux Mint.
Re:Bye Bye Microsoft Office, Hello LibreOffice by ourlordcaffeine on Monday November 25, 2019 @11:50AM (#21630000)
My company fixed that by requiring anything data or calculation related to be done in R
Re:Bye Bye Microsoft Office, Hello LibreOffice by ozguroz on Monday November 25, 2019 @10:31AM (#21628939)
I have been using open office quite a while and it just perfectly works for me