Terminal Command to generate list of numbers from human readable representation - Atreyagaurav/numrng
Problem with MS word is you can't really put vector images in it externally without it being weird. I think that's why people are used to drawing it in the software.
Don't feel guilty. Everyone has their own struggles. You can look at people who are in worse situation to get some perspectives in live. If it helps you to be positive that's ok. But don't use that as a way to disregard what you are feeling and why it's a problem and how you may solve it. I call it "don't be grateful someone stabbed you in the leg just because someone besides you got stabbed in heart and died". Yes you're better off, but you still need to worry about you and get better.
"It squeaks"
Translation: It makes noises like an animal at distress or about to die when you are tearing into it.
I'll keep saying it. Let's have a journal system for negative results and replication studies. Give partial credits for it relative to journal papers with novelty.
So if you have an idea you can search there, see if someone has tried it and failed, and how they failed. You can also search a certain paper and see if people have replicated the study.
It'll help everyone immensely.
It's easier to assume everyone online is a guy and still use gender neutral pronouns though. I think it's also a language problem that people weren't really used to using gender neutral pronouns in general so they resist it. I wonder if the problem is more pronounced in languages where everything has to be gendered.
People don't even check the name of the person they are replying to. From the signature or from the account itself. And just write whatever they come up with. So I don't really expect anything from them :(
The point I understood was that our individual changes aren't going to be significant because the companies contribute a lot to climate change. And we should focus on making them change their policies and processes to actually do something about climate change.
It doesn't do that just to fall straight down to the ground. It'd land far far off from there
It's https://en.m.wikipedia.org/wiki/Vikram_Samvat
(calender), it could be 2081 or 2082 now. So your calculations just made me think of that.
Yeah. I didn't want to do immediately after the trip. But now I don't see the option to do it from the history of trips.
Does it say 2080 is the end anywhere? Because in the calendar we use in my country it's 2081 right now, we're a hindu major country.
I was on a car from ride sharing app recently, and there was a tablet in front of me playing ads continuously for the whole ride. Asked the driver to turn it off and he said, "I have to keep it on". I know it's not the requirement from the app, so honestly how dystopian is it?
The way things are going people can't afford anything and will have ads blasting in front of them for discounts.
Drop in valuation doesn't matter as much. It's the relative portions they have. If everyone is poor by 10%, poor people will lose a few (hundreds) dollars and they'll lose trillions. If they lose 5% and everyone else lost 20%, they're winning. They're richer than they were. Numbers might make it seem like they're worse. Don't buy into it.
There's inkscape plugin to make barplots and piecharts. Why don't we add for more? Honestly we could even make it just take r code or python code.
Doesn't need that complex algorithm here because streetlight is static (the walkways don't change), so all you need is just a different light design for each. Or maybe a modular source you can change while installing.
Honestly a great idea
I thought the gov wrote this, just a joke huh
Yeah, and there's no plan to stabilize the ABI because it's developing.
You can use C ABI for some data formats, but you're limited on what you can use (mostly primitives). There's a crate stable-abi or abi-stable that provides a way to do things to keep it stable, but since it's external crate it has limitations.
I know it's frustrating because I am writing something in rust that loads functions in runtime. I thought it'd be easy because programs written in C do it all the time. Rust gives a lot of advantages but working on dynamic loading hasn't been fun. And there aren't a lot of resources about this either.
Thank her for me for the representation.
Nepal getting a lot of relevancy on her mind.
Yup. I made a scientific analysis program. Using CLI and your own editors you can do so much. And instead of focusing on making the algorithms, I had to focus on making a GUI for months because people need things to click.
And then even with very responsive and easy GUI, with like just 5 types of "views" and probably like <5 buttons/inputs each, people are like "it seems complicated" within like 1 minutes of demo. They haven't even tried to use it or tried to learn anything. I even modeled the views to be as similar to another software they use.
I feel like people just don't like computers.

How do I volunteer to maintain my native language support (dictionary)
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.

Looking for Mentor (for a PhD Candidate) that works with open source
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

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 algori

Is there a way to detect all structs in the current crate that implement a certain trait?
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:
undefined
src/ ├── attrs.rs ├── functions │ ├── attrs.rs │ ├── export.rs │ └── render.rs ├── functions.rs ├── lib.rs
Basically, in mod functions
I want:
undefined
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

Acrobat PDF forms support
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

How do I word my grant application to keep my software FOSS?
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 givin

GitHub - Atreyagaurav/numrng: Terminal Command to generate list of numbers from human-readable representation
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.

GitHub - Atreyagaurav/numrng: Terminal Command to generate list of numbers from human-readable representation

Terminal Command to generate list of numbers from human readable representation - Atreyagaurav/numrng

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.

GitHub - Atreyagaurav/local-mpv: Run MPV with a webserver to control from local network


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 c

GitHub - Atreyagaurav/local-mpv: Run MPV with a webserver to control from local network


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. Maki

I made a Gtk GUI to open LaTeX Beamer file, so that you can extract some pages


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.

I made a Gtk GUI to open LaTeX Beamer file, so that you can extract some pages


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.