# Documentation:
# @raycast.author Your Name
# @raycast.authorURL https://github.com/you
QUERY="$1"
[ -z "$QUERY" ] && exit 0
FULL_QUERY="Answer in as little words as possible, concisely, for an intelligent person: $QUERY"
# URL encode (pure bash)
encode_query() {
local query="$1"
local encoded=""
local c
for (( i=0; i<${#query}; i++ )); do
c="${query:$i:1}"
case $c in
[a-zA-Z0-9.~_-]) encoded+="$c" ;;
*) encoded+=$(printf '%%%02X' "'$c") ;;
esac
done
echo "$encoded"
}
Claude register need a phone number, but cannot select China (+86), and even if I have a account, it may hard to purchase because the credit card issue.
Some app like Windsurf can easily pay with Alipay, a everyone-app in China.
I took some effort to change my research interest from computer vision to DFT calculation in quantum chemistry.
Honestly, I'm kind of frustrated now, too many work is close-source in this area. The research paper will tell you everything except how to reproduce this work in minimal effort, it's like they are hiding something.
They also using a `Origin` to plot and MS Word to write paper, which is also non-free licensed, and made them harder to collaborate and reproduce.
I find it frustrating that after purchasing an item, the email notifications are endless. They include every minor update, like the delivery person stopping for a bagel. It feels like my phone is constantly bombarded with unnecessary information these days.
Thanks for your recommendation! I just ran Llamafile for the first time with a custom prompt on my Windows machine (i5-13600KF, RX6600) and found that it performed extremely slowly and wasn't as smart as ChatGPT. It doesn't seem suitable for productive writing. Did I do something wrong, or is there a way to improve its writing performance?