Today via r/programming: How does USB device discovery work?. An interesting video of a dude using his pretty awesome looking oscilliscope…
Author Archives: Jay Jay
Devil’s Dictionary of Programming
Today I discovered the Devil’s Dictionary of Programming, which was a bit of fun.
Recommended Pagination for APIs
This via r/programming today: Recommended Pagination for APIs. Keyset pagination is an approach I’ve seen recommended a fair bit lately…
Data Structure Visualizations
This on HN today: Data Structure Visualizations.
Software crisis
There’s a good article about the software crisis over on Wikipedia.
Postfix SMTP-AUTH 4 DUMMIES
Some notes on how to configure Postfix: Postfix SMTP-AUTH 4 DUMMIES.
Write code that is easy to delete, not easy to extend
Today via Lobsters: Write code that is easy to delete, not easy to extend. I think I like programmingisterrible.com.
Dovecot SASL
Here’s some info about Dovecot SASL. I integrate this facility for Postfix authentication too. So my SMTP system has a dependency on my IMAP/POP3 system. In the backend it’s a MySQL database…
openssl dhparam -out dh.pem
So I was getting errors like this in syslog:
Jul 6 17:35:53 integrity systemd[1]: Started Dovecot IMAP/POP3 email server. Jul 6 17:35:53 integrity dovecot[10775]: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 79: ssl_dh: Can't open file /etc/dovecot/dh.pem: No such file or directory Jul 6 17:35:53 integrity systemd[1]: dovecot.service: Main process exited, code=exited, status=89/n/a Jul 6 17:35:53 integrity systemd[1]: dovecot.service: Failed with result 'exit-code'.
This failure was affecting other parts of my system (i.e. postfix SASL).
The solution was to generate the dh.pem file:
root@integrity:/etc/dovecot # openssl dhparam -out dh.pem 4096
You Are Gonna Need It
Over on YAGNI exceptions some ideas about what you probably are gonna need…