Terminal Command to generate list of numbers from human readable representation - Atreyagaurav/numrng
I'm saying if at least half the population was horrified they'd have voted. The people that didn't vote are apathetic. You can't subtract people who voted for him from total and group them as against him
At least - no, in that case it wouldn't have happened. At most half. I'd say it's way below half.
Some Imaging Centers are located separately from hospitals. You have to goto a different location than where you went for MRI if something like this happens.
Try before corona vs now. Going down from 2021 doesn't say much as it was outlier situation caused by lot's of lockdown and people not going out.
This simply means the only reason we search life in other places is to take those places for ourselves.
I don't know if you read it, the second paragraph goes with something like: if you're having problems, then yes, if you've found ways to deal with things and be happy/productive then no need to labels things to be "normal"
I don't know the popular opinion on this, but I personally think you did a great job learning how to be your best self without having a label. Everyone is unique and everyone will have to learn how to do things their way, having children labeled as something when they already do well might just make them feel more alienated, or be like "I'm X that's why I'm like this" instead of finding their way to be productive/have fun.
Of course it'll help people struggling but not knowing what's wrong. But if you're a type of person who can feel/see what works for you and what doesn't and find solutions for yourself, you might even make your quirks your strength. One frequent thought I have is, how many of the scientists or philosophers in the past were actually autistic? Or had quirks that made them who they are, but would definitely be "problematic" when they were young by today's standards.
TLDR: My opinion is everyone is unique, using your quirks to do things others can't is what makes some people great. Making everyone fit a "normal", and medicating/.... everyone else doesn't seem like a good idea.
That didn't work. I found this:
https://github.com/organicmaps/organicmaps/issues/8750#issuecomment-2268550760
I didn't test it. I just installed from play store to test, it shows it on dashboard but the navigation was frozen in place whole driving.
It'd be easier to do 9e5, 8e5 and so on though. Linear decrease in time with each optimization. 1e5.9 seems risky.
Can you do it without loading a bunch of heavy scripts? Making a html responsive is always something challenging I face since I'm not a web developer. I just make htmls when I have to share some data visualization. And I couldn't find how to make it responsive without using bootstrap, sth-ui, etc and using their classes and scripts.
I'd love if vanilla CSS just had if statement like thing for "portrait/landscape" or ">threshold/not" for contents width and fonts.
Thanks. Hopefully it's not a security problem. If any apps (bank/insurance) might be able to connect because of this.
I did install it from fdroid.
Thank you. It didn't automatically show map in screen like with Google maps, so I assumed Google probably doesn't allow other apps to do that. I'll take bit more time to test it out next time.
I want to use this, but does it have car integration? Since I got a car, I had to enable a lot of google services for map through Android auto.
We need more information to reach people. So far I've only seen people be into Linux when they have less social life growing up so they spend time online (not in tiktoks or such like now).
Since most people hearing about Linux from class or other people only hear about the bad aspects or how hard it is if they even hear about it. When I came to US university, I was so surprised noone knew about linux or cared enough except handful of people. And most people did it for work (super computer people, grad students) that didn't like it and express their opinions openly.
I'm not an author, I'm a scientist. So I don't know what the through process of authors are. But I it probably would take long time to actually find alternative ways to do the things same as us but underwater. The civilization won't be like us, they would not have same technology, they wouldn't have same values. Authors are probably trying to capture general population's interests by making things they understand.
And do you think "hey I haven't heard anyone say something to me about earth rotating sun" would have been a good counter argument in the past.
Water is incredible, we don't know all the ways we can use it. Sometimes it takes hours to simulate what water does in seconds. Unlike other materials like metals, which are lot easier to predict. And if we're talking about aliens, don't even have to think water, it could be something else as flexible as water, while having properties that makes it easier to use.
Does your glasses need electricity to function? Before electronics came and we started making everything need electricity do you think we were not advanced civilization because we only used mechanical power? If you had come that far and suppose had limitations like "can't use electricity coz I said so", the development would have stopped? They would have found other ways.
Again, that's because you are human, and you think your way is the only way.
To make hydraulics you need metal
How does your arm work? How does octopus move? You think you can't make an structure like human arm, or octopus tentacles without metal, and then have a tube going through it in a way the water in it can move them. Look up soft robots. There isn't just one way to tap into mechanical energy and move things. We did what we found first, improved on it. But thinking that's the only way just shows narrow mindedness.
You need to heat metal
You don't. You know aluminum used to be so expensive because you couldn't really extract it from the ores like iron. Wasn't found in pure form like gold. Then someone found you can use electrolysis to get aluminum from its ore. Then it became so cheap.
You don't just heat metal and put it in mold for every type of metal work. In micro scale there are 3d printing methods similar to electroplating, it's very precise.
And even if there is a need of heat, how can you say ocean doesn't have it. A species could find out a way to tap into volcanic vents. Similarly how we use groundwater and rivers. They could use volcanos and geothermal energy. We do many many manufacturing processes under water in a tank containing water. They could make air tank and do things there too.
Tech needs electricity and fire is not universal. That is what we use.
Our brain is lot more complicated and efficient than the computers we make and it uses ions, in liquid media. So something that lives in water could definitely be able to make something that would be able to use similar things to do processing. Water is also really good with doing things, it's flexible but doesn't compress/expand like air does. Think about hydraulic systems. You can make them smaller and smaller as your tech progresses. Mechanical things using metals and such would work in water as well. Think about gold and such that can be used for electricity as well, we don't use it because it's valuable, but an alien world could have abundance of gold for them to use.
Yes thank you. I am using it. I'm good with finding things on the Internet but I'm struggling with parts that are deeper and not well documented. There are big projects that use pyo3, but not plugins. And there are big projects with plugins but not pyo3.
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.