Labels

Wednesday, August 31, 2022

academic resources


https://www.nhfp-equity.org/resources-for-applicants

providing application resources that are accessible to early career astronomers around the world

cs-sop.org

a platform with statements of purpose generously shared by previous applicants to CS PhD programs

proposal 

https://static1.squarespace.com/static/6021c6e44248e2593056aa87/t/630f9b11b79af6224c4fe064/1661967123414/Griffith_NSF_Proposal.pdf


https://serinachang5.github.io/assets/files/research-statement.pdf


https://www.broekgaarden.nl/floor/wordpress/eca-resources-applying-for-phd-postdoc-faculty-and-more/

https://anjalief.github.io/statements.html

https://sylviaherbert.com/

Monday, August 29, 2022

How to be a good reviewer for scientific journal

 Ask the following questions:

a) Do the abstract and introduction clearly identify the need for this research, and its relevance?

b) Are the results presented clearly and logically, and are results justified by the data by the data provided? Are the figures clear and fully described?

c) Does the conclusions justifiably respond to the main questions posed by the authors in the introductions?

Full peer-review document includes:

a) Introduction: Mirror the article, state your expertise and whether the paper is publishable or weather there are fatal flaws;

b) Major flaws;

c) Minor flaws;

d) suggestions and final comments.


Reference:

How to write a thorough peer review

Sunday, May 30, 2021

SSH free password login

step1 :  Create public and private keys using ssh-key-gen on local-host

$ssh-keygen

step 2: Copy the public key to remote-host using ssh-copy-id

$ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host

step 3: login remote host and change file permission

Change the permissions of .ssh to 700

$chmod 700 .ssh

Change the permissions of .ssh/authorized_keys to 640

$chmod 640 .ssh/authorized_keys

step 4: login from local host
ssh remote-host

(Optional) Alias for remote-host name
In local host
$vi .ssh/config
and add following lines
    Host short-name
    Hostname remote-host-name
    User your_user_name
    Port your_remote_host _port

Monday, March 29, 2021

Grammar check for .tex file

TeXtidote is a tool for spell and grammar check for Latex source file.

Installation:

download the deb file from https://github.com/sylvainhalle/textidote/releases.

$ sudo apt-get install ./textidote_X.Y.Z_all.deb

X.Y.Z. is the version number.

Java is needed and can be installed via,
$ sudo apt install default-jdk

useage:
textidote --check en  --output html paper.tex  >report.html

Tuesday, March 16, 2021

Open source grammar check tool

pyLanguagetool

pip install pylanguagetool

# pipe text to pylanguagetool
echo "This is a example" | pylanguagetool

# read text from a file
pylanguagetool textfile.txt

# read text from stdin
pylanguagetool < textfile.txt

# read text from the systems clipboard
pylanguagetool -c # get text from system clipboard

Reference:
https://github.com/Findus23/pyLanguagetool

Check the duplicate by Google search

#!/usr/bin/env python3
# stollen plagiarism checker
# by Seth Kenlon 
# GPLv3

# This program is free software: you can redistribute it
# and/or modify it under the terms of the GNU General
# Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at
# your option) any later version.

# This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.

# You should have received a copy of the GNU General
# Public License along with this program.
# If not, see .

# useage:
# python3 -m pip install google --user
# $ chmod +x ./stollen.py
# $ ./stollen.py test.txt


import sys
import random
from pathlib import Path
from googlesearch import search

def Scrub(ARG):
    """
    Read lines of file.
    """

    f = open(ARG, 'r')
    LINES = f.readlines()
    Search(LINES)

def Search(LINES):
    """
    Search Internet for exact match of LINE.
    """

    COUNT=0
   
    for LINE in LINES:
        COUNT += 1        
        PAUSE = random.randrange(1,4)

        if VERBOSE:
            print("Searching...")
           
        for ITEM in search(LINE, tld="com", num=1, stop=1, pause=PAUSE):
            if VERBOSE:
                print("WARNING:" + LINE + " → " + ITEM)
            else:
                print("WARNING: line " + str(COUNT) + " → " + ITEM)

if __name__ == "__main__":
    random.seed()
    n=1
   
    if sys.argv[1] == "--verbose" or sys.argv[1] == "-v":
        VERBOSE = True
        # shift 1
        n += 1
    else:
        VERBOSE = False
       
    f = Path(sys.argv[n])

    if not f.is_file():
        print("Provide a text file to check.")
        exit()
    else:
        Scrub(sys.argv[n])
Reference: https://opensource.com/article/20/3/open-source-writing-tools