Asian Beauty
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    thevoidzero
    11h ago 100%

    The subtitle could have been not literal translation. The dialogue could have been "this is kanji for japan" or characters for japan. But the subtitle wrote Chinese for japan, because the movie/speaker was Chinese.... Maybe

    1
  • YSK: Google is Killing uBlock Origin. No Chromium Browser is Safe.
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    thevoidzero
    1d ago 100%

    I'm no longer surprised by people who "doesn't like change" when they have to change things, but will just accept (even if they complain internally) when someone above them changes things that impact their quality of life.

    1
  • We Just Got More Evidence That Long COVID Is a Brain Injury
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    thevoidzero
    2d ago 100%

    Considering the current division, yes. There's also a lot of homeschooling because they don't want their children taught anything from 'state'.

    1
  • Hold up...
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    thevoidzero
    1w ago 100%

    I'd like to say people don't understand the difference between torturing animals vs just being curious about animals. Helping the live ones, but also looking at dead ones. Many children get bullied for that.

    1
  • #godot #GodotEngine
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    thevoidzero
    1w ago 100%

    Sorry, I forgot about this. I meant to say any sane modern language that allows unicode should use the block specifications (for e.g. to determine the alphabets, numeric, symbols, alphanumeric unicodes, etc) for similar rules with ASCII. So that they don't have to individually support each language.

    1
  • Have new distro releases become meaningless?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    thevoidzero
    1w ago 100%

    I was thinking that exact thing lol. I'm like, yes 'distributions' are distributing new softwares with the new kernel.

    And the improvement in desktop environments does feel like a good improvement considering the user is interacting most with it.

    Or maybe I'm just apathetic to these things because most things I care about my distribution are that it provides me a good package manager for external and self made programs. And everything else is just programs installed through said package manager.

    4
  • #godot #GodotEngine
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    thevoidzero
    1w ago 100%

    I thought the most mode sane and modern language use the unicode block identification to determine something can be used in valid identifier or not. Like all the 'numeric' unicode characters can't be at the beginning of identifier similar to how it can't have '3var'.

    So once your programming language supports unicode, it automatically will support any unicode language that has those particular blocks.

    5
  • What are some TV specific Linux distros? What are your experiences with them?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    thevoidzero
    2w ago 100%

    Since I was lazy to set up plasma big screen I just have regular arch installed on my old laptop and connected to TV through HDMI.

    I don't have remote device, but with kdeconnect I can control the mouse, keyboard and run commands.

    And with browser most web app will work. I don't have a fancy app lunchers that give the TV vibe, or screensavers.

    Am I missing anything?

    1
  • ~~Most~~ many file types are just a renamed .zip
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    thevoidzero
    3w ago 100%

    There are basically two types of files. Text files and binary files.

    Most information are stored in text files so humans can easily understand it, and it's easier to find errors, review, parse. But text storage takes more space than binary files. And many complicated softwares normally need multiple text files or data files, many of them just store them together as a zip file so that it's easier to handle. Examples are .docx,.pptx, etc files in MS Office, try unzipping them and see what they contain. Zipping also has advantages of reducing file sizes.

    12
  • YouTube has found a new way to load ads | AdGuard Blog
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    thevoidzero
    4w ago 100%

    That depends on what video player you use. Of we have control of that, then sure it works. I use mpv to play things, so for radio streams or live videos I can go back/forward as long as it's cached.

    But if it's the web service, even though the browser video player has something cached, the player is still controlled by the website. And considering most of the people use chrome/chromium derivatives or YouTube app, it wouldn't be hard for them to make it so that the player itself will collaborate with whatever they want to do.

    If YouTube was a separate organization it wouldn't have been the problem it is because of how Google has been taking over all the different parts they need for advertising.

    1
  • 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 } } } ```

    19
    10

    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.

    10
    16

    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.

    48
    20
    github.com

    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.

    5
    1
    github.com

    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.

    10
    6

    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

    16
    3

    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

    10
    1

    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.

    32
    10

    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.

    11
    4