• 0 Posts
  • 45 Comments
Joined 8 months ago
cake
Cake day: July 27th, 2024

help-circle

  • It was not randomly decided. Even before arrays as a language concept existed, you would just store objects in continuous memory.

    To access you would do $addr+0, $addr+1 etc. The index had to be zero-based or you would simply waste the first address.

    Then in languages like C that just got a little bit of syntactic sugar where the ‘[]’ operator is a shorthand for that offset. An array is still just a memory address (i.e. a pointer).






  • The problem with VLC is not that it can’t play certain formats, but that the version of VLC shipping with Fedora is missing certain codecs.

    Fedora is not allowed to include them for legal reasons, so you have to install them yourself.

    This is a huge pain for the average user, but distros cannot really do anything about it.

    You could try fixing the codecs using rpmfusion or alternatively install VLC as a Flatpak.