« first day (3739 days earlier)      last day (1435 days later) » 

00:15
Celebrating the new year with my first question in a looooooooong time
2
Q: C++20 behaviour breaking existing code with equality operator?

seheI ran into this answering this question. I trimmed it down all the way to just using Boost Operators: Compiler Explorer C++17 C++20 #include <boost/operators.hpp> struct F : boost::totally_ordered1<F, boost::totally_ordered2<F, int>> { /*implicit*/ F(int t_) : t(t_) {} bool operator==(F...

 
16 hours later…
user7659542
16:24
@Mikhail you can just manually set the compiler like so:
18:38
Hello
user7659542
olleH
ollǝH
if it wasn't for that "e" then you would never know the whole word is flipped
user7659542
18:56
lol
21:10
Yeah I guess my underlying issue is more a of XY problem. Really I need to generate a compile_commands.json for linting a cross compiler target. By default cmake generates this artifact without specifying the library paths. This, in tern, makes the tools like clangd assume the system C++ runtime path which is not what I need. In a normal world we'd just have the two match but...
 
1 hour later…
user7659542
22:25
So I am totally fucked
user7659542
I have been working for days on the first part of my thesis using libreoffice. I now want to export the odt file to a pdf
user7659542
but when I do so it says "Error saving the document: General error. General input/output error"
user7659542
I ve had this happen a couple of weeks ago when trying to save the odt file as a docx file. I ended up losing all my work.
user7659542
Suggestions???
user7659542
saving as epub or xml does not work neither
user7659542
22:30
When using an online converter odt->pdf, all the formulas in my work are gone. And my paper mostly consists of formulas
23:02
@traducerad Okay, so the first step is to make a backup copy of the file and mark it read-only, to minimize chances of losing it entirely.
user7659542
@JerryCoffin I saved it (withou marking it as RO), took screenshots of every page. Closed the file. Reopened it and all my formulas disappeared
user7659542
Well they did not entirely disappear, this is what I see
user7659542
user7659542
Where you see object 4 and 5 there were formulas
user7659542
clicking on those things doesn't do anything
23:06
Ouch! Perhaps this is (part of) why most people doing math-heavy papers use LaTeX.
user7659542
I have to use a template for this paper. And the template was given as a docx
user7659542
I initially kept it as a docx, worked in it and tried saving it. But that didn t work.
user7659542
So I ended up saving it as a odt, but now I cannot export it as a pdf and my formulas are gone
That does leave you sort of between a rock and a hard place, so to speak.
user7659542
yes
user7659542
23:09
suggestions on how to get my formulas back?
user7659542
guess this is what happens when you use free open-source shit like libreoffice
I don't really have a particularly good idea right off. If memory serves, odt is a dialect of xml, so maybe looking at the raw xml would accomplish something?
@traducerad At least in my experience, LibreOffice is about as good as Microsoft's...
user7659542
I ve never had this sort of crap with MS office
user7659542
I more and more have the impression that the only way of having reliable equipment (laptops, cellphones, stuff like word) is by just paying the right amount
user7659542
and not always grab the cheapest stuff you find
user7659542
23:17
I ve come to this realisation when buying a proper more expensive laptop and cellphone for the first time
user7659542
I ve always bought refurbished laptops from Germany and very often had issues with them
user7659542
Same with smartphones, I akways bought cheap huawei smartphones
user7659542
I now for the first time bought a 800e laptop and an iphone and those things are just more reliable
user7659542
I did initially consider buying a mcbook for this reason. But many of the tools I use are not available on OSX
@traducerad I have. Not terribly often, but definitely once in a while. Seems to be fairly unusual with LibreOffice as well, though I don't have anything like quantitative analysis about exactly how often it happens with each.
I'd agree a lot more about hardware though. Cheap laptops, phones, mice, headphones, you name it--mostly garbage.
23:41
Yes, LibreOffice is shit. Can you just open it in MS Office, possibly the online editor?
I've invented a brilliant new product. My 180 watt laptop charger and be used a device to keep my coffee warm.
23:53
You could write your own word processor ... just a thought ... :x

« first day (3739 days earlier)      last day (1435 days later) »