Open source LLM Updated 2025-07-19
GitHub repo Updated 2025-07-16
bsub get job stdout and stderr Updated 2025-07-16
By default, LSF only sends you an email with the stdout and stderr included in it, and does not show or store anything locally.
One option to store things locally is to use:as documented at:
bsub -oo stdout.log -eo stderr.log 'echo myout; echo myerr 1>&2'Or to use files with the job id in them:
bsub -oo %J.out -eo %J.err 'echo myout; echo myerr 1>&2'By default as mentioned at:
bsub -oo:To get just the stdout to the file, use
bsub -N -oo which:- stores only stdout on the file
- re-enables the completion email
Another option is to run with the bsub This immediately prints stdout and stderr to the terminal.
-I option:bsub -I 'echo a;sleep 1;echo b;sleep 1;echo c' AMDGPU Updated 2025-07-16
Bibliography:
EC2 instance type Updated 2025-07-16
Amazon's informtion about their own intances is so bad and non-public that this was created: instances.vantage.sh/
vCPU Updated 2025-07-16
EC2 instance store volume Updated 2025-07-16
Large but ephemeral storage for EC2 instances. Predetermined by the EC2 instance type. Stays in the local server disk. Not automatically mounted.
- docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html (archive) notably highlights what it persists, which is basically nothing
- serverfault.com/questions/433703/how-to-use-instance-store-volumes-storage-in-amazon-ec2 mentions that you have to mount it
Amazon Elastic Block Store Updated 2025-07-16
Amazon Machine Image Updated 2025-07-16
Amazon EC2 HOWTO Updated 2025-07-16
three.js Updated 2025-07-16
Open source machine translation Updated 2025-07-16
Machine translation Updated 2025-07-16
Open source text-to-image model Updated 2025-07-16
SPARQL implementation Updated 2025-07-16
SPARQL tutorial Updated 2025-07-16
In this tutorial, we will use the Jena SPARQL hello world as a starting point. Tested on Apache Jena 4.10.0.
Basic query on rdf/vcard.ttl RDF Turtle data to find the person with full name "John Smith":Output:
sparql --data=rdf/vcard.ttl --query=<( printf '%s\n' 'SELECT ?x WHERE { ?x <http://www.w3.org/2001/vcard-rdf/3.0#FN> "John Smith" }')---------------------------------
| x |
=================================
| <http://somewhere/JohnSmith/> |
---------------------------------To avoid writing Output:
http://www.w3.org/2001/vcard-rdf/3.0# a billion times as queries grow larger, we can use the PREFIX syntax:sparql --data=rdf/vcard.ttl --query=<( printf '%s\n' '
PREFIX vc: <http://www.w3.org/2001/vcard-rdf/3.0#>
SELECT ?x
WHERE { ?x vc:FN "John Smith" }
')---------------------------------
| x |
=================================
| <http://somewhere/JohnSmith/> |
---------------------------------Bibliography:
- UniProt contains some amazing examples runnable on their servers: sparql.uniprot.org/.well-known/sparql-examples/
ROCm on Ubuntu Updated 2025-07-16
Tested on Ubuntu 23.10 with P14s:TODO fails with:
sudo apt install hipcc
git clone https://github.com/ROCm/HIP-Examples
cd HIP-Examples/HIP-Examples-Applications/HelloWorld
make/bin/hipcc -g -c -o HelloWorld.o HelloWorld.cpp
clang: error: cannot find ROCm device library for gfx1103; provide its path via '--rocm-path' or '--rocm-device-lib-path', or pass '-nogpulib' to build without ROCm device library
make: *** [<builtin>: HelloWorld.o] Error 1 Qiskit component Updated 2025-07-16
Qiskit example Updated 2025-07-16
python/ast_cheat.py Updated 2025-07-16
There are unlisted articles, also show them or only show them.