ELF Hello World Tutorial
.symtab Updated 2025-07-16Section type:
sh_type == SHT_SYMTAB.A good high level tool to disassemble that section is:which gives:
nm hello_world.o0000000000000000 T _start
0000000000000000 d hello_world
000000000000000d a hello_world_lenThis is however a high level view that omits some types of symbols and in which the symbol types . A more detailed disassembly can be obtained with:which gives:
readelf -s hello_world.oSymbol table '.symtab' contains 7 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000000000 0 FILE LOCAL DEFAULT ABS hello_world.asm
2: 0000000000000000 0 SECTION LOCAL DEFAULT 1
3: 0000000000000000 0 SECTION LOCAL DEFAULT 2
4: 0000000000000000 0 NOTYPE LOCAL DEFAULT 1 hello_world
5: 000000000000000d 0 NOTYPE LOCAL DEFAULT ABS hello_world_len
6: 0000000000000000 0 NOTYPE GLOBAL DEFAULT 2 _startThe binary format of the table is documented at www.sco.com/developers/gabi/2003-12-17/ch4.symtab.html
The data is:which gives:
readelf -x .symtab hello_world.oHex dump of section '.symtab':
0x00000000 00000000 00000000 00000000 00000000 ................
0x00000010 00000000 00000000 01000000 0400f1ff ................
0x00000020 00000000 00000000 00000000 00000000 ................
0x00000030 00000000 03000100 00000000 00000000 ................
0x00000040 00000000 00000000 00000000 03000200 ................
0x00000050 00000000 00000000 00000000 00000000 ................
0x00000060 11000000 00000100 00000000 00000000 ................
0x00000070 00000000 00000000 1d000000 0000f1ff ................
0x00000080 0d000000 00000000 00000000 00000000 ................
0x00000090 2d000000 10000200 00000000 00000000 -...............
0x000000a0 00000000 00000000 ........The entries are of type:
typedef struct {
Elf64_Word st_name;
unsigned char st_info;
unsigned char st_other;
Elf64_Half st_shndx;
Elf64_Addr st_value;
Elf64_Xword st_size;
} Elf64_Sym; Elon Musk Updated 2025-07-16
Respect on the technical side by Ciro Santilli.
But the way he treated his first wife Justine Musk, is very very weird, incomprehensible: www.marieclaire.com/sex-love/a5380/millionaire-starter-wife/
Positive Cirocoins for possibly going to reverse Twitter's unfair Trump ban if his Twitter acquisition goes through:
Engine Updated 2025-07-16
Enthalpy Updated 2025-07-16
Adds up chemical energy and kinetic energy.
The sum is of interest when thinking about reactions because chemical reactions can change the number of molecules involved, and therefore the pressure.
To predict if a reaction is spontaneous or not, negative enthalpy is not enough, we must also consider entropy via Gibbs free energy.
Epic Rap Battles of History Updated 2025-07-16
Most of the videos are crap, but the following ones almost killed Ciro Santilli of laughter:
- Video "Bill Gates vs Steve Jobs by Epic Rap Battles of History (2012)"
- Video 1. "Rasputin vs Stalin by Epic Rap Battles of History (2013)"
Rasputin vs Stalin by Epic Rap Battles of History (2013)
Source. See also: cirosantilli.com/china-dictatorship/stalin.Monty Python has a few precursors to the "random famous people mixed together compting" format, although not in the rap fight format:
Communist Quiz by Monty Python (1970)
Source. Has a Wiki page: en.wikipedia.org/wiki/World_Forum/Communist_Quiz. Brings to mind: Video "Football, Football, Football by Mitchell and Webb".Philosophers' Football Match by Monty Python (1972)
Source. If you can understand the jokes, your philosophy level is pretty good. Like more than zero. Wiki page: en.wikipedia.org/wiki/The_Philosophers%27_Football_Match. Ciro loves how that page currently uses a standard footbal match template to describe the match! Equation of state Updated 2025-07-16
Ethernet cable Updated 2025-07-16
When non-specialists say "Ethernet cable", they usually mean twisted pair for Ethernet over twisted pair.
But of course, this term is much more generic to a more specialized person, since notably fiber optics are also extensively used in Ethernet over fiber.
Universal asynchronous receiver-transmitter Updated 2025-07-16
A good project to see UARTs at work in all their beauty is to connect two Raspberry Pis via UART, and then:
- type in one and see characters appear in the other: scribles.net/setting-up-uart-serial-communication-between-raspberry-pis/
- send data via a script: raspberrypi.stackexchange.com/questions/29027/how-should-i-properly-communicate-2-raspberry-pi-via-uart
Part of the beauty of this is that you can just connect both boards directly manually with a few wire-to-wire connections with simple jump wire. Its simplicity is just quite refreshing. Sure, you could do something like that for any physical layer link presumably...
Remember that you can only have one GNU screen connected at a time or else they will mess each other up: unix.stackexchange.com/questions/93892/why-is-screen-is-terminating-without-root/367549#367549
On Ubuntu 22.04 you can screen without sudo by adding yourself to the
dialout group with:sudo usermod -a -G dialout $USER Existence of the matrix logarithm Updated 2025-07-16
en.wikipedia.org/wiki/Logarithm_of_a_matrix#Existence mentions it always exists for all invertible complex matrices. But the real condition is more complicated. Notable counter example: -1 cannot be reached by any real .
The Lie algebra exponential covering problem can be seen as a generalized version of this problem, because
- Lie algebra of is just the entire
- we can immediately exclude non-invertible matrices from being the result of the exponential, because has inverse , so we already know that non-invertible matrices are not reachable
Existential risk of AGI Updated 2025-07-16
www.cam.ac.uk/research/news/the-best-or-worst-thing-to-happen-to-humanity-stephen-hawking-launches-centre-for-the-future-of
The rise of powerful AI will either be the best or the worst thing ever to happen to humanity. We do not yet know which.
University Updated 2025-09-09
As of 2020, university has the following very important applications:Notably, Education is an IQ test, not a way to learn useful and beautiful things.
- meet an intelligent sexual partner (see also: Section "Sexual selection", Section "The main function of university is sexual selection") and or have fun and or come out of the closet
- get you in debt if you are from the United States
One major issue is that teachers don't have the right incentive to, nor are selected to, teach well. Thus the existence of Rate My Professors! But we can do better...
Which is why Ciro Santilli wants to destroy its current format with OurBigBook.com. He believes that we can find a more efficient organization to achieve both the social and research functions of university, by first doing as much as possible online
Fabless manufacturing Updated 2025-07-16
But once designs started getting very complicated, it started to make sense to separate concerns between designers and fabs.
What this means is that design companies would primarily write register transfer level, then use electronic design automation tools to get a final manufacturable chip, and then send that to the fab.
The term "Fabless" could in theory refer to other areas of industry besides the semiconductor industry, but it is mostly used in that context.
Fast Fourier transform Updated 2025-07-16
An efficient algorithm to calculate the discrete Fourier transform.
FFmpeg Updated 2025-07-16
As a result, Ciro Santilli who likes "lower level stuff", has had many many hours if image manipulation fun with this software, see e.g.:
Fiat currency Updated 2025-07-16
As opposed to:
- 2020 cryptocurrencies, while governments still don't accept them for taxes, as well as other assets that are also not accepted for taxes (i.e. most assets)
- physical currencies that have intrinsic material value, e.g. gold coins
Lie algebra of Updated 2025-07-16
This is a good first concrete example of a Lie algebra. Shown at Lie Groups, Physics, and Geometry by Robert Gilmore (2008) Chapter 4.2 "How to linearize a Lie Group" has an example.
Every element with this parametrization has determinant 1:Furthermore, any element can be reached, because by independently settting , and , , and can have any value, and once those three are set, is fixed by the determinant.
Remembering that the Lie bracket of a matrix Lie group is really simple, we can then observe the following Lie bracket relations between them:
One key thing to note is that the specific matrices , and are not really fundamental: we could easily have had different matrices if we had chosen any other parametrization of the group.
TODO confirm: however, no matter which parametrization we choose, the Lie bracket relations between the three elements would always be the same, since it is the number of elements, and the definition of the Lie bracket, that is truly fundamental.
Lie Groups, Physics, and Geometry by Robert Gilmore (2008) Chapter 4.2 "How to linearize a Lie Group" then calculates the exponential map of the vector as:with:
TODO now the natural question is: can we cover the entire Lie group with this exponential? Lie Groups, Physics, and Geometry by Robert Gilmore (2008) Chapter 7 "EXPonentiation" explains why not.
Lie algebra of Updated 2025-07-16
We can reach it by taking the rotations in three directions, e.g. a rotation around the z axis:then we derive and evaluate at 0: therefore represents the infinitesimal rotation.
Note that the exponential map reverses this and gives a finite rotation around the Z axis back from the infinitesimal generator :
Repeating the same process for the other directions gives:We have now found 3 linearly independent elements of the Lie algebra, and since has dimension 3, we are done.
Lie bracket of a matrix Lie group Updated 2025-07-16
Because the Lie bracket has to be a bilinear map, all we need to do to specify it uniquely is to specify how it acts on every pair of some basis of the Lie algebra.
Then, together with the Baker-Campbell-Hausdorff formula and the Lie group-Lie algebra correspondence, this forms an exceptionally compact description of a Lie group.
Lie group bibliography Updated 2025-07-16
Lie Groups, Physics, and Geometry by Robert Gilmore (2008) Updated 2025-07-16
The author seems to have uploaded the entire book by chapters at: www.physics.drexel.edu/~bob/LieGroups.html
And the author is the cutest: www.physics.drexel.edu/~bob/Personal.html.
Overview:
- Chapter 3: gives a bunch of examples of important matrix Lie groups. These are done by imposing certain types of constraints on the general linear group, to obtain subgroups of the general linear group. Feels like the start of a classification
- Chapter 4: defines Lie algebra. Does some basic examples with them, but not much of deep interest, that is mostl left for Chapter 7
- Chapter 5: calculates the Lie algebra for all examples from chapter 3
- Chapter 6: don't know
- Chapter 7: describes how the exponential map links Lie algebras to Lie groups
Unlisted articles are being shown, click here to show only listed articles.