[ Content | Sidebar ]

Archives for 2022

Beeches Way

December 10th, 2022

I made a return visit to Berkshire last weekend to do one of my favourite walks, the Beeches Way between Cookham and West Drayton on the outskirts of London. On the way there I got to ride of the Elizabeth line for the first time ever which was super exciting. Only ten years late?

Leaf-strewn path near the start at Cookham

Near Fulmer, it was cloudy nearly all day

Inflation Out Of Control

November 30th, 2022

Food price inflation is out of control. Although the effects seem to be somewhat uneven, as we can see from this egregious example in Tesco.

Plain hobnobs for £2.25 a pack. It’s obscene but…

Chocolate hobhobs are only £1.90 a pack!

For reference plain hobnobs used to cost something like 70p not so long ago.

And before you comment that the chocolate packet is smaller, the chocolate hobhobs are still cheaper per gram!!! It’s as if the plain hobnobs are produced by getting some poor sod to scrape off the chocolate layer from the chocolate hobnobs. What is the world coming to!

Filed in musings - Comments closed

Ely Cathedral

November 28th, 2022

I’ve been meaning to go back to Ely ever since I walked there a month or so ago but arrived after dark. Well I finally did this weekend and went inside the cathedral, and very impressive it is too!

It seems a bit silly having enormous cathedral in such a tiny town (one of England’s smallest). You can see it from miles around too owing to the fens being completely flat. The entrance ticket is a pretty reasonable £8.50: take that, York Minster!

Filed in photos - Comments closed

RH&DR Again

November 6th, 2022

It was my birthday last weekend so we took my niece for her first ever trip on the Romney, Hythe, and Dymchurch railway which has been feature multiple times previously on this blog.

The train is indeed minature

It rained a lot in the morning but still a great day out. And I found something interesting! Here we see an earlier version of your correspondent standing next to engine number 12 in the distant past:

Around 1988 ish

And in exactly the same location, here’s number 12 again! (It’s the same engine, I asked, they just painted it black at some point.)

2022, note the platform refurbishment

Restoring the old Mu4e message view look and feel

October 30th, 2022

I’ve used mu4e as an email client for several years now and by and large I’m happy with it. However one big change with the 1.8 release was the switch from the “old” message view to the new one based on Gnus article mode. Functionally it’s fine but I did prefer the look and feel of the old message view. Despair not, as Gnus is sufficiently customisable that we can tweak it to look almost the same.

First we do the easy bit which is just setting the font-lock highlighting to match the old message view:

(use-package gnus
  :custom-face
  (gnus-signature ((t (:inherit font-lock-comment-face))))
  (gnus-header-name ((t (:inherit message-header-name :weight bold))))
  (gnus-header-from ((t (:inherit font-lock-variable-name-face))))
  (gnus-header-subject ((t (:inherit font-lock-type-face))))
  (gnus-header-content ((t (:inherit font-lock-type-face))))
  (gnus-cite-attribution ((t (:inherit default))))
  ...)

(I’m using the excellent use-package.)

These aren’t strictly the same as the original message view, but I prefer them to Gnus default of multiple subtly different shades of blue:

(gnus-cite-1 ((t (:foreground "light salmon"))))
(gnus-cite-2 ((t (:foreground "turquoise"))))
(gnus-cite-3 ((t (:foreground "light goldenrod"))))
(gnus-cite-4 ((t (:foreground "chartreuse2"))))

Mu4e used to highlight some of the header fields in different faces:

:config
(add-to-list 'gnus-header-face-alist '("To" nil font-lock-variable-name-face))
(add-to-list 'gnus-header-face-alist '("Reply-To" nil font-lock-variable-name-face))
(add-to-list 'gnus-header-face-alist '("Cc" nil font-lock-variable-name-face))

Restore the previous sort order for header fields:

(setq gnus-sorted-header-list '("^From:" "^To:" "^Reply-To:" "^Cc:" "^Subject:"
                                "^Flags:" "^Summary:" "^Keywords:" "^Newsgroups:"
                                "^Followup-To:" "^Date:" "^Organization:"))

Highlight the >, >>, etc. at the start of quote lines in addition to the quoted text itself (this really bothered me for some reason):

(defun filter-gnus-cite-args (args)
  "Replace PREFIX argument with the empty string."
  (setf (cadr args) "")
  args)
 
(advice-add 'gnus-cite-add-face :filter-args 'filter-gnus-cite-args)

Filed in linux - Comments closed

Cambridge to Ely

October 23rd, 2022

Another surprise relocation! I’ve moved to Cambridge after being turfed out of my parents’ home. Earlier this month I set off northwards on an initial exploration towards the city of Ely.

I ended up doing this over two days due to illness (not covid) but still I somehow didn’t manage to arrive in Ely until after dark so I didn’t really see anything of England’s third smallest city.

Oh, how flat and featureless the fens are! Flat terrain can sometimes be interesting to walk through if there’s some navigation challenges or other obstacles (see my recent adventures on the Romney marsh) but as I was along this river for most of the journey the middle section after leaving Cambridge was really boring. The scenery picked up a little bit towards the end though when I could see Ely cathedral in the distance from miles away.

Channel Tunnel

September 16th, 2022

I went for another walk along the Kent coast a few weeks ago, this time around the back of Folkestone near the Channel Tunnel and on to Dover.

Channel Tunnel terminal

I thought maybe I’d get a good view of the tunnel entrance from the hills above but it wasn’t as impressive as I’d imagined. Back when it first opened there was an exhibition centre somewhere around here but it must have been demolished.

A precipitous drop near Dover

The section of cliff-top path between Folkestone and Dover was awesome, I’ll give it 9/10 for walking experience. Dover itself doesn’t seem to have a lot worth visiting except the castle and the port. I dimly remember a family trip to the castle, but might warrant a repeat visit.

New NVC version 1.7

August 7th, 2022

I’ve just released another version of my VHDL simulator. The highlight of this release is greatly improved VHDL-2008 support. It’s now sufficiently complete to run OSVVM, UVVM, and NEORV32.

A special thank you to Brian Padalino and T. Meissner for sponsoring me!

Download: nvc-1.7.0.tar.gz

This release is signed with my PGP key ID 74319F1A: nvc-1.7.0.tar.gz.sig

  • Breaking change: In-tree builds are no longer supported: use a separate build directory instead.
  • Breaking change: The --force-init command is deprecated and has no effect.
  • Added support for VHDL-2008 type generics on packages and entities.
  • Diagnostic messages have been enhanced with more contextual information.
  • Added support for record element constraints and record fields with unconstrained array types.
  • Alias of multidimensional array allowed in VHDL-2008 mode.
  • Implemented VHDL-2008 rules for aggregates with slices.
  • VHPI is now always enabled at build time and the --enable-vhpi configure option has no effect.
  • Arithmetic operations that overflow the underlying machine type now produce an error (#101).
  • Added support for VHDL-2008 force/release assignments.
  • Basic support for external names in VHDL-2008.
  • Matching case case? statements are supported in VHDL-2008 mode.
  • Fixed several bugs in the implementation of guarded signals.
  • Implemented VHDL-2008 rules for generic visibility.
  • Shared variable declaration permitted in entity declaration.
  • Case expression no longer requires a locally static subtype in VHDL-2008 mode (#460).
  • The VHDL heap is now garbage collected as required by VHDL-2019 and the deallocate operator has no effect other than setting the access to null.
  • A new global option -H specifies the size of the simulation heap and defaults to 16 megabytes.
  • Concurrent procedure call allowed in entity statement part.
  • Added support for 'SUBTYPE and 'ELEMENT attributes in VHDL-2008.
  • The new top-level --init command creates a new empty library directory.
  • The -a analysis command now reads from the standard input if the file name is -.
  • Added support for array element constraints in VHDL-2008.
  • The --prefer-explicit analysis option which was deprecated before the 1.0 release has been removed.
  • A new --relaxed analysis option enables “relaxed rules” mode. This has the same effect as enabling all the existing --relax= options. However some constructs will still produce warnings.
  • The --relax= analysis option is deprecated and is now equivalent to passing --relaxed. The individual options are ignored.
  • Added support for generic subprograms in VHDL-2008.
  • New command --install allows easy installation of common third-party packages such as OSVVM and UVVM.
  • Identifiers in waveform dumps are now in lower case instead of upper case.
  • The function CURRENT_DELTA_CYCLE in NVC.SIM_PKG can be used to query the current delta cycle number.

Filed in vhdl - Comments closed

Saltwood Castle

August 3rd, 2022

I went for a walk last weekend near Folkestone and to my surprise I discovered a castle!

It’s Saltwood castle and is, somewhat incredibly, someone’s private residence so you can’t go inside which is a shame.