• 5 Posts
  • 354 Comments
Joined 7 months ago
cake
Cake day: November 12th, 2024

help-circle













  • It will depend upon other things you might want to do with it in the future.
    If you want the record to stay “correct” in the future, you might want to have a separate entry for nationality information, which will be a 1-to-1 mapping with the other table you make for it. Why? …

    • in the nationality information, along with the country code (for which you want to allow 3 character codes for forward compatibility), the date at which the the information was given in the form
    • if possible, also include the date at which the nationality was provided (as in, provided to the user by the nation)

    This should help determine what kind of change may occur in case of changes in the political landscape in the future, without you requiring to re-ask the form-filler.


    Inspired by https://flightaware.engineering/falsehoods-programmers-believe-about-aviation/
    And I am going to consider this stuff every time I make a database schema.

    Stuff in the real world is subject to change, so instead of only storing the provided data as you asked for, make a ledger for events. And someone submitting a forms, will be another event.

    This way, you get the flexibility to verify the provided data in the future, using information that you will have in the future, but don’t have at the time the data was provided.

    Of course, this is only needed if it is needed.






  • Except that it’s not enough:

    ❯ pacman -Sii ghostty
    ...
    Depends On      : bzip2  fontconfig  libfontconfig.so=1-64  freetype2  libfreetype.so=6-64  gcc-libs  glibc  glib2  libglib-2.0.so=0-64  libgio-2.0.so=0-64  libgobject-2.0.so=0-64  gtk4  libgtk-4.so=1-64  libx11  harfbuzz
                      libharfbuzz.so=0-64  libadwaita  libadwaita-1.so=0-64  libpng  oniguruma  pixman  zlib  ghostty-shell-integration  ghostty-terminfo
    ...
    Download Size   : 14.05 MiB
    Installed Size  : 30.96 MiB
    
     pacman -Sii foot
    ...
    Depends On      : fcft  fontconfig  libfcft.so=4-64  libutf8proc  libxkbcommon  ncurses  pixman  wayland
    Optional Deps   : foot-terminfo: extra non-standard features over terminfo included in ncurses
                      libnotify: desktop notifications
                      xdg-utils: URI launching
    ...
    Download Size   : 320.45 KiB
    Installed Size  : 758.50 KiB
    

    For contrast:

    ❯ pacman -Sii konsole
    ...
    Depends On      : glibc  gcc-libs  icu  kbookmarks  kcolorscheme  kconfig  kconfigwidgets  kcoreaddons  kcrash  kdbusaddons  kglobalaccel  kguiaddons  ki18n  kiconthemes  kio  knewstuff  knotifications  knotifyconfig  kparts  kpty
                      kservice  ktextwidgets  kwidgetsaddons  kwindowsystem  kxmlgui  qt6-base  qt6-multimedia  sh
    Optional Deps   : keditbookmarks: to manage bookmarks
    ...
    Download Size   : 2.12 MiB
    Installed Size  : 9.36 MiB
    

  • My previous mouse pad’s rubber had been breaking down due to the oils and sweat and my palm pressure.
    These things tend to do that.

    I have added this one additional consideration on frequently touched devices that I own.
    Got a mouse, bought the plastic finish version instead of the rubber finish one. Got headphones, considering (-ing because that was the thing that made me start considering and I didn’t consider it before) ear-pad replacement options. Got a torch with a rubber-like cover: well that’s an outdoor thing made for light rain, so hoping it is rugged enough.