Alts (mostly for modding)

@[email protected]

(Earlier also had @[email protected] for a year before I switched to lemmings)

  • 23 Posts
  • 63 Comments
Joined 6 months ago
cake
Cake day: January 16th, 2025

help-circle

  • sga@lemmings.worldtoScience Memes@mander.xyzPeasants
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    I have a script which fetches bib entries for pdfs, and then renames it to my prefered format (names of author (no more than 2) - name of paper).

    in case you are interested

    
    #!/usr/bin/env sh
    
    newnamefn(){
    	bib="$(pdf2bib "$1")"
    	name="$(echo "$bib" | grep "title = " | cut -d'{' -f 2 | cut -d'{' -f 1 )"
    	authors=$(echo "$bib" | grep "author = " | cut -d'{' -f 2 | cut -d'{' -f 1  | sed -z 's/\ and\ /\n/g' | head -n 2 | tr '\n' ' ')
    	echo "$authors-$name" | detox --inline
    }
    
    for i in "$@" ; do 
    	newname="$(newnamefn "$i")" 
    	mv "$i" "${i%/*}/$newname".pdf
    done
    
    

    detox --inline is just a utility which makes the file names shell friendly (removes special characters and spaces), but that is optional. Also, technically the newnamefn is what does all of the job, and below is just a loop to iterate on all files that are given as input like script file1 "file2" file3, where file2 had some special characters, so enclosed in "" quotes. you can also translate it to python, then you would not even require sed and grep (you can just get output in json-esque format). I have a small keybinding in my file manager, which renames all selected files, so I do not have to spend any amount of my mind

    you can make it work in any os (maybe use some llm for it), you just have to install pdf2bib




  • I am not a drummer, but I did learn something closer to piano.

    My 2 cents - Just go and teach. I would have loved if I were taught drums. The children who lost their last teacher also lost some of their recreational activties, and regaining that would be great. Also, DRUMS ARE FUN!.

    Do not be afraid. If you think you are not going to do well, maybe try to teach it to some relative or friend or neighbours’ kids first, and make sure it is a good experience for them.




  • what exactly are you looking for? there are many guides for switching to linux, for example, arch wiki; has enough details for anybody. similarly, there are other distro wikis (fedora/debian/mint/…). But none of them are specifically for switching from windows (10). Most of them do mention that backup your stuff, or mount windows partitions for moving stuff.

    If you need something to switch specifically from windows, that is hard. because the way people use windows changes a lot with people. My personal recommendation would be to just search “switch to linux” on youtube, find suitable videos (in prefered languages or target audiences, which are also suitabbly licensed(most linux youtubers release their stuff under some variation of cc, and youtube by default has also some cc license for all videos. you can check about licenses in youtube description.)). Video demos for people today or more approachable, and can also help navigate any issues that might occur during the move. Once they have some distro installed, they can look up distro wikis to build upon.




  • does your language assume that gay people do not exist?

    pretty much. Many old folks consider it as a disease or mental illness.

    Do you use the exact same word for a man who likes women (eg a straight man) as you would for a woman who likes women (eg a lesbian)?

    That was not a thing, and hence it never had a word/s. basically someone born with a male reproductive part was male, other is female, and that is about it. A male was (is) expected to marry a female (love or arranged(where family finds “suitable” partners, and the bride/groom have little idea of other)).

    Things have changed a lot for better in past 2 decades, but much of the “older ways” still remain as “traditions”.

    I never confused sex and gender, as you describe them, as I said these do not exist as separate concepts in my natiive tounge. I used different words for them, which while not ideal, do convey the meaning. My questions were mostly regarding gendered pronouns, and having terms for different sexes (as in lgb of lgbt) or genders (t of lgbt), and why do even need terms for these, or why would one like to share it with others.






  • No, it is unnecessary, and it would break many auto updating websites, for example, if you use mail in web, then your mail provider has web sockets to get notifications from server to fetch you mail.

    I generally would recommend to disable javascript , and have a whitelist for websites you trust (easily achievable by ublock, or no script). If they do not have js, most attack vectors are neutralised. If you can trust a website to run js, you can trust it to run web sockets.



  • that was not the part of chain i wanted to refer to. Essentially, my native tongue (or culture in which I was raised), there is (was) no difference between sex and gender, as in, there were not separate concepts. What you guys would call a gender (and this is also partly based on interaction in this chain, where I even ask what does being a male even mean) - users preference of pronoun, or attire, etc is what I called orientation in my op (again, I also said in op that I do not know if that is correct term for it, and it was not).

    the paragraph you have highlighted was the only part where I refered sex as sex (the one associated with your partner/s). Other than that paragraph, I mostly (I am guessing here, again, for me concept of gender is new and still fuzzy) meant gender.

    I would apologise again for mmy lack of knowledge on this stuff, and this post has helped me understand gender better.



  • hey jubliant, do you remember me? Greetings! How are you doing? (In case you do not, we had personal chat)

    I consider the identity obsession of Gen Z to be mostly narcissistic self-regard. It reflects our society’s rampant individualism, where kids have become a lifestyle choice and pampered like fragile consumer objects. I don’t have any answers about how to fix any of this. Indeed I’m something of an individualist myself.

    this seems a bit to harsh. As I see, most people are overly stimulated, this just makes them react a bit more visibly. This is also because of social media. Some news from other side of globe that you may have never got earlier, or weeks later, you now get that in minutes, and similarly, the friction to post is also very low, so most people feel like “raising voice”. Though I do not treat raising voices online to be equivalent to in person voice raising but that is a separate discussion. Maybe individualism is on a rise, because our lives now do not depend much on other people (it still does, now you just do not have to interact with them), so you do not hear about their problems or perspective.