This is a collection of knowledge I have built up regarding browser powered drag and drop functionality
- timing: once as drag is starting
event.target
: draggableElement
// Don't ask about this one. I have no idea what this magic is. | |
// Copied from https://github.com/microsoft/TypeScript/issues/13298#issuecomment-724542300. | |
type UnionToIntersection<U> = ( | |
U extends any ? (arg: U) => any : never | |
) extends (arg: infer I) => void | |
? I | |
: never; | |
// Continuation of above. | |
type UnionToTuple<T> = UnionToIntersection<(T extends any ? (t: T) => T : never)> extends (_: any) => infer W |
<?php | |
namespace App\GraphQL; | |
use GraphQL\Type\Definition\ResolveInfo; | |
use Illuminate\Support\Facades\Validator; | |
use Nuwave\Lighthouse\Support\Contracts\GraphQLContext; | |
class Request | |
{ |
// More information on original version: https://danielupshaw.com/openscad-rounded-corners/ | |
// | |
// Changed by GGS67 to remove some limitations: | |
// | |
// 1. Allow radius>length for rounded corners in one axis only (problem reported on original page in 2015) | |
// 2. Remove limitation where for apply_to=(x|y|z)max or (x|y|z)min the dimension of the corresponding perpendicular | |
// axis had to be at least 3 times the radius because of fixed cylinder height. Now cylinder height is always computed not | |
// to interferr with opposite corner | |
Yoav Goldberg, Nov 24, 2024
This piece started with a pair of twitter and bluesky posts:
let's talk about "agents" (in the LLM sense). there's a lot of buzz around "multi-agent" systems where agents collaborate but... i don't really get how it differs from a thinking of a single agent with multiple modes of operation. what are the benefits of modeling as multi-agent?
— (((ل()(ل() 'yoav))))👾 (@yoavgo) November 23, 2024
{ | |
"[bicep]": { | |
"editor.defaultFormatter": "ms-azuretools.vscode-bicep", | |
"editor.suggest.showWords": false, | |
"editor.suggest.snippetsPreventQuickSuggestions": false, | |
"editor.suggestSelection": "first", | |
"editor.wordBasedSuggestions": false, | |
"files.insertFinalNewline": true | |
}, | |
"[csharp]": { |
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
Picking the right architecture = Picking the right battles + Managing trade-offs
Company | Product |
---|---|
Access | Virus TI - Virus TI2 |
Adoyo | Anyma V |
Alesis | EuroDance - QSR - Vintage Keyboards |
Apple | Alchemy - ES2 - Retro Synth - [Sculpture](https://gist.github.com/citrusui/4d7a602a234e2c233136c66c4aa4d8e1 |