Ruby (programming language) Updated 2025-07-16
Software development Updated 2025-07-16
Theorem of the Day Updated 2025-07-16
The place for beauty in companies Updated 2025-07-16
Many/most companies are unable to give any beauty to its employees.
Hiring is simply a process of "let's get this money making project working ASAP", bring people in, without considering Brooks's law.
And then when that happens, companies put people in extremely narrow knowledge areas, making them unable to see or participate in the bigger picture of things, unless they spend 10 years there and reach architect status.
This is perhaps particularly painful for high flying birds like Ciro Santilli.
The real projective plane is not simply connected Updated 2025-07-16
To see that the real projective plane is not simply connected space, considering the lines through origin model of the real projective plane, take a loop that starts at and moves along the great circle ends at .
Now try to shrink it to a point.
There's just no way!
Cool data embedded in the Bitcoin blockchain Miscellaneous Updated 2025-07-16
Human genome Updated 2025-07-16
Oxygen transport protein Updated 2025-07-16
Tcl Updated 2025-07-16
Wireshark capture filter Updated 2025-07-16
Capture by instead:
sudo wireshark -f http -k
sudo wireshark -f icmp -k
Filter by both protocol and host:
sudo wireshark -f 'host 192.168.1.102 and icmp' -k
For application layer capture filtering, the best you can do is by port:There is an
sudo wireshark -f 'tcp port 80'
http
filter but only for as a wireshark display filter ampy Updated 2025-07-16
Install on Ubuntu 22.04:
python3 -m pip install --user adafruit-ampy
Ciphertext, plaintext, key and salt Updated 2025-07-16
Double quotes Updated 2025-07-16
Environment variable Updated 2025-07-16
GlobalFoundries Updated 2025-07-16
Linux networking HOWTO Updated 2025-07-16
Priory 600ADX Updated 2025-07-16
Scalable Vector Graphics Updated 2025-07-16
Companies have been really slow to support SVG features in their browsers, and that is very saddening: medium.com/@michaelmangial1/introduction-to-scalable-vector-graphics-6450c03e8d2e
You can't drop SVG support for
canvas
until there's a way to run untrusted JavaScript on the browser!SVG does have some compatibility annoyances, notably SVG fonts. But we should as a society work to standardize and implement a fix those, the benefits of SVG are just too great!
Examples:
- svg/svg.svg a minimal somewhat sane SVG:
- if the
width
andheight
properties were not given, you get the default 300x150, which seems to be set in the SVG standard:
- if the
- how to add na SVG image to a HTML file:
- svg/svg.html: external image. The included file is svg/svg.svg.
- svg/inline.html: inline.
- svg/billion-laughs.svg
- svg/html.svg
- svg/triangle.svg
- svg/viewBox.svg: this attribute allows you to control the default SVG
svg width=
andheight=
while keeping the coordinates of the drawing untouched. If theviewBox
aspect ratio differs from the width/height ratio, you likely want to play withpreserveAspectRatio
, otherwise you would get white spaces by default on the generated image - CSS with SVG:
- svg/style.svg: inline CSS
- svg/style-external.svg: external CSS with:
<?xml-stylesheet type="text/css" href="svg.css" ?>
, see also: stackoverflow.com/questions/18434094/how-to-style-svg-with-external-css- svg/subdir/style-external.html: is the relative CSS relative to the HTML or to the SVG? Answer: to the SVG... OMG. So how to make it work reliably?
- svg/current-color.html and svg/current-color.svg: illustrates
fill="currentColor"
. Only works for inline SVG however... See also: stackoverflow.com/questions/13000682/how-do-i-have-an-svg-image-inherit-colors-from-the-html-document/13002311
- JavaScript with SVG:
- svg/defs.html hows how
defs
works- svg/defs-external.html tries to include external
defs
from svg/defs.svg, but that fails like everything else related to external SVGs
- svg/defs-external.html tries to include external
Standard streams Updated 2025-07-16
There is value in tutorials written by beginners Updated 2025-07-16
Ciro Santilli is a big believer that there is value in tutorials written by beginners, because beginners are more likely to explain things in a way that other beginners can understand.
Even though they make more mistakes, this more approachable point of view can be very valuable.
And mistakes/omissions can be corrected on comments by people with more knowledge, so that the writer also ends up learning something new.
By other people:
- jakobschwichtenberg.com/about/ from Jakob Schwichtenberg mentions quotes C. S. Lewis book "Reflections on the Psalms"[ref]:
It often happens that two schoolboys can solve difficulties in their work for one another better than the master can. [...] The fellow-pupil can help more than the master because he knows less. The difficulty we want him to explain is one he has recently met. The expert met it so long ago he has forgotten. He sees the whole subject, by now, in a different light that he cannot conceive what is really troubling the pupil; he sees a dozen other difficulties which ought to be troubling him but aren't.
Unlisted articles are being shown, click here to show only listed articles.