See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)
For the sake of "maintaining the tradition" here is the updated version.
pip install streamlit | |
pip install spacy | |
python -m spacy download en_core_web_sm | |
python -m spacy download en_core_web_md | |
python -m spacy download de_core_news_sm |
See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)
For the sake of "maintaining the tradition" here is the updated version.
# -*- coding: utf-8 -*- | |
""" | |
Problem: the candidate may already be linked. Need to register the candidate | |
and update both if the candidate has a better link. | |
Created on Wed Feb 22 12:08:02 2017 | |
@author: yosef, based on attempt by lillyverso | |
""" |
import numpy as np | |
import numba | |
import xarray as xr | |
@numba.jit(nopython=True) | |
def lowess_1d(y, x, alpha=2. / 3., it=10): | |
"""lowess(x, y, f=2./3., iter=3) -> yest | |
Lowess smoother: Robust locally weighted regression. | |
The lowess function fits a nonparametric regression curve to a scatterplot. | |
The arrays x and y contain an equal number of elements; each pair |
""" | |
Different functions to get pairwise distance in cubic box with PBC | |
Args: | |
positions: the positions of particles, shape (N, dim) | |
box (int or float): the size of the box | |
Return: | |
np.ndarray: the pair-wise distances, shape (N, N) | |
""" |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% this code was copied from https://tex.stackexchange.com/a/516102 | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\usepackage[bigfiles]{pdfbase} | |
\ExplSyntaxOn | |
\NewDocumentCommand\embedvideo{smm}{ | |
\group_begin: | |
\leavevmode | |
\tl_if_exist:cTF{file_\file_mdfive_hash:n{#3}}{ |