u/dheerajshenoy22

BeeMesh++ — A distributed volunteer computing framework built with modern C++ & Asio

Hi,

We have been working on an open-source project called BeeMesh++ which is the C++ implementation of the original python code BeeMesh.

This is basically like SLURM but for multiple geographically independent devices.

It uses a nature-inspired architectural model:

  • The Hive (Orchestrator): Manages the state of the network, tracks available compute nodes (bees), handles job dispatching logic, and aggregates results.
  • The Bees (Workers): Volunteer compute nodes that connect to the Hive, announce their availability, listen for incoming serialized task payloads, execute them, and stream the results back.

NOTE: This is still in it's early stages.

Plan ahead would be to implement encryption for all the network communications, communication between bees, parallelizing independent code blocks etc.

Feedback, architectural critiques, or code reviews appreciated.

u/dheerajshenoy22 — 3 days ago
▲ 7 r/foss+3 crossposts

BeeMesh++ — A distributed volunteer computing framework built with modern C++ & Asio

Hi,

We have been working on an open-source project called BeeMesh++ which is the C++ implementation of the original python code BeeMesh.

This is basically like SLURM but for multiple geographically independent devices.

It uses a nature-inspired architectural model:

  • The Hive (Orchestrator): Manages the state of the network, tracks available compute nodes (bees), handles job dispatching logic, and aggregates results.
  • The Bees (Workers): Volunteer compute nodes that connect to the Hive, announce their availability, listen for incoming serialized task payloads, execute them, and stream the results back.

NOTE: This is still in it's early stages.

Plan ahead would be to implement encryption for all the network communications, communication between bees, parallelizing independent code blocks etc.

Feedback, architectural critiques, or code reviews appreciated.

u/dheerajshenoy22 — 3 days ago
▲ 27 r/lua+2 crossposts

Recently I have started working on implementing optional Lua scripting support (can choose not to have this at compile time) for LEKTRA, similar to in neovim.

The API is still a work in progress, and you can take a look at it here Lektra Lua API Wiki

Where would this be helpful ?

  1. Extracting text and processing it or saving it
  2. Writing custom commands that suit a particular workflow
  3. Custom behavior or scripts etc.

Would appreciate any feedback, suggestions or use-cases of something like this in a document/image viewer.

u/dheerajshenoy22 — 19 days ago

Hi. I am trying to lazily load frames from multi frame images somehow. I'm trying to implement animated image rendering for my Qt project and want to avoid the whole image being loaded to the memory as it takes up a lot of resources. Instead I want to do what browsers do, use very low memory. Hopefully there's a way and I don't have to ditch ImageMagick because of the sheer amount of image formats it supports.

Thanks!

reddit.com
u/dheerajshenoy22 — 26 days ago
▲ 5 r/pdf+1 crossposts

Hi everyone!

I'm building a keyboard-driven document reader and image viewer (LEKTRA) in C++/Qt, and I'm trying to decide on a configuration and scripting approach. Currently I use TOML for static config, but I'm considering adding an embedded scripting layer.

The main contenders I'm thinking about:

- Lua — lightweight, embeds easily via sol2, or maybe I write it on my own, great precedent (Neovim, AwesomeWM)

- Python — more familiar to most users, but heavier to embed

- Dynamic loading of shared objects ?

I'm not sure if this would be useful or used by users given that my project is a document and image viewer, and not a text editor or anything.

u/dheerajshenoy22 — 13 days ago
▲ 24 r/foss+1 crossposts

Hello everyone, I wanted to update regarding my project LEKTRA.

It's based on MuPDF and Qt6, and recently added support for Images because personally I think it's helpful to view images side by side with any documents you are reading.

It's extremely configurable (through TOML), customizable keybindings, by default has vim-like keys, tabs, splits, sessions, etc. See all the features in the homepage.

It's on the AUR, so do give it a try if you are interested.

lektra-git: https://aur.archlinux.org/packages/lektra-git

OR

lektra-bin: https://aur.archlinux.org/packages/lektra-bin

Homepage: https://dheerajshenoy.github.io/LEKTRA

GitHub: https://github.com/dheerajshenoy/lektra

Release: https://github.com/dheerajshenoy/lektra/releases/tag/v0.7.0

u/dheerajshenoy22 — 27 days ago