Red1C3

joined 1 year ago
[–] Red1C3@lemmy.world 1 points 8 months ago

Yeah that's what I'm searching for atm :/

[–] Red1C3@lemmy.world 2 points 8 months ago (2 children)

My requirements on the format itself are not that high, at best I need to be able to add images and tables, I can reason with any format that will work with that, maybe convert it later if I need to.

[–] Red1C3@lemmy.world 3 points 8 months ago (3 children)

Yeah my main is issue is trying to figure out how many pages it spans, I've looked at some docx and odt libs, none did seem to have an API related to getting the number of pages nor the height of some component (except for stuff with fixed heights like images...).

The underlying issue is that I want to create an exam paper with the least papers possible per exam, so I guess that at least I should be able to get the height of each question of the exam and rearrange them (using an algorithm) in a fashion that uses less papers.

 

Long story short, I want to build a system that reorders some components in a document file (be it a docx or odt, I don't have a hard constraint atm).

So my problem input should be a document file, and I need to be able to approximate the number of pages consumed by this document file, I also need to be able to get the height of individual components (like a single paragraph or a table) to have the data I need to rearrange so I can make the document have less pages.

I don't have a hard constraint on the programming language of the tool either (Python preferred), I prefer not embedding LibreOffice into my system.

Also I'm willing to hear other solutions (maybe my input is not the optimal thing I can use for this problem).

Thanks in advance!

[–] Red1C3@lemmy.world 2 points 11 months ago

I've moved to Arch like a month ago, first installed i3, I think you'll only need xrandr and setup some hooks that set/reset xrandr on the screen plug/unplug, if you ALWAYS have two screens plugged in, you can execute xrandr on X startup and that's all about it

[–] Red1C3@lemmy.world 1 points 11 months ago

This is exactly what I needed, thanks a lot

 

Hello everyone, I've recently picked up doxygen and have been trying to document an old project, nevertheless, I have some class's method and I want to refer in the docs to another class's method and a data member of the same class

Here's the method:

void App::start() { for (unsigned i = 0; i < currentScene->gameObjects.size(); ++i) { currentScene->gameObjects[i]->start(); } timeSinceStart.restart(); }

I want to have a reference to GameObject::start and App::timeSinceStart in App::start doc block

(Sorry not in monospace, my Lemmy client doesn't seem to support it and I don't know the syntax here if one present)

[–] Red1C3@lemmy.world 1 points 1 year ago

Running rootless xorg recently got my Plasma to black screen after a min of launching sometimes, couldn't switch to a tty (I could press the power button and it worked so ig only the GPU driver crashed or something) the problem most likely only aroused when I adjusted sddm settings from Plasma's, which created a new sddm configuration file, removed rootless xorg config and it seems to have fixed it

[–] Red1C3@lemmy.world 1 points 1 year ago

Not sure about the security, but recently I've tried runit on a very old laptop with HDD and it took waaay much less to fully boot up than a clean Arch32 with systemd

[–] Red1C3@lemmy.world 2 points 1 year ago

Actually….it’s called NUL

[–] Red1C3@lemmy.world 1 points 1 year ago

I thought a WM would be lighter on resources that’s why I picked it up instead of XFCE, it’s doing it’s job well I guess

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

Been using the fluxbox 32bit variant for a while, pretty good and solid, lightweight on resources (the device runs on 1GB of ram and still serves me well enough) only drawback is outdated packages (cuz debian AND 32bit), also I’ve noticed the MX team has done some cool stuff (like I found telegram-desktop (kinda active package) in the MX repo there is no official binary for 32bit Linux)

[–] Red1C3@lemmy.world 1 points 1 year ago

Mint works pretty well as a persistent flash drive distro, the packages are a bit outdated though if you’re going to do a lot of programming

view more: next ›