La prochaine conférence MiNET, le 24/05/2018 après-midi, promet d’être très intéressante sur le sujet des systèmes d’exploitation, avec 4 intervenants pointus :
- Julia Lawall : “Introduction to Coccinelle and its usage in the Linux Kernel“
- Sebastien Valat : “Memory management and OS paging for high performance computing“
- Pierre Pronchery : “DeforaOS: Un voyage dans le développement de système d’exploitation“
- Cyril Brulebois : “Maintenir et développer la distribution Debian“
Plus de détails sur https://conference.minet.net/#conf2018
N’hésitez pas à nous rejoindre à Évry pour participer à cette conférence, ou à suivre la retransmission sur la chaîne Youtube de MiNET.
Todo-Backend lists many implementations of the same REST API with different backend-oriented Web development frameworks.
I’ve proposed my own version using Symfony 4 in PHP, and the api-platform project which helps implementing REST APIs.
I’ve documented the way I did it in the project’s documentation in details, for those curious about Symfony development of a very simple REST API (JSON based). See its README file (of course redacted with the mandatory org-mode ;).
You can find the rest of the code here : https://gitlab.com/olberger/todobackend-symfony4.
AFAICS api-platform offers a great set of features for Linked-Data/REST development with Symfony in general. However, some tweaks were necessary to conform the TodoBackend specs, mainly because TodoBackend is JSON only and doesn’t support JSON-LD…
Oh, and the hardest part was deploying on Heroku, making sure that the CORS headers would work as expected :-/
I’ve improved a bit the org-teaching framework in order to prepare for the next edition of the CSC4101 classes.
I’ve now added a docker container which is in charge of performing the HTML or PDF exports of the slides (using org-reveal) or handbooks (using LaTeX).
Emacs and org-mode are still advised for editing contents, but having this container in the loop ensures that colleagues are able to preview the changes to the teaching material, and I’m no longer a bottleneck for generating the handouts. This also allows to export in a reproducible way, which doesn’t depend on my Emacs config tweaks.
I’ve also added Gitlab pages to the project’s CI so that the docs are updated live at https://olberger.gitlab.io/org-teaching/.
It’s probably not yet rady for use by anyone else, but I’d be glad to get feedback 😉
I’ve installed Debian buster (testing at the time of writing) on a new Dell Latitude 5580 laptop, and one annoyance I’ve found is that the laptop would almost always resume as soon as it was suspended.
AFAIU, it seems the culprit is the network card (Ethernet controller: Intel Corporation Ethernet Connection (4) I219-LM) which would be configured with Wake-On-Lan (wol) set to the “magic packet” mode (ethtool enp0s31f6 | grep Wake-on would return ‘g’). One hint is that grep enabled /proc/acpi/wakeup returns GLAN.
There are many ways to change that for the rest of the session with a command like ethtool -s enp0s31f6 wol d.
But I had a hard time figuring out if there was a preferred way to make this persistant among the many hits in so many tutorials and forum posts.
My best hit so far is to add the a file named /etc/systemd/network/50-eth0.link containing :
The driver can be found by checking udev settings as reported by udevadm info -a /sys/class/net/enp0s31f6
There are other ways to do that with systemd, but so far it seems to be working for me. Hth,
I’ve started using borg and borgmatic for backups of my machines. I won’t be using a fully automated backup via a crontab for a start. Instead, I’ve added a recurrent reminder system that will appear on my XFCE desktop to tell me it may be time to do backups.
I’m using yad (a zenity on steroids) to add notifications in the desktop via an anacron.
The notification icon, when clicked, will start a shell script that performs the backups, starting borgmatic.
Here are some bits of my setup :
Continue reading “Adding a reminder notification in XFCE systray that I should launch a backup script”