Allow Simpler Password for Unix User Account

Relevant Man Pages passwd(1) pam(7) pam_unix(8) What I Did There are two files look important: in /etc/pam.d/passwd, @include common-password in /etc/pam.d/common-password, password [success=1 default=ignore] pam_unix.so obscure sha512 password requisite pam_deny.so password required pam_permit.so password optional pam_gnome_keyring.so As I read pam_unix(8), … Continue reading

Garbage Collection By Languages

By Language/Platform Haskell (GHC) generational, copying https://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC https://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC/Copying https://wiki.haskell.org/Research_papers/Runtime_systems#Garbage_collection Go: 1.5 non-generational, non-moving, concurrent, tri-color, mark&sweep (with write barriers) https://docs.google.com/document/d/16Y4IsnNRCN43Mx0NZc5YXZLovrHvvLhK_h0KN8woTO4/edit https://blog.golang.org/go15gc Android (ART) non-moving, generational, concurrent, mark and sweep (with occasional compaction) https://source.android.com/devices/tech/dalvik/gc-debug.html https://www.youtube.com/watch?v=EBlTzQsUoOw Javascript (v8) stop-the-world, generational, (copying?) https://github.com/v8/v8/wiki/Design-Elements … Continue reading

Haskell String Types Convertion

Original source code is here: https://github.com/hi-ogawa/haskell_playground/pull/15 {-# LANGUAGE OverloadedStrings #-} module StringConversions where import qualified Data.ByteString as B import qualified Data.ByteString.Char8 as BC import qualified Data.ByteString.Lazy as BL import qualified Data.ByteString.Lazy.Char8 as BLC import qualified Data.Text as T import qualified … Continue reading