Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| namespace CSharpFromPythonNamespace | |
| { | |
| public class CSharpFromPythonClass | |
| { | |
| public string Hi(string x) | |
| { | |
| return "Hi " + x; | |
| } | |
| public static string Hello(string x) |
I've been using wsl (version 2) with genie mod for years without issue, but one day, Windows 10 finally catch up on wsl Windows 11 features and gives us a way to use systemD natively.
I wanted to use the new "right way" to enable systemD on Windows Subsystem for Linux (without genie), and I also had a (probably related) infinite Windows RemoteApp error poping in.
| import os | |
| import shutil | |
| import numpy | |
| import pygeoprocessing | |
| import pygeoprocessing.routing | |
| from osgeo import gdal | |
| def doit(dem_path, flow_dir_weights, watershed_source_vector, workspace): |
| """Tracer for floodplain extraction function with custom parameters.""" | |
| import logging | |
| import os | |
| import sys | |
| import pygeoprocessing | |
| import pygeoprocessing.routing | |
| import numpy | |
| logging.basicConfig( |
Look at this existing tutorial https://lerryws.xyz/posts/PyQGIS-in-Jupyter-Notebook
| from glob import glob | |
| import multiprocessing | |
| from concurrent.futures import ProcessPoolExecutor | |
| import cv2 | |
| from PIL import Image | |
| import imagehash | |
| from tqdm import tqdm |