26 July 2025

Quarto

System: Slackware Linux (version 15.0)
CPUs: Intel(R) Core(TM) i5-3230M CPU @2.60GHz
GPU: Mesa DRI Intel(R) HD Graphics 4000

A scientific and technical publishing system.

[   ] [   ]

23 July 2025

Hugo

System: Slackware Linux (version 15.0)
CPUs: Intel(R) Core(TM) i5-3230M CPU @2.60GHz
GPU: Mesa DRI Intel(R) HD Graphics 4000

This slackbuild installs the "extended" version of Hugo.

[   ] [   ]

07 July 2025

flutter

The Post has been moved to a a Quarto website.

03 July 2025

dart

System: Microsoft Windows 10 Home Edition
CPUs: Intel(R) Core(TM) i5-3230M CPU @2.60GHz
GPU: Mesa DRI Intel(R) HD Graphics 4000
Deps: dartsdk-windows-x64-release.zip

Disabling dart analytics.

https://dart.dev/get-dart/archive
dartsdk-windows-x64-release.zip

Create these user files prior to first running the dart executable, debugging and performance tools.

PS C:\Users\eric> pushd $env:APPDATA
PS C:\Users\eric\AppData\Roaming> [void](ni -ItemType Directory -Path dart-tool)
PS C:\Users\eric\AppData\Roaming> [void](ni -ItemType Directory -Path flutter-devtools)
PS C:\Users\eric\AppData\Roaming> @"
>> reporting=0
>> dart-tool=$(Get-Date -Format yyyy-MM-dd),1
>> devtools=$(Get-Date -Format yyyy-MM-dd),1
>> "@ > dart-tool\dart-flutter-telemetry.config
PS C:\Users\eric\AppData\Roaming> @'
>> {
>>  "analyticsEnabled": false,
>>  "isFirstRun": false
>> }
>> '@ > flutter-devtools\.devtools
PS C:\Users\eric\AppData\Roaming> popd
PS C:\Users\eric>

[   ] [   ]


DevTools

21 June 2025

fossil

System: Slackware Linux (version 15.0)
CPUs: Intel(R) Core(TM) i5-3230M CPU @2.60GHz
GPU: Mesa DRI Intel(R) HD Graphics 4000
Deps: fossil-src-2.26.tar.gz

Installation of fossil.

http://slackbuilds.org/repository/15.0/development/fossil/
fossil.tar.gz

https://fossil-scm.org/home/uv/download.html
fossil-src-2.26.tar.gz

Upgrade the version number in the .SlackBuild.

bash-5.1# sed -i 's/2.17/2.26/g' fossil/*.SlackBuild
bash-5.1# cd fossil && ./*.SlackBuild

...

bash-5.1# cd .. && installpkg fossil-2.26-x86_64-1_SBo.tgz

...

bash-5.1#

Clone and compute a diff between two artifacts of a repository.

bash-5.1$ fossil clone https://core.tcl-lang.org/bwidget bwidget.fossil &> /dev/null
bash-5.1$ fossil fdiff a051b4affc 9bb4c3f5ba -R bwidget.fossil
--- a051b4affc
+++ 9bb4c3f5ba
@@ -204,11 +204,11 @@
         configure {
             set font [lindex $args 0]
             set args [lrange $args 1 end]
         }
         default {
-            return -code error "XLFDfont: commande incorrect: $cmd"
+            return -code error "XLFDfont: command incorrect: $cmd"
          }
     }
     set lfont [split $font "-"]
     if { [llength $lfont] != 15 } {
          return -code error "XLFDfont: description XLFD incorrect: $font"
@@ -219,11 +219,11 @@
             -foundry { set index 1 }
             -family  { set index 2 }
             -weight  { set index 3 }
             -slant   { set index 4 }
             -size    { set index 7 }
-            default  { return -code error "XLFDfont: option incorrecte: $option" }
+            default  { return -code error "XLFDfont: option incorrect: $option" }
         }
          set lfont [lreplace $lfont $index $index $value]
     }
     return [join $lfont "-"]
  }
bash-5.1$

Git, Fossil and Hg are distributed as opposed to SVN which is based on a Client-Server model.



FAQ

10 June 2025

iconv

System: Slackware Linux (version 15.0)
CPUs: Intel(R) Core(TM) i5-3230M CPU @2.60GHz
GPU: Mesa DRI Intel(R) HD Graphics 4000

The use of iconv to convert a file's character encoding.

bash-5.1$ mv R-description-short.txt R-description-short.bak
bash-5.1$ iconv -f ISO_8859-1 -t UTF-8 < R-description-short.bak > R-description-short.txt
bash-5.1$ mv gpgKeys.txt gpgKeys.bak
bash-5.1$ iconv -f ISO_8859-1 -t ASCII//TRANSLIT < gpgKeys.bak > gpgKeys.txt
bash-5.1$ file gpgKeys.txt
gpgKeys.txt: ASCII text
bash-5.1$ rm R-description-short.bak gpgKeys.bak
bash-5.1$

The former was bilingual and the latter had an umlaut in the spelling of Zurich.

[   ]


short
Setting up and signing GPG keys

08 June 2025

svn

System: Slackware Linux (version 15.0)
CPUs: Intel(R) Core(TM) i5-3230M CPU @2.60GHz
GPU: Mesa DRI Intel(R) HD Graphics 4000

Help system.

bash-5.1$ svn help | sed -n '3p'
Type 'svn help <subcommand>' for help on a specific subcommand.
bash-5.1$ svn help | grep checkout
  checkout (co)
bash-5.1$ svn help checkout | grep quiet
  -q [--quiet]              : print nothing, or only summary information
bash-5.1$

Fixed strings.

bash-5.1$ svn log --diff -r r84150 R | sed -n '82,92p'
--- R/src/include/R_ext/QuartzDevice.h (revision 84149)
+++ R/src/include/R_ext/QuartzDevice.h (revision 84150)
@@ -202,7 +202,7 @@
     void*  (*GetParameter)(QuartzDesc_t desc, const char *key);
 } QuartzFunctions_t;

-#define QuartzParam_EmbeddingFlags "embeddeding flags" /* value: int[1] */
+#define QuartzParam_EmbeddingFlags "embedding flags" /* value: int[1] */
 #define QP_Flags_CFLoop 0x0001  /* drives application event loop */
 #define QP_Flags_Cocoa  0x0002  /* Cocoa is fully initialized */
 #define QP_Flags_Front  0x0004  /* is front application */
bash-5.1$ svn log --diff -r r84246 R | sed -n '641,653p'
--- R/src/main/util.c   (revision 84245)
+++ R/src/main/util.c   (revision 84246)
@@ -2340,8 +2340,8 @@
     { "strength", 999 },
     { "primary ", UCOL_PRIMARY },
     { "secondary ", UCOL_SECONDARY },
-    { "teritary ", UCOL_TERTIARY },
-    { "guaternary ", UCOL_QUATERNARY },
+    { "tertiary ", UCOL_TERTIARY },
+    { "quaternary ", UCOL_QUATERNARY },
     { "identical ", UCOL_IDENTICAL },
     { "french_collation", UCOL_FRENCH_COLLATION },
     { "on", UCOL_ON },
bash-5.1$
[   ]