June 2011
4 posts
http://www.lighterra.com/papers/modernmicroprocesso... →
This article provides an excellent overview of the current state of modern microprocessor design for ‘software engineers’. Key concepts/ideas Super-pipelining - Pipeline instructions aggressively - split complex sections within fetch-decode-execute-writeback into more fine-grained sub-tasks, and also increase the clock speed. Clock speed dictates how often an instruction moves...
Jun 29th
“ext-2 and ext-3 lock a per-inode mutex for the duration of a write. This means...”
– XFS, ext and per-inode mutexes I didn’t know this. So if you’re using InnoDB with O_DIRECT on a server with RAID, you’d really be well off using XFS. I’m guessing if you don’t use O_DIRECT, your writes just end up getting cached in the buffer cache, and the write...
Jun 24th
Recipe: encrypt/decrypt clipboard contents on OS X
I’ve started using the following whenever I need to store sensitive stuff in Evernote/Dropbox/GMail/etc. encrypt_aes128() { pbpaste | openssl enc -e -aes128 -base64 -pass "pass:$1" | pbcopy } decrypt_aes128() { pbpaste | openssl enc -d -aes128 -base64 -pass "pass:$1" | pbcopy }
Jun 9th
http://papilio.cc →
An Arduino-like project for FPGA programming.
Jun 1st