Set
Loggerfield ofbadger.Optionsobject tonil
pathDirDB := GetMyPathDirDB()
optionsDB := badger.DefaultOptions(pathDirDB)
if !IsModeDebug {| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
| /** | |
| * ------------------------------------------ | |
| * MD5 function for GAS(GoogleAppsScript) | |
| * | |
| * You can get a MD5 hash value and even a 4digit short Hash value of a string. | |
| * ------------------------------------------ | |
| * Usage1: | |
| * `=MD5("YourStringToHash")` | |
| * or | |
| * `=MD5( A1 )` |
TL;DR:
この gist は
sudo apt upgradeを行ったばかりに、悪夢にうなされはじめた、私の備忘録です。
もしこのキットの購入を考えているのであれば、オススメしません。基本的な Ubuntu/Debian の知識だけでなく、LINUX カーネルそのものや UART 接続などのシリアル接続にも精通している必要があるためです。正直なところ、Raspi ほど初心者向きではありません。NVIDIA のモジュールではあるものの、純正のNVIDIA製品ではないし、ややマニアックな仕様のため、NVIDIA のサポートは受けられません。NVIDIA のフォーラムでも、経験者でなければメーカーの OKdo に問い合わせることを勧められています。OKdo も製品が成熟する前に ORIN ベースの後継に注力したため、情報が圧倒的に不足しています。安物買いの銭失いとならないよう奮闘している方の参考になれば幸いです。sudoアップグレードを行ったばかりに、毎晩悪夢を見るようになった。This gist is a memorandum of the cause of my nightmares because of
sudo apt upgrade.
If you are thinking of purchasing this kit, I suggest you don't. As it requires not only basic Ubuntu/Debian knowledge, but also familiarity with the LINUX kernel itself and serial connections such as UART connections. To be honest, it is not as suitable for beginners as Raspi: although it is an NVIDIA module, it is not a true NVIDIA product, and due to its somewhat geeky specifications, NVIDIA support is not ava
I have a MacBookPro with Monterey (OSX 12.6.9) installed. When I start the terminal("Terminal.app" application), the application crashes right away. It even crashes in safe-mode boot of the OS. What can I do or check to solve this problem?
If Terminal.app is crashing immediately upon launch, it can be a frustrating issue to deal with.
| #!/bin/sh | |
| USER_NAME_LOGIN="keinos" | |
| USER_NAME_FULL="KEINOS" | |
| USER_SSH_KEY_URL="https://github.com/KEINOS.keys" | |
| # --------------------------------------------------------------- | |
| # Set repository mirror to the closest | |
| # --------------------------------------------------------------- | |
| # Detect and add fastest mirror and enable the community repo |
| Service | YAML | WebUI | Note |
|---|---|---|---|
| Lancache | YAML | Lancache Env | Port:53 (DNS), 80/443 (Monolithic) |
| Ollama + Open Web UI | YAML | 8000 (Web UI) | |
| Portainer | YAML | 9443 (Web UI) | Note that it is https |
| Speed Test | YAML | 8989 (Web UI) |
「"golang" test "os.Stdin" "keinos"」でググってもヒットしなかったので、自分のググラビリティとして。
In the dependency injection point of view, it is a good practice to var OsStdin = os.Stdin and use OsStdin instead of os.Stdin. Then monkey patch (temporary replace) the variable during the test.
But if the external package doesn't support that OsStdin alias feature, and uses os.Stdin, we need to mock the os.Stdin some how.