Alts (mostly for modding)

@[email protected]

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

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

help-circle






  • sga@lemmings.worldtoScience Memes@mander.xyzpHun
    link
    fedilink
    English
    arrow-up
    12
    ·
    4 days ago

    I know this is a meme, but in case someone is interested, we usually do not want to use strong acids/bases to maintain buffers, instead, weaker acids (for eg, acetic acid), weaker bases (nh4oh), or their correponding weak-strong salt pair, or if it is really close to 7, then weak-weak, weakly dissociating salts (likr (nh4)2 co3).

    I am probably forgetting the proper names for this, but idea is that waker acids/bases do not dissociate completely. for example, iirc, nh4oh is something close to 9-10, so if you want a basic buffer, then you use nh4oh in bulk to get close to required absolute amount of oh- ion concentration (maybe, because you want some reaction to happen in proper stoichiometric ratios), and for fine tuning, use very low concentration of stronger acid/base (depending on the fact that your target is above or below the value of bulk). stronger acids/bases almost immediately completely ionise. for example, i want to make something like 8.5, then i start with nh40h with 9, and slowly add hcl to reduce ph. with this, you make nh40h + hcl -> nh4cl + h2o. this nh4cl, is now acting as weakely dissociating. this reaction is also reversible. around the equillibrium ph, if you add more h+, then reaction goes forward. but simply by adding more water (or diluting), you can reverse this. with salt like nacl(nacl + h2o -> na+ + cl-) , they will practically never recombine, and you can not use this to your advantage.

    the actual salt/acid/base to be used will also depend on solubility of present ions, miscibility, organic or non organic (in this context, organic means carbon related molecules)



  • sga@lemmings.worldtoScience Memes@mander.xyzPeasants
    link
    fedilink
    English
    arrow-up
    5
    ·
    9 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


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