# Admin windows powershell console
GET-CimInstance -query "SELECT * from Win32_DiskDrive"
wsl --mount \\.\PHYSICALDRIVE1 --bare
# WSL
lsblk -lf
sudo mkdir /media/My\ Passport
# Admin windows powershell console
GET-CimInstance -query "SELECT * from Win32_DiskDrive"
wsl --mount \\.\PHYSICALDRIVE1 --bare
# WSL
lsblk -lf
sudo mkdir /media/My\ Passport
""" | |
Using piecewise transformations to overcome nonlinearity in storage asset optimisation. | |
""" | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import pandas as pd | |
import pyomo.environ as pyo | |
from IPython.display import display |
services: | |
warehouse: | |
image: clickhouse/clickhouse-server | |
ports: | |
- "8123:8123" | |
- "8443:8443" | |
- "9000:9000" | |
- "9440:9440" | |
healthcheck: | |
test: wget --no-verbose http://localhost:8123/ |
Dell XPS SSD: https://www.parts-people.com/index.php?action=item&id=34793 Drivers: https://www.dell.com/support/home/en-uk/drivers/driversdetails?driverid=9vnjh
Is a M.2 NVMe PCIe gen 3, 4 channel SSD with M key.
https://en.m.wikipedia.org/wiki/M.2
https://www.kingston.com/unitedkingdom/en/blog/pc-performance/ssd-form-factors
import logging | |
class Foo: | |
def __init__(self): | |
""" | |
>>> f = Foo() | |
>>> f.logger() | |
<Logger class_logger_example.Foo (WARNING)> | |
""" |
/* Outer Merges with Nulls in ClickHouse | |
* | |
* By default, outer merges in clickhouse will produce _interesting_ defualt | |
* values for empty cells in an outer join. This query demonstrates how to | |
* configure clickhouse to use nulls for missing values, as in the SQL | |
* standard. | |
* | |
* See: https://clickhouse.com/docs/en/operations/settings/settings#join_use_nulls | |
* | |
*/ |
from typing import Optional | |
import pandas as pd | |
from prefect.client.orchestration import get_client | |
from pydantic import BaseModel | |
columns = { | |
"flow_name": "Flow", | |
"deployment_name": "Deployment", | |
"schedule": "Schedule", |
# In IPython: | |
from prefect.client.orchestration import get_client | |
from prefect.server.schemas.filters import FlowRunFilter, FlowRunFilterState, FlowRunFilterStateName, FlowRunFilterStartTime, FlowFilterName, FlowFilter, FlowFilterId | |
async with get_client() as client: | |
flow = await client.read_flow_by_name("flow-name") | |
async with get_client() as client: | |
flow_runs = await client.read_flow_runs( |
Garmin watches can broadcast heartrate over ant+ eg. forerunner 235
Wahoo units can receive heartrate data from ant+. See.
See also: