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
Toyota Research Institute by Ciro Santilli 35 Updated +Created
Unit of time by Ciro Santilli 35 Updated +Created
The Matrix (1999) by Ciro Santilli 35 Updated +Created
Ciro Santilli just keep watching that a gazillion times whenever it showed on TV.
All action scenes are useless crap, but the premise with Ciro's precious simulation hypothesis subject, related physics and the illusion of life.
It is a shame that the key premise of using human bodies to produce energy is completely and impossibly stupid. You would obviously get more energy by directing burning the food you feed into humans.
If the film had been made later, maybe the much more plausible concept of AI alignment would would have been used instead. What a shame.
Video 1.
Blue Pill or Red Pill scene from The Matrix (1999)
. Source.
Zatoichi by Ciro Santilli 35 Updated +Created
Perihelion precession of Mercury by Ciro Santilli 35 Updated +Created
Subtle is the Lord by Abraham Pais (1982) page 22 mentions that when Einstein saw this in 1915, he was so excited he couldn't work for three days.
Tactical nuclear weapon by Ciro Santilli 35 Updated +Created
List of systems programmers by Ciro Santilli 35 Updated +Created
Public-key cryptography by Ciro Santilli 35 Updated +Created
It allows you to do two things:
Surely You're Joking, Mr. Feynman chapter O Americano, Outra Vez! by Ciro Santilli 35 Updated +Created
In this chapter Richard Feynman talks about his experiences in Brazil.
"O Americano, Outra Vez!" means "The American, once again!" in Portuguese, which is what one of the samba school boss exclaimed when Feynman was not playing well his instrument, the frigideira, during a rehearsal.
Feynman really enjoyed Brazil's (and notably Rio's) stereotypical "take it easy and enjoy life" attitude.
TOP500 by Ciro Santilli 35 Updated +Created
How to hardcode subtitle into a video with FFmpeg? by Ciro Santilli 35 Updated +Created
On Ubuntu 20.10, just:
ffmpeg -i input.mp4 -vf "subtitles=subtitle.srt" output.mp4
To change font size: stackoverflow.com/questions/21363334/how-to-add-font-size-in-subtitles-in-ffmpeg-video-filter
ffmpeg -i input.mp4 -vf "subtitles=subtitle.srt:force_style='Fontsize=64'" output.mp4
The default appears to be 24, so just multiply that by whatever seems like a reasonable factor.
Note howver that .ass subtitle files can contain style information, which ffmpeg respects. Aegisub can produce and preview such styles, making .ass one of the best options.
Open source standard cell library by Ciro Santilli 35 Updated +Created
Open source ones:
Continuous spectrum (functional analysis) by Ciro Santilli 35 Updated +Created
Unlike the simple case of a matrix, in infinite dimensional vector spaces, the spectrum may be continuous.
The quintessential example of that is the spectrum of the position operator in quantum mechanics, in which any real number is a possible eigenvalue, since the particle may be found in any position. The associated eigenvectors are the corresponding Dirac delta functions.
Hafele-Keating experiment by Ciro Santilli 35 Updated +Created

Unlisted articles are being shown, click here to show only listed articles.