TwinsUK Updated +Created
Ciro's call hierarchy notation Updated +Created
This is a simple hierarchical plaintext notation Ciro Santilli created to explain programs to himself.
It is usuall created by doing searches in an IDE, and then manually selecting the information of interest.
It attempts to capture intuitive information not only of the call graph itself, including callbacks, but of when things get called or not, by the addition of some context code.
For example, consider the following pseudocode:
f1() {
}

f2(i) {
  if (i > 5) {
    f1()
  }
}

f3() {
  f1()
  f2_2()
}

f2_2() {
  for (i = 0; i < 10; i++) {

    f2(i)
  }
}

main() {
  f2_2()
  f3()
}
Supose that we are interested in determining what calls f1.
Then a reasonable call hierarchy for f1 would be:
f2(i)
  if (i > 5) {
    f1()

  f2_2()
    for (i = 0; i < 10; i++) {
      f2(i)

    main
    f3
f3()
  main()
Some general principles:
  • start with a regular call tree
  • to include context:
    • remove any blank lines from the snippet of interest
    • add it indented below the function
    • and then follow it up with a blank line
    • and then finally add any callers at the same indentation level
FFmpeg video synthesis Updated +Created
Video with a solid color:
  • 2 second white video:
    ffplay -autoexit -f lavfi -i 'color=white:640x480:d=3,format=rgb24,trim=end=2'
    Also add some audio:
    ffmpeg -lavfi "color=white:640x480:d=3,format=rgb24,trim=end=2[v];sine=f=1000:d=2[a]" -map '[a]' -map '[v]' out.mkv
    TODO how to ffplay the video + audio directly? -map does not seem to work unfortunately.
  • 2 second white followed by 2 second black video:
    ffplay -autoexit -f lavfi -i 'color=white:640x480:d=3,format=rgb24,trim=end=2[a];color=black:640x480:d=3,format=rgb24,trim=end=2[b];[a][b]concat=n=2:v=1:a=0'
  • bibliography:
Display count in seconds on the video:
Will we ever fully udnerstand the brain? Updated +Created
Fast neutron Updated +Created
Slow neutron Updated +Created
New Testament part Updated +Created
Publish or perish Updated +Created
2023:
One of the world’s most cited scientists, Rafael Luque, suspended without pay for 13 years
The prolific chemist, who has published a study every 37 hours this year
You can't apparently fire someone in academia!
Rafael Luque, has been suspended without pay for the next 13 years
Polymerase chain reaction Updated +Created
This is an extremely widely used technique as of 2020 and much earlier.
If allows you to amplify "any" sequence of choice (TODO length limitations) between a start and end sequences of interest which you synthesize.
If the sequence of interest is present, it gets amplified exponentially, and you end up with a bunch of DNA at the end.
You can then measure the DNA concentration based on simple light refraction methods to see if there is a lot of DNA or not in the post-processed sample.
One common problem that happens with PCR if you don't design your primers right is: en.wikipedia.org/wiki/Primer_dimer
New Testament passage Updated +Created
Basic Linear Algebra Subprograms Updated +Created
eLife Updated +Created
Wizards of the Coast Updated +Created
SHN_ABS Updated +Created
hello_world_len points to the special st_shndx == SHN_ABS == 0xF1FF.
0xF1FF is chosen so as to not conflict with other sections.
st_value == 0xD == 13 which is the value we have stored there on the assembly: the length of the string Hello World!.
This means that relocation will not affect this value: it is a constant.
This is small optimization that our assembler does for us and which has ELF support.
If we had used the address of hello_world_len anywhere, the assembler would not have been able to mark it as SHN_ABS, and the linker would have extra relocation work on it later.
YouTube poop Updated +Created
Video 1.
Kazoo Kid - Trap Remix by Mike Diva (2016)
Source.
Video 2.
Ravioli Remix: Black and Yellow by Wiz Krablifa by TheDoubleAgent (2015)
Source.
Video 3.
Afraid of Technology by adarkenedroom (2008)
Source. TODO source show, appears "Brass Eye", TODO episode www.reddit.com/r/videos/comments/jpyfi/technology_scares_the_crap_out_of_me/
High pressure Updated +Created
Video 1.
Something weird happens when you keep squeezing by Vox (2023)
Source. Sodium becomes liquid when you compress it. Weird.
Gvim Updated +Created
Emulator Updated +Created
One of the things Ciro Santilli really likes, see: Linux Kernel Module Cheat.
If computational physics simulates physics, emulators simulates computers.
Baltimore classification Updated +Created

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