High Performance Computing & AI
Practical notes on Python, JupyterHub, Kubernetes and AI for science — from the San Diego Supercomputer Center.
-
netcat, quickly send binaries through network
just start nc in server mode on localhost: [sourcecode language='python'] nc -l -p 3333 [/sourcecode] send a string to localhost on port 3333: [sourcecode language='python'] echo "hello world" | nc localhost 3333 [/sourcecode] you'll see on server side appearing the string you sent.
-
Decibels, dB and dBm, in terms of Power and Amplitude
It's not difficult, just always having some doubts... Power $latex L{dB} = 10 log{10} \left( \dfrac{P1}{P0} \right) $ 10 dB increase for a factor 10 increase in the ratio 3 dB = doubling 40 dB = 10000 times Amplitude $latex L{dB} = 10 log{10} \left( \dfrac{A1^2}{A0^2} \right) = 20 log{10} \left( \dfrac{A1}{A0} \right)
-
Relation between Power density and temperature in an antenna
Considering an antenna placed inside a blackbody enclosure at temperature T, the power received per unit bandwidth is: $latex \omega = kT$ where k is Boltzmann constant.
-
Producing PDF from XML files
I need to produce formatted pdf from XML data input file. The more standard way looks like to use XSL stylesheets. Associating a XSL sheet to an XML file permits most browsers to render them directly as HMTL, this can be used for web publishing XML sheets.
-
vim costumization
it is about perl but it suggests very useful tricks for programming with vim http://mamchenkov.net/wordpress/2004/05/10/vim-for-perl-developers/
-
using gnu find
list all the directories excluding ".": find . -maxdepth 1 -type d -not -name "." find some string in all files matching a pattern in the subfolders (with grep -r you cannot specify the type of file) find . -name '.py' -exec grep -i pdb '{}' \;
-
beginners bash guide
great guide with many examples: http://tille.xalasys.com/training/bash/
-
tar quickref
compress: tar cvzf foo.tgz .cc .h check inside: tar tzf foo.tgz | grep file.txt extract: tar xvzf foo.tgz extract 1 file only: tar xvzf foo.tgz path/to/file.txt
-
software carpentry
basic software for scientists and engineers: http://www.swc.scipy.org/
-
Software libero per il trattamento di dati scientifici
nella ricerca del miglior ambiente per analisi di dati scientifici da leggere questi articoli: http://www.pluto.it/files/journal/pj0501/swlibero-scie1.html http://www.pluto.it/files/journal/pj0504/swlibero-scie2.html http://www.pluto.it/files/journal/pj0505/swlibero-scie3.html
-
command line processing
Very useful summary of many linux command line processing tools (great perl onliners) http://grad.physics.sunysb.edu/leckey/personal/forget/
-
awk made easy
awk '/REGEX/ {print NR "\t" $9 "\t" $4""$5 ;}' file.txt supports extended REGEX like perl ( e.g.
-
pillole di astrofisica
curiosita' ben spiegate da annibale d'ercole, interessante l'idea di avere un livello base e un livello avanzato http://www.bo.astro.it/sait/spigolature/spigostart.html