De Brest fuir le quotidien
S'ÉVADER...
L'Évasion
In the Zig Language Reference, the
Assembly section includes some demos targetting the
x86_64 architecture for Linux. Here's the same code adapted for aarch64 (AKA arm64) for macOS (Apple
Silicon M1 minimum):
Here's the file inline_assembly.zig:
| #!/usr/bin/env bash | |
| # goal: compile ~/Documents/Administration/CV locally | |
| # with a minimalist modern TeX setup | |
| # no texlive package here | |
| brew install basictex | |
| # restart terminal | |
| if [[ "`echo $PATH | tr ':' "\n" | rg TeX`" == "/Library/TeX/texbin" ]]; then echo good; else echo bad; fi | |
| # MUST PRINT good, otherwise stop here!! |
I've recently checked the Shen Programming Language after a hiatus of 5/6 years.
Dr Mark Tarver has made some good changes & improvements. But the default S39.1 in
2024 didn't work as expected on my SBCL version (2.4.10). string->n works with any
character (ASCII, extended (LATIN..), UNICODE) if I consider SBCL *STANDARD-INPUT*
as a character-based stream.
My knowledge is very limited here; The default choice for byte-based input stream
might make sense in the long run (faster data streams) but for now, I can use the
Shen REPL as I do with SBCL, Lua/Fennel or lein repl)
Here's some random memos about JavaScript.
NaN is a number (?); operators on NaN yields into NaN except in the + case with a string (as below);
IMPORTANT: if we write (x + y) with x as a number and y as a string, it yields into a string (because + is mainly a string concatenation operator); but if + is another math operator (eg: *), it yields into a number; another important case of +: 1 + true yields into 2 because true(otherwise false or null) is converted into 1 (0 respectively); 1 + undefined yield into NaN; "1" + null yields into "1null";
beware of precision issues with floating-point numbers (because JS uses binary form to represent decimal numbers internally); try to remove the floating point (multiply by 10eX where X is a positive integer) then calculate, finally then divide by the same multiplier;
remember the ternary operator: (condition) ? yes : no;
IMPORTANT (of for arrays, strings, in for objects):
Here's some random snippets for a better understanding of Java.
I'd start with this (first app tutorial)[https://auth0.com/blog/creating-your-first-symfony-app-and-adding-authentication/]; it looks obscure (I had to check some additional docs). In this tutorial, you'll create a custom authentication using Symfony Guard. NOTE: don't use: (Symfony tutorial)[https://auth0.com/blog/symfony-tutorial-building-a-blog-part-1]
NOTE: check later:
Here's some tips/snippets for PHP7 (knowledge of PHP5 required).
Please install Github Mermaid extension for Firefox/Chrome to display the diagrams in this document.
NOTE: As much as I can I will try to do the bootstrap 4 tutorial and learn BS5. The demos in the root of this directory are BS5; the subdirectory BS4 contains the demos from tutorialrepublic for the stable but soon deprecated BS4
Please install Github Mermaid extension for Firefox/Chrome to display the diagrams in this document.