- READ this file completely before any action
- PRESERVE and replicate this structure
- MAINTAIN self-reading capability
| <div style="position:absolute;top:-999px;left:-999px"> | |
| <svg | |
| id="effectSvg" | |
| width="200" | |
| height="200" | |
| viewBox="0 0 200 200" | |
| xmlns="http://www.w3.org/2000/svg"> | |
| <filter id="displacementFilter4"> |
Relax, I only have one Sunday to work on idea, literally my weekend project. So I tried Deepseek to see if it can help. Surprisingly, it works and it saves me another weekend...
Just chat.deepseek.com (cost = free) with prompts adapted from this gist.
https://verdagon.dev/grimoire/grimoire
I've nothing against the post, it just irks me to see a big unorganized list like a pile of christmas tree lights.
It's an interesting blog post with comprehensive references, but it's also like a travel brochure with a list of destinations. In practice you want something more like a route map: A rough overview of how different approaches complement each other, or overlap each other. A jigzaw puzzle is much easier to solve when there's a picture on the front of the box.
Here's a modest propsoal for a better table of contents:
| #!/usr/bin/env python3 | |
| from collections import namedtuple | |
| from pathlib import Path | |
| import base64 | |
| import httplib2 | |
| import json | |
| import os | |
| import subprocess |
3.5 fps, Paperwhite 3
@adtac_
mobileread.com is your best resource here, follow the instructions from the LanguageBreak thread
I didn't really follow the LanguageBreak instructions because I didn't care about most of the features + I was curious to do it myself, but the LanguageBreak github repo was invaluable for debugging
| https://github.com/circl-lastname/LBSync |
As per gfx-rs/gfx#3716 (comment) :
macOS has a system shader cache at $(getconf DARWIN_USER_CACHE_DIR)/com.apple.metal
On my MacBookPro that is under /var/folders/52/l9z1nqld5yg99tb_s3q6nyhh0000gn/C
/var/folders/52/l9z1nqld5yg99tb_s3q6nyhh0000gn/C/com.apple.metal/var/folders/52/l9z1nqld5yg99tb_s3q6nyhh0000gn/C/org.blenderfoundationDelete all the folders in there to clear the cache.
| // Sometimes you have a large file on a small disk and would like to "transform" | |
| // it in some way: for example, by decompressing it. However, you might not have | |
| // enough space on disk to keep both the the compressed file and the | |
| // decompressed results. If the process can be done in a streaming fashion, it | |
| // would be nice if the file could be "drained"; that is, the file would be | |
| // sequentially deleted as it is consumed. At the start you'd have 100% of the | |
| // original file, somewhere in the middle you'd have about half of the original | |
| // file and half of your output, and by the end the original file will be gone | |
| // and you'll be left with just the results. If you do it this way, you might | |
| // be able to do the entire operation without extra space! |
| # Classic Fork-join parallelism. bash_parallel's can be nested arbitrarily | |
| # Silent by default; set BASH_PARALLEL_VERBOSE=1 for verbose output on stderr | |
| function bash_parallel | |
| { | |
| function bash_parallel_echo | |
| { | |
| if [[ $BASH_PARALLEL_VERBOSE == 1 ]] ; then | |
| echo "$@" 1>&2 | |
| fi | |
| } |