Diary 2016/11/19 – 2016/11/26

Summery C++ standard and implementation clang, llvm memory model for performant concurrency Chromium Music production on Linux Wine Debugger internal ptrace systemd.conf videos 2016/11/19 continue reading Kernel Network Internals found http://standards.ieee.org/getieee802/download/802.11-2012.pdf found https://wireless.wiki.kernel.org/ read http://standards.ieee.org/getieee802/download/802.11-2012.pdf interested in https://en.wikipedia.org/wiki/Cryptanalysis read iproute2 … Continue reading

Studying BitTorrent and Peer-to-Peer

Components Programs Host side web server (http) serve .torrent file with minetype application/x-bittorrent torrent tracker (http) respond to GET request with information about peers (or downloaders) following http://www.bittorrent.org/beps/bep_0003.html#trackers “origin” downloader (tcp) work as first peer to communicate with end-user’s downloader … Continue reading

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