GHDL by Ciro Santilli 35 Updated +Created
Examples under vhdl.
First install GHDL. On Ubuntu:
sudo apt install verilator
Tested on Verilator 1.0.0, Ubuntu 22.04.
Run all examples, which have assertions in them:
cd vhdl
./run
Files:
Verilator by Ciro Santilli 35 Updated +Created
Verilog simulator that transpiles to C++.
One very good thing about this is that it makes it easy to create test cases directly in C++. You just supply inputs and clock the simulation directly in a C++ loop, then read outputs and assert them with assert(). And you can inspect variables by printing them or with GDB. This is infinitely more convenient than doing these IO-type tasks in Verilog itself.
Some simulation examples under verilog.
First install Verilator. On Ubuntu:
sudo apt install verilator
Tested on Verilator 4.038, Ubuntu 22.04.
Run all examples, which have assertions in them:
cd verilator
make run
File structure is for example:
Example list:
Ultra-high vacuum by Ciro Santilli 35 Updated +Created
American university by Ciro Santilli 35 Updated +Created
Alpha decay by Ciro Santilli 35 Updated +Created
Most of the helium in the Earth's atmosphere comes from alpha decay, since helium is lighter than air and naturally escapes out out of the atmosphere.
Wiki mentions that alpha decay is well modelled as a quantum tunnelling event, see also Geiger-Nuttall law.
As a result of that law, alpha particles have relatively little energy variation around 5 MeV or a speed of about 5% of the speed of light for any element, because the energy is inversely exponentially proportional to half-life. This is because:
  • if the energy is much larger, decay is very fast and we don't have time to study the isotope
  • if the energy is much smaller, decay is very rare and we don't have enough events to observe at all
Video 1. Source.
Glycoprotein by Ciro Santilli 35 Updated +Created
Unable to lock screen on Ubuntu by Ciro Santilli 35 Updated +Created
Happened on P14s on Ubuntu 23.10, which started with fresh Ubuntu 23.10 install.
However it did not happen on Lenovo ThinkPad P51 (2017) also on Ubuntu 23.10 which had been upgraded several times from God knows what starting point... At first one had X11 (forced by Nvidia drivers) and the other Wayland, but moving to p14s X11 changed nothing.
Both were running GNOME Display Manager.
Same happens with Super + L, but also CLI commands: askubuntu.com/questions/7776/how-do-i-lock-the-desktop-screen-via-command-line
Culture of Brazil by Ciro Santilli 35 Updated +Created
HTTP by Ciro Santilli 35 Updated +Created
History of Bitcoin by Ciro Santilli 35 Updated +Created
Change (Bitcoin) by Ciro Santilli 35 Updated +Created
Bitcoin mining reward by Ciro Santilli 35 Updated +Created
LSF get version by Ciro Santilli 35 Updated +Created
Most/all commands have the -V option which prints the version, e.g.:
bsub -V
LSF command by Ciro Santilli 35 Updated +Created
Khronos standard by Ciro Santilli 35 Updated +Created
Universal Scene Description by Ciro Santilli 35 Updated +Created
Project Gutenberg remove line breaks by Ciro Santilli 35 Updated +Created
Their txt formats are so crap!
E.g. for;
wget -O pap.txt https://www.gutenberg.org/ebooks/1342.txt.utf-8
a good one is:
perl -0777 -pe 's/(?<!\r\n)\r\n(?!\r\n)( +)?/ /g' pap.txt
The ( +)? is for the endlessly many quoted letters they have, which use four leading spaces per line as a quote marker.
Conda by Ciro Santilli 35 Updated +Created
Conda is like pip, except that it also manages shared library dependencies, including providing prebuilts.
This has made Conda very popular in the deep learning community around 2020, where using Python frontends like PyTorch to configure faster precompiled backends was extremelly common.

There are unlisted articles, also show them or only show them.