Alts (mostly for modding)

@sga013@lemmy.world

(Earlier also had @sga@lemmy.world for a year before I switched to lemmings)

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

help-circle
  • What I meant was for example, if someone is weak in, let’s say, english, but understands their shit, then they conduct their research however they do, and then have some llm translate it. that is a valid use case to me.

    Most research papers are written in English, if you need international cites, collaboration or accolades. A person may even speak english but it is not good enough, or they spell bad. But then the llm is purely a translator/grammar checker.

    But there are people who use it to do the latter, use it to generate stuff, and that is bad imo




  • others have given pretty good picture of what you have to do, but you can also do this in some other language, for example in binary, or ascii, and then reduce the font size to something close to 1 pixel. the actual text of pdf is stored in seperate xml tags. Plus you can also write it simply in plain text anywhere near margin of page (no need to do color or size shenanigans) and simply crop pdf out. Cropping of pdf does not remove the stuff, just hides it. Unless you rasterise pdf afterwards and then submit, the stuff is simply there with no special amount of work required.











  • sga@lemmings.worldtoScience Memes@mander.xyzpHun
    link
    fedilink
    English
    arrow-up
    12
    ·
    6 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
    ·
    11 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