write this prompt for Cline AI-agent:
@/src/schemas/note.ts @/src/services/note-manager.ts
create a schema and message manager like note.ts.
Messages will be between the Telegram user (that's @/src/schemas/user.ts) and an AI-agent.
You need to save the last 100 messages, when you reach 100 messages,
you need to take the last 50 messages and summarize them,
- “A Toolkit for Computation on GPUs”. Ian Buck and Tim Purcell. In GPU Gems. Randy Fernando, ed. 2004
- 2003-04-11 Mark Harris page cs.unc.edu/~harrism/gpgpu
- 2015-05-02 Mark Harris - "A Brief History of General-Purpose Computation on GPUs"
- at 3:43 a slide titled "The first GPGPU: IKONAS RDS-3000" shows
- an ad saying "The GRAPHICS SYSTEM for the 80's"
- 1978 Nick Englund & Mary Whitton founded Ikonas Graphics System
- 1985 Video "All computation is taking place in the Adage 3000 Display"
- (SIGGRAPH '86) Time Van Hook wrote microcode for solid modeling, ray tracing
- at 3:43 a slide titled "The first GPGPU: IKONAS RDS-3000" shows
- UNC Pixel Planes and PixelFlow
Veritasium/Perimeter Institute
2025-04-07 What Everyone Gets Wrong About AI and Learning – Derek Muller Explains
- why no revolution in 100 years? (Edison, Radio, TV, Khan, MOOC..)
- Effort is The Algorithm
- Inspiring teacher ??
- 15:28 The Magical Number Seven, Plus or Minus Two. Some Limits on Our Capacity for Processing Information. George A. Miller, 1955
Implications for Education 26:42
- 26:48 Eliminate extraneous cognitive load: e.g. clear sound, no accent, subtitles, legible font)
JavaScript
was built in only 10 days in 1995 by a single person, Brendan Eich, who was tasked with building a simple scripting language to be used in version 2 of the Netscape browser. It was initially called LiveScript, but since the Java language was so popular at the time, the name was changed to JavaScript - although Java and JavaScript are in no way related.
For the first few years, after it was built, JavaScript was a simple scripting language to add mouseover effects and other interactivity. Those effects were being added to webpages using the <script> HTML element.
#!/bin/sh | |
if [ ! -n "$1" ]; then | |
echo "No file path argument found" | |
elif [ -f $1 ]; then | |
b64=$(sha384sum $1 | grep -o -E '^[a-f0-9]{96}' | xxd -r -p | base64) | |
echo "integrity=\"sha384-${b64}\"" | |
else | |
echo "\"$1\" not found, or is not readable" | |
fi |
CIA-triad - Confidentiality, Integrity, Availability | |
DAO - Decentralized Automous Org | |
DeFi - Decentralized Finance | |
DON - Decentralized Oracle Network | |
OCR - Off-Chain Reporting | |
Rollup - Off-Chain Txn Bundler | |
TEF - Transaction Execution Framework | |
VRF - Verifiable Random Function |
sudo apt install fscrypt libpam-fscrypt | |
sudo blkid | |
FileSystem=/dev/nvme0n1p4 | |
getconf PAGE_SIZE # 4096 | |
sudo tune2fs -l $FileSystem | grep 'Block size' | |
sudo tune2fs -O encrypt $FileSystem | |
sudo fscrypt setup | |
sudo pam-auth-update |
apt-cache policy systemd-homed | |
# systemd-homed: Candidate: 255.4-1ubuntu8.4 | |
sudo apt install systemd-homed | |
# The following NEW packages installed: systemd-homed systemd-userdbd | |
sudo homectl --real-name=ZM \ | |
--uid=60131 \ | |
--kill-processes=false \ | |
--member-of=docker,dip,lpadmin,plugdev,ops,sudo,users,wireshark \ |
Substack https://aljamal.substack.com/p/homoiconic-python
atom=lambda x:not isinstance(x,list)
eq=lambda x,y:x == y
car=lambda x:x[0]
cdr=lambda x:x[1:]
We are turning off PATH, JAVA_HOME modifications so we can install multiple versions of Java, and set PATH as needed per-project. However
- we do not provide instructions for this scenario (TODO
jps
) - if this is the only Java on your workstation, you can let setup do these changes for you
winget install --interactive BellSoft.LibericaJDK.11
Interactively set this location C:\JDK\11
, and turn off PATH, JAVA_HOME, and Jar assotiation