thevoidzero

joined 1 year ago
[–] thevoidzero 3 points 16 hours ago

Yup simlink is so nice. I sometimes use it for color vs monocrome plots. Change simlink and compile. Although I learned you can also use if statements in latex, I use that now.

[–] thevoidzero 6 points 19 hours ago (2 children)

Yup. When I rerun my things, in latex I just overwrite the plots file (pdf/png) and compile latex. In word I have to find where it was and replace it there. It's way easier on latex if you make your code just write plot files in the same location.

[–] thevoidzero 6 points 20 hours ago* (last edited 20 hours ago) (2 children)

It's in rust. Problem is the gtk part, it has to be installed in the system, which makes it run there. But how do I distribute the program without having everyone install gtk on their computer. In Linux it's just a dependency so it's not a problem, for windows I can't seem to make it work.

Edit: also, I need gtk because people around me who uses windows aren't going to use CLI program at all.

[–] thevoidzero 17 points 22 hours ago (4 children)

And the ease with which you can generate hundreds of lines of page with a simple text template and code.

[–] thevoidzero 8 points 22 hours ago (4 children)

I'd like to make it like that for my projects, but I don't use windows so I can't do well with packaging them. And sometimes when I try it runs in the computer, but then doesn't run in other computers because of missing dlls or some other things.

Anyone have good idea how to make it easy. Using windows VM is such a hassle to install and such just for tiny programs I make.

[–] thevoidzero 4 points 2 days ago (1 children)

How would a programming book have that kind of mistakes? Do they manually type the code, and output separately?

Any semi-competent programmer will copy paste the code to the terminal and copy the output.

And any competent programmer will make sure the output is auto generated from the code so there's no mistakes.

[–] thevoidzero 3 points 3 days ago (6 children)

Perfect, it looks like the thing I want. Hopefully it can do multiple devices in different networks. I'll test it out when I can.

Thank you :)

[–] thevoidzero 3 points 3 days ago

Maybe having different platform make it better than unknown algorithms that make it seem like everyone agrees with you. Like now you know there's this whole thing for opposite view and you could check that sometimes. But of course that'll only work for people that like to think, main problem now is they don't.

[–] thevoidzero 5 points 3 days ago (8 children)

I'd like a local filesharing option. Where a single folder would be synced in my phone from home computer when I'm at home, and from work computer and phone when I'm at work. Without using cloud sync between them only when I'm physically traveling between them, that's good enough for most use cases of cloud sync that I want for work.

[–] thevoidzero 2 points 3 days ago

Sometimes you get into skill issue, or time issues. I make some softwares that I need, but I don't have advertising skills to make people use it.

And sometimes I want to make something, but I don't have the necessary skills.

For example I'd like a local filesharing option. Where a single folder would be synced in my phone from home computer when I'm at home, and from work computer and phone when I'm at work. Without using cloud sync between them only when I'm physically traveling between them, that's good enough for most use cases of cloud sync that I want for work.

[–] thevoidzero 10 points 5 days ago (1 children)

It's sad that even if it's too obvious to you and us. It might not be for many people. We have been making fun of "obvious lies" for a long time, but recently we've learned people are really believing that, they are willingly following the every word. I don't know if they are plain stupid, like echoing each other, or just want to blame people. It seems to work.

In summary don't shrug it off by called it obvious lies, it is probably working for a lot of the population.

[–] thevoidzero 11 points 1 week ago (1 children)

Unified by war I don't know if you'd find one, but even just "no genocide" you'll only find a few. I was shocked with the Wikipedia page about genocide seeing how many countries had done it, or are doing it.

 

Hi, I want a bit of help from community.

My native language support is not working on libre office. It's a small country so the person who added support long time ago probably didn't look back after the version changes so the files no longer are compatible (i think that's why it's not working). I can offer to maintain the dictionary file for my language, as well as add more words and such. How do I go about that?

I also am a bit afraid of having to compile the whole suit to test for changes on dictionary. But if there's no other options I can do it.

 

cross-posted from: https://lemmy.world/post/22266569

Looking for Mentor (for a PhD Candidate) that works with open source and Rust

TLDR: Searching for person holding professor position to officially act as a committee member on a US PhD defense

Hi all,

I'm in a non CS field. I'm doing PhD in hydrology and I'm good at Geospatial Analysis, data analysis, visualization, modeling and such. I really like programming and have been making open source programs, contributing to open source programs and such. And have been learning rust for last 2 years.

For my PhD dissertation I'm doing a project where I'll be using Rust to make a program with compiled plugin system that can do generalized river related tasks including data analysis and visualization. I have professors in GIS and hydrology to guide those aspects, but I don't have anyone on software side to ask questions, or to look at my work. I tried emailing some people I have seen with open source projects on GIS+rust, but no response.

I'm ideally looking for someone that holds a professor position for my committee who is good with either rust, GIS related algorithms development, and programming languages. However, it woud also be helpful to just have someone woth knowledge about such things. In either scenario, credit and authorship will be given.

I appreciate any response even telling where i could find someone matching the above description. :)

Edit: I can also provide my previous projects in GitHub, websites and such before you decide in messages.

 

TLDR: Searching for person holding professor position to officially act as a committee member on a US PhD defense

Hi all,

I'm in a non CS field. I'm doing PhD in hydrology and I'm good at Geospatial Analysis, data analysis, visualization, modeling and such. I really like programming and have been making open source programs, contributing to open source programs and such. And have been learning rust for last 2 years.

For my PhD dissertation I'm doing a project where I'll be using Rust to make a program with compiled plugin system that can do generalized river related tasks including data analysis and visualization. I have professors in GIS and hydrology to guide those aspects, but I don't have anyone on software side to ask questions, or to look at my work. I tried emailing some people I have seen with open source projects on GIS+rust, but no response.

I'm ideally looking for someone that holds a professor position for my committee who is good with either rust, GIS related algorithms development, and programming languages. However, it woud also be helpful to just have someone woth knowledge about such things. In either scenario, credit and authorship will be given.

I appreciate any response even telling where i could find someone matching the above description. :)

Edit: I can also provide my previous projects in GitHub, websites and such before you decide in messages.

 

Hi all.

I want to develop a plugin system within my program, and I have a trait that functions defined by plugins should implement.

Currently, my code gets all the functions in a HashMap and then calls them by their name. Problem is, I have to create that hashmap myself by inserting every function myself.

I would really appreciate it if there was a way to say, suppose, all pub members of mod functions:: that implement this trait PluginFunction call register(hashmap) function. So as I add more functions as mod in functions it'll be automatically added on compile.

Pseudocode:

Files:

src/
├── attrs.rs
├── functions
│   ├── attrs.rs
│   ├── export.rs
│   └── render.rs
├── functions.rs
├── lib.rs

Basically, in mod functions I want:

impl AllFunctions{
    pub fn new() -> Self {
       let mut functions_map = HashMap::new();[[
       register_all!(crate::functions::* implementing PluginFunction, &mut functions_map);
       Self { function_map }
  }
}

Right now I'm doing:

impl AllFunctions{
    pub fn new() -> Self {
       let mut functions_map = HashMap::new();[[
       crate::functions::attrs::PrintAttr{}.register(&mut functions_map);
       crate::functions::export::ExportCSV{}.register(&mut functions_map);
       crate::functions::render::RenderText{}.register(&mut functions_map);
       // More as I add more functions
       Self { function_map }
  }
}
 

TLDR: I recently found out there is "deprecated" XFA format that acrobat still uses in their programs, and government forms have those for dynamic contents in the form that we cannot fill using other softwares. Looking for solutions.


This has been a problem since a long time. Back in 2020 I had dual boot because I needed acrobat to fill PDF forms, but after finding xournal++ program I nuked windows partition. Windows update messing up grub was one of the reason I decided to nuke windows and looking at the posts recently it's still a huge issue.

So the problem I recently encountered is that even the government issued PDF forms need acrobat reader (which is free software for PDF, but only available in windows and mac). Which I didn't think would be an issue and just filled the form in Firefox.

Turns out that was problematic as the PDF forms has fields that are automatically filled, calculated from other fields, only made available when certain checkboxes are checked, etc. and Firefox doesn't support that. Even trying to install the acrobat reader snap (which uses wine) in a VM and opening the PDF on it didn't work. The UI makes me think it's a really old version of the reader.

So without searching for other devices (and filling a PDF with my sensitive information) what solution is there? Installing windows is a hassle even in a VM, and it will use up precious SSD memory. But that's the only solution I can think of.

I also found masterpdf or something like that which the Arch wiki says has support for that, but it didn't work. It says XFA forms are converted to acro forms, and the dynamic part doesn't work. There are websites that promise to work for such forms, but I'm not going to be putting sensitive info on web apps.

 

Hi everyone,

I'm hoping there are people here who work on FOSS and have applied for grants to support their software financially. I am applying for a grant opportunity that is asking for a software from US gov agency.

My requirements:

  • I want to publish it under Open Source Licenses like GPL (not MIT) so other corps can't take this to use on their product,
  • The grant agency will get the source code, they can do whatever as long as the license is held,
  • I will develop the features they want, and request during the duration of grant,
  • I will want to continue development independently after the grant, or apply for more grants from other organizations,
  • To clarify the previous point, I do not want to give them the final product so they own it, and I can no longer do anything on the program.

So, if anyone has done similar things, please give me advice on this. Their requirement says "a web repository" should be provided at the end, so I think I can apply with the intention of giving them the software code while keeping the rights. But I don't want to make a mistake in application/contract and lost the rights to the program, I want to develop a lot further than just the features they want for their use case.

Or at least dual license to protect the Open Source Side while giving the grant organization rights to take the code for their other programs because of the money they spent.

 

cross-posted from: https://lemmy.world/post/18129059

This feels like it should already be a feature in a terminal. But I didn't find anything that let me do this efficiently.

I had a rust library for converting list like 1-4,8-10 into vectors, but thought I'd expand it into a command line command as well, as it is really useful when I want to run batch commands in parallel using templates.

I wanted to share it since it might be a useful simple command for many people.

 

This feels like it should already be a feature in a terminal. But I didn't find anything that let me do this efficiently.

I had a rust library for converting list like 1-4,8-10 into vectors, but thought I'd expand it into a command line command as well, as it is really useful when I want to run batch commands in parallel using templates.

I wanted to share it since it might be a useful simple command for many people.

 

cross-posted from: https://lemmy.world/post/17984566

Hi all,

mpv communities seem to be tiny in lemmy, so I'm sharing it here.

This is a program I made for music control from local network.

You can run it in a computer with some local media files, or youtube links or any other links yt-dlp supports. And then with the server, you can control the media player and the playlist from any devices in your local network. So that you can just show a QR code or something to house guests for parties, or have it bookmarked within family to control the music.

I wanted to make something similar to how youtube app let's you play in TV and such, but my skills were not enough to do that. So I tried a simple alternative that works with computers. In an ideal world, I could make "Play with local mpv server" option come while on other android apps, but I have zero experience in android app development and it looks complicated.

I know some other programs also give option to control media, but I wanted to give it a go with a simple implementation. Making the web-server was a tricky part. Only tutorial from the rust book was useful here as every other web server developement in rust seems to be async ones using libraries so I would have to make a complicated system to communicate with the mpv. Using the simple Tcp connection let me make a thread with mpv instance in the scope. I do need to support https and file uploads and other things, but I haven't had any luck finding a solution that works with simple Tcp connection like in the tutorial. Let me know if you know anything.

Github: https://github.com/Atreyagaurav/local-mpv

 

Hi all,

mpv communities seem to be tiny in lemmy, so I'm sharing it here.

This is a program I made for music control from local network.

You can run it in a computer with some local media files, or youtube links or any other links yt-dlp supports. And then with the server, you can control the media player and the playlist from any devices in your local network. So that you can just show a QR code or something to house guests for parties, or have it bookmarked within family to control the music.

I wanted to make something similar to how youtube app let's you play in TV and such, but my skills were not enough to do that. So I tried a simple alternative that works with computers. In an ideal world, I could make "Play with local mpv server" option come while on other android apps, but I have zero experience in android app development and it looks complicated.

I know some other programs also give option to control media, but I wanted to give it a go with a simple implementation. Making the web-server was a tricky part. Only tutorial from the rust book was useful here as every other web server developement in rust seems to be async ones using libraries so I would have to make a complicated system to communicate with the mpv. Using the simple Tcp connection let me make a thread with mpv instance in the scope. I do need to support https and file uploads and other things, but I haven't had any luck finding a solution that works with simple Tcp connection like in the tutorial. Let me know if you know anything.

Github: https://github.com/Atreyagaurav/local-mpv

 

cross-posted from: https://lemmy.world/post/11271385

Basically, you can choose some slides from an opened .tex file to copy. It also has the function to see which graphics files are included in the selected files, so you know which ones to copy.

Here is the Github link: https://github.com/Atreyagaurav/beamer-quickie

The PDF pages are shown using the SyncTeX (if available) so that you can visually choose the slides as long as there is a single .tex source file, (might still work without synctex for simple cases).

I've made it on Linux, so it hasn't been tested in windows. You probably will need to compile gtk on Windows if you want to make it work. So if someone is really interested let me know, I can give instructions. Even in linux you'll need to install dependencies.

 

Basically, you can choose some slides from an opened .tex file to copy. It also has the function to see which graphics files are included in the selected files, so you know which ones to copy.

Here is the Github link: https://github.com/Atreyagaurav/beamer-quickie

The PDF pages are shown using the SyncTeX (if available) so that you can visually choose the slides as long as there is a single .tex source file, (might still work without synctex for simple cases).

I've made it on Linux, so it hasn't been tested in windows. You probably will need to compile gtk on Windows if you want to make it work. So if someone is really interested let me know, I can give instructions. Even in linux you'll need to install dependencies.

view more: next ›