thevoidzero

joined 2 years ago
[–] thevoidzero@lemmy.world 2 points 1 day ago

Sorry, I just said it in general. Most of the limits, in my opinion, should allow some wiggle room for the normal people, maybe even slightly well-off people. So that people at the bottom are not fighting with each other about the policies that are actually made for people at the top

[–] thevoidzero@lemmy.world 3 points 1 day ago (1 children)

They'll probably just forward that down to the renters. We need the renters to have an option to buy instead of rent if they want. So that some people can't buy up all properties and then jack up prices of both renting and buying houses.

Again, I think it's ok if you have 1 more house or maybe 2 houses you rent out, but anything more than that taxed heavily. Or a non-personal entity owning multiple properties should be taxed so high they can't keep it up. But it is worrying that even the slightly well-off people with 1 property start increasing rent. But having enough available and not having someone hord all of them means they can't keep some empty and still make profits, so many of those houses will be available for rent for cheaper.

Like, if we have 100 people with 100 properties they rent out, means all of them want their property occupied. But 5 people with 20 property each can double the rent and have 40% property unoccupied and still make profits.

[–] thevoidzero@lemmy.world 26 points 1 day ago (6 children)

We don't need to fight over little figures like this. Let's just multiply op's figures by 5. And then we can tax a lot after that, multiply that by 10 and tax more than what it's worth after that.

Problem isn't someone living in 2 bedroom per person, it's when they have multiple mansions. Or multiple "investment properties", and some of them are just empty because it's still profitable

[–] thevoidzero@lemmy.world 1 points 1 day ago

This reminds me when I was applying for credit card they couldn't confirm my identity because they were on a call with me and said this number is not associated to your name in any databases.

I got it in my name from the provider idk what other "databases" they have with names and numbers, but I'm happy I'm not there.

[–] thevoidzero@lemmy.world 2 points 1 day ago

Also, isn't the lead's property of blocking xray very dependent on the thickness?

[–] thevoidzero@lemmy.world 10 points 2 days ago

That's easily the case isn't it, the only question is how much distance is there between these two lines.

[–] thevoidzero@lemmy.world 1 points 6 days ago

Historically the countries where that happened, if they were in this US situation they'd have done that decades ago. The spirit of not tolerating manufactured hardship, that is present in those population, does not seem to be present here.

[–] thevoidzero@lemmy.world 4 points 1 week ago

Our moon has a name, it's Luna

[–] thevoidzero@lemmy.world 1 points 1 week ago

If they can't find one with this much exposure, there's no hope

[–] thevoidzero@lemmy.world 1 points 1 week ago (1 children)

It's funny you gave example of bullying. It's again another thing that seems very common in USA. I was honestly shocked that there was so much bullying in school. And teachers apparently don't do anything except telling the victims to toughen up, or learn to deal with it yourself.

Yes some children are bad, but it's largely shaped by environment on what they feel confident doing. For an extreme example, a bad child in any other country will not go shoot up the school. Bullying feels similar. It is natural that children will form groups, include people they like, exclude ones they don't. Rude ones are normally excluded from nice groups. And if it's anything actually harmful, adults' (parents or teachers) interference stops it. I think the American individualism starts young, when someone is bullied, even their friends won't stick with them to not be victims themselves. That just isolates the victims, and the bullies feel empowered.

It is my perspective from outside as I didn't go to school here. So forgive me if I don't understand it completely, my knowledge of school in USA comes from Internet and a lot of philosophical conversations like this with people in my life that went to school here.

My school experience wasn't perfect, me and this other guy were the shortest in our class. It was even kinda officially recognized because teachers ordered students by height in assembly (every morning). I had people that looked down on me, and people I looked down on too. Some small physical fights (not height related), and verbal ones. And a lot of teachers' intervention. But people valued education, when I learned how bullied being a nerd makes someone here, and hearing the details, and the apathy of the teachers, I was shocked.

Similar thing with the race problem. We had everyone go to the same school, our parents (and prev generation) would not go to each others house to eat, even if they get along socially. It was a social taboo, but I will not do that because I grew up with my friends. And they're just my friends, and the social rules seem arbitrary to me. And it helps that we're taught about equality, and how the old way of separating/discriminating people was wrong. Previous generation might not be able to let go of their habits easily, but when they no longer control society, most of it will be gone. Also, in my generation (friends and cousins), I have seen so many marriages that would not have happened in previous generation.

[–] thevoidzero@lemmy.world 12 points 1 week ago* (last edited 1 week ago) (1 children)

51?

This is what's wrong with people.

Even if trump had lost the election I was gonna be horrified if he had even gotten 30% of the votes. But this... Again. It doesn't matter if AOC wins if half the country is basically saying, after all this, they want more.

[–] thevoidzero@lemmy.world 17 points 1 week ago (4 children)

That's honestly how we get rid of all this racism. Children are innocent, let them play with each other, let them talk, mingle, they will make friends irrespective of people's background.

I think the problem here is children are taught they are different, they are told they can't be friends, or hang with certain groups. They're told they can't talk the same way their friend does, they can't say the same words (might be controversial sorry, but children are innocent). And this is in cases where they are interacting, many communities are isolated and many children will only grow up seeing people like them. They don't learn about the diversity, they grow up having "us" vs "them".

If that continues, it'll never be better. Children are our hope, our grandparents are not going to change, but children can be, and they'll replace the current generation. Attack on education, and isolating communities makes the population stagnant, or even revert back.

 

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

Hi all,

I don't know where would be the best place to post this, but I wanted some people's feedback on a DSL that I wrote for network analysis.

I am using nom for writing the lexer and parser, then using abi_stable crate for data types so that you can write plugins to the language and load them dynamically as well.

This language is made to work by loading a tree graph (network) and then call a bunch of node or network functions that work on it. There are different ways you can run functions, and use node/network attributes.

I am mostly self-taught, so it took a lot of years to get to a level where I could write something like this. I am learning a lot and having a lot of fun in the process, but I want this to develop into something that can have a practical usefulness to people. Since I am in the field of hydrology, I am making it with river networks in the mind.

To try it out, you can either download the executables for windows from the releases page, or you can compile it using cargo (for all OS; except android where GUI won't work, CLI will work in termux). I have some basic examples in the Learn By Examples section of the User Guide that you can follow.

Please let me know if you can't compile/use it as well. I have tried to make sure it has required instructions, but I could have missed something.

 

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

Hi all,

I don't know where would be the best place to post this, but I wanted some people's feedback on a DSL that I wrote for network analysis.

I am using nom for writing the lexer and parser, then using abi_stable crate for data types so that you can write plugins to the language and load them dynamically as well.

This language is made to work by loading a tree graph (network) and then call a bunch of node or network functions that work on it. There are different ways you can run functions, and use node/network attributes.

I am mostly self-taught, so it took a lot of years to get to a level where I could write something like this. I am learning a lot and having a lot of fun in the process, but I want this to develop into something that can have a practical usefulness to people. Since I am in the field of hydrology, I am making it with river networks in the mind.

To try it out, you can either download the executables for windows from the releases page, or you can compile it using cargo (for all OS; except android where GUI won't work, CLI will work in termux). I have some basic examples in the Learn By Examples section of the User Guide that you can follow.

Please let me know if you can't compile/use it as well. I have tried to make sure it has required instructions, but I could have missed something.

 

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.

 

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

 

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 ›