- https://en.wiktionary.org/wiki/artifact
- artifact — in American English
- artefact — in British and Australian English
Blog
-
“artifact” or “artefact”?
-
Python regular expression and “extra flags”
- https://en.wikibooks.org/wiki/Python_Programming/Regular_Expression#Pattern_objects
- https://docs.python.org/3/library/re.html#re.X — “This flag allows you to write regular expressions that look nicer and are more readable by …” — my favourite flag
Q: How to combine a couple of flags? A: add them like integers!
-
InformIT: Peter Smith’s “Software Build Systems: Principles and Experience”
- http://www.informit.com/store/software-build-systems-principles-and-experience-9780321769442
- http://www.informit.com/store/product.aspx?isbn=9780321769442
- https://en.wikipedia.org/wiki/Special:BookSources/9780321769442
from Chapter 16: Tool Management: Tool Rules
- take notes (very, very detailed — nice!)
- use version control for the source code
- periodically upgrade tools
- use version control for the tool binaries
There is a very nice and enjoyable section on “breaking the rules”.
-
Jenkins CI: my account password did not work any more, but I found a way to fix it
- Q: how to solve this? A: mostly by taking notes
- Q: which security model do I use? A: “Role-Based Strategy“
general approach:
- fix a few bits within config.xml and another few bits within your Jenkins web GUI
- for editing config.xml stop your Jenkins of course
- create a new (privileged) user account, and change your main account’s password through this new privileged user account
now in detail:
- stop your Jenkins
- within $JENKINS_HOME/config.xml change a few values for the time being:
- toggle
<useSecurity>true</useSecurity>to<useSecurity>false</useSecurity> - toggle
<disableSignup>true</disableSignup>to<disableSignup>false</disableSignup> - start your Jenkins again
- sign up a new user account (next time your main account is in trouble, use this one!)
- stop your Jenkins again
- add another
<sid>...</sid>entry for your new user account - …
- toggle your security entries shown above back to their original values
- start your Jenkins again
- change the troubled account’s password Jenkins-wise
- everything should be fine again
-
put the WP article on my watchlist “Brazilian military government” – and already sort of contributed to the article
My contributions?
- proper citing of books and web articles
- preventing vandalism, including a replacement of “U.S.A.” with simple “America” – from my point of view a brute simplification – I reverted a change by an anonymous contributor – that was easy, because anonymous contributors have a worse standing than identifiable contributors, and how would an anonymous contributor file a complaint at a “Wikipedia court”???
Why did I get involved in the 1st place? Not just because of my son (“half-Brazilian”), but because I know somebody “a little directly involved” in the military government. (I hope that’s not considered an insult.)
-
my Berlinale (Friday evening) movie: the French-Belgian “Baden Baden (2016)” – 98% French, subtitled in English
- https://www.berlinale.de/en/programm/berlinale_programm/datenblatt.php?film_id=201605580
- http://www.imdb.com/title/tt4216890
- http://www.imdb.com/name/nm2676618 – Salomé Richard played “Ana”, the main character
- http://variety.com/2016/film/global/rachel-lang-locarno-baden-baden-jour2fete-chevaldeuxtrois-tarantula-1201681978/
We enjoyed the movie sitting in the 1st row, we attended the lively Q&A discussion with the “entire” production team incl. director, “Ana” and “Ana’s mother” afterwards; and we happened to meet “Ana” AKA Salomé Richard outside the theatre and ask her a few questions. This is a true and overwhelming festival experience.
-
ESR’s “The Art of Unix Programming”
- http://www.catb.org/~esr/writings/taoup/
- http://www.catb.org/~esr/writings/taoup/html/
- https://en.wikipedia.org/wiki/The_Art_of_Unix_Programming
- ISBN … – paper, PDF, EPUB – I like EPUB best, because I have a constant correlation of the text I am reading right now to its place within the hierarchical TOC (I had to regenerate the TOC within Calibre though)
-
rcjenkins and rcjenkins.bat
- https://en.wikipedia.org/wiki/Run_commands – what does “rc” stand for?
- https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins – shows various details, but no feasible rc script for “low-level use”
- https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins#StartingandAccessingJenkins-Averysimpleinitscript – “a very simple init script” – CAVEAT: you can not run this as a simple user
I got fed up a little with the rather simplistic startjenkins.bat scripts I came across during the last couple of months. All these startjenkins.bat scripts occupy a DOS box with output that nobody ever looks at — and what are these windows good for? For stopping Jenkins through a brute-force Ctrl-C.
I always expect log output to go to a file, in case it is important enough.
If you want to really see Jenkins logs, get them here:- http://HOST:8080/jenkins/log/
The Jenkins WAR file comes with the winstone servlet container, that’s a little like an application server. And you are able to control the application loaded (Jenkins in this case) through communicating with the servlet container. (Actually … you could also run the Jenkins WAR within an ordinary, full-flegded application server like Tomcat, Glassfish, or whatever.)
So …
I worked on an rcjenkins Shell script and an rcjenkins.bat. You can run them without adminstrative priviliges. They take Jenkins down by sending the servlet container a shutdown command.I do consider putting these script in my github space.
-
Jenkins — what servlet container? Jetty or Winstone?
- https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins
- https://en.wikipedia.org/wiki/Web_container — web container AKA servlet container
This document confuses me.