2022年12月2日
- 「質問」は結城浩の文章です。
- 「回答」はChatGPTの文章です。
ChatGPTという対話するAIツールがあります。人間が質問を投げかけるとそれらしく対話して回答してくれるツールです。こういうツールに対してどんな質問を投げかけたらおもしろい対話になるでしょうかね。何かアイディアがあったら聞かせてください。具体的な質問を知りたいなあ。
| const id = "kiriban-fuminige-kinshi"; | |
| const conversions = [ | |
| { unit: "K", rate: 1000 }, | |
| { unit: "M", rate: 1000000 }, | |
| { unit: "B", rate: 1000000000 }, | |
| { unit: "万", rate: 10000 }, | |
| ]; | |
| function run(target) { |
| ### PixivUtil2 to galley-dl migration script | |
| # this assumes that: | |
| # - FIRST FOUR filename format options in PixivUtil2 (i.e. filenameFormat, filenameMangaFormat, filenameInfoFormat, filenameMangaInfoFormat) are set to | |
| # "%artist% (%member_id%)-%urlFilename%-%title%" (should be default) | |
| # - PixivUtil2 hasn't modified, or very slight (such as fixing image ID and page number into a certain length) | |
| # - "archive-format" options in gallery-dl for pixiv category is default | |
| # usage: python3 pxu2gdl.py |
2022年12月2日
ChatGPTという対話するAIツールがあります。人間が質問を投げかけるとそれらしく対話して回答してくれるツールです。こういうツールに対してどんな質問を投げかけたらおもしろい対話になるでしょうかね。何かアイディアがあったら聞かせてください。具体的な質問を知りたいなあ。
| #!/usr/bin/env bash | |
| # Small shell script to more easily automatically download and transcribe live stream VODs. | |
| # This uses YT-DLP, ffmpeg and the CPP version of Whisper: https://github.com/ggerganov/whisper.cpp | |
| # Use `./transcribe-vod help` to print help info. | |
| # MIT License | |
| # Copyright (c) 2022 Daniils Petrovs |
| #!/bin/sh | |
| # mirakc channel scan (using mirakc docker container image) | |
| # by uru (https://twitter.com/uru_2) | |
| # | |
| # require: | |
| # docker | |
| # jq | |
| set -eu | |
| export LANG=C.UTF-8 |
| # Generate custom MeCab dictionary to be used with unidic-lite | |
| import sys | |
| from fugashi.fugashi import build_dictionary | |
| import unidic_lite | |
| args = ( | |
| sys.argv[0] |
Out of the box, my SMB performance on macOS 12.3.1 would top out at around 20MB/s in short ~5 second bursts, which was absolutely horrendous, slow to navigate in Finder and slugish to interact with.
Since making these changes, I now get sustained ~80-100MB/s+ and instant Finder navigation which is superb and how things should be out-of-the-box (OOTB)!
May 2023 update: As of Ventura, the SMB issues were just horribly inconsistent and hard to maintain. Something in the combination of Unraid, macOS and SMB just doesn't play nice. I ended up binning NFS/SMB all together and heading to a locally hosted Nextcloud instance for file syncing, then using SFTP/Ansible Git flow for editing files within appdata.
https://developers.cloudflare.com/r2/platform/pricing/
up to 10,000,000 read operations + $0.36 per 1,000,000 operations
$3.60 free
up to 1,000,000 write operations + $4.50 per 1,000,000 operations