Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)RC
Red1C3 @lemmy.world
Posts 4
Comments 19
[help] Are there tools for documents manipulating that can provide an approximate size of components (text included)?
  • 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.

  • Are there tools for documents manipulating that can provide an approximate size of components (text included)?

    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!

    14

    I can't get TLS to work

    I've been trying to follow the tutorial here, after failing to apply it to my project I tried to do the tutorial as it is, and I'm still getting handshaking failures.

    On the server side, I have the following exception: javax.net.ssl.SSLHandshakeException: No available authentication scheme

    While on the client side, I have the following: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

    I'd like to add that I'm starting fresh without any previous any keystore nor truststore, executing the commands in the tutorial does generate the key and trust stores.

    I've tried making the CN the same as my machine hostname too, didn't work, nothing worked, the server and the client could never handshake.

    Side note: this is just a demo I'm doing, so I don't really care if it has security flaws, I'm just trying to get TLS to work.

    Thx in advance.

    Update: I downgraded from JDK21 to JDK17 and it worked fine :/

    7
    Windows: we noticed that you kept the useless search bar disabled since 2015, so we sent an update that re-enabled it without your permission
  • 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

  • How do I increase tmpfs size correctly?

    I have reinstalled my Fedora 38 on an old laptop with only 4gigs of RAM, problem is it allocated only 2gb of tmpfs, and so far it caused me a ton of problems, it runs out of space pretty quickly, especially when installing big size sw, I've read you can modify the size of it by changing the entry in fstab, but I couldn't find a tmpfs entry there, I've searched the Arch Wiki and found this:

    > Mounting tmpfs at /dev/shm is handled automatically by systemd and manual configuration in fstab is not necessary.

    So I believe this is the case for me, would adding a new entry inside fstab work without any issue?

    1

    Doxygen: Is it possible to reference methods and data members in other method's comment block?

    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)

    2
    September Plasma 6 update
  • 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

  • [Help] making a persistent Debian live install from Windows
  • I remember being able to create a persistent drive using Rufus and Linux Mint (Not the Debian edition though) , Rufus has a slider for creating a persistent drive when burning the iso, pretty sure you can find some guide online

  • Shifted to MX Linux, based on Debian, with Xfce desktop. Looks not bad in my opinion, but let's see how it goes. [@thelinuxEXP](https://mastodon.social/@thelinuxEXP) [@[email protected]](https://lemmy.ml
  • 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)