Monthly Shaarli

All links of one month in a single page.

April, 2024

Sorted list of IPv4 addresses of LXC containers

This is a one-liner that I find useful when deciding a free IPv4 address to assign a new container:

$ lxc network list-leases lxdbr0 | grep STATIC | sort -t "." -n -k4
| taipei    | 00:16:3e:9c:dd:28 | 10.252.116.3   | STATIC  |
| hunan     | 00:16:3e:f7:4f:b2 | 10.252.116.4   | STATIC  |
| xian      | 00:16:3e:b0:54:12 | 10.252.116.5   | STATIC  |
| samarkand | 00:16:3e:e8:79:60 | 10.252.116.6   | STATIC  |
| karachi   | 00:16:3e:e5:4c:47 | 10.252.116.7   | STATIC  |
| lahore    | 00:16:3e:f1:73:ab | 10.252.116.8   | STATIC  |
| muscat    | 00:16:3e:9a:89:05 | 10.252.116.9   | STATIC  |
| antioch   | 00:16:3e:92:79:ca | 10.252.116.11  | STATIC  |
| delhi     | 00:16:3e:22:9c:d0 | 10.252.116.13  | STATIC  |
| bahrain   | 00:16:3e:4b:b6:ee | 10.252.116.14  | STATIC  |
| lusail    | 00:16:3e:fd:1f:49 | 10.252.116.15  | STATIC  |
| pergamon  | 00:16:3e:0e:9c:82 | 10.252.116.16  | STATIC  |

The one-liner is simplified by the fact that only the IP address field contains dots, so we can use them as delimiters for sort without first having to sort on the column delimiters.

Blueberries’ blue is just skin deep, caused by structure not pigments
thumbnail

Non-spherical nanostructures explain the fruit’s colour.

I never reflected on the colour of blueberries, and just assumed it was pigment-based. Turns out it is more interesting than that!

R Middleton et al, Sci. Adv., 2024, https://dx.doi.org/10.1126/sciadv.adk4219

Sluta röka
HackMD - Collaborative Markdown Knowledge Base
thumbnail

Best way to write and share your knowledge in markdown.

Pretty neat!

Element partners with Swedish ISP Tele2 for sovereign communications
thumbnail

I suppose this should be seen in light of the official endorsement of Matrix by eSam over a year ago, which I noted at the time.

Sweden’s public sector is keen to adopt open source and open standards to ensure data sovereignty and protection against vendor lock-in

As a part of Tele2 Collaborate, Element is seen as a natural Skype for Business (S4B) replacement for Sweden’s public sector, and an alternative to US-based Big Tech vendors.

DataLad: distributed system for joint management of code, data, and their relationship

Keep code, data, containers under control with git and git-annex

Built in Python.