[{"content":"This was somewhat of a shocker and I fully acknowledge I may be missing some info here during my limited 2 day research debugging why an app was binding to localhost instead of waiting for DHCP to do it\u0026rsquo;s thing even though it had After=network.target defined in it\u0026rsquo;s systemd service file.\nAccording to this post, you need to be using a network management tool that\u0026rsquo;s systemd aware, it seems. The article lists two, NetworkManager \u0026amp; systemd-networkd. However, Debian 8 Jessie\u0026rsquo;s default network manager is still ifupdown where you configure /etc/network/interfaces. You can use another, but that\u0026rsquo;s the one that\u0026rsquo;s there by default according to their wiki.\nThe problem there is that many systemd services requiring network.target will not work with ifupdown. It\u0026rsquo;s not systemd aware, or should I say, systemd is not aware of it. I didn\u0026rsquo;t have this issue unless I was configuring my server to use DHCP (which I rarely need to do). If it was a static IP, the service I was testing (freeswitch) seemed to come up fine. However, I think that\u0026rsquo;s just a race condition where the network just happens to win every time.\nSo, I switched to using systemd-networkd on these few servers \u0026amp; it seems to have been working well so far. I didn\u0026rsquo;t like initially how it seems to take over the stub resolver but that seems to be the way it works.\nSome notes on how to set it up:\nConfigure the interface Terminal cat /etc/systemd/network/wired.network [Match] Name=eth0 [Network] DHCP=yes Enable the necessary systemd services Terminal systemctl enable systemd-networkd.service systemctl enable systemd-resolved.service systemctl enable systemd-networkd-wait-online.service Symlink resolv.conf This is required if you want to use the DHCP assigned DNS servers\nTerminal ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf Make sure to comment out eth0 in /etc/network/interfaces, then reboot the server to confirm everything comes up OK.\nMisc I\u0026rsquo;m surprised this hasn\u0026rsquo;t made more noise than it already has. I guess DHCP isn\u0026rsquo;t that common on linux servers.\nI also got a chuckle out of the end of the FreeDesktop article:\nIf you are a developer, instead of wondering what to do about network.target, please just fix your program to be friendly to dynamically changing network configuration. That way you will make your users happy because things just start to work, and you will get fewer bug reports as your stuff is just rock solid. You also make the boot faster for your users, as they don\u0026rsquo;t have to delay arbitrary services for the network anymore (which is particularly annoying for folks with slow address assignment replies from a DHCP server).\n","permalink":"https://churnd.net/2016/08/30/systemd-network-dot-target/","summary":"\u003cp\u003eThis was somewhat of a shocker and I fully acknowledge I may be missing some info here during my limited 2 day research debugging why an app was binding to localhost instead of waiting for DHCP to do it\u0026rsquo;s thing even though it had \u003ccode\u003eAfter=network.target\u003c/code\u003e defined in it\u0026rsquo;s systemd service file.\u003c/p\u003e","title":"systemd network.target"},{"content":"Worth noting:\nProxmox v4 Beta as of right now uses linux kernel v4. I updated my homelab to it recently \u0026amp; PCI passthrough (per my previous post) stopped working. Asked on the Proxmox forums \u0026amp; apparently an additional option is required due to the newer v4 kernel:\nhostpci0: 01:00.0,driver=vfio\nCompared to what was required before:\nhostpci0: 01:00.0\nApparently vfio is the way to go with v4 kernels. It should be the default option once Proxmox v4 goes GM.\nUpdate (10/10/2015):\nThis is the default in v4 GM, so the option is no longer needed.\n","permalink":"https://churnd.net/2015/09/21/proxmox-4-pci-passthrough/","summary":"\u003cp\u003eWorth noting:\u003c/p\u003e\n\u003cp\u003eProxmox v4 Beta as of right now uses linux kernel v4. I updated my homelab to it recently \u0026amp; PCI passthrough (per my previous post) stopped working. Asked on the Proxmox forums \u0026amp; apparently an additional option is required due to the newer v4 kernel:\u003c/p\u003e","title":"Proxmox 4 PCI Passthrough"},{"content":"Download tmux\n.tmux.conf # Solarized colorscheme/theme from #source-file git/github/tmux-colors-solarized/tmuxcolors.conf # Report that we can handle 256 colors set -g default-terminal \u0026#34;screen-256color\u0026#34; # Rebind prefix to avoid conflicts unbind C-b set -g prefix C-a #bind C-q send-prefix # OhMyZsh ftw! set -g default-command /bin/zsh set -g default-shell /bin/zsh # I\u0026#39;m a Vim user, this makes navigation easier setw -g mode-keys vi unbind-key j bind-key j select-pane -D unbind-key k bind-key k select-pane -U unbind-key h bind-key h select-pane -L unbind-key l bind-key l select-pane -R # \u0026#39;0\u0026#39; is at the wrong end of the keyboard set -g base-index 1 # Just click it set-option -g mouse-select-pane on set-option -g mouse-select-window on set-option -g mouse-resize-pane on # Scroll your way into copy mode (scrollback buffer) # and select text for copying with the mouse setw -g mode-mouse on set -g terminal-overrides \u0026#39;xterm*:smcup@:rmcup@\u0026#39; # I like to give my windows descriptive names set-window-option -g automatic-rename off # Toggle sending keystrokes to all panes in a window bind-key a set-window-option synchronize-panes # Don\u0026#39;t lose track of SSH_AGENT etc. from parent environment. set -g update-environment -r # CPU/MEM info set -g status-interval 2 set -g status-left \u0026#34;#S #[fg=green,bg=black]#(tmux-mem-cpu-load --colors 2)#[default]\u0026#34; ","permalink":"https://churnd.net/configs/tmux/","summary":"\u003cp\u003e\u003ca href=\"/tmux\" download\u003eDownload tmux\u003c/a\u003e\u003c/p\u003e\n\n\u003cfigure class=\"code-sample\"\u003e\n  \u003cfigcaption\u003e.tmux.conf\u003c/figcaption\u003e\n  \u003cdiv class=\"highlight\" caption=\".tmux.conf\"\u003e\u003cpre tabindex=\"0\" class=\"chroma\"\u003e\u003ccode class=\"language-bash\" data-lang=\"bash\"\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e# Solarized colorscheme/theme from \u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e#source-file git/github/tmux-colors-solarized/tmuxcolors.conf\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e# Report that we can handle 256 colors\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nb\"\u003eset\u003c/span\u003e -g default-terminal \u003cspan class=\"s2\"\u003e\u0026#34;screen-256color\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e# Rebind prefix to avoid conflicts\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003eunbind C-b\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nb\"\u003eset\u003c/span\u003e -g prefix C-a\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e#bind C-q send-prefix\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e# OhMyZsh ftw!\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nb\"\u003eset\u003c/span\u003e -g default-command /bin/zsh \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nb\"\u003eset\u003c/span\u003e -g default-shell /bin/zsh\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e# I\u0026#39;m a Vim user, this makes navigation easier\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003esetw -g mode-keys vi\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003eunbind-key j\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003ebind-key j \u003cspan class=\"k\"\u003eselect\u003c/span\u003e-pane -D\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003eunbind-key k\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003ebind-key k \u003cspan class=\"k\"\u003eselect\u003c/span\u003e-pane -U\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003eunbind-key h\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003ebind-key h \u003cspan class=\"k\"\u003eselect\u003c/span\u003e-pane -L\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003eunbind-key l\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003ebind-key l \u003cspan class=\"k\"\u003eselect\u003c/span\u003e-pane -R\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e# \u0026#39;0\u0026#39; is at the wrong end of the keyboard\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nb\"\u003eset\u003c/span\u003e -g base-index \u003cspan class=\"m\"\u003e1\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e# Just click it\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003eset-option -g mouse-select-pane on\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003eset-option -g mouse-select-window on\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003eset-option -g mouse-resize-pane on\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e# Scroll your way into copy mode (scrollback buffer)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e# and select text for copying with the mouse\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003esetw -g mode-mouse on\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nb\"\u003eset\u003c/span\u003e -g terminal-overrides \u003cspan class=\"s1\"\u003e\u0026#39;xterm*:smcup@:rmcup@\u0026#39;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e# I like to give my windows descriptive names\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003eset-window-option -g automatic-rename off\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e# Toggle sending keystrokes to all panes in a window\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003ebind-key a set-window-option synchronize-panes\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e# Don\u0026#39;t lose track of SSH_AGENT etc. from parent environment.\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nb\"\u003eset\u003c/span\u003e -g update-environment -r\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c1\"\u003e# CPU/MEM info\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nb\"\u003eset\u003c/span\u003e -g status-interval \u003cspan class=\"m\"\u003e2\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nb\"\u003eset\u003c/span\u003e -g status-left \u003cspan class=\"s2\"\u003e\u0026#34;#S #[fg=green,bg=black]#(tmux-mem-cpu-load --colors 2)#[default]\u0026#34;\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/figure\u003e","title":"Tmux"},{"content":"I\u0026rsquo;ve come to the realization that I may be a virtualization junkie. I find myself more interested in trying out different virtualization platforms than I am the end result of using the platforms for the VMs themselves. My last all-in-one iteration of Proxmox and FreeNAS worked great, but before long I got the itch to try something new. A fellow IRC\u0026rsquo;er was telling me about SmartOS, so I decided to give it a look.\nSmartOS SmartOS is Joyent\u0026rsquo;s open source hypervisor built on top of Illumos (Solaris). It supports QEMU/KVM \u0026amp; Zones for virtualization, and includes ZFS, Crossbow, \u0026amp; DTrace. Zones are to SmartOS/Solaris like OpenVZ Containers are to Proxmox, except Solaris has done it a lot longer \u0026amp; you could say it\u0026rsquo;s more proven. With SmartOS, Joyent has taken a modern approach to it\u0026rsquo;s binaries, using GNU tools by default (albeit not a true GNU platform). IMO that\u0026rsquo;s a welcome departure away from Solaris\u0026rsquo; Unix roots.\nI didn\u0026rsquo;t grok SmartOS right away. I\u0026rsquo;m used to installing a type 1 hypervisor on a server\u0026rsquo;s local drive, but SmartOS is a hybrid of that. It\u0026rsquo;s primary OS is read-only, \u0026amp; runs from a USB key, CD-ROM, or via PXE boot image over network. When you boot it on a machine, it checks for a ZFS pool called \u0026ldquo;zones\u0026rdquo; that\u0026rsquo;s configured for SmartOS. If it doesn\u0026rsquo;t see that, it goes through a setup process to create the pool for you. The zones pool contains the configuration specific to the hypervisor itself, as well as storage for the zones/vm\u0026rsquo;s themselves. Oh yeah, and there\u0026rsquo;s no GUI (at least not by default)\u0026hellip; everything\u0026rsquo;s configured on the command line. So you can\u0026rsquo;t just setup a hypervisor quickly by clicking through an installer, you gotta learn how to do it. Luckily the SmartOS Wiki is well written \u0026amp; anyone with some basic command line experience can figure it out.\nInstall One thing I didn\u0026rsquo;t like about the installer is it doesn\u0026rsquo;t really give you a way to specify the layout of your disks for the zones pool. If you have 4 disks \u0026amp; you select them all, it\u0026rsquo;ll create a raidz1 pool. Eh, no thanks. What I did was select only two disks so it\u0026rsquo;d create a mirror, then after the OS was running I created another mirror with the other two disks \u0026amp; striped the two mirrors.\nNetwork With Crossbow, I was able to set up 2 link aggregate for my VMs to use, and kept the primary interface for admin stuff only. Overkill for a homelab, but why not if my switch supports it? :) The wiki link above describes how to do that. SmartOS applies \u0026ldquo;tags\u0026rdquo; to the interfaces, \u0026amp; you can specify to the VM which tag to use. I also found out you can create a \u0026ldquo;virtual switch\u0026rdquo; with Crossbow called an etherstub to allow VMs to communicate to each other on a private network.\nVirtualization Setting up the VMs/Zones themselves is pretty easy once you understand it. You can pull in preconfigured images from Joyent\u0026rsquo;s repositories via imgadm, or you can install via ISO. The configuration of the VM/Zone is done via a JSON payload file, \u0026amp; there\u0026rsquo;s even a website to create the config files for you. Remote access to the VM\u0026rsquo;s console is easily done via VNC or ssh\u0026rsquo;ing to the host \u0026amp; using zlogin to the zone itself. I\u0026rsquo;m very glad tab autocomplete works with the UUID\u0026rsquo;s of the VMs/Zones because those would be a bear to type or copy/paste repeatedly.\nStorage One of the first things I needed to do once the hypervisor itself was up \u0026amp; running was replace the storage server part missing from my previous all-in-one setups. This is a bit different because I don\u0026rsquo;t need to pass through anything\u0026hellip; SmartOS is managing it\u0026rsquo;s own storage for it\u0026rsquo;s VMs/Zones \u0026amp; it\u0026rsquo;s faster too (obviously). I have another pool for data storage \u0026amp; backups, but I can\u0026rsquo;t use SmartOS\u0026rsquo;s global zone to manage it since it\u0026rsquo;s read only for the most part. So, I created a non-global zone for managing the storage pool itself, as well as to have a place to install the software I wanted such as Netatalk \u0026amp; Crashplan. For Netatalk, I compiled myself by loosely following this guide \u0026amp; Crashplan installed without a hitch using pkg.\nThe key was passing the tank zpool to the zone so it could be managed there. This is done easily with zonecfg:\nTerminal # vmadm halt \u0026lt;uuid\u0026gt; # zonecfg -z \u0026lt;uuid\u0026gt; zonecfg:uuid\u0026gt; add dataset zonecfg:uuid:dataset\u0026gt; set name=\u0026lt;pool\u0026gt; zonecfg:uuid:dataset\u0026gt; end zonecfg:uuid\u0026gt; commit zonecfg:uuid\u0026gt; exit # zfs set mountpoint=legacy \u0026lt;pool\u0026gt; # vmadm boot \u0026lt;uuid\u0026gt; I didn\u0026rsquo;t use the LOFS method mentioned in the above Netatalk guide because I\u0026rsquo;m not familiar with it. zonecfg is the way I\u0026rsquo;ve always done it \u0026amp; seems to work fine here.\nJust to be clear, here\u0026rsquo;s my storage pool layouts:\nTerminal [root@smartos ~]# zpool status -v pool: tank state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 c0t5000C5002EFBE09Cd0 ONLINE 0 0 0 c0t5000C5002FAB1BC6d0 ONLINE 0 0 0 c0t5000C5002F19FD43d0 ONLINE 0 0 0 c0t5000C5002FAFC4EAd0 ONLINE 0 0 0 errors: No known data errors pool: zones state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM zones ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 c0t5000C50037E6A6D0d0 ONLINE 0 0 0 c0t5000C50037E6ABEEd0 ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 c0t5000C50037E6160Fd0 ONLINE 0 0 0 c0t5000C50037E65927d0 ONLINE 0 0 0 errors: No known data errors GUI As mentioned earlier, there\u0026rsquo;s no GUI in SmartOS by default. Joyent sells SmartDatacenter \u0026amp; there\u0026rsquo;s also a 3rd party OSS tool called Project FiFo. FiFo is an excellent project, and I have it running in a zone. However, I find myself going back to the command line more for better flexibility. I don\u0026rsquo;t particularly like how FiFo handles networking, I don\u0026rsquo;t like how it measures utilization by what you\u0026rsquo;ve committed to the VMs/Zones rather than what\u0026rsquo;s actually being used, and each component has it\u0026rsquo;s own couchdb beam.smp process that can eat up resources. I do like it\u0026rsquo;s graphing per VM/Zone as well as the browser based console to the VM/Zone itself, and the ease at which I can deploy an image. It also taught me that I can attach my ssh key to any VM/Zone for easier access, which is very cool.\nMonitoring FiFo does some decent monitoring, but I\u0026rsquo;m also using New Relic, which I was surprised to see supports SmartOS. You can get a free New Relic account that\u0026rsquo;ll retain data for 24 hours. Perfect for me:\nThere\u0026rsquo;s also DTrace which is supposedly the best stats tool ever, but I have no clue how to use it short of finding other people\u0026rsquo;s scripts such as Brendan Gregg\u0026rsquo;s (which look awesome) but even then most of the time I have very little idea what it\u0026rsquo;s telling me. Something I can improve on for sure.\nAutomating This is one of the areas that requires extra work on your part. The nice thing about using a product like FreeNAS or NexentaStor is that automating things is easier via the built in management tools. If I want to automate something in SmartOS, I have to script it myself (at least from what I can tell). Though, I have dropped several hints to the FiFO guys that if they branch out to a ZFS Filer type project, they\u0026rsquo;d become very popular IMO.\nOne of these areas that you have to figure out is ZFS snapshots, but I found a great project on Github written in NodeJS called zsnapper \u0026amp; it works a treat.\nLinks Some useful links (in no particular order):\nhttp://wiki.smartos.org/display/DOC/SmartOS+Users+Guide http://blog.smartcore.net.au/ https://github.com/calmh/zsnapper http://project-fifo.net smartos \u0026amp; project-fifo channels on Freenode ","permalink":"https://churnd.net/2014/06/29/smartos-homelab-hypervisor-v3/","summary":"\u003cp\u003eI\u0026rsquo;ve come to the realization that I may be a virtualization junkie.  I find myself more interested in trying out different virtualization platforms than I am the end result of using the platforms for the VMs themselves.  My last all-in-one iteration of \u003ca href=\"/2014/03/30/all-in-one-redux-proxmox-and-freenas/\"\u003eProxmox and FreeNAS\u003c/a\u003e worked great, but before long I got the itch to try something new.  A fellow IRC\u0026rsquo;er was telling me about SmartOS, so I decided to give it a look.\u003c/p\u003e","title":"SmartOS - Homelab Hypervisor v3"},{"content":"Download vimrc\nOn my two primary machines, I have a much more complex vim setup using Janus. For servers, I just wanted something I could pull down real quick and have a decent usable vim setup:\n.vimrc \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; =\u0026gt; General \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; Sets how many lines of history VIM has to remember set history=700 \u0026#34; Enable filetype plugins filetype plugin on filetype indent on \u0026#34; Set to auto read when a file is changed from the outside set autoread \u0026#34; With a map leader it\u0026#39;s possible to do extra key combinations \u0026#34; like \u0026lt;leader\u0026gt;w saves the current file let mapleader = \u0026#34;,\u0026#34; let g:mapleader = \u0026#34;,\u0026#34; \u0026#34; Fast saving nmap \u0026lt;leader\u0026gt;w :w! \u0026#34; :W sudo saves the file \u0026#34; (useful for handling the permission-denied error) command W w !sudo tee % \u0026gt; /dev/null \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; =\u0026gt; VIM user interface \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; Set 7 lines to the cursor - when moving vertically using j/k set so=7 \u0026#34; Turn on the WiLd menu set wildmenu \u0026#34; Ignore compiled files set wildignore=*.o,*~,*.pyc if has(\u0026#34;win16\u0026#34;) || has(\u0026#34;win32\u0026#34;) set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/.DS_Store else set wildignore+=.git\\*,.hg\\*,.svn\\* endif \u0026#34;Always show current position set ruler \u0026#34; Height of the command bar set cmdheight=2 \u0026#34; A buffer becomes hidden when it is abandoned set hid \u0026#34; Configure backspace so it acts as it should act set backspace=eol,start,indent set whichwrap+=\u0026lt;,\u0026gt;,h,l \u0026#34; Ignore case when searching set ignorecase \u0026#34; When searching try to be smart about cases set smartcase \u0026#34; Highlight search results set hlsearch \u0026#34; Makes search act like search in modern browsers set incsearch \u0026#34; Don\u0026#39;t redraw while executing macros (good performance config) set lazyredraw \u0026#34; For regular expressions turn magic on set magic \u0026#34; Show matching brackets when text indicator is over them set showmatch \u0026#34; How many tenths of a second to blink when matching brackets set mat=2 \u0026#34; No annoying sound on errors set noerrorbells set novisualbell set t_vb= set tm=500 \u0026#34; Add a bit extra margin to the left set foldcolumn=1 \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; =\u0026gt; Colors and Fonts \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; Enable syntax highlighting syntax enable try colorscheme desert catch endtry set background=dark \u0026#34; Set extra options when running in GUI mode if has(\u0026#34;gui_running\u0026#34;) set guioptions-=T set guioptions-=e set t_Co=256 set guitablabel=%M\\ %t endif \u0026#34; Set utf8 as standard encoding and en_US as the standard language set encoding=utf8 \u0026#34; Use Unix as the standard file type set ffs=unix,dos,mac \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; =\u0026gt; Files, backups and undo \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; Turn backup off, since most stuff is in SVN, git et.c anyway... set nobackup set nowb set noswapfile \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; =\u0026gt; Text, tab and indent related \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; Use spaces instead of tabs set expandtab \u0026#34; Be smart when using tabs ;) set smarttab \u0026#34; 1 tab == 4 spaces set shiftwidth=4 set tabstop=4 \u0026#34; Linebreak on 500 characters set lbr set tw=500 set ai \u0026#34;Auto indent set si \u0026#34;Smart indent set wrap \u0026#34;Wrap lines \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; =\u0026gt; Visual mode related \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; Visual mode pressing * or # searches for the current selection \u0026#34; Super useful! From an idea by Michael Naumann vnoremap \u0026lt;silent\u0026gt; * :call VisualSelection(\u0026#39;f\u0026#39;, \u0026#39;\u0026#39;) vnoremap \u0026lt;silent\u0026gt; # :call VisualSelection(\u0026#39;b\u0026#39;, \u0026#39;\u0026#39;) \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; =\u0026gt; Moving around, tabs, windows and buffers \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; Treat long lines as break lines (useful when moving around in them) map j gj map k gk \u0026#34; Map \u0026lt;Space\u0026gt; to / (search) and Ctrl-\u0026lt;Space\u0026gt; to ? (backwards search) map \u0026lt;space\u0026gt; / map \u0026lt;c-space\u0026gt; ? \u0026#34; Disable highlight when \u0026lt;leader\u0026gt; is pressed map \u0026lt;silent\u0026gt; \u0026lt;leader\u0026gt; :noh \u0026#34; Smart way to move between windows map \u0026lt;C-j\u0026gt; \u0026lt;C-W\u0026gt;j map \u0026lt;C-k\u0026gt; \u0026lt;C-W\u0026gt;k map \u0026lt;C-h\u0026gt; \u0026lt;C-W\u0026gt;h map \u0026lt;C-l\u0026gt; \u0026lt;C-W\u0026gt;l \u0026#34; Close the current buffer map \u0026lt;leader\u0026gt;bd :Bclose \u0026#34; Close all the buffers map \u0026lt;leader\u0026gt;ba :1,1000 bd! \u0026#34; Useful mappings for managing tabs map \u0026lt;leader\u0026gt;tn :tabnew map \u0026lt;leader\u0026gt;to :tabonly map \u0026lt;leader\u0026gt;tc :tabclose map \u0026lt;leader\u0026gt;tm :tabmove map \u0026lt;leader\u0026gt;t\u0026lt;leader\u0026gt; :tabnext \u0026#34; Opens a new tab with the current buffer\u0026#39;s path \u0026#34; Super useful when editing files in the same directory map \u0026lt;leader\u0026gt;te :tabedit \u0026lt;c-r\u0026gt;=expand(\u0026#34;%:p:h\u0026#34;)/ \u0026#34; Switch CWD to the directory of the open buffer map \u0026lt;leader\u0026gt;cd :cd %:p:h:pwd \u0026#34; Specify the behavior when switching between buffers try set switchbuf=useopen,usetab,newtab set stal=2 catch endtry \u0026#34; Return to last edit position when opening files (You want this!) autocmd BufReadPost * \\ if line(\u0026#34;\u0026#39;\\\u0026#34;\u0026#34;) \u0026gt; 0 \u0026amp;\u0026amp; line(\u0026#34;\u0026#39;\\\u0026#34;\u0026#34;) \u0026lt;= line(\u0026#34;$\u0026#34;) | \\ exe \u0026#34;normal! g`\\\u0026#34;\u0026#34; | \\ endif \u0026#34; Remember info about open buffers on close set viminfo^=% \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; =\u0026gt; Status line \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; Always show the status line set laststatus=2 \u0026#34; Format the status line set statusline=\\ %{HasPaste()}%F%m%r%h\\ %w\\ \\ CWD:\\ %r%{getcwd()}%h\\ \\ \\ Line:\\ %l \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; =\u0026gt; Editing mappings \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; Remap VIM 0 to first non-blank character map 0 ^ \u0026#34; Move a line of text using ALT+[jk] or Comamnd+[jk] on mac nmap \u0026lt;M-j\u0026gt; mz:m+`z nmap \u0026lt;M-k\u0026gt; mz:m-2`z vmap \u0026lt;M-j\u0026gt; :m\u0026#39;\u0026gt;+`\u0026lt;my`\u0026gt;mzgv`yo`z vmap \u0026lt;M-k\u0026gt; :m\u0026#39;\u0026lt;-2`\u0026gt;my`\u0026lt;mzgv`yo`z if has(\u0026#34;mac\u0026#34;) || has(\u0026#34;macunix\u0026#34;) nmap \u0026lt;D-j\u0026gt; \u0026lt;M-j\u0026gt; nmap \u0026lt;D-k\u0026gt; \u0026lt;M-k\u0026gt; vmap \u0026lt;D-j\u0026gt; \u0026lt;M-j\u0026gt; vmap \u0026lt;D-k\u0026gt; \u0026lt;M-k\u0026gt; endif \u0026#34; Delete trailing white space on save, useful for Python and CoffeeScript ;) func! DeleteTrailingWS() exe \u0026#34;normal mz\u0026#34; %s/\\s\\+$//ge exe \u0026#34;normal `z\u0026#34; endfunc autocmd BufWrite *.py :call DeleteTrailingWS() autocmd BufWrite *.coffee :call DeleteTrailingWS() \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; =\u0026gt; Ack searching and cope displaying \u0026#34; requires ack.vim - it\u0026#39;s much better than vimgrep/grep \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; When you press gv you Ack after the selected text vnoremap \u0026lt;silent\u0026gt; gv :call VisualSelection(\u0026#39;gv\u0026#39;, \u0026#39;\u0026#39;) \u0026#34; Open Ack and put the cursor in the right position map \u0026lt;leader\u0026gt;g :Ack \u0026#34; When you press \u0026lt;leader\u0026gt;r you can search and replace the selected text vnoremap \u0026lt;silent\u0026gt; \u0026lt;leader\u0026gt;r :call VisualSelection(\u0026#39;replace\u0026#39;, \u0026#39;\u0026#39;) \u0026#34; Do :help cope if you are unsure what cope is. It\u0026#39;s super useful! \u0026#34; \u0026#34; When you search with Ack, display your results in cope by doing: \u0026#34; \u0026lt;leader\u0026gt;cc \u0026#34; \u0026#34; To go to the next search result do: \u0026#34; \u0026lt;leader\u0026gt;n \u0026#34; \u0026#34; To go to the previous search results do: \u0026#34; \u0026lt;leader\u0026gt;p \u0026#34; map \u0026lt;leader\u0026gt;cc :botright cope map \u0026lt;leader\u0026gt;co ggVGy:tabnew:set syntax=qfpgg map \u0026lt;leader\u0026gt;n :cn map \u0026lt;leader\u0026gt;p :cp \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; =\u0026gt; Spell checking \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; Pressing ,ss will toggle and untoggle spell checking map \u0026lt;leader\u0026gt;ss :setlocal spell! \u0026#34; Shortcuts using \u0026lt;leader\u0026gt; map \u0026lt;leader\u0026gt;sn ]s map \u0026lt;leader\u0026gt;sp [s map \u0026lt;leader\u0026gt;sa zg map \u0026lt;leader\u0026gt;s? z= \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; =\u0026gt; Misc \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; Remove the Windows ^M - when the encodings gets messed up noremap \u0026lt;Leader\u0026gt;m mmHmt:%s/\u0026lt;C-V\u0026gt;//ge\u0026#39;tzt\u0026#39;m \u0026#34; Quickly open a buffer for scribble map \u0026lt;leader\u0026gt;q :e ~/buffer \u0026#34; Quickly open a markdown buffer for scribble map \u0026lt;leader\u0026gt;x :e ~/buffer.md \u0026#34; Toggle paste mode on and off map \u0026lt;leader\u0026gt;pp :setlocal paste! \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; \u0026#34; =\u0026gt; Helper functions \u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34; function! CmdLine(str) exe \u0026#34;menu Foo.Bar :\u0026#34; . a:str emenu Foo.Bar unmenu Foo endfunction function! VisualSelection(direction, extra_filter) range let l:saved_reg = @\u0026#34; execute \u0026#34;normal! vgvy\u0026#34; let l:pattern = escape(@\u0026#34;, \u0026#39;\\\\/.*$^~[]\u0026#39;) let l:pattern = substitute(l:pattern, \u0026#34;\\n$\u0026#34;, \u0026#34;\u0026#34;, \u0026#34;\u0026#34;) if a:direction == \u0026#39;b\u0026#39; execute \u0026#34;normal ?\u0026#34; . l:pattern . \u0026#34;^M\u0026#34; elseif a:direction == \u0026#39;gv\u0026#39; call CmdLine(\u0026#34;Ack \\\u0026#34;\u0026#34; . l:pattern . \u0026#34;\\\u0026#34; \u0026#34; ) elseif a:direction == \u0026#39;replace\u0026#39; call CmdLine(\u0026#34;%s\u0026#34; . \u0026#39;/\u0026#39;. l:pattern . \u0026#39;/\u0026#39;) elseif a:direction == \u0026#39;f\u0026#39; execute \u0026#34;normal /\u0026#34; . l:pattern . \u0026#34;^M\u0026#34; endif let @/ = l:pattern let @\u0026#34; = l:saved_reg endfunction \u0026#34; Returns true if paste mode is enabled function! HasPaste() if \u0026amp;paste return \u0026#39;PASTE MODE \u0026#39; en return \u0026#39;\u0026#39; endfunction \u0026#34; Don\u0026#39;t close window, when deleting a buffer command! Bclose call \u0026lt;SID\u0026gt;BufcloseCloseIt() function! \u0026lt;SID\u0026gt;BufcloseCloseIt() let l:currentBufNum = bufnr(\u0026#34;%\u0026#34;) let l:alternateBufNum = bufnr(\u0026#34;#\u0026#34;) if buflisted(l:alternateBufNum) buffer # else bnext endif if bufnr(\u0026#34;%\u0026#34;) == l:currentBufNum new endif if buflisted(l:currentBufNum) execute(\u0026#34;bdelete! \u0026#34;.l:currentBufNum) endif endfunction Most credit to amix.dk\n","permalink":"https://churnd.net/configs/vimrc/","summary":"\u003cp\u003e\u003ca href=\"/vimrc\" download\u003eDownload vimrc\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eOn my two primary machines, I have a much more complex vim setup using\n\u003ca href=\"https://github.com/carlhuda/janus\" target=\"_blank\"\u003eJanus\u003c/a\u003e.\nFor servers, I just wanted something I could pull down real quick and\nhave a decent usable vim setup:\u003c/p\u003e\n\n\u003cfigure class=\"code-sample\"\u003e\n  \u003cfigcaption\u003e.vimrc\u003c/figcaption\u003e\n  \u003cdiv class=\"highlight\" caption=\".vimrc\"\u003e\u003cpre tabindex=\"0\" class=\"chroma\"\u003e\u003ccode class=\"language-vim\" data-lang=\"vim\"\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; =\u0026gt; General\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Sets how many lines of history VIM has to remember\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003ehistory\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"m\"\u003e700\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Enable filetype plugins\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003efiletype\u003c/span\u003e \u003cspan class=\"nx\"\u003eplugin\u003c/span\u003e \u003cspan class=\"nx\"\u003eon\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003efiletype\u003c/span\u003e \u003cspan class=\"nx\"\u003eindent\u003c/span\u003e \u003cspan class=\"nx\"\u003eon\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Set to auto read when a file is changed from the outside\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eautoread\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; With a map leader it\u0026#39;s possible to do extra key combinations\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; like \u0026lt;leader\u0026gt;w saves the current file\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003elet\u003c/span\u003e \u003cspan class=\"nx\"\u003emapleader\u003c/span\u003e \u003cspan class=\"p\"\u003e=\u003c/span\u003e \u003cspan class=\"s2\"\u003e\u0026#34;,\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003elet\u003c/span\u003e \u003cspan class=\"nx\"\u003eg\u003c/span\u003e:\u003cspan class=\"nx\"\u003emapleader\u003c/span\u003e \u003cspan class=\"p\"\u003e=\u003c/span\u003e \u003cspan class=\"s2\"\u003e\u0026#34;,\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Fast saving\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003enmap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003ew\u003c/span\u003e :\u003cspan class=\"nx\"\u003ew\u003c/span\u003e\u003cspan class=\"p\"\u003e!\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; :W sudo saves the file \u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; (useful for handling the permission-denied error)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003ecommand\u003c/span\u003e \u003cspan class=\"nx\"\u003eW\u003c/span\u003e \u003cspan class=\"nx\"\u003ew\u003c/span\u003e \u003cspan class=\"p\"\u003e!\u003c/span\u003e\u003cspan class=\"nx\"\u003esudo\u003c/span\u003e \u003cspan class=\"nx\"\u003etee\u003c/span\u003e % \u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"sr\"\u003e/dev/\u003c/span\u003e\u003cspan class=\"nx\"\u003enull\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; =\u0026gt; VIM user interface\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Set 7 lines to the cursor - when moving vertically using j/k\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eso\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"m\"\u003e7\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Turn on the WiLd menu\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003ewildmenu\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Ignore compiled files\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003ewildignore\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e*.\u003cspan class=\"nx\"\u003eo\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e*\u003cspan class=\"p\"\u003e~,\u003c/span\u003e*.\u003cspan class=\"nx\"\u003epyc\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eif\u003c/span\u003e \u003cspan class=\"nx\"\u003ehas\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;win16\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e \u003cspan class=\"p\"\u003e||\u003c/span\u003e \u003cspan class=\"nx\"\u003ehas\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;win32\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003ewildignore\u003c/span\u003e\u003cspan class=\"p\"\u003e+=\u003c/span\u003e*\u003cspan class=\"sr\"\u003e/.git/\u003c/span\u003e*\u003cspan class=\"p\"\u003e,\u003c/span\u003e*\u003cspan class=\"sr\"\u003e/.hg/\u003c/span\u003e*\u003cspan class=\"p\"\u003e,\u003c/span\u003e*\u003cspan class=\"sr\"\u003e/.svn/\u003c/span\u003e*\u003cspan class=\"p\"\u003e,\u003c/span\u003e*/.\u003cspan class=\"nx\"\u003eDS_Store\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eelse\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003ewildignore\u003c/span\u003e\u003cspan class=\"p\"\u003e+=\u003c/span\u003e.\u003cspan class=\"nx\"\u003egit\u003c/span\u003e\\*\u003cspan class=\"p\"\u003e,\u003c/span\u003e.\u003cspan class=\"nx\"\u003ehg\u003c/span\u003e\\*\u003cspan class=\"p\"\u003e,\u003c/span\u003e.\u003cspan class=\"nx\"\u003esvn\u003c/span\u003e\\*\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eendif\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;Always show current position\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eruler\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Height of the command bar\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003ecmdheight\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"m\"\u003e2\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; A buffer becomes hidden when it is abandoned\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003ehid\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Configure backspace so it acts as it should act\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003ebackspace\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"nx\"\u003eeol\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e\u003cspan class=\"nx\"\u003estart\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e\u003cspan class=\"nx\"\u003eindent\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003ewhichwrap\u003c/span\u003e\u003cspan class=\"p\"\u003e+=\u0026lt;,\u0026gt;,\u003c/span\u003e\u003cspan class=\"nx\"\u003eh\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e\u003cspan class=\"nx\"\u003el\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Ignore case when searching\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eignorecase\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; When searching try to be smart about cases \u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003esmartcase\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Highlight search results\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003ehlsearch\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Makes search act like search in modern browsers\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eincsearch\u003c/span\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Don\u0026#39;t redraw while executing macros (good performance config)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003elazyredraw\u003c/span\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; For regular expressions turn magic on\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003emagic\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Show matching brackets when text indicator is over them\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eshowmatch\u003c/span\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; How many tenths of a second to blink when matching brackets\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003emat\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"m\"\u003e2\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; No annoying sound on errors\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003enoerrorbells\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003enovisualbell\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003et_vb\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003etm\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"m\"\u003e500\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Add a bit extra margin to the left\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003efoldcolumn\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"m\"\u003e1\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; =\u0026gt; Colors and Fonts\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Enable syntax highlighting\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003esyntax\u003c/span\u003e \u003cspan class=\"nx\"\u003eenable\u003c/span\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003etry\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003ecolorscheme\u003c/span\u003e \u003cspan class=\"nx\"\u003edesert\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003ecatch\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003eendtry\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003ebackground\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"nb\"\u003edark\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Set extra options when running in GUI mode\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eif\u003c/span\u003e \u003cspan class=\"nx\"\u003ehas\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;gui_running\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eguioptions\u003c/span\u003e\u003cspan class=\"p\"\u003e-=\u003c/span\u003e\u003cspan class=\"nx\"\u003eT\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eguioptions\u003c/span\u003e\u003cspan class=\"p\"\u003e-=\u003c/span\u003e\u003cspan class=\"nx\"\u003ee\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003et_Co\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"m\"\u003e256\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eguitablabel\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e%\u003cspan class=\"nx\"\u003eM\u003c/span\u003e\\ %\u003cspan class=\"nx\"\u003et\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eendif\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Set utf8 as standard encoding and en_US as the standard language\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eencoding\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"nx\"\u003eutf8\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Use Unix as the standard file type\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003effs\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"nx\"\u003eunix\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e\u003cspan class=\"nx\"\u003edos\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e\u003cspan class=\"nx\"\u003emac\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; =\u0026gt; Files, backups and undo\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Turn backup off, since most stuff is in SVN, git et.c anyway...\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003enobackup\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003enowb\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003enoswapfile\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; =\u0026gt; Text, tab and indent related\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Use spaces instead of tabs\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eexpandtab\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Be smart when using tabs ;)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003esmarttab\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; 1 tab == 4 spaces\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eshiftwidth\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"m\"\u003e4\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003etabstop\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"m\"\u003e4\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Linebreak on 500 characters\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003elbr\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003etw\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"m\"\u003e500\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eai\u003c/span\u003e \u003cspan class=\"c\"\u003e\u0026#34;Auto indent\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003esi\u003c/span\u003e \u003cspan class=\"c\"\u003e\u0026#34;Smart indent\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003ewrap\u003c/span\u003e \u003cspan class=\"c\"\u003e\u0026#34;Wrap lines\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; =\u0026gt; Visual mode related\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Visual mode pressing * or # searches for the current selection\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Super useful! From an idea by Michael Naumann\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003evnoremap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003esilent\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e * :\u003cspan class=\"nx\"\u003ecall\u003c/span\u003e \u003cspan class=\"nx\"\u003eVisualSelection\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s1\"\u003e\u0026#39;f\u0026#39;\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e \u003cspan class=\"s1\"\u003e\u0026#39;\u0026#39;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003evnoremap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003esilent\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e # :\u003cspan class=\"nx\"\u003ecall\u003c/span\u003e \u003cspan class=\"nx\"\u003eVisualSelection\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s1\"\u003e\u0026#39;b\u0026#39;\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e \u003cspan class=\"s1\"\u003e\u0026#39;\u0026#39;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; =\u0026gt; Moving around, tabs, windows and buffers\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Treat long lines as break lines (useful when moving around in them)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"nx\"\u003ej\u003c/span\u003e \u003cspan class=\"nx\"\u003egj\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"nx\"\u003ek\u003c/span\u003e \u003cspan class=\"nx\"\u003egk\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Map \u0026lt;Space\u0026gt; to / (search) and Ctrl-\u0026lt;Space\u0026gt; to ? (backwards search)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003espace\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e /\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003ec\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003espace\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e ?\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Disable highlight when \u0026lt;leader\u0026gt; is pressed\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003esilent\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e :\u003cspan class=\"nx\"\u003enoh\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Smart way to move between windows\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eC\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003ej\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eC\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003eW\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003ej\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eC\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003ek\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eC\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003eW\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003ek\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eC\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003eh\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eC\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003eW\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eh\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eC\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003el\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eC\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003eW\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003el\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Close the current buffer\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003ebd\u003c/span\u003e :\u003cspan class=\"nx\"\u003eBclose\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Close all the buffers\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eba\u003c/span\u003e :\u003cspan class=\"m\"\u003e1\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e\u003cspan class=\"m\"\u003e1000\u003c/span\u003e \u003cspan class=\"nx\"\u003ebd\u003c/span\u003e\u003cspan class=\"p\"\u003e!\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Useful mappings for managing tabs\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003etn\u003c/span\u003e :\u003cspan class=\"nx\"\u003etabnew\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eto\u003c/span\u003e :\u003cspan class=\"nx\"\u003etabonly\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003etc\u003c/span\u003e :\u003cspan class=\"nx\"\u003etabclose\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003etm\u003c/span\u003e :\u003cspan class=\"nx\"\u003etabmove\u003c/span\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003et\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e :\u003cspan class=\"nx\"\u003etabnext\u003c/span\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Opens a new tab with the current buffer\u0026#39;s path\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Super useful when editing files in the same directory\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003ete\u003c/span\u003e :\u003cspan class=\"nx\"\u003etabedit\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003ec\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003er\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;=\u003c/span\u003e\u003cspan class=\"nx\"\u003eexpand\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;%:p:h\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e/\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Switch CWD to the directory of the open buffer\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003ecd\u003c/span\u003e :\u003cspan class=\"nx\"\u003ecd\u003c/span\u003e %:\u003cspan class=\"nx\"\u003ep\u003c/span\u003e:\u003cspan class=\"nx\"\u003eh\u003c/span\u003e:\u003cspan class=\"nx\"\u003epwd\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Specify the behavior when switching between buffers \u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003etry\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e  \u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eswitchbuf\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"nx\"\u003euseopen\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e\u003cspan class=\"nx\"\u003eusetab\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e\u003cspan class=\"nx\"\u003enewtab\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e  \u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003estal\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"m\"\u003e2\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003ecatch\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003eendtry\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Return to last edit position when opening files (You want this!)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eautocmd\u003c/span\u003e \u003cspan class=\"nx\"\u003eBufReadPost\u003c/span\u003e *\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e     \\ \u003cspan class=\"k\"\u003eif\u003c/span\u003e \u003cspan class=\"nx\"\u003eline\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;\u0026#39;\\\u0026#34;\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"m\"\u003e0\u003c/span\u003e \u0026amp;\u0026amp; \u003cspan class=\"nx\"\u003eline\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;\u0026#39;\\\u0026#34;\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;=\u003c/span\u003e \u003cspan class=\"nx\"\u003eline\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;$\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e \u003cspan class=\"p\"\u003e|\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e     \\   \u003cspan class=\"nx\"\u003eexe\u003c/span\u003e \u003cspan class=\"s2\"\u003e\u0026#34;normal! g`\\\u0026#34;\u0026#34;\u003c/span\u003e \u003cspan class=\"p\"\u003e|\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e     \\ \u003cspan class=\"k\"\u003eendif\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Remember info about open buffers on close\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003eviminfo\u003c/span\u003e^\u003cspan class=\"p\"\u003e=\u003c/span\u003e%\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; =\u0026gt; Status line\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Always show the status line\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003elaststatus\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"m\"\u003e2\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Format the status line\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"nx\"\u003estatusline\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\\ %{\u003cspan class=\"nx\"\u003eHasPaste\u003c/span\u003e\u003cspan class=\"p\"\u003e()\u003c/span\u003e}%\u003cspan class=\"nx\"\u003eF\u003c/span\u003e%\u003cspan class=\"nx\"\u003em\u003c/span\u003e%\u003cspan class=\"nx\"\u003er\u003c/span\u003e%\u003cspan class=\"nx\"\u003eh\u003c/span\u003e\\ %\u003cspan class=\"nx\"\u003ew\u003c/span\u003e\\ \\ \u003cspan class=\"nx\"\u003eCWD\u003c/span\u003e:\\ %\u003cspan class=\"nx\"\u003er\u003c/span\u003e%{\u003cspan class=\"nx\"\u003egetcwd\u003c/span\u003e\u003cspan class=\"p\"\u003e()\u003c/span\u003e}%\u003cspan class=\"nx\"\u003eh\u003c/span\u003e\\ \\ \\ \u003cspan class=\"nx\"\u003eLine\u003c/span\u003e:\\ %\u003cspan class=\"nx\"\u003el\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; =\u0026gt; Editing mappings\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Remap VIM 0 to first non-blank character\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"m\"\u003e0\u003c/span\u003e ^\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Move a line of text using ALT+[jk] or Comamnd+[jk] on mac\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003enmap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eM\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003ej\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"nx\"\u003emz\u003c/span\u003e:\u003cspan class=\"nx\"\u003em\u003c/span\u003e\u003cspan class=\"p\"\u003e+\u003c/span\u003e`\u003cspan class=\"nx\"\u003ez\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003enmap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eM\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003ek\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"nx\"\u003emz\u003c/span\u003e:\u003cspan class=\"nx\"\u003em\u003c/span\u003e\u003cspan class=\"m\"\u003e-2\u003c/span\u003e`\u003cspan class=\"nx\"\u003ez\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003evmap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eM\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003ej\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e :\u003cspan class=\"nx\"\u003em\u003c/span\u003e\u0026#39;\u003cspan class=\"p\"\u003e\u0026gt;+\u003c/span\u003e`\u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003emy\u003c/span\u003e`\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003emzgv\u003c/span\u003e`\u003cspan class=\"nx\"\u003eyo\u003c/span\u003e`\u003cspan class=\"nx\"\u003ez\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003evmap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eM\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003ek\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e :\u003cspan class=\"nx\"\u003em\u003c/span\u003e\u0026#39;\u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"m\"\u003e-2\u003c/span\u003e`\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003emy\u003c/span\u003e`\u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003emzgv\u003c/span\u003e`\u003cspan class=\"nx\"\u003eyo\u003c/span\u003e`\u003cspan class=\"nx\"\u003ez\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eif\u003c/span\u003e \u003cspan class=\"nx\"\u003ehas\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;mac\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e \u003cspan class=\"p\"\u003e||\u003c/span\u003e \u003cspan class=\"nx\"\u003ehas\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;macunix\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e  \u003cspan class=\"nx\"\u003enmap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eD\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003ej\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eM\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003ej\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e  \u003cspan class=\"nx\"\u003enmap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eD\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003ek\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eM\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003ek\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e  \u003cspan class=\"nx\"\u003evmap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eD\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003ej\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eM\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003ej\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e  \u003cspan class=\"nx\"\u003evmap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eD\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003ek\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eM\u003c/span\u003e\u003cspan class=\"p\"\u003e-\u003c/span\u003e\u003cspan class=\"nx\"\u003ek\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eendif\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Delete trailing white space on save, useful for Python and CoffeeScript ;)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003efunc\u003c/span\u003e\u003cspan class=\"p\"\u003e!\u003c/span\u003e \u003cspan class=\"nx\"\u003eDeleteTrailingWS\u003c/span\u003e\u003cspan class=\"p\"\u003e()\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e  \u003cspan class=\"nx\"\u003eexe\u003c/span\u003e \u003cspan class=\"s2\"\u003e\u0026#34;normal mz\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e  %\u003cspan class=\"nx\"\u003es\u003c/span\u003e\u003cspan class=\"sr\"\u003e/\\s\\+$/\u003c/span\u003e/\u003cspan class=\"nx\"\u003ege\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e  \u003cspan class=\"nx\"\u003eexe\u003c/span\u003e \u003cspan class=\"s2\"\u003e\u0026#34;normal `z\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003eendfunc\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eautocmd\u003c/span\u003e \u003cspan class=\"nx\"\u003eBufWrite\u003c/span\u003e *.\u003cspan class=\"nx\"\u003epy\u003c/span\u003e :\u003cspan class=\"nx\"\u003ecall\u003c/span\u003e \u003cspan class=\"nx\"\u003eDeleteTrailingWS\u003c/span\u003e\u003cspan class=\"p\"\u003e()\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eautocmd\u003c/span\u003e \u003cspan class=\"nx\"\u003eBufWrite\u003c/span\u003e *.\u003cspan class=\"nx\"\u003ecoffee\u003c/span\u003e :\u003cspan class=\"nx\"\u003ecall\u003c/span\u003e \u003cspan class=\"nx\"\u003eDeleteTrailingWS\u003c/span\u003e\u003cspan class=\"p\"\u003e()\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; =\u0026gt; Ack searching and cope displaying\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;    requires ack.vim - it\u0026#39;s much better than vimgrep/grep\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; When you press gv you Ack after the selected text\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003evnoremap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003esilent\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"nx\"\u003egv\u003c/span\u003e :\u003cspan class=\"nx\"\u003ecall\u003c/span\u003e \u003cspan class=\"nx\"\u003eVisualSelection\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s1\"\u003e\u0026#39;gv\u0026#39;\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e \u003cspan class=\"s1\"\u003e\u0026#39;\u0026#39;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Open Ack and put the cursor in the right position\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eg\u003c/span\u003e :\u003cspan class=\"nx\"\u003eAck\u003c/span\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; When you press \u0026lt;leader\u0026gt;r you can search and replace the selected text\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003evnoremap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003esilent\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003er\u003c/span\u003e :\u003cspan class=\"nx\"\u003ecall\u003c/span\u003e \u003cspan class=\"nx\"\u003eVisualSelection\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s1\"\u003e\u0026#39;replace\u0026#39;\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e \u003cspan class=\"s1\"\u003e\u0026#39;\u0026#39;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Do :help cope if you are unsure what cope is. It\u0026#39;s super useful!\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; When you search with Ack, display your results in cope by doing:\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;   \u0026lt;leader\u0026gt;cc\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; To go to the next search result do:\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;   \u0026lt;leader\u0026gt;n\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; To go to the previous search results do:\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;   \u0026lt;leader\u0026gt;p\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003ecc\u003c/span\u003e :\u003cspan class=\"nx\"\u003ebotright\u003c/span\u003e \u003cspan class=\"nx\"\u003ecope\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eco\u003c/span\u003e \u003cspan class=\"nx\"\u003eggVGy\u003c/span\u003e:\u003cspan class=\"nx\"\u003etabnew\u003c/span\u003e:\u003cspan class=\"k\"\u003eset\u003c/span\u003e \u003cspan class=\"k\"\u003esyntax\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\u003cspan class=\"nx\"\u003eqfpgg\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003en\u003c/span\u003e :\u003cspan class=\"nx\"\u003ecn\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003ep\u003c/span\u003e :\u003cspan class=\"nx\"\u003ecp\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; =\u0026gt; Spell checking\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Pressing ,ss will toggle and untoggle spell checking\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003ess\u003c/span\u003e :\u003cspan class=\"nx\"\u003esetlocal\u003c/span\u003e \u003cspan class=\"nx\"\u003espell\u003c/span\u003e\u003cspan class=\"p\"\u003e!\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Shortcuts using \u0026lt;leader\u0026gt;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003esn\u003c/span\u003e ]\u003cspan class=\"nx\"\u003es\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003esp\u003c/span\u003e [\u003cspan class=\"nx\"\u003es\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003esa\u003c/span\u003e \u003cspan class=\"nx\"\u003ezg\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003es\u003c/span\u003e? \u003cspan class=\"nx\"\u003ez\u003c/span\u003e\u003cspan class=\"p\"\u003e=\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; =\u0026gt; Misc\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Remove the Windows ^M - when the encodings gets messed up\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003enoremap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eLeader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003em\u003c/span\u003e \u003cspan class=\"nx\"\u003emmHmt\u003c/span\u003e:%\u003cspan class=\"nx\"\u003es\u003c/span\u003e\u003cspan class=\"sr\"\u003e/\u0026lt;C-V\u0026gt;/\u003c/span\u003e/\u003cspan class=\"nx\"\u003ege\u003c/span\u003e\u003cspan class=\"s1\"\u003e\u0026#39;tzt\u0026#39;\u003c/span\u003e\u003cspan class=\"nx\"\u003em\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Quickly open a buffer for scribble\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eq\u003c/span\u003e :\u003cspan class=\"nx\"\u003ee\u003c/span\u003e \u003cspan class=\"p\"\u003e~\u003c/span\u003e/\u003cspan class=\"nx\"\u003ebuffer\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Quickly open a markdown buffer for scribble\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003ex\u003c/span\u003e :\u003cspan class=\"nx\"\u003ee\u003c/span\u003e \u003cspan class=\"p\"\u003e~\u003c/span\u003e/\u003cspan class=\"nx\"\u003ebuffer\u003c/span\u003e.\u003cspan class=\"nx\"\u003emd\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Toggle paste mode on and off\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003emap\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eleader\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003epp\u003c/span\u003e :\u003cspan class=\"nx\"\u003esetlocal\u003c/span\u003e \u003cspan class=\"nx\"\u003epaste\u003c/span\u003e\u003cspan class=\"p\"\u003e!\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; =\u0026gt; Helper functions\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003efunction\u003c/span\u003e\u003cspan class=\"p\"\u003e!\u003c/span\u003e \u003cspan class=\"nx\"\u003eCmdLine\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"nx\"\u003estr\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"nx\"\u003eexe\u003c/span\u003e \u003cspan class=\"s2\"\u003e\u0026#34;menu Foo.Bar :\u0026#34;\u003c/span\u003e . \u003cspan class=\"nx\"\u003ea\u003c/span\u003e:\u003cspan class=\"nx\"\u003estr\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"nx\"\u003eemenu\u003c/span\u003e \u003cspan class=\"nx\"\u003eFoo\u003c/span\u003e.\u003cspan class=\"nx\"\u003eBar\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"nx\"\u003eunmenu\u003c/span\u003e \u003cspan class=\"nx\"\u003eFoo\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eendfunction\u003c/span\u003e \n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003efunction\u003c/span\u003e\u003cspan class=\"p\"\u003e!\u003c/span\u003e \u003cspan class=\"nx\"\u003eVisualSelection\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"nx\"\u003edirection\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e \u003cspan class=\"nx\"\u003eextra_filter\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e \u003cspan class=\"nx\"\u003erange\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003elet\u003c/span\u003e \u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003esaved_reg\u003c/span\u003e \u003cspan class=\"p\"\u003e=\u003c/span\u003e @\u0026#34;\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003eexecute\u003c/span\u003e \u003cspan class=\"s2\"\u003e\u0026#34;normal! vgvy\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003elet\u003c/span\u003e \u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003epattern\u003c/span\u003e \u003cspan class=\"p\"\u003e=\u003c/span\u003e \u003cspan class=\"nx\"\u003eescape\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e@\u0026#34;\u003cspan class=\"p\"\u003e,\u003c/span\u003e \u003cspan class=\"s1\"\u003e\u0026#39;\\\\/.*$^~[]\u0026#39;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003elet\u003c/span\u003e \u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003epattern\u003c/span\u003e \u003cspan class=\"p\"\u003e=\u003c/span\u003e \u003cspan class=\"nx\"\u003esubstitute\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003epattern\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e \u003cspan class=\"s2\"\u003e\u0026#34;\\n$\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e \u003cspan class=\"s2\"\u003e\u0026#34;\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e,\u003c/span\u003e \u003cspan class=\"s2\"\u003e\u0026#34;\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003eif\u003c/span\u003e \u003cspan class=\"nx\"\u003ea\u003c/span\u003e:\u003cspan class=\"nx\"\u003edirection\u003c/span\u003e \u003cspan class=\"p\"\u003e==\u003c/span\u003e \u003cspan class=\"s1\"\u003e\u0026#39;b\u0026#39;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e        \u003cspan class=\"k\"\u003eexecute\u003c/span\u003e \u003cspan class=\"s2\"\u003e\u0026#34;normal ?\u0026#34;\u003c/span\u003e . \u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003epattern\u003c/span\u003e . \u003cspan class=\"s2\"\u003e\u0026#34;^M\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003eelseif\u003c/span\u003e \u003cspan class=\"nx\"\u003ea\u003c/span\u003e:\u003cspan class=\"nx\"\u003edirection\u003c/span\u003e \u003cspan class=\"p\"\u003e==\u003c/span\u003e \u003cspan class=\"s1\"\u003e\u0026#39;gv\u0026#39;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e        \u003cspan class=\"nx\"\u003ecall\u003c/span\u003e \u003cspan class=\"nx\"\u003eCmdLine\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;Ack \\\u0026#34;\u0026#34;\u003c/span\u003e . \u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003epattern\u003c/span\u003e . \u003cspan class=\"s2\"\u003e\u0026#34;\\\u0026#34; \u0026#34;\u003c/span\u003e \u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003eelseif\u003c/span\u003e \u003cspan class=\"nx\"\u003ea\u003c/span\u003e:\u003cspan class=\"nx\"\u003edirection\u003c/span\u003e \u003cspan class=\"p\"\u003e==\u003c/span\u003e \u003cspan class=\"s1\"\u003e\u0026#39;replace\u0026#39;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e        \u003cspan class=\"nx\"\u003ecall\u003c/span\u003e \u003cspan class=\"nx\"\u003eCmdLine\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;%s\u0026#34;\u003c/span\u003e . \u003cspan class=\"s1\"\u003e\u0026#39;/\u0026#39;\u003c/span\u003e. \u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003epattern\u003c/span\u003e . \u003cspan class=\"s1\"\u003e\u0026#39;/\u0026#39;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003eelseif\u003c/span\u003e \u003cspan class=\"nx\"\u003ea\u003c/span\u003e:\u003cspan class=\"nx\"\u003edirection\u003c/span\u003e \u003cspan class=\"p\"\u003e==\u003c/span\u003e \u003cspan class=\"s1\"\u003e\u0026#39;f\u0026#39;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e        \u003cspan class=\"k\"\u003eexecute\u003c/span\u003e \u003cspan class=\"s2\"\u003e\u0026#34;normal /\u0026#34;\u003c/span\u003e . \u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003epattern\u003c/span\u003e . \u003cspan class=\"s2\"\u003e\u0026#34;^M\u0026#34;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003eendif\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003elet\u003c/span\u003e @/ \u003cspan class=\"p\"\u003e=\u003c/span\u003e \u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003epattern\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003elet\u003c/span\u003e @\u0026#34; \u003cspan class=\"p\"\u003e=\u003c/span\u003e \u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003esaved_reg\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eendfunction\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Returns true if paste mode is enabled\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003efunction\u003c/span\u003e\u003cspan class=\"p\"\u003e!\u003c/span\u003e \u003cspan class=\"nx\"\u003eHasPaste\u003c/span\u003e\u003cspan class=\"p\"\u003e()\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"k\"\u003eif\u003c/span\u003e \u0026amp;\u003cspan class=\"nx\"\u003epaste\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e        \u003cspan class=\"nx\"\u003ereturn\u003c/span\u003e \u003cspan class=\"s1\"\u003e\u0026#39;PASTE MODE  \u0026#39;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"nx\"\u003een\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e    \u003cspan class=\"nx\"\u003ereturn\u003c/span\u003e \u003cspan class=\"s1\"\u003e\u0026#39;\u0026#39;\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eendfunction\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"c\"\u003e\u0026#34; Don\u0026#39;t close window, when deleting a buffer\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"nx\"\u003ecommand\u003c/span\u003e\u003cspan class=\"p\"\u003e!\u003c/span\u003e \u003cspan class=\"nx\"\u003eBclose\u003c/span\u003e \u003cspan class=\"nx\"\u003ecall\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eSID\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eBufcloseCloseIt\u003c/span\u003e\u003cspan class=\"p\"\u003e()\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003efunction\u003c/span\u003e\u003cspan class=\"p\"\u003e!\u003c/span\u003e \u003cspan class=\"p\"\u003e\u0026lt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eSID\u003c/span\u003e\u003cspan class=\"p\"\u003e\u0026gt;\u003c/span\u003e\u003cspan class=\"nx\"\u003eBufcloseCloseIt\u003c/span\u003e\u003cspan class=\"p\"\u003e()\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e   \u003cspan class=\"k\"\u003elet\u003c/span\u003e \u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003ecurrentBufNum\u003c/span\u003e \u003cspan class=\"p\"\u003e=\u003c/span\u003e \u003cspan class=\"nx\"\u003ebufnr\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;%\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e   \u003cspan class=\"k\"\u003elet\u003c/span\u003e \u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003ealternateBufNum\u003c/span\u003e \u003cspan class=\"p\"\u003e=\u003c/span\u003e \u003cspan class=\"nx\"\u003ebufnr\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;#\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e   \u003cspan class=\"k\"\u003eif\u003c/span\u003e \u003cspan class=\"nx\"\u003ebuflisted\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003ealternateBufNum\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e     \u003cspan class=\"nx\"\u003ebuffer\u003c/span\u003e #\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e   \u003cspan class=\"k\"\u003eelse\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e     \u003cspan class=\"nx\"\u003ebnext\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e   \u003cspan class=\"k\"\u003eendif\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e   \u003cspan class=\"k\"\u003eif\u003c/span\u003e \u003cspan class=\"nx\"\u003ebufnr\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;%\u0026#34;\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e \u003cspan class=\"p\"\u003e==\u003c/span\u003e \u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003ecurrentBufNum\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e     \u003cspan class=\"nx\"\u003enew\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e   \u003cspan class=\"k\"\u003eendif\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e   \u003cspan class=\"k\"\u003eif\u003c/span\u003e \u003cspan class=\"nx\"\u003ebuflisted\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003ecurrentBufNum\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e     \u003cspan class=\"k\"\u003eexecute\u003c/span\u003e\u003cspan class=\"p\"\u003e(\u003c/span\u003e\u003cspan class=\"s2\"\u003e\u0026#34;bdelete! \u0026#34;\u003c/span\u003e.\u003cspan class=\"nx\"\u003el\u003c/span\u003e:\u003cspan class=\"nx\"\u003ecurrentBufNum\u003c/span\u003e\u003cspan class=\"p\"\u003e)\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e   \u003cspan class=\"k\"\u003eendif\u003c/span\u003e\n\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"line\"\u003e\u003cspan class=\"cl\"\u003e\u003cspan class=\"k\"\u003eendfunction\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/figure\u003e\n\u003cp\u003eMost credit to \u003ca href=\"http://amix.dk/vim/vimrc.html\"\u003eamix.dk\u003c/a\u003e\u003c/p\u003e","title":"Vimrc"},{"content":"Why? After using my VMware/NexentaStor All-In-One for a while, I grew tired of VMware\u0026rsquo;s bloat \u0026amp; limitations. Doing \u0026ldquo;cool stuff\u0026rdquo; in VMware requires a license, \u0026amp; vSphere Client only runs on Windows. I got tired of starting up a Windows VM just to manage my hypervisor. That\u0026rsquo;s the only thing I started Windows up for, and it got old. I wanted something I could manage directly from my primary OS, OS X, as well as lightweight \u0026amp; preferably open source.\nThere are plenty of hypervisor products on the market today, but I wanted to move to something open source \u0026amp; unix based. KVM has quickly become a big presense in this market, and for a good reason: it\u0026rsquo;s awesome. It\u0026rsquo;ll run on just about any hardware you have, and has even been ported to Solaris in the form of SmartOS.\nWhat? Host Of the many great projects that use KVM, I chose Proxmox. Here\u0026rsquo;s a few of the many reasons why:\nIt\u0026rsquo;s OSS licensed AGPLv3. It\u0026rsquo;s based on Debian. The management is all web-based \u0026amp; some CLI. It supports QEMU \u0026amp; OpenVZ. It supports OpenVSwitch. It has a good community. You can buy support if you want it. I also checked out oVirt \u0026amp; plain KVM/libvirt on CentOS. oVirt was a bit too bloated for my tastes. KVM/libvirt on CentOS wasn\u0026rsquo;t web based, but I almost went with them because I could have ran virt-manager via ssh X forwarding. I liked the Proxmox project a bit better.\nStorage My original plan was to stick with NexentaStor, but I ran into issues with that. KVM\u0026rsquo;s equivalent of vmxnet3 \u0026amp; vmscsi is called virtio. With KVM, if you want maximum performance, use virtio wherever possible. NexentaStor does not have virtio drivers, so I couldn\u0026rsquo;t set up a VM of NexentaStor unless I used IDE for storage \u0026amp; E1000 for net. I was willing to compromise with E1000 for net, but IDE for storage wasn\u0026rsquo;t gonna work for me.\nMy secondary plan didn\u0026rsquo;t really work out either. This plan was to use OmniOS \u0026amp; Napp-IT. OmniOS is based on a newer illumos kernel, and therefore, I was able to get virtio type disks working. That process was a bit daunting because the OmniOS installer doesn\u0026rsquo;t include the virtio drivers by default, so I had to install to an IDE disk, pull in the virtio drivers from the pkg repos, attach a virtio disk, add the new drive to the root pool, then remove the old one. It was cool to do, but kindof a PITA. However, it was for naught, because trying to do VT-d passthrough to the VM caused it to panic. Word on IRC in #omnios was it had something to do with the USB/PCI code in the kernel. Sigh, back to the drawing board.\nThe third option was FreeNAS. Let me preface this by saying I will always pick Solaris/Illumos based storage first in the datacenter. A port of ZFS will always be second choice for me. That said, the FreeNAS project is a very good one. They also recently picked up some major talent with Jordan Hubbard, ex-Apple CTO. FreeBSD is alive \u0026amp; well, \u0026amp; still a big player in the ZFS community.\nImagine my surprise when I found out that FreeNAS includes both disk \u0026amp; net virtio drivers by default. A quick install later, and I had my storage solution up \u0026amp; running.\nHow? I\u0026rsquo;m not going to cover the entire how-to beginning to end, because a lot of it is similar to VMware/ESXi. I will cover the major differences \u0026amp; how I worked around them.\nPassthrough The first obvious difference is VT-d PCI passthrough. VMware makes this easy to do. With Proxmox, it\u0026rsquo;s pretty easy too, just took me a while to figure out.\nFirst, we need to prep Proxmox itself to use passthrough. The Proxmox Wiki explains how pretty well.\nSecond, we need to figure out the device ID to pass through. SSH into the proxmox node \u0026amp; become root. Then do:\nTerminal root@proxmox:~# lspci | grep SCSI 02:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 02) Let\u0026rsquo;s say your FreeNAS VM is ID 100. With FreeNAS powered off, you\u0026rsquo;ll need to manually edit the config file to add the option hostpci0: 02:00.0:\nTerminal root@proxmox:~# cd /etc/pve/qemu-server root@proxmox:/etc/pve/qemu-server# cat 100.conf bootdisk: virtio0 cores: 2 cpu: host hostpci0: 02:00.0 ide2: none,media=cdrom memory: 4096 name: FreeNAS net0: virtio=7A:3A:B1:23:91:84,bridge=vmbr0 net1: virtio=66:C8:8A:75:61:FC,bridge=vmbr1 onboot: 1 ostype: other sockets: 1 virtio0: san:vm-100-disk-1,size=4G virtio1: san:vm-100-disk-2,size=20G Once you\u0026rsquo;ve done that, restart Proxmox. Once it comes back up \u0026amp; FreeNAS has been started up, FreeNAS should be able to see the disks attached to that controller. If they already have ZFS datasets on them, you can just import them \u0026amp; you\u0026rsquo;re good to go.\nNetwork When I first set up Proxmox/FreeNAS, Proxmox didn\u0026rsquo;t have OpenVSwitch integrated. As of now (v3.2), it does, though I haven\u0026rsquo;t played around with it yet. I plan to figure that out soon.\nProxmox uses Linux bridges for managing network interfaces. What I did was create a bridge called vmbr1 that was not attached to any physical NICs \u0026amp; gave it a private IP 172.16.1.1. From the FreeNAS side, I added a new virtio interface attached to vmbr1, and within FreeNAS, gave it IP 172.16.1.2.\nSome pics to illustrate:\nProxmox Network Config:\nFreeNAS VM Config:\nProxmox Storage View w/ NFS shares mounted:\nFreeNAS Disk View:\nFinishing Thoughts FreeNAS is a great ZFS solution for home use. It\u0026rsquo;s rich GUI \u0026amp; extensible plugins make it a lot of fun to use. For example, it has a Crashplan plugin which now handles all my backups. I\u0026rsquo;ve not been able to distinguish any performance loss from my ESXi/NexentaStor setup. Homelab loads just aren\u0026rsquo;t very high. I\u0026rsquo;m also really enjoying Proxmox, and the Proxmox devs are doing a lot of great things with it right now. It\u0026rsquo;s a very active project.\nI\u0026rsquo;m really happy with how this turned out.\n","permalink":"https://churnd.net/2014/03/30/all-in-one-redux-proxmox-and-freenas/","summary":"\u003ch3 id=\"why\"\u003eWhy?\u003c/h3\u003e\n\u003cp\u003eAfter using my \u003ca href=\"/2013/02/09/zfsesxi-all-in-one-part-2/\" title=\"ZFS/ESXI All-In-One, Part 2 - #!\"\u003eVMware/NexentaStor All-In-One\u003c/a\u003e for a while, I grew tired of VMware\u0026rsquo;s bloat \u0026amp; limitations.  Doing \u0026ldquo;cool stuff\u0026rdquo; in VMware requires a license, \u0026amp; vSphere Client only runs on Windows.  I got tired of starting up a Windows VM just to manage my hypervisor.  That\u0026rsquo;s the only thing I started Windows up for, and it got old.  I wanted something I could manage directly from my primary OS, OS X, as well as lightweight \u0026amp; preferably open source.\u003c/p\u003e","title":"All-In-One Redux - Proxmox \u0026 FreeNAS"},{"content":"Intro There are a million \u0026ldquo;Migrating from Wordpress to Octopress\u0026rdquo; blogs out there. I didn\u0026rsquo;t want to be yet another one, but I had a few thoughts I wanted to get out there. Most Octopress blogs I see out there are owned by developers, and I\u0026rsquo;m a sysadmin. I had been using Wordpress for a long time, \u0026amp; Blogger before that. Octopress is\u0026hellip; different.\nUnderstanding The key to successfully migrating from Wordpress to Octopress is to understand how they\u0026rsquo;re different.\nWordpress is a collection of php scripts you dump into a webserver root, install some dependencies, tweak some config files, \u0026amp; setup a database for it to use. Half of the setup is done through your web browser, \u0026amp; your Wordpress host does all the content generation work. You create a blog post in your browser most likely, \u0026amp; the content is stored in the database backend. When a page is requested, Wordpress\u0026rsquo; php generates it from the database content (usually). This all happens on the server hosting Wordpress itself.\nOctopress is mainly run on your computer. You set up the computer you\u0026rsquo;re using with some dependencies, download Octopress source code, change it a bit to be specific to your website, run commands to manage it \u0026amp; generate new posts, then upload static html files to your webserver root via rsync (usually). You\u0026rsquo;re actually generating the site\u0026rsquo;s content on your computer itself, then deploying it to your webserver via some copy method. All your webserver does is serve static html files. Cool, huh? :)\nIf you were hoping I\u0026rsquo;d describe how to do it, I defer you here: http://octopress.org/docs/. I\u0026rsquo;ve read through those docs many times, as well as other blogs, to gain a better understanding of how Octopress works \u0026amp; how to use it. Hopefully the two paragraphs above will help you get started quicker.\nImpressions I migrated to Octopress in October of 2013 (coincidence). My thoughts of using it so far have been mostly positive. My VPS only has a measly 1 CPU \u0026amp; 512MB RAM. It was really struggling to work with the latest Wordpress \u0026amp; php-fpm, constantly running out of RAM \u0026amp; being very sluggish. Since migrating to Octopress\u0026hellip; Holy Crap! My VPS now sits mainly at idle, barely using any resources. Pages load lightning quick \u0026amp; I have all the plugins I need to generate the kind of content I want.\nI was also surprised at how much crap Wordpress injected into my blog posts when I was using it. Most of the work on my blog from October til now has been fixing the posts, \u0026amp; I\u0026rsquo;m still not done. I definitely appreciate Octopress\u0026rsquo; clean markdown formatting. I\u0026rsquo;m writing this blog post in TextMate, which is a great editor for markdown. I\u0026rsquo;m still learning it\u0026rsquo;s syntax.\nAdvice Some pointers:\nRealize that Octopress is meant for hackers. It has a learning curve. Coming from Wordpress, you won\u0026rsquo;t be comfortable right away. You\u0026rsquo;ll have to learn how to use git, rvm, \u0026amp; ruby to manage Octopress. You don\u0026rsquo;t have to be an expert, but you\u0026rsquo;ll need to learn the basics. Don\u0026rsquo;t ignore git. This will bite you in the ass come upgrade time. Set up your own repo somewhere (the docs show you how), commit changes, \u0026amp; push them there. Consider it a backup. Be aware of changes you make to your computer that you rely on to generate blog posts. Changing your environment could mean stuff stops working in your Octopress instance. But\u0026hellip; \u0026ldquo;But\u0026hellip; I wanted you to show me how to do it step by step!\u0026rdquo;.\nNo.\nRead\u0026hellip; the\u0026hellip; docs. That\u0026rsquo;s the #1 most important step to using Octopress is understanding how it works.\n","permalink":"https://churnd.net/2014/03/30/migrating-from-wordpress-to-octopress/","summary":"\u003ch3 id=\"intro\"\u003eIntro\u003c/h3\u003e\n\u003cp\u003eThere are a million \u0026ldquo;Migrating from Wordpress to Octopress\u0026rdquo; blogs out there.  I didn\u0026rsquo;t want to be yet another one, but I had a few thoughts I wanted to get out there.  Most Octopress blogs I see out there are owned by developers, and I\u0026rsquo;m a sysadmin.  I had been using Wordpress for a long time, \u0026amp; Blogger before that.  Octopress is\u0026hellip; different.\u003c/p\u003e","title":"Migrating from Wordpress to Octopress"},{"content":"I\u0026rsquo;m a sysadmin who\u0026rsquo;s partial to Mac OS X.\nThis blog is my personal blog of which I am personally responsible. The comments here are my own opinion. It in no way reflects upon my employer.\nTwitter\nStackExchange\nFreenode\n","permalink":"https://churnd.net/about/","summary":"\u003cp\u003eI\u0026rsquo;m a sysadmin who\u0026rsquo;s partial to Mac OS X.\u003c/p\u003e\n\u003cp\u003eThis blog is my personal blog of which I am personally responsible.  The comments here are my own opinion.  It in no way reflects upon my employer.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"http://twitter.com/churnd\"\u003eTwitter\u003c/a\u003e\u003cbr /\u003e\n\u003ca href=\"http://stackexchange.com/users/40149/churnd\"\u003eStackExchange\u003c/a\u003e\u003cbr /\u003e\n\u003ca href=\"irc://##systemadmins\"\u003eFreenode\u003c/a\u003e\u003c/p\u003e","title":"About"},{"content":"Following up on my last post, Netatalk on NexentaStor, I mentioned there that I only use Time Machine for \u0026ldquo;bare metal\u0026rdquo; type backups. As in if I need to restore something specific to the OS itself, or reload the OS in event of a hardware failure. I use CrashPlan for all my actual data backups, because I think it\u0026rsquo;s superior to Time Machine. For why I think that, check out the details. I\u0026rsquo;ve also had Time Machine crap out on me more than once when the disk gets full \u0026amp; tries to expire too much data, the only solution being to wipe the drive \u0026amp; start backups over. Not cool. Never had that problem with CrashPlan.\nCrashplan is also the only backup solution I know of that is really cross-platform \u0026amp; allows free local backups. They support Windows, Mac, Linux, \u0026amp; Solaris, \u0026amp; state that FreeBSD support is coming. Can\u0026rsquo;t beat that. I will say though, this is not supported by Crashplan or NexentaStor. Installing it requires some workarounds because Nexenta uses apt as it\u0026rsquo;s underlying package management tool, whereas Crashplan is a pkg type installer. There are other ways to install it besides this one, but I like this one better because other ways I\u0026rsquo;ve read involve mixing the Crashplan Linux \u0026amp; Solaris installers. In reality, that may be just fine since Crashplan is mostly a java app, but still… I want 100% Solaris if I can get it. So this install is a two step process, \u0026amp; takes a little longer. It involves setting up an OpenIndiana VM, installing Crashplan to that, then copying the files over to NexentaStor. Simple enough, right? I\u0026rsquo;m assuming you have working OpenIndiana \u0026amp; NexentaStor instances \u0026amp; that you can ssh between each as root. To install Crashplan on OpenIndiana, it\u0026rsquo;s pretty straightforward:\nMake sure it has java installed: pkg install jdk Download the Solaris installer from Crashplan.com \u0026amp; untar to /tmp Install it: cd /tmp \u0026amp;\u0026amp; pkgadd -d . The install process shows you everything you need to know, but in case you didn\u0026rsquo;t copy it down: Terminal Installing CrashPlan as \u0026lt;CrashPlan\u0026gt; ## Executing preinstall script. ## Installing part 1 of 1. /opt/sfw/crashplan/bin/CrashPlan.desktop /opt/sfw/crashplan/bin/CrashPlanDesktop /opt/sfw/crashplan/bin/CrashPlanEngine /opt/sfw/crashplan/bin/crashplan.xml /opt/sfw/crashplan/bin/restart_solaris.sh /opt/sfw/crashplan/bin/run.conf /opt/sfw/crashplan/client-build.properties /opt/sfw/crashplan/conf/custom_sample.properties /opt/sfw/crashplan/conf/default.service.xml /opt/sfw/crashplan/conf/service.log.properties /opt/sfw/crashplan/conf/ui.log.properties /opt/sfw/crashplan/conf/ui.properties /opt/sfw/crashplan/conf/upgradeui.log.properties /opt/sfw/crashplan/conf/upgradeui.properties /opt/sfw/crashplan/doc/EULA /opt/sfw/crashplan/doc/readme.html /opt/sfw/crashplan/doc/readme.odt /opt/sfw/crashplan/doc/readme.pdf /opt/sfw/crashplan/doc/readme.rtf /opt/sfw/crashplan/installer/solaris/.defaults /opt/sfw/crashplan/installer/solaris/EULA /opt/sfw/crashplan/jniwrap.lic /opt/sfw/crashplan/lang/txt.properties /opt/sfw/crashplan/lang/txt_ca.properties /opt/sfw/crashplan/lang/txt_da.properties /opt/sfw/crashplan/lang/txt_de.properties /opt/sfw/crashplan/lang/txt_en.properties /opt/sfw/crashplan/lang/txt_es.properties /opt/sfw/crashplan/lang/txt_es_AR.properties /opt/sfw/crashplan/lang/txt_es_ES.properties /opt/sfw/crashplan/lang/txt_es_MX.properties /opt/sfw/crashplan/lang/txt_fi.properties /opt/sfw/crashplan/lang/txt_fr.properties /opt/sfw/crashplan/lang/txt_hu.properties /opt/sfw/crashplan/lang/txt_it.properties /opt/sfw/crashplan/lang/txt_ja.properties /opt/sfw/crashplan/lang/txt_nl.properties /opt/sfw/crashplan/lang/txt_no.properties /opt/sfw/crashplan/lang/txt_pl.properties /opt/sfw/crashplan/lang/txt_pt.properties /opt/sfw/crashplan/lang/txt_pt_BR.properties /opt/sfw/crashplan/lang/txt_sv.properties /opt/sfw/crashplan/lang/txt_th.properties /opt/sfw/crashplan/lang/txt_tr.properties /opt/sfw/crashplan/lang/txt_zh.properties /opt/sfw/crashplan/lang/txt_zh_TW.properties /opt/sfw/crashplan/lib/c42_protolib.jar /opt/sfw/crashplan/lib/com.backup42.desktop.jar /opt/sfw/crashplan/lib/com.jniwrapper.jniwrap.jar /opt/sfw/crashplan/lib/com.jniwrapper.macpack.jar /opt/sfw/crashplan/lib/com.jniwrapper.winpack.jar /opt/sfw/crashplan/lib/commons-collections-3.2.1-mini.jar /opt/sfw/crashplan/lib/commons-jxpath-1.1.jar /opt/sfw/crashplan/lib/jna-3.2.5.jar /opt/sfw/crashplan/lib/json-20070829.jar /opt/sfw/crashplan/lib/json-lib-2.4.jar /opt/sfw/crashplan/lib/jtux.jar /opt/sfw/crashplan/lib/log4j-1.2.16.jar /opt/sfw/crashplan/lib/miglayout15-swt.jar /opt/sfw/crashplan/lib/org.eclipse.core.commands_3.6.1.v20120814-150512.jar /opt/sfw/crashplan/lib/org.eclipse.equinox.common_3.6.100.v20120522-1841.jar /opt/sfw/crashplan/lib/org.eclipse.jface_3.8.101.v20120817-083647.jar /opt/sfw/crashplan/lib/org.eclipse.osgi_3.8.1.v20120830-144521.jar /opt/sfw/crashplan/lib/protobuf-java-2.4.1.jar /opt/sfw/crashplan/lib/rhino-1.7r3.jar /opt/sfw/crashplan/lib/sbbi-upnplib-1.0.4.jar /opt/sfw/crashplan/lib/slf4j-api-1.6.1.jar /opt/sfw/crashplan/lib/slf4j-log4j12-1.6.1.jar /opt/sfw/crashplan/lib/swt.jar /opt/sfw/crashplan/lib/trove-3.0.2.jar /opt/sfw/crashplan/lib/twitter4j.jar /opt/sfw/crashplan/libjtux.so /opt/sfw/crashplan/skin/icon_app_128x128.png /opt/sfw/crashplan/skin/icon_app_16x16.png /opt/sfw/crashplan/skin/icon_app_32x32.png /opt/sfw/crashplan/skin/icon_app_64x64.png /opt/sfw/crashplan/skin/logo_main.png /opt/sfw/crashplan/skin/skin.properties /opt/sfw/crashplan/skin/splash_default.png /opt/sfw/crashplan/skin/splash_plus.png /opt/sfw/crashplan/skin/window_bg.jpg /opt/sfw/crashplan/upgrade/start.bat /opt/sfw/crashplan/upgrade/start.sh /opt/sfw/crashplan/upgrade/startDesktop.bat /opt/sfw/crashplan/upgrade/startDesktop.sh /opt/sfw/crashplan/upgrade/startDesktopLinux.sh /opt/sfw/crashplan/upgrade/startDesktopSolaris.sh /opt/sfw/crashplan/upgrade/startFirst.sh /opt/sfw/crashplan/upgrade/startLinux.sh /opt/sfw/crashplan/upgrade/startSolaris.sh [ verifying class \u0026lt;none\u0026gt; ] ## Executing postinstall script. log dir: /opt/sfw/crashplan/log mkdir: /opt/sfw/crashplan/log: [File exists] adjusting service xml paths adjusting manifest path creating identity path CrashPlan has been installed. Important directories: Installation: /opt/sfw/crashplan Logs: /opt/sfw/crashplan/log Default archive location: /opt/sfw/var/crashplan Start Script (run as root): /opt/sfw/crashplan/bin/CrashPlanEngine start|stop Start Desktop UI: /opt/sfw/crashplan/bin/CrashPlanDesktop You may connect a remote Desktop UI to this Service via port-forwarding and manage it remotely. Instructions for remote management are in the readme files placed in your installation directory: /opt/sfw/crashplan/doc To enable CrashPlan as a service (as root): /usr/sbin/svccfg import /opt/sfw/crashplan/bin/crashplan.xml /usr/sbin/svcadm enable crashplan Thank you for installing CrashPlan for Solaris. Installation of CrashPlan was successful. Notice the last step details how to import Crashplan\u0026rsquo;s SMF manifest, so you can manage the service in true Solaris form. You don\u0026rsquo;t have to do that on OpenIndiana, but no harm in doing so at this point. Now we want to get all that stuff over to NexentaStor, so as root:\nTerminal #rsync -av --progress /opt/sfw nexentastor:/opt/ README VERY IMPORTANT: this assumes there is no /opt/sfw on your NexentaStor install already!! It\u0026rsquo;s a pretty safe bet as NexentaStor doesn\u0026rsquo;t install anything there, but please make sure yourself. Also replace \u0026ldquo;nexentastor\u0026rdquo; with the name of your NexentaStor server, or it\u0026rsquo;s IP. Enter the root password \u0026amp; it\u0026rsquo;ll do it\u0026rsquo;s thing. You should see each item it copies print out to the screen:\nTerminal # rsync -av --progress /opt/ nexentastor:/opt/ Password: sending incremental file list ./ sfw/ sfw/crashplan/ sfw/crashplan/client-build.properties 171 100% 0.43kB/s 0:00:00 (xfer#775, to-check=102/1161) sfw/crashplan/install.vars 154 100% 0.39kB/s 0:00:00 (xfer#776, to-check=101/1161) sfw/crashplan/jniwrap.lic 330 100% 0.83kB/s 0:00:00 (xfer#777, to-check=100/1161) sfw/crashplan/libjtux.so 72762 100% 38.14MB/s 0:00:00 (xfer#778, to-check=99/1161) sfw/crashplan/bin/ sfw/crashplan/bin/CrashPlan.desktop 290 100% 283.20kB/s 0:00:00 (xfer#779, to-check=89/1161) sfw/crashplan/bin/CrashPlanDesktop 307 100% 299.80kB/s 0:00:00 (xfer#780, to-check=88/1161) sfw/crashplan/bin/CrashPlanEngine 1508 100% 1.44MB/s 0:00:00 (xfer#781, to-check=87/1161) sfw/crashplan/bin/crashplan.xml 1858 100% 1.77MB/s 0:00:00 (xfer#782, to-check=86/1161) sfw/crashplan/bin/restart_solaris.sh 862 100% 841.80kB/s 0:00:00 (xfer#783, to-check=85/1161) sfw/crashplan/bin/run.conf 479 100% 467.77kB/s 0:00:00 (xfer#784, to-check=84/1161) sfw/crashplan/conf/ sfw/crashplan/conf/custom_sample.properties 3368 100% 3.21MB/s 0:00:00 (xfer#785, to-check=83/1161) sfw/crashplan/conf/default.service.xml 872 100% 851.56kB/s 0:00:00 (xfer#786, to-check=82/1161) sfw/crashplan/conf/service.log.properties 750 100% 732.42kB/s 0:00:00 (xfer#787, to-check=81/1161) sfw/crashplan/conf/ui.log.properties 467 100% 456.05kB/s 0:00:00 (xfer#788, to-check=80/1161) sfw/crashplan/conf/ui.properties 277 100% 135.25kB/s 0:00:00 (xfer#789, to-check=79/1161) sfw/crashplan/conf/upgradeui.log.properties 1013 100% 494.63kB/s 0:00:00 (xfer#790, to-check=78/1161) sfw/crashplan/conf/upgradeui.properties 44 100% 21.48kB/s 0:00:00 (xfer#791, to-check=77/1161) sfw/crashplan/doc/ sfw/crashplan/doc/EULA 44099 100% 21.03MB/s 0:00:00 (xfer#792, to-check=76/1161) sfw/crashplan/doc/readme.html 16041 100% 5.10MB/s 0:00:00 (xfer#793, to-check=75/1161) sfw/crashplan/doc/readme.odt 69754 100% 16.63MB/s 0:00:00 (xfer#794, to-check=74/1161) sfw/crashplan/doc/readme.pdf 40088 100% 7.65MB/s 0:00:00 (xfer#795, to-check=73/1161) sfw/crashplan/doc/readme.rtf 41636 100% 6.62MB/s 0:00:00 (xfer#796, to-check=72/1161) sfw/crashplan/installer/ sfw/crashplan/installer/solaris/ sfw/crashplan/installer/solaris/.defaults 83 100% 11.58kB/s 0:00:00 (xfer#797, to-check=70/1161) sfw/crashplan/installer/solaris/EULA 44099 100% 4.67MB/s 0:00:00 (xfer#798, to-check=69/1161) sfw/crashplan/lang/ sfw/crashplan/lang/txt.properties 74570 100% 6.47MB/s 0:00:00 (xfer#799, to-check=68/1161) sfw/crashplan/lang/txt_ca.properties 83061 100% 6.09MB/s 0:00:00 (xfer#800, to-check=67/1161) sfw/crashplan/lang/txt_da.properties 73754 100% 5.02MB/s 0:00:00 (xfer#801, to-check=66/1161) sfw/crashplan/lang/txt_de.properties 82420 100% 4.91MB/s 0:00:00 (xfer#802, to-check=65/1161) sfw/crashplan/lang/txt_en.properties 288 100% 17.58kB/s 0:00:00 (xfer#803, to-check=64/1161) sfw/crashplan/lang/txt_es.properties 82806 100% 4.39MB/s 0:00:00 (xfer#804, to-check=63/1161) sfw/crashplan/lang/txt_es_AR.properties 81945 100% 3.91MB/s 0:00:00 (xfer#805, to-check=62/1161) sfw/crashplan/lang/txt_es_ES.properties 80929 100% 3.51MB/s 0:00:00 (xfer#806, to-check=61/1161) sfw/crashplan/lang/txt_es_MX.properties 69105 100% 2.87MB/s 0:00:00 (xfer#807, to-check=60/1161) sfw/crashplan/lang/txt_fi.properties 79646 100% 3.04MB/s 0:00:00 (xfer#808, to-check=59/1161) sfw/crashplan/lang/txt_fr.properties 84919 100% 3.00MB/s 0:00:00 (xfer#809, to-check=58/1161) sfw/crashplan/lang/txt_hu.properties 89918 100% 2.96MB/s 0:00:00 (xfer#810, to-check=57/1161) sfw/crashplan/lang/txt_it.properties 75391 100% 2.32MB/s 0:00:00 (xfer#811, to-check=56/1161) sfw/crashplan/lang/txt_ja.properties 130198 100% 3.65MB/s 0:00:00 (xfer#812, to-check=55/1161) sfw/crashplan/lang/txt_nl.properties 73500 100% 2.00MB/s 0:00:00 (xfer#813, to-check=54/1161) sfw/crashplan/lang/txt_no.properties 73788 100% 1.90MB/s 0:00:00 (xfer#814, to-check=53/1161) sfw/crashplan/lang/txt_pl.properties 80730 100% 1.97MB/s 0:00:00 (xfer#815, to-check=52/1161) sfw/crashplan/lang/txt_pt.properties 75719 100% 1.76MB/s 0:00:00 (xfer#816, to-check=51/1161) sfw/crashplan/lang/txt_pt_BR.properties 79742 100% 1.81MB/s 0:00:00 (xfer#817, to-check=50/1161) sfw/crashplan/lang/txt_sv.properties 79567 100% 1.72MB/s 0:00:00 (xfer#818, to-check=49/1161) sfw/crashplan/lang/txt_th.properties 208127 100% 4.05MB/s 0:00:00 (xfer#819, to-check=48/1161) sfw/crashplan/lang/txt_tr.properties 89075 100% 1.67MB/s 0:00:00 (xfer#820, to-check=47/1161) sfw/crashplan/lang/txt_zh.properties 92387 100% 1.66MB/s 0:00:00 (xfer#821, to-check=46/1161) sfw/crashplan/lang/txt_zh_TW.properties 91989 100% 1.57MB/s 0:00:00 (xfer#822, to-check=45/1161) sfw/crashplan/lib/ sfw/crashplan/lib/c42_protolib.jar 1290808 100% 389.42kB/s 0:00:03 (xfer#823, to-check=44/1161) sfw/crashplan/lib/com.backup42.desktop.jar 5716574 100% 606.34kB/s 0:00:09 (xfer#824, to-check=43/1161) sfw/crashplan/lib/com.jniwrapper.jniwrap.jar 215243 100% 4.89MB/s 0:00:00 (xfer#825, to-check=42/1161) sfw/crashplan/lib/com.jniwrapper.macpack.jar 1285054 100% 418.31kB/s 0:00:03 (xfer#826, to-check=41/1161) sfw/crashplan/lib/com.jniwrapper.winpack.jar 706581 100% 21.74MB/s 0:00:00 (xfer#827, to-check=40/1161) sfw/crashplan/lib/commons-collections-3.2.1-mini.jar 24481 100% 771.20kB/s 0:00:00 (xfer#828, to-check=39/1161) sfw/crashplan/lib/commons-jxpath-1.1.jar 268794 100% 6.93MB/s 0:00:00 (xfer#829, to-check=38/1161) sfw/crashplan/lib/jna-3.2.5.jar 946973 100% 9.82MB/s 0:00:00 (xfer#830, to-check=37/1161) sfw/crashplan/lib/json-20070829.jar 41829 100% 8.64MB/s 0:00:00 (xfer#831, to-check=36/1161) sfw/crashplan/lib/json-lib-2.4.jar 159123 100% 25.29MB/s 0:00:00 (xfer#832, to-check=35/1161) sfw/crashplan/lib/jtux.jar 41291 100% 5.63MB/s 0:00:00 (xfer#833, to-check=34/1161) sfw/crashplan/lib/log4j-1.2.16.jar 481534 100% 24.17MB/s 0:00:00 (xfer#834, to-check=33/1161) sfw/crashplan/lib/miglayout15-swt.jar 69028 100% 3.13MB/s 0:00:00 (xfer#835, to-check=32/1161) sfw/crashplan/lib/org.eclipse.core.commands_3.6.1.v20120814-150512.jar 108731 100% 4.51MB/s 0:00:00 (xfer#836, to-check=31/1161) sfw/crashplan/lib/org.eclipse.equinox.common_3.6.100.v20120522-1841.jar 106763 100% 4.07MB/s 0:00:00 (xfer#837, to-check=30/1161) sfw/crashplan/lib/org.eclipse.jface_3.8.101.v20120817-083647.jar 1090959 100% 20.81MB/s 0:00:00 (xfer#838, to-check=29/1161) sfw/crashplan/lib/org.eclipse.osgi_3.8.1.v20120830-144521.jar 1396459 100% 219.43kB/s 0:00:06 (xfer#839, to-check=28/1161) sfw/crashplan/lib/protobuf-java-2.4.1.jar 450279 100% 13.42MB/s 0:00:00 (xfer#840, to-check=27/1161) sfw/crashplan/lib/rhino-1.7r3.jar 1122370 100% 17.55MB/s 0:00:00 (xfer#841, to-check=26/1161) sfw/crashplan/lib/sbbi-upnplib-1.0.4.jar 81591 100% 1.26MB/s 0:00:00 (xfer#842, to-check=25/1161) sfw/crashplan/lib/slf4j-api-1.6.1.jar 25496 100% 0.00kB/s 0:00:00 (xfer#843, to-check=24/1161) sfw/crashplan/lib/slf4j-log4j12-1.6.1.jar 9753 100% 9.30MB/s 0:00:00 (xfer#844, to-check=23/1161) sfw/crashplan/lib/swt.jar 1641584 100% 42.31MB/s 0:00:00 (xfer#845, to-check=22/1161) sfw/crashplan/lib/trove-3.0.2.jar 2522902 100% 801.23kB/s 0:00:03 (xfer#846, to-check=21/1161) sfw/crashplan/lib/twitter4j.jar 284059 100% 6.45MB/s 0:00:00 (xfer#847, to-check=20/1161) sfw/crashplan/log/ sfw/crashplan/skin/ sfw/crashplan/skin/icon_app_128x128.png 9576 100% 217.48kB/s 0:00:00 (xfer#848, to-check=19/1161) sfw/crashplan/skin/icon_app_16x16.png 813 100% 18.46kB/s 0:00:00 (xfer#849, to-check=18/1161) sfw/crashplan/skin/icon_app_32x32.png 2099 100% 47.67kB/s 0:00:00 (xfer#850, to-check=17/1161) sfw/crashplan/skin/icon_app_64x64.png 5094 100% 115.69kB/s 0:00:00 (xfer#851, to-check=16/1161) sfw/crashplan/skin/logo_main.png 9960 100% 226.20kB/s 0:00:00 (xfer#852, to-check=15/1161) sfw/crashplan/skin/skin.properties 56 100% 1.27kB/s 0:00:00 (xfer#853, to-check=14/1161) sfw/crashplan/skin/splash_default.png 244581 100% 4.76MB/s 0:00:00 (xfer#854, to-check=13/1161) sfw/crashplan/skin/splash_plus.png 244858 100% 4.25MB/s 0:00:00 (xfer#855, to-check=12/1161) sfw/crashplan/skin/window_bg.jpg 213440 100% 64.13kB/s 0:00:03 (xfer#856, to-check=11/1161) sfw/crashplan/upgrade/ sfw/crashplan/upgrade/start.bat 127 100% 124.02kB/s 0:00:00 (xfer#857, to-check=10/1161) sfw/crashplan/upgrade/start.sh 174 100% 169.92kB/s 0:00:00 (xfer#858, to-check=9/1161) sfw/crashplan/upgrade/startDesktop.bat 92 100% 89.84kB/s 0:00:00 (xfer#859, to-check=8/1161) sfw/crashplan/upgrade/startDesktop.sh 312 100% 304.69kB/s 0:00:00 (xfer#860, to-check=7/1161) sfw/crashplan/upgrade/startDesktopLinux.sh 135 100% 131.84kB/s 0:00:00 (xfer#861, to-check=6/1161) sfw/crashplan/upgrade/startDesktopSolaris.sh 137 100% 133.79kB/s 0:00:00 (xfer#862, to-check=5/1161) sfw/crashplan/upgrade/startFirst.sh 87 100% 84.96kB/s 0:00:00 (xfer#863, to-check=4/1161) sfw/crashplan/upgrade/startLinux.sh 211 100% 206.05kB/s 0:00:00 (xfer#864, to-check=3/1161) sfw/crashplan/upgrade/startSolaris.sh 213 100% 208.01kB/s 0:00:00 (xfer#865, to-check=2/1161) sfw/crashplan/upgrade/UpgradeUI/ sfw/var/ sfw/var/crashplan/ sent 26794580 bytes received 17392 bytes 589274.11 bytes/sec total size is 26730067 speedup is 1.00 Make sure java is installed on NexentaStor:\nTerminal apt-get install sun-java6-jre Lastly, run the two commands the install script shows you on NexentaStor as root:\nTerminal #/usr/sbin/svccfg import /opt/sfw/crashplan/bin/crashplan.xml #/usr/sbin/svcadm enable crashplan Keep in mind you have to be in a pure root bash shell, not NMC, to do this on NexentaStor. Now verify it\u0026rsquo;s running:\nTerminal # svcs | grep crash online 22:22:52 svc:/crashplan:default Good! All that\u0026rsquo;s left is to configure it. Crashplan has instructions on their site: Configure a Headless Client. The last step is to create a ZFS folder for Crashplan to store it\u0026rsquo;s backups in. This is easy enough in NexentaStor, just create a folder on the ZFS pool you want \u0026amp; set it up accordingly. I have mine set to use compression, but that\u0026rsquo;s it. Crashplan does deduplication \u0026amp; more compression itself, so I figure that\u0026rsquo;s plenty.\nI vaguely recall having some problems getting Crashplan to see the /volumes directory where NexentaStor mounts it\u0026rsquo;s pools \u0026amp; folders. What I had to do was to disable Crashplan, go into /opt/sfw/crashplan/conf, \u0026amp; edit I think the my.service.xml file to include the location manually. My memory\u0026rsquo;s fuzzy on that, \u0026amp; I found the solution by Googling so I\u0026rsquo;d recommend doing that if you get stuck with the same problem. It\u0026rsquo;d be pretty cool to see NexentaStor create a plugin for Crashplan, where the installation would be as simple as a click \u0026amp; it would be managed by NMV. Wouldn\u0026rsquo;t take much, I don\u0026rsquo;t think. Maybe in v4. ;)\n","permalink":"https://churnd.net/2013/10/26/crashplan-on-nexentastor/","summary":"\u003cp\u003eFollowing up on my last post, \u003ca href=\"/2013/02/11/netatalk-3-afp-on-nexentastor/\" title=\"Netatalk 3 (AFP) on NexentaStor - #!\"\u003eNetatalk on NexentaStor\u003c/a\u003e, I mentioned there that I only use Time Machine for \u0026ldquo;bare metal\u0026rdquo; type backups.  As in if I need to restore something specific to the OS itself, or reload the OS in event of a hardware failure.  I use \u003ca title=\"CrashPlan\" href=\"http://www.crashplan.com\" target=\"_blank\" rel=\"homepage\"\u003eCrashPlan\u003c/a\u003e for all my actual data backups, because I think it\u0026rsquo;s superior to Time Machine.  For why I think that, check out the \u003ca href=\"http://www.crashplan.com/consumer/details.html\" target=\"_blank\"\u003edetails\u003c/a\u003e.  I\u0026rsquo;ve also had Time Machine crap out on me more than once when the disk gets full \u0026amp; tries to expire too much data, the only solution being to wipe the drive \u0026amp; start backups over.  Not cool.  Never had that problem with CrashPlan.\u003c/p\u003e","title":"CrashPlan on NexentaStor"},{"content":"My 3 year old son has been using my wife\u0026rsquo;s iPad since he was 1. He\u0026rsquo;s pretty good at it \u0026amp; we think it adds some valuable child development skills. Of course, we use a heavy duty case, but we haven\u0026rsquo;t really had an instance where he tried to break it. It\u0026rsquo;s great for things like Netflix for Kids \u0026amp; playing Angry Birds, but also educational apps that makes learning how to count \u0026amp; spell more fun. He\u0026rsquo;s doing pretty well in those areas so we think it\u0026rsquo;s been worth it. However, we have to be careful not to let him get too addicted to it. We kinda fell into this rut a little, especially since our second son was born in December \u0026amp; it\u0026rsquo;s easier to let the 3 year old keep himself occupied with the iPad. We\u0026rsquo;re scaling back, but in the process I looked for ways to make limiting usage a little easier.\nFirst place I looked were on the iOS restrictions themselves. Unfortunately there\u0026rsquo;s no time limits there yet. It would be nice if Apple built something into iOS that locks the device between certain hours or after X amount of hours. I also looked for a way to limit the volume setting, because my son liked to turn it up full blast all the time. This doesn\u0026rsquo;t seem to be possible either, at least not universally across apps. I wound up putting a strip of scotch tape over the speaker, which works pretty well. The audio is still audible, but at a much more pleasant level.\nSecond place I looked were 3rd party apps. I found a few like TimeLock \u0026amp; KidTime, but none of them seem to have very solid reviews. I didn\u0026rsquo;t want to invest the time into getting them working if they weren\u0026rsquo;t going to work well.\nThird place I looked was for ideas in limiting device usage on the network. I have a pfSense box doing all my firewall/routing stuff, so I figured surely there must be a way. There is, called Captive Portal, but it\u0026rsquo;s way more complicated than what I\u0026rsquo;d need.\nWhat I finally wound up doing is going with something I kinda just stumbled upon. I also have an Apple Airport Extreme at home that serves as my primary wireless access point. I was browsing through it\u0026rsquo;s settings one day \u0026amp; stumbled upon a feature called Timed Access Control. It\u0026rsquo;s pretty easy to set up too. In Airport Utility, select your Airport Extreme, Edit, then click on the Network tab. You\u0026rsquo;ll see the option at the bottom:\nJust check it \u0026amp; click the Timed Access Control button. A new window will come up where you\u0026rsquo;ll configure the individual devices. The \u0026ldquo;default\u0026rdquo; setting allows all devices, \u0026amp; you can\u0026rsquo;t get rid of it, but you can set wifi usage limits on all devices if you want to. What you\u0026rsquo;ll want to do is add another device by clicking \u0026ldquo;+\u0026rdquo;, then giving it a name:\nThe most important part is identifying the devices MAC address of the wireless device you\u0026rsquo;re trying to limit. There are several ways to do it, but probably the easiest is to pull it up on the iPad itself:\nYou can see in the above picture the limits are pretty flexible. I can set stricter limits during the weekdays, but loosen them up a little on the weekends. I can already tell I\u0026rsquo;m going to have fun with this stuff as they get older\u0026hellip; setting parental controls \u0026amp; the like. They\u0026rsquo;ll probably call me evil computer dictator Dad. I\u0026rsquo;m OK with that. This setting has been working as expected, no network traffic on my wife\u0026rsquo;s iPad during certain hours. It doesn\u0026rsquo;t prevent them from using the iPad completely, but most of what he does involves network related stuff anyway (Netflix), so if that stops working, he usually loses interest. Win.\nThat said, this isn\u0026rsquo;t impossible to get around. Mac addresses can be easily spoofed. If my 3 year old figures out how to do that on this iPad, I\u0026rsquo;ll let him have it because he\u0026rsquo;s obviously wicked smart \u0026amp; doesn\u0026rsquo;t need me telling him what to do. :)\n","permalink":"https://churnd.net/2013/04/07/limiting-your-kids-ipad-usage/","summary":"\u003cp\u003eMy 3 year old son has been using my wife\u0026rsquo;s \u003ca title=\"iPad\" href=\"http://www.apple.com/ipad/\" target=\"_blank\" rel=\"homepage\"\u003eiPad\u003c/a\u003e since he was 1.  He\u0026rsquo;s pretty good at it \u0026amp; we think it adds some valuable child development skills.  Of course, we use a heavy duty case, but we haven\u0026rsquo;t really had an instance where he tried to break it.  It\u0026rsquo;s great for things like \u003ca title=\"Netflix\" href=\"http://www.netflix.com/\" target=\"_blank\" rel=\"homepage\"\u003eNetflix\u003c/a\u003e for Kids \u0026amp; playing Angry Birds, but also educational apps that makes learning how to count \u0026amp; spell more fun.  He\u0026rsquo;s doing pretty well in those areas so we think it\u0026rsquo;s been worth it.  However, we have to be careful not to let him get too addicted to it.  We kinda fell into this rut a little, especially since our second son was born in December \u0026amp; it\u0026rsquo;s easier to let the 3 year old keep himself occupied with the iPad.  We\u0026rsquo;re scaling back, but in the process I looked for ways to make limiting usage a little easier.\u003c/p\u003e","title":"Limiting your kids iPad usage"},{"content":"NexentaStor is NCP (Nexenta Core Platform) underneath, so you really do have all the power \u0026amp; flexibility of an open unix system. That\u0026rsquo;s one of the reasons I love the project. If you want to add on additional functionality, it\u0026rsquo;s not so hard to do so. Everything I\u0026rsquo;ve done to \u0026ldquo;extend\u0026rdquo; NexentaStor to my liking has not interfered with the core NMV/NMC functionality. That said, one of the great things about apt in Solaris is apt-clone; something gets messed up, you can revert your system back leveraging the power of ZFS snapshots. So, when installing a lot of stuff using apt, use apt-clone instead of apt-get.\nOne of the things I wanted to use all that disk space I have in my ZFS/ESXi All-In-One for is Time Machine Backups for the 3 Macs in my house. I use a combination of Time Machine \u0026amp; CrashPlan for my backups. Yes, I\u0026rsquo;m using CrashPlan on NexentaStor as well; that\u0026rsquo;s a future post.\nThe recent surge in popularity of the Mac OS has really helped the open source project Netatalk. Netatalk has been around a while, and it\u0026rsquo;s still going strong. The latest release, v3, looks to have been a big re-write in how Netatalk works. The biggest change I can see is that configuration is a lot easier \u0026amp; the CNID backends now go into a database rather than \u0026ldquo;hidden\u0026rdquo; folders on the shares themselves. Nice! Also, the feature we want that\u0026rsquo;s been present since a later version of 2, built-in Time Machine support.\nThe writeup I pulled from exists on NexentaStor\u0026rsquo;s wiki: http://www.nexentastor.org/wiki/site/AFP_with_TimeMachine. However, that\u0026rsquo;s for v2, but thankfully v3 is similar.\nTo start, we need to fall to a \u0026ldquo;raw\u0026rdquo; root shell in NexentaStor. I say \u0026ldquo;raw\u0026rdquo; because trying to become root on NexentaStor defaults to NMC (Nexenta Management Console), which is a command-line menu-driven shell designed by Nexenta to manage the main functionality of NexentaStor. So, to become root from NMC:\nTerminal nmc@nexentastor:/$ option expert_mode = 1 nmc@nexentastor:/$ !bash You are about to enter the Unix (\u0026#34;raw\u0026#34;) shell and execute low-level Unix command(s). Warning: using low-level Unix commands is not recommended! Execute? Yes root@nexentastor:/volumes# Now we need to install Netatalk\u0026rsquo;s prerequisites. Thankfully, they are all in the repositories so we don\u0026rsquo;t have to compile any of these from source (that can be a real pain). Let\u0026rsquo;s install them:\nTerminal root@nexentastor:~# apt-clone install db4.6-util libdb4.6-dev libssl0.9.8k-dev libldap2-dev You may notice netatalk does exist in the repositories as well, but that version is pretty old. I\u0026rsquo;m not sure if it supports Time Machine or not. Anyway, we want v3, so we\u0026rsquo;ll download the source, extract it, and install it:\nTerminal root@nexentastor:~# wget http://sourceforge.net/projects/netatalk/files/netatalk/3.0.2/netatalk-3.0.2.tar.gz/download root@nexentastor:~# tar -zxvf netatalk-3.0.2.tar.gz root@nexentastor:~# cd netatalk-3.0.2 How we configure the source is the key to getting it working well on NexentaStor, as well as setting things how you like it. \u0026ldquo;./configure \u0026ndash;help\u0026rdquo; will show you all the available options. Here\u0026rsquo;s what I did:\nTerminal root@nexentastor:~/netatalk-3.0.2# ./configure --prefix=/usr --sysconfdir=/etc/netatalk --with-init-style=solaris --without-ddp I think the most important option in this case is \u0026ldquo;\u0026ndash;with-init-style=solaris\u0026rdquo;, because this will register Netatalk with SMF so we can use it to start/stop it true Solaris style. The important thing here is you don\u0026rsquo;t want any errors when configure finishes. The last output of configure should be a summary of your options you configured with (including Netatalk\u0026rsquo;s defaults). If it errors, it\u0026rsquo;s most likely a missing dependency but we got them all so it shouldn\u0026rsquo;t fail. The rest is pretty straightforward, typical make install:\nTerminal root@nexentastor:~/netatalk-3.0.2# make \u0026amp;\u0026amp; make install In case you aren\u0026rsquo;t familiar, \u0026ldquo;make\u0026rdquo; compiles the code how it\u0026rsquo;s specified by \u0026ldquo;configure\u0026rdquo; and \u0026ldquo;make install\u0026rdquo; puts it all in place \u0026amp; takes care of post-configuration. The main binary of Netatalk is afpd, so let\u0026rsquo;s check it out:\nTerminal root@nexentastor:~/netatalk-3.0.2# afpd -v afpd 3.0.2 - Apple Filing Protocol (AFP) daemon of Netatalk This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Please see the file COPYING for further information and details. afpd has been compiled with support for these features: AFP versions: 2.2 3.0 3.1 3.2 3.3 CNID backends: dbd last tdb afp.conf: /etc/netatalk/afp.conf extmap.conf: /etc/netatalk/extmap.conf state directory: /usr/var/netatalk/ afp_signature.conf: /usr/var/netatalk/afp_signature.conf afp_voluuid.conf: /usr/var/netatalk/afp_voluuid.conf UAM search path: /usr/lib/netatalk/ Server messages path: /usr/var/netatalk/msg/ Now we need to define some shares to serve out over AFP. I will admit the documentation on Netatalk\u0026rsquo;s website is a little sparse as to what\u0026rsquo;s available. \u0026ldquo;man afp.conf\u0026rdquo; contains everything you need to know, but the options available can be a little overwhelming to someone not familiar with AFP. Here\u0026rsquo;s my configuration to give a working example:\nTerminal ; ; Netatalk 3.x configuration file ; [Global] ; Global server settings log file = /var/log/netatalk.log uam list = uams_dhx.so,uams_dhx2.so save password = no aclinherit = passthrough aclmode = passthrough [Homes] basedir regex = /home [Software] path = /tank/Software [Warp] path = /tank/Warp time machine = yes The value \u0026ldquo;time machine = yes\u0026rdquo; enables the Time Machine destination option for that share. You can see I\u0026rsquo;ve created separate ZFS \u0026ldquo;folders\u0026rdquo; on the ZFS pool tank. So my method is to create a ZFS filesystem (folder) if I need a new share, then add it to afp.conf.\nNow we turn it on:\nTerminal root@nexentastor:~/netatalk-3.0.2# svcadm enable netatalk root@nexentastor:~/netatalk-3.0.2# svcs | grep netatalk online 11:09:56 svc:/network/netatalk:default Netatalk, based on how we\u0026rsquo;ve compiled it, will use the local unix user authentication on the system, and it will grant access to shares based on the ACL of the share. In the NexentaStor web GUI (NMV), make sure your created user has the \u0026ldquo;unix\u0026rdquo; option selected. You will also need to make sure that user or users have access to the ZFS folder by setting the ACL. You can do this either via the web GUI or command line.\nSo with Netatalk running, your unix user account created, \u0026amp; permissions set on the ZFS filesystem, you should be able to connect to the Time Machine share then point Time Machine to it to start your backups.\nThe nice thing about this is we\u0026rsquo;re storing Time Machine backups on ZFS. When doing Time Machine over the network, it creates SparseBundles on the Time Machine volume. This allows Time Machine to retain all of the important \u0026ldquo;extra\u0026rdquo; HFS+ data, regardless of the filesystem it\u0026rsquo;s on. So the fact that it\u0026rsquo;s being stored on ZFS doesn\u0026rsquo;t hurt anything as far as losing important OS X specific data that\u0026rsquo;s tied into the filesystem itself. We also get some additional benefits from using ZFS:\nNo corruption: the SparseBundle format uses \u0026ldquo;bands\u0026rdquo;, which are 8MB files that contain the actual data. You could say these bands act like \u0026ldquo;blocks\u0026rdquo; do on a hard drive. ZFS sees these bands just like any other file \u0026amp; protects them accordingly. Compression: Setting compression = on for the Time Machine filesystem we created saves space pretty effectively. Quotas: I can set a ZFS quota on the Time Machine filesystem so it won\u0026rsquo;t use anymore space than I allow. Netatalk also has an option to limit space used on the share definition, but I prefer the ZFS way. Allocating more space is as simple as expanding the quota. I haven\u0026rsquo;t fully tested a restore yet using Netatalk v3, but I have using the older v2 setups in the past. I should boot to the recovery HD \u0026amp; see if it\u0026rsquo;ll see the Time Machine volume on it\u0026rsquo;s own. It may need to be mounted manually via command line to be recognized properly. I have successfully restored via Netatalk v2 in the past, but I had to mount the Time Machine share manually. Check out \u0026ldquo;man mount_afp\u0026rdquo; or Google for this.\nI\u0026rsquo;m only using Time Machine for a \u0026ldquo;bare metal\u0026rdquo; type restore situation, in case I need to restore the OS itself. The reason for this being I don\u0026rsquo;t believe Time Machine is well suited for backing up lots of data. I use CrashPlan+ to handle my big data backups, which I\u0026rsquo;m also running on NexentaStor. That\u0026rsquo;ll be the topic of my next blog post.\n","permalink":"https://churnd.net/2013/02/11/netatalk-3-afp-on-nexentastor/","summary":"\u003cp\u003e\u003ca title=\"NexentaStor\" href=\"http://www.nexenta.com/corp\" target=\"_blank\" rel=\"homepage\"\u003eNexentaStor\u003c/a\u003e is NCP (\u003ca title=\"Nexenta OS\" href=\"http://www.nexenta.org/\" target=\"_blank\" rel=\"homepage\"\u003eNexenta\u003c/a\u003e Core Platform) underneath, so you really do have all the power \u0026amp; flexibility of an open unix system.  That\u0026rsquo;s one of the reasons I love the project.  If you want to add on additional functionality, it\u0026rsquo;s not so hard to do so.  Everything I\u0026rsquo;ve done to \u0026ldquo;extend\u0026rdquo; NexentaStor to my liking has not interfered with the core NMV/NMC functionality.  That said, one of the great things about apt in \u003ca title=\"Solaris (operating system)\" href=\"http://oracle.com/solaris\" target=\"_blank\" rel=\"homepage\"\u003eSolaris\u003c/a\u003e is apt-clone; something gets messed up, you can revert your system back leveraging the power of ZFS snapshots.  So, when installing a lot of stuff using apt, use apt-clone instead of \u003ca title=\"Advanced Packaging Tool\" href=\"http://wiki.debian.org/Apt\" target=\"_blank\" rel=\"homepage\"\u003eapt-get\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eOne of the things I wanted to use all that disk space I have in my \u003ca href=\"/2011/06/27/zfsesxi-all-in-one-part-1/\" title=\"ZFS/ESXi All-In-One, Part 1\"\u003eZFS/ESXi All-In-One\u003c/a\u003e for is Time Machine Backups for the 3 Macs in my house.  I use a combination of Time Machine \u0026amp; CrashPlan for my backups.  Yes, I\u0026rsquo;m using CrashPlan on NexentaStor as well; that\u0026rsquo;s a future post.\u003c/p\u003e","title":"Netatalk 3 (AFP) on NexentaStor"},{"content":"Prelude To (finally) follow up on my original post, ZFS/ESXi All-In-One, Part 1, this post will go over how to configure ESXi \u0026amp; NexentaStor to work with each other, all from within one physical server. Typically, ESXi will connect to a physically separate server or appliance that provides storage. For production environments, this is preferred. For testing/development, it can be prohibitively expensive. The All-In-One solution provides a good alternative.\nConfig First thing we need to do is get NexentaStor installed in a VM. For obvious reasons, this VM needs to be on local attached storage available to ESXi. In my previous post, you noticed I had some SSD\u0026rsquo;s in the box. The SSD\u0026rsquo;s are attached to the motherboard\u0026rsquo;s SATA controller ports. One SSD contains ESXi itself, \u0026amp; I dedicated another one of the SSD\u0026rsquo;s for hosting NexentaStor\u0026rsquo;s VM. These can be set up in the vSphere Client\u0026rsquo;s configuration screen:\nYou basically just format the SSD with VMware\u0026rsquo;s VMFS, then install NexentaStor\u0026rsquo;s VMDK into that volume. When I set up my NexentaStor VM, I allocated 2 CPU cores \u0026amp; 8GB RAM. You can get away with one core, but you want to give NexentaStor as much RAM as you can. Also one of the nice things about NexentaStor is that Nexenta has included their own compiled vmxnet3 driver in NexentaStors repos. I think they also have open-vm-tools, but I still use VMwares. I install VMware\u0026rsquo;s tools first, then attach/create the vmxnet3 NIC \u0026amp; install the vmxnet3 driver. When you set up the VM, you may have to use a temporary E1000 NIC to get basic network configuration so you can get NexentaStor set up, then add the better vmxnet3 NICs later. Here\u0026rsquo;s a good how-to about installing the tools on NexentaStor, and also a workaround for a problem you\u0026rsquo;ll run into regarding running vmware-config-tools.pl.\nOnce NexentaStor is set up, we have to configure it to see the local drives in the server. These drives are attached to the SAS/SATA JBOD controller we bought. It was important to pick the right disk controller because we need to be able to pass it through to the VM directly. This is called VT-d passthrough, a feature ESXi has that allows allocating hardware (usually PCI devices) directly to a VM itself. Usually all hardware passed to a VM is virtualized by ESXi, but in this case, NexentaStor needs direct access to the drives themselves to work it\u0026rsquo;s ZFS magic. So, in the same ESXi Configuration panel, passthrough can be configured in the \u0026ldquo;Advanced\u0026rdquo; section:\nWhat this does is marks it as available for passthrough to a VM. ESXi will no longer be able to use that device itself. You will have to reboot ESXi after configuring passthrough. Once it has been rebooted, we need to assign the card to the NexentaStor VM. To do that, go to the NexentaStor VM\u0026rsquo;s configuration window:\nWhat you will need to do is click \u0026ldquo;Add:\u0026rdquo;, \u0026amp; you should see the model storage adapter itself. Click OK to add it to the VM, then start NexentaStor up. Once it comes up, you should see whatever drives are plugged into the adapter:\nNotice the first one on the list is the VMDK, but the rest show up as physical drives. This is what we want. In my case, I have 4x500GB drives \u0026amp; 4x2TB drives. Yeah it\u0026rsquo;s a lot for a home lab, but I\u0026rsquo;m using NexentaStor for more than just SAN storage for ESXi. I\u0026rsquo;m also using it for data storage via SMB/AFP/NFS/Crashplan, but that\u0026rsquo;s another post coming soon.\nWhen configuring storage for ESXi, You want as much performance as you can get. A good, cheap way to get performance with ZFS is using striped mirrors, or RAID10. This can be done on the NexentaStor Data Management panel. The end result should look like this:\nOne of the nice features I\u0026rsquo;d like to be able to test in this setup is deduplication, because VM\u0026rsquo;s dedupe very well. However, dedupe is very RAM hungry \u0026amp; this setup just doesn\u0026rsquo;t have the resources for it. Hopefully I\u0026rsquo;ll upgrade the server to 32GB RAM soon then maybe try out dedupe. There are still other nice features for hosting on ZFS datastores, such as snapshots.\nNow that we have the volume created, we need to put a ZFS filesystem on it \u0026amp; share it out to ESXi. NexentaStor calls ZFS filesystems \u0026ldquo;Folders\u0026rdquo;. I created a folder called \u0026ldquo;VMware\u0026rdquo; \u0026amp; shared it out via NFS:\nI haven\u0026rsquo;t done any tweaking in the ZFS properties. I also made the folder read/write to everyone/anonymous, but I\u0026rsquo;m only exporting it to the single ESXi host itself. If that doesn\u0026rsquo;t make sense, google \u0026ldquo;exporting NFS filesystems\u0026rdquo; for a primer.\nNow we need to get the exported storage visible to ESXi. To do this, we create a virtual switch in ESXi. In your ESXi host\u0026rsquo;s Configuration panel, click Networking, Add Networking. Then select these options:\nSelect VMKernel as the Connection Type select vSphere Standard Switch Give it a name, ignore VLAN tag. Choose a non-routable class IP; I went with 172.16.0.1/255.255.255.0 because I\u0026rsquo;m not using that class anywhere else on my other networks. Click Finish to create the switch. What this will do is allow direct TCP/IP communication between NexentaStor \u0026amp; ESXi itself. The cool thing is the switch is virtual, \u0026amp; is only limited by the hardware you\u0026rsquo;re running on. I\u0026rsquo;m not sure what limitations on virtualized switches are \u0026amp; how the correlate to what CPU/RAM is available for ESXi itself, but I haven\u0026rsquo;t noticed any performance issues at all \u0026amp; the endpoints are full 10Gbe, thanks to vmxnet3. :)\nSo the last part is we need to create the NIC for NexentaStor that will use this virtual switch, so NexentaStor can provide the storage to ESXi via NFS. Make sure you connect the NIC to the virtual switch, whatever you named it. Mine is named \u0026ldquo;Private Network\u0026rdquo;:\nOnce that\u0026rsquo;s done, set a manual IP address via NexentaStor:\nThe IP can be anything you want in the subnet range of the switch 172.16.0.2-255, I just chose 172.16.0.100 for no reason.\nNow, everything is configured as it should be from an operational standpoint. We can go to the ESXi host\u0026rsquo;s configuration panel \u0026amp; add the NFS storage:\nClick Add Storage Network File System 172.16.0.100 (IP for NexentaStor) Path of the NFS export (/volumes//) Give it a name (ZFS NFS DataStore). Finish End product should look like that. I also have a separate ZFS filesystem for hosting ISO\u0026rsquo;s, just in case you were wondering. Now you can test this out by creating a new VM \u0026amp; putting it on the newly available datastore. Mine\u0026rsquo;s very fast, Win2k8R2 server takes 2 seconds to boot up. Latency spikes are 13ms at max, \u0026amp; averaging ~3ms. Not bad. :)\nNotes The last thing you might want to think about is making the NFS storage available right after ESXi boot. You don\u0026rsquo;t have to do this, but you\u0026rsquo;ll have to start NexentaStor manually each time ESXi is rebooted if you don\u0026rsquo;t before you can start the rest of the VM\u0026rsquo;s. I recommend doing it.\nTo do this, again in the ESXi host\u0026rsquo;s Configuration panel, under Software, check out Virtual Machine Startup/Shutdown. You can set the NexentaStor VM to automatically start up after ESXi has booted. As far as the delays go, I leave mine as the default 30 seconds. The tricky part is if you want to auto-start VM\u0026rsquo;s that reside on the NFS datastore; getting that timing right can be a challenge. I don\u0026rsquo;t have any advice there; just trial \u0026amp; error.\nWrap-up I\u0026rsquo;ve been using this setup over a year \u0026amp; it has not caused me any problems (knock-on-wood). That said, I\u0026rsquo;m writing this post mostly from memory. I may have left a detail or two out of the setup, so if I did, please let me know in the comments. I\u0026rsquo;ve had as many as 10 VM\u0026rsquo;s running simultaneously with zero throughput problems, but that\u0026rsquo;s mainly b/c they have little to no load. This setup is great for trying stuff out. My hope would be one day having another ESXi host \u0026amp; a vCenter license to do more fun things like vMotion. One can dream :)\n","permalink":"https://churnd.net/2013/02/09/zfsesxi-all-in-one-part-2/","summary":"\u003ch2 id=\"prelude\"\u003ePrelude\u003c/h2\u003e\n\u003cp\u003eTo (finally) follow up on my original post, ZFS/ESXi All-In-One, Part 1, this post will go over how to configure ESXi \u0026amp; NexentaStor to work with each other, all from within one physical server.  Typically, ESXi will connect to a physically separate server or appliance that provides storage.  For production environments, this is preferred.  For testing/development, it can be prohibitively expensive.  The All-In-One solution provides a good alternative.\u003c/p\u003e","title":"ZFS/ESXI All-In-One, Part 2"},{"content":"First off, this post will help alleviate some of the guilt I\u0026rsquo;ve been having for neglecting my blog. Second, I just wanted to write it down for my reference. There\u0026rsquo;s probably a better way to do this but this worked for me.\nI use NexentaStor at home for my ZFS/EXSi All-In-One. I have a few NexentaStor auto-services set to do ZFS snapshots on each of the filesystems. I take hourly snapshots kept for a day, daily snapshots that are kept for a week, and weekly snapshots that are kept for a month. I\u0026rsquo;ve been having a problem with some of the snapshots not getting expired. Since I\u0026rsquo;m using the community edition, I can\u0026rsquo;t really complain. I should probably file a bug, but I know the team is busy working on v4.0, which will be awesome. The admin GUI doesn\u0026rsquo;t have a way that I can see to remove them, so I delved into the command line.\nFirst, you need a list of all the snapshots on the system:\n# zfs list -t snapshot NAME USED AVAIL REFER MOUNTPOINT syspool/rootfs-nmu-030@initial 937M - 1.47G syspool/rootfs-nmu-030@nmu-024 204M - 1.90G syspool/rootfs-nmu-030@nmu-025 183M - 1.98G syspool/rootfs-nmu-030@nmu-026 217M - 2.00G syspool/rootfs-nmu-030@nmu-027 421M - 2.01G syspool/rootfs-nmu-030@nmu-028 218M - 2.02G syspool/rootfs-nmu-030@nmu-029 337M - 2.14G syspool/rootfs-nmu-030@nmu-030 398M - 2.10G zpool10@snap-weekly-1-2012-09-08-030002 18K - 33K zpool10@snap-weekly-1-2012-09-15-030003 0 - 33K zpool10@snap-weekly-1-2012-09-22-030019 0 - 33K zpool10@snap-weekly-1-2012-09-29-030010 0 - 33K zpool10@snap-daily-1-2012-10-02-030003 0 - 33K zpool10@snap-daily-1-2012-10-03-030008 0 - 33K zpool10@snap-daily-1-2012-10-04-030006 0 - 33K zpool10@snap-daily-1-2012-10-05-030025 0 - 33K zpool10@snap-weekly-1-2012-10-06-030002 Now copy the names of the snapshots you want to remove \u0026amp; put them in a text file (mine was zfs_cleanup.txt) like this:\nzpool10@snap-weekly-1-2012-09-08-030002 zpool10@snap-weekly-1-2012-09-15-030003 zpool10@snap-weekly-1-2012-09-22-030019 zpool10@snap-weekly-1-2012-09-29-030010 Now you can run a short for loop against the file to remove the snapshots:\n#!/bin/bash file=\"zfs_cleanup.txt\" while IFS= read -r line do # display $line or do somthing with $line echo \"Deleting snapshot $line\" zfs destroy $line done \u0026lt;\"$file\" If you just have a few snapshots to remove, that\u0026rsquo;s kinda overkill, but I had ~50. Saved me a bit of time. :)\n","permalink":"https://churnd.net/2012/10/09/bulk-deleting-zfs-snapshots/","summary":"\u003cp\u003eFirst off, this post will help alleviate some of the guilt I\u0026rsquo;ve been having for neglecting my blog.  Second, I just wanted to write it down for my reference.  There\u0026rsquo;s probably a better way to do this but this worked for me.\u003c/p\u003e","title":"Bulk deleting ZFS snapshots"},{"content":"In preparation for Lion, I planned to do a fresh install \u0026amp; wanted to secure erase my OCZ Vertex 2 SSD to get it working as optimally as possible. Nothing like a shiny new OS, ridden of all the cruft that builds up over the years. The problem? No easy way to secure erase an SSD in a Mac that doesn’t involve using some Windows tool on one of a few compatible SATA controllers that your Mac probably doesn’t have. It’s possible, but not very easy. It requires using hdparm \u0026amp; a compatible Linux LiveCD.\nYou can use *ANY* linux livecd you want, as long as it includes the appropriate graphics card drivers for your model Mac. I tried several \u0026amp; wound up using PCLinuxOS. The reason you need the graphics drivers is because you need to be able to suspend the Mac to RAM \u0026amp; wake it back up reliably. In my experience, this is only easily done if the graphics drivers are installed \u0026amp; I’m not aware of a way to “install” them in a LiveCD while it’s running. If you can’t get the graphics driver loaded, none of this will work.\nI’m not going to repeat all of the instructions for doing the secure erase, as they’re very well documented in the SSD ATA Secure Erase Wiki. I will go over the process it took me to suspend \u0026amp; wake up my 2008 Macbook Pro, effectively “thawing” out the SSD from it’s frozen state that hdparm reports it to be in.\nThis assumes you’ve burnt your LiveCD already \u0026amp; it is in your Mac’s optical drive. Restart your Mac \u0026amp; hold down option to bring up the available boot items screen. Wait a minute for the optical drive to spin up \u0026amp; you’ll see a disc come up humorously labeled “Windows”. Hit enter \u0026amp; PCLinuxOS will start booting up. This can take a while. Once you’re up \u0026amp; running, you need to suspend to RAM (click Start, Suspend). The suspend works great, thanks to the right graphics driver being loaded. There’s a slight glitch resuming, though. When you resume, the screensaver is going to ask you for a password \u0026amp; I don’t know what it is. There are two ways to handle this:\nRemember to set the password before suspending either using the GUI tool for managing user accounts or the command line tool “passwd”. I never tried it because I kept forgetting to do it before suspending. Hit ctrl+alt+f5 to fall back to a root shell \u0026amp; kill the screensaver process (find it by ps -ax), then hit ctrl+alt+f7 to get back to the GUI. Once you’ve verified the drive is no longer frozen as the tutorial above states, you can then proceed to secure erase the drive. I successfully did this on my 2009 model unibody Macbook Pro with NVIDIA GPU’s. I suspect those with ATI *might* have more trouble due to the bad ATI driver support on Linux.\nI’ve also found this tutorial after I used this method, which looks like it’s a lot easier, but I have not tried it.\n","permalink":"https://churnd.net/2011/10/13/secure-erase-ssd-on-os-x/","summary":"\u003cp\u003eIn preparation for Lion, I planned to do a fresh install \u0026amp; wanted to secure erase my \u003ca class=\"zem_slink\" title=\"OCZ Technology\" href=\"http://www.ocztechnology.com/\" rel=\"homepage\"\u003eOCZ\u003c/a\u003e Vertex 2 SSD to get it working as optimally as possible.  Nothing like a shiny new OS, ridden of all the cruft that builds up over the years.  The problem?  No easy way to secure erase an SSD in a \u003ca class=\"zem_slink\" title=\"Macintosh\" href=\"http://www.apple.com/mac/\" rel=\"homepage\"\u003eMac\u003c/a\u003e that doesn’t involve using some Windows tool on one of a few compatible SATA controllers that your Mac probably doesn’t have.  It’s possible, but not very easy.  It requires using hdparm \u0026amp; a compatible Linux LiveCD.\u003c/p\u003e","title":"Secure Erase SSD on OS X"},{"content":"We\u0026rsquo;re obsessed with making our lives easier. For as long as history spans, the human race has consistently found ways to improve \u0026amp; make things better \u0026amp;/or more efficient. Bigger, smaller, better, faster, . Nothing wrong with that at all. It drives innovation \u0026amp; if anything will only get better (or worse, depending on how you look at it). You may be thinking to yourself, \u0026ldquo;OK\u0026rdquo; this is common sense\u0026quot; why do I care?”. Chances are, you\u0026rsquo;re probably very busy right now doing something important, \u0026amp; once you finish that, you\u0026rsquo;ll move on to something else. It\u0026rsquo;s a vicious cycle that never ends, so it\u0026rsquo;s debatable whether all of this progress is really making things easier, or if it\u0026rsquo;s just helping us get things done quicker so we can move on to the next task. Why is that? It should be easier, shouldn\u0026rsquo;t it? I mean, if you\u0026rsquo;ve used some technological advancement to finish a certain task in half the time, then you should be able to use the rest of the time to goof around, right? Or maybe something along those lines? Work half a day, goof off the rest? Why does that idea seem to have such a negative connotation?\nEasy, like most things in life, is a relative term. Relativity is one of those topics that often fascinates me, because I find that it helps me put my life into perspective, as well as understand where others are coming from or are going. People get so wrapped up in their own lives that they forget their life situation doesn\u0026rsquo;t necessarily apply to others. Your life at the moment might be hard, while someone elses might be easy at that particular time. Next thing you know, the tables are turned. Life is funny that way, which I\u0026rsquo;m sure we all know at least that. I find, however, that many people don\u0026rsquo;t tend to look at their life from a relative point of view. If I have a conversation with someone about a related topic, I\u0026rsquo;ll usually make an effort to bring relativity into the discussion. Not so surprisingly, the response I usually get is \u0026ldquo;I hadn\u0026rsquo;t thought about it that way”.\nOk, ok, I\u0026rsquo;ll get to the point. I think what we often fail to do is to take a second \u0026amp; step back from it all \u0026amp; really appreciate how far you\u0026rsquo;ve come \u0026amp; what you\u0026rsquo;ve accomplished. It\u0026rsquo;s especially easy to forget to do these days with our fast paced society. We accomplish one thing \u0026amp; immediately move on to the next. Any feelings of gratification from the accomplishment seem so short lived, if they exist at all. Being in the IT industry, this is especially easy for me. It seems like by the time I master something, it\u0026rsquo;s being replaced by something newer. I don\u0026rsquo;t have TIME to appreciate my accomplishments! Thankfully, I\u0026rsquo;m aware of this so I have somehow made it a subconscious effort to occasionally remind myself to stop \u0026amp; smell the roses. One of my favorite thoughts is to think back to when I was a teenager just then learning how Windows works, then I quickly fast forward \u0026amp; compare to what I\u0026rsquo;ve learned since then. The differences never cease to amaze me. You should try it sometime, if you haven\u0026rsquo;t already.\n","permalink":"https://churnd.net/2011/07/12/thats-easy/","summary":"\u003cp\u003eWe\u0026rsquo;re obsessed with making our lives easier.  For as long as history spans, the human race has consistently found ways to improve \u0026amp; make things better \u0026amp;/or more efficient.  Bigger, smaller, better, faster, \u003cinsert your favorite adjective\u003e.  Nothing wrong with that at all.  It drives innovation \u0026amp; if anything will only get better (or worse, depending on how you look at it).  You may be thinking to yourself, \u0026ldquo;OK\u0026rdquo; this is common sense\u0026quot; why do I care?”.  Chances are, you\u0026rsquo;re probably very busy right now doing something important, \u0026amp; once you finish that, you\u0026rsquo;ll move on to something else.  It\u0026rsquo;s a vicious cycle that never ends, so it\u0026rsquo;s debatable whether all of this progress is really making things easier, or if it\u0026rsquo;s just helping us get things done quicker so we can move on to the next task.  Why is that?  It should be easier, shouldn\u0026rsquo;t it?  I mean, if you\u0026rsquo;ve used some technological advancement to finish a certain task in half the time, then you should be able to use the rest of the time to goof around, right?  Or maybe something along those lines?  Work half a day, goof off the rest?  Why does that idea seem to have such a negative connotation?\u003c/p\u003e","title":"That’s Easy"},{"content":"One of the lesser known features in OS X is the ability to resize your hard drive partition without losing data. No special software or gimmicks are required; this is built right into the OS. You can repartition your boot drive or any other drive your computer is using, such as external drives. Multiple partitions can have a lot of good uses. In my case, I have been beta testing OS X Lion, \u0026amp; I didn\u0026rsquo;t want to use an entire disk or lose the ability to boot to Snow Leopard as my primary OS, so I resized one of the extra disks in my Mac Pro to add a 100GB partition \u0026amp; installed Lion to that. When I\u0026rsquo;m done with my testing, I can boot back to my primary Snow Leopard OS, fire up Disk Utility, delete the partition I created for Lion, then resize the disk back to normal. Pretty cool, huh? Here\u0026rsquo;s how to do it.\nFirst off, open up Disk Utility, which is in Applications, Utilities. Before we do anything, we want to check the disk\u0026rsquo;s filesystem consistency to make sure it\u0026rsquo;s clean. Select the actual disk or the volume on the disk \u0026amp; click \u0026ldquo;Verify Disk\u0026rdquo;:\nIf it comes back clean, you\u0026rsquo;re good to go. If not, try \u0026ldquo;Repair Disk\u0026rdquo; \u0026amp; repeat until it comes back clean. If it takes more than a few times, something else might be awry \u0026amp; I recommend you get the disk checked out.\nOnce we know our disk\u0026rsquo;s filesystem is clean, we can now resize the partition however we want. Make sure you have the right disk selected \u0026amp; click on the \u0026ldquo;Partition\u0026rdquo; tab:\nYou can see this disk does only have one partition that encompasses the entire disk, and it does have some data on it (indicated by the blue shadowed area). What usually escapes most people\u0026rsquo;s attention is the little arrow at the bottom right of the disk space indicator. You can drag this to resize the volume as you please, but of course, you can\u0026rsquo;t make it smaller than the amount of data that\u0026rsquo;s on it. You also want to leave some breathing room on the disk, as filesystems need breathing room to perform optimally. So, knowing that, we can drag the arrow to resize the partition how we want:\nOnce we\u0026rsquo;ve done that, you can now add additional partitions:\nIf you want to add more, just resize the second and add a third. Once you\u0026rsquo;re happy with how it\u0026rsquo;s set up, make sure there are no files or processes accessing the disk \u0026amp; click Apply. Disk Utility will unmount the disk \u0026amp; work it\u0026rsquo;s magic \u0026amp; the new volumes will re-appear shortly after.\nWhile I have never lost data from this process, you should always make sure you have a viable backup before doing anything like this to your disk. It\u0026rsquo;s also worth noting that you cannot resize a regular HFS filesystem, it must be HFS+. However, HFS+ has been the default OS X filesystem since 10.4 (Tiger), so chances are you\u0026rsquo;re using it.\nSee? Easy.\n","permalink":"https://churnd.net/2011/07/11/resizing-disks-in-os-x/","summary":"\u003cp\u003eOne of the lesser known features in OS X is the ability to resize your hard drive partition without losing data.  No special software or gimmicks are required; this is built right into the OS.  You can repartition your boot drive or any other drive your computer is using, such as external drives.  Multiple partitions can have a lot of good uses.  In my case, I have been beta testing \u003ca title=\"Mac OS X Lion\" href=\"http://www.apple.com/macosx/lion\" rel=\"homepage\"\u003eOS X Lion\u003c/a\u003e, \u0026amp; I didn\u0026rsquo;t want to use an entire disk or lose the ability to boot to Snow Leopard as my primary OS, so I resized one of the extra disks in my \u003ca title=\"Mac Pro\" href=\"http://www.apple.com/macpro/\" rel=\"homepage\"\u003eMac Pro\u003c/a\u003e to add a 100GB partition \u0026amp; installed Lion to that.  When I\u0026rsquo;m done with my testing, I can boot back to my primary Snow Leopard OS, fire up \u003ca title=\"Disk Utility\" href=\"http://en.wikipedia.org/wiki/Disk_Utility\" rel=\"wikipedia\"\u003eDisk Utility\u003c/a\u003e, delete the partition I created for Lion, then resize the disk back to normal.  Pretty cool, huh?  Here\u0026rsquo;s how to do it.\u003c/p\u003e","title":"Resizing Disks in OS X"},{"content":"Beginnings Any IT admin worth his/her salt knows that virtualization is the big thing in IT right now \u0026amp; has been for a few years at least. It allows you to do things you wouldn\u0026rsquo;t be able to do on bare metal servers, such as move a server OS from one server to another while it is running (called vMotion). Love them or hate them, VMware is the king of virtualization in the datacenter. Luckily for guys like me (broke), they make a bare-metal hypervisor called VMware vSphere (formerly ESXi) available to use for free.\nA hypervisor is basically software that provides hardware emulation. Some of you may have experience running VMware Fusion (OS X), Workstation, Server, or Player (Windows). These are called type 2 hypervisors, meaning they run a hypervisor on top of an operating system. This is a great way to get started with virtual machines or just to get those few Windows programs running on your Mac, but it is not by any means an efficient way to run a virtual machine. That\u0026rsquo;s where bare metal hypervisors, or Type 1 hypervisors, come in. They\u0026rsquo;re the only \u0026ldquo;physical\u0026rdquo; OS installed on that computer/workstation/server, and they have very little overhead on the actual hardware itself. That means more direct resources available for \u0026ldquo;guest\u0026rdquo; VM\u0026rsquo;s, so performance will be better.\nAfter about 3 years of trying to patch together decent ESXi/NAS/SAN systems for testing/development purposes, I finally broke down \u0026amp; asked my boss to build a workstation. When it was approved (imagine my shock), I immediately started looking for options available. Some invaluable resources for doing research on this kind of expenditure:\nVMware Whitebox HCL: a pretty good parts list of hardware known to work with VMware vSphere (ESXi). [Hard]Forum: specifically the Data Storage Systems \u0026amp; Virtualized Computing forums. Lots of guys there have setups at home that rival some datacenters. ServeTheHome: good articles \u0026amp; reviews on hardware for whitebox home server builds. NappIT: the guy that runs this project came up with the idea for the ZFS/ESXi all-in-one (as far as I can tell). He\u0026rsquo;s very active on Hardforum \u0026amp; ServeTheHome forum, usually with the handle _Gea, \u0026amp; very helpful. VMware Communities: I didn\u0026rsquo;t spend too much time here, but still a good resource to have. Design During my research, my primary decision was trying to figure out if I wanted to buy off the shelf or build my own. Of course, being the geek I am, I gravitated more towards building my own, but I couldn\u0026rsquo;t ignore all the forum posts of people who bought hardware that didn\u0026rsquo;t work due to some minor incompatibility. I definitely didn\u0026rsquo;t want that (especially since it\u0026rsquo;s so hard to return things where I work), but I also couldn\u0026rsquo;t ignore that by building one, I\u0026rsquo;d get a lot more for my $$. I decided to build, \u0026amp; quickly came up with a list of must-have features:\nIntel Xeon processor with Intel VT : for the virtualization goodness. Motherboard with the following capabilities: IPMI: provides remote console \u0026amp; power capabilities. A must for a headless workstation/server. VT-d: provides capability to dedicate an expansion card to a virtual machine, such as a SAS HBA (a must for this setup). Only has to support 1 physical CPU (ESXi license only allows one physical CPU). At least 16GB RAM A SAS/SATA JBOD HBA : no need for an expensive RAID card with ZFS, just a plain JBOD card will do \u0026amp; is actually preferred to cards that do have RAID capabilities. Plenty of network interfaces : something you can never have too much of in virtualization. The Build So I knew what I wanted, now I had to do a lot of research. I had to make sure the parts I picked would work with ESXi \u0026amp; some Solaris distribution that would provide the storage for ESXi. I also had to keep this all just under budget. Keep in mind this will all be within one physical computer. :) I will say that building a list is the worst part. You antagonize over the little details, then you tweak the config endlessly trying to squeeze every last bit of power out of your budget. Several times I was tempted to just buy a system known to work \u0026amp; settle for less, but I soldiered on. I\u0026rsquo;m glad I did, because I know I got more for my $$. Without further ado, here\u0026rsquo;s my parts list:\n1 - SUPERMICRO CSE-743TQ-865B-SQ Black Pedestal Server Case 1 - SUPERMICRO MBD-X9SCA-F-O LGA 1155 Intel C204 ATX Intel Xeon E3 Server Motherboard 1 - SUPERMICRO AOC-UG-i4 10/ 100/ 1000Mbps PCI-Express x8 Universal I/O (UIO) Network Adapter 1 - SUPERMICRO AOC-USAS2-L8e SAS/SATA Controller Card 1 - Intel Xeon E3-1230 Sandy Bridge 3.2GHz LGA 1155 80W Quad-Core Server Processor BX80623E31230 4 - Kingston ValueRAM 4GB 240-Pin DDR3 SDRAM DDR3 1333 ECC Unbuffered Server Memory Model KVR1333D3E9S/4G 4 - Seagate Barracuda Green ST2000DL003 2TB 5900 RPM SATA 6.0Gb/s 3.5\u0026quot; Internal Hard Drive -Bare Drive 4 - Seagate Barracuda ST3500413AS 500GB 7200 RPM SATA 6.0Gb/s 3.5\u0026quot; Internal Hard Drive -Bare Drive 4 - Kingston SSDNow V Series SNV125-S2/30GB 2.5\u0026quot; 30GB SATA II Internal Solid State Drive (SSD) 1 - SONY Black 18X DVD-ROM 48X CD-ROM SATA DVD-ROM Drive Model DDU1681S-0B : OEM 1 - iStarUSA BPU-124V2-SS 1 x 5.25\u0026quot; to 4 x 2.5\u0026quot; SATA/SAS Hot-Swap Backplane RAID Cage : OEM 2 - 3ware CBL-SFF8087OCF-05M 1 unit of 0.5m Multi-lane Internal (SFF-8087) Serial ATA breakout cable 1 - CyberPower CP1500AVRLCD 1500VA 900W UPS 1 - NETGEAR ProSafe GS108T-200NAS 10/100/1000Mbps Gigabit Smart Switch Assorted patch cables. You can see I went with a lot of Supermicro brand hardware. This is an easy way to reduce the risk that your components won\u0026rsquo;t be compatible, because most of Supermicro\u0026rsquo;s stuff is based on Intel brand hardware, \u0026amp; that\u0026rsquo;s almost always a sure thing when it comes to VMware compatibility. That said, you should still double check. I\u0026rsquo;m happy to say my research paid off; all of this hardware is working as it should. Here\u0026rsquo;s a shot of everything put togther:\nLike I said, everything works, at least from a software perspective. If you look closer at the list, there is one major \u0026ldquo;gotcha\u0026rdquo;: the PCI cards are Supermicro\u0026rsquo;s UIO type card, which is a specific layout designed to work only in some of Supermicro\u0026rsquo;s rackmount server chassis. These cards are \u0026ldquo;flipped upside down\u0026rdquo;, to where the mounting bracket doesn\u0026rsquo;t line up height-wise with where the PCI slots are on the motherboard. The PCI-E x8 bus itself is exactly the same, so the card does work if you ignore the mounting problem. There\u0026rsquo;s really no way to make the card fit into an incompatible case without making some modifications to either the card, the case, or both. Considering a comparable Intel 4 port Network card was $350 more, I bought the Supermicro card with the plan to modify where needed.\nThe modifications I needed to make were not nearly as bad as I thought. I was even willing to jury rig the cards in place using duct tape. This method is a lot more stable, although it does require drilling \u0026amp; cutting. To get the UIO cards to fit in a standard case, I had to make the following modifications to the card bracket \u0026amp; case itself:\nCut two of the cross braces off of the case using metal shears. Don\u0026rsquo;t use a saw because it\u0026rsquo;ll create a lot of fine metal particles \u0026amp; you don\u0026rsquo;t want those in your case. Most case material is soft enough to cut through with a decent pair of shears. (Yellow bar in below picture). Take off the mounting bracket from both cards, which is easily done by unscrewing two screws. Drill a hole the same size \u0026amp; location of the regular mounting hole (Red oval in second picture). Clip off the tapered end of the bracket (Yellow rectangle in third picture). Here\u0026rsquo;s a picture of behind the case with both cards installed:\nWhile it\u0026rsquo;s not quite as much support as a regular bracket would give due to clipping the tapered end off of the bracket, it\u0026rsquo;s still good enough in my opinion. As long as you don\u0026rsquo;t put any unnecessary strain on the card (don\u0026rsquo;t pull on the network cables), it should be fine. Needless to say, doing this voids some of your warranties, so make sure it\u0026rsquo;s worth it to you. This is a development/testing workstation for me, so the added benefit from a technological perspective outweighs the \u0026ldquo;build it right\u0026rdquo; factor. In a production system, I would never do this. I also wanted to add that if I ever do need to put a standard PCI-e card in either one of these slots, it will still fit.\nThe Supermicro parts are top notch, I would definitely recommend them. You\u0026rsquo;ll pay a little more up front, but you get a lot more in return.\nAnother big plus was I didn\u0026rsquo;t have any DOA parts; that was something I was slightly fearing from ordering everything a-la-carte. Apparently that does happen to some people. I\u0026rsquo;ve never had it happen to me (knock on wood).\nWrap-up So that covers the parts, build, \u0026amp; case modifications. I got all of this for under $3k, which is not bad considering I now have both a hypervisor \u0026amp; filer to play\u0026hellip; er, test with. You could probably do it cheaper if you cut out the SSD\u0026rsquo;s \u0026amp; substituted the Supermicro case for something smaller. I was eyeing a Fractal Design case, but decided to pay a little more for the better PSU and hot-swap drive bays in the Supermicro case.\nThe next blog post, I\u0026rsquo;ll cover how I configured VMware vSphere 4.1 \u0026amp; NexentaStor 3.0.5 to actually provide the ZFS NFS datastore for ESXi\u0026rsquo;s VM\u0026rsquo;s. Most of it is already on the Napp-IT page as well.\nPart 2 is finally up.\n","permalink":"https://churnd.net/2011/06/27/zfsesxi-all-in-one-part-1/","summary":"\u003ch3 id=\"beginnings\"\u003eBeginnings\u003c/h3\u003e\n\u003cp\u003eAny IT admin worth his/her salt knows that virtualization is the big thing in IT right now \u0026amp; has been for a few years at least.  It allows you to do things you wouldn\u0026rsquo;t be able to do on bare metal servers, such as move a server OS from one server to another while it is running (called \u003ca href=\"http://www.vmware.com/products/vsphere/features-vmotion\" title=\"VMware vMotion: Virtual Machine Live Migration | United States\"\u003evMotion\u003c/a\u003e).  Love them or hate them, VMware is the king of virtualization in the datacenter.  Luckily for guys like me (broke), they make a bare-metal hypervisor called \u003ca href=\"http://www.vmware.com/products/vsphere/\" title=\"Server Virtualization \u0026amp; Cloud Infrastructure: VMware vSphere | United States\"\u003eVMware vSphere\u003c/a\u003e (formerly \u003ca href=\"http://www.vmware.com/products/esxi/\"\u003eESXi\u003c/a\u003e) available to use for free.\u003c/p\u003e\n\u003cp\u003eA hypervisor is basically software that provides hardware emulation.  Some of you may have experience running VMware Fusion (OS X), Workstation, Server, or Player (Windows).  These are called type 2 hypervisors, meaning they run a hypervisor on top of an operating system.  This is a great way to get started with virtual machines or just to get those few Windows programs running on your Mac, but it is not by any means an efficient way to run a virtual machine.  That\u0026rsquo;s where bare metal hypervisors, or Type 1 hypervisors, come in. They\u0026rsquo;re the only \u0026ldquo;physical\u0026rdquo; OS installed on that computer/workstation/server, and they have very little overhead on the actual hardware itself.  That means more direct resources available for \u0026ldquo;guest\u0026rdquo; VM\u0026rsquo;s, so performance will be better.\u003c/p\u003e","title":"ZFS/ESXi All-In-One, Part 1"},{"content":"The hot topic in the technology world right now is cloud computing. Everybody’s talking about it, using it, monetizing on it. It’s true meaning depends on who you talk to. I won’t factor in enterprise cloud deployments, because that’s usually whatever they make of it. Just look at all the different cloud-related products VMware \u0026amp; Citrix offers. Instead, I’ll focus on two main players, Apple \u0026amp; Google. Yeah, there’s Amazon \u0026amp; Microsoft, \u0026amp; they do offer pretty good services, but does anyone really use them? More on that later.\nGoogle considers their cloud to be entirely hosted via web browser based technologies. The Chrome Netbook is basically a glorified full-screen Chrome browser built on top of a very lightweight Linux system. You can’t do much with it if you don’t have a network connection. All of your data is stored on Google’s servers, not the device you’re using. While this does have some convenience (you shouldn’t have to worry about data loss), your data is not really in your control. If Google’s servers go down, you can’t get your data. Granted, that does not happen often. I do seem to remember reading about a few Google accounts being accidentally disabled/deleted a while back. Things like this that involves not having the data in your control will always sit in the back of your head, while you conjure up all those “what-if” scenarios.\nApple’s version of the cloud is better. I might be biased, but I don’t think I am. If I am, I’m still right. iCloud revolves around sync. I’d like to take a moment to point out that I saw that coming. :) There’s a reason why Dropbox is so successful: because they do sync right. If people have 3 computers, they can have their data on all 3, all the time, always synced up. Apple apparently saw the response to Dropbox \u0026amp; designed iCloud around that idea. People don’t want all their data on just the cloud or just this computer or* just* that computer*. *They want it on ALL of their devices, ALL the time. And why not? Storage is cheap \u0026amp; getting cheaper; networks are getting faster. It’s becoming feasible to actually have your data everywhere, whereas in the past it was not.\nGoogle’s cloud seems to be based around a limitation that is quickly fading. The requirement for having your data in one central location \u0026amp; using devices to view that data at that location is built around the idea that storage is limited, networks are limited, and sync is too complex to figure out. I guess if you think about it, sync probably is too complex for others to figure out… too many devices on too many platforms \u0026amp; they all want to work their own way. While a lot of people criticize Apple for being too controlling or limited, having that kind of ecosystem enables them to design a cloud like this, because they can predict how these devices will interact with one another a lot more… well… predictably.\nAnother point that’s probably more particular to me, but I think is a good one to make anyway, is security. I gave up on trying to remember a handful of complex passwords for websites \u0026amp; services I use about a year ago. I made the jump to using 1Password \u0026amp; haven’t looked back. I have a extremely complex \u0026amp; random password for each site I visit, and each one is unique. I have no idea what any of my passwords are, and I’m fine with that. 1Password stores them for me. I can’t use any of my services without it, and I’m a lot safer for it. So because of this, Google’s idea of of having access to all of my services on any device doesn’t appeal to me. I honestly think it shouldn’t appeal to anyone. I have access to all of my services on my devices, and that’s it. If I don’t have one of my devices on me, it’s probably for a reason \u0026amp; I wouldn’t need to check those things anyway. It’s definitely a minor sacrifice I’m willing to make to be that much safer. Even with this rash of site hacking, I’m not worried at all. If one of the sites happens to be one I use, I just generate a new, random, really long \u0026amp; complex password for the site \u0026amp; all of my devices get updated with it. Problem solved. I couldn’t do this on some random device I’ve never touched before.\nSo what about Amazon and Microsoft’s offerings? The Amazon problem is complicated. I don’t quite understand it very well from a consumer standpoint. I think their problem is lack of hardware integration, and their cloud offerings are attractive price wise, but limited and missing some features. Microsoft simply lacks innovation. They’ll copy other ideas a year or so after someone else has done it. Problem is, by then, people are already using that other service \u0026amp; have no desire to switch over. All users really want from Microsoft is Windows \u0026amp; Office.\nGoogle’s cloud doesn’t work for me, nor does it appeal to me. Web apps have come a long way, but they’ll always be second to native apps. By focusing on sync, Apple’s found a winner with iCloud.\n*EDIT*\nThe timing is uncanny: http://www.nytimes.com/2011/06/16/technology/personaltech/16pogue.html\n","permalink":"https://churnd.net/2011/06/16/whats-in-a-cloud/","summary":"\u003cp\u003eThe hot topic in the technology world right now is \u003ca class=\"zem_slink\" title=\"Cloud computing\" href=\"http://en.wikipedia.org/wiki/Cloud_computing\" rel=\"wikipedia\"\u003ecloud computing\u003c/a\u003e.  Everybody’s talking about it, using it, monetizing on it.  It’s true meaning depends on who you talk to.  I won’t factor in enterprise cloud deployments, because that’s usually whatever they make of it.  Just look at all the different cloud-related products \u003ca class=\"zem_slink\" title=\"VMware\" href=\"http://www.vmware.com/\" rel=\"homepage\"\u003eVMware\u003c/a\u003e \u0026amp; \u003ca class=\"zem_slink\" title=\"Citrix Systems\" href=\"http://www.citrix.com\" rel=\"homepage\"\u003eCitrix\u003c/a\u003e offers.  Instead, I’ll focus on two main players, \u003ca class=\"zem_slink\" title=\"Apple\" href=\"http://www.apple.com\" rel=\"homepage\"\u003eApple\u003c/a\u003e \u0026amp; \u003ca class=\"zem_slink\" title=\"Google\" href=\"http://google.com\" rel=\"homepage\"\u003eGoogle.\u003c/a\u003e  Yeah, there’s Amazon \u0026amp; \u003ca class=\"zem_slink\" title=\"Microsoft\" href=\"http://www.microsoft.com\" rel=\"homepage\"\u003eMicrosoft\u003c/a\u003e, \u0026amp; they do offer pretty good services, but does anyone really use them?  More on that later.\u003c/p\u003e\n\u003cp\u003eGoogle considers their cloud to be entirely hosted via web browser based technologies.  The Chrome Netbook is basically a glorified full-screen Chrome browser built on top of a very lightweight Linux system.  You can’t do much with it if you don’t have a network connection.  All of your data is stored on Google’s servers, not the device you’re using.  While this does have some convenience (you shouldn’t have to worry about data loss), your data is not really in your control.  If Google’s servers go down, you can’t get your data.  Granted, that does not happen often.  I do seem to remember reading about a few Google accounts being accidentally disabled/deleted a while back.  Things like this that involves not having the data in your control will always sit in the back of your head, while you conjure up all those “what-if” scenarios.\u003c/p\u003e","title":"What’s in a Cloud?"},{"content":"My wife \u0026amp; I have been looking for a way to peek into our 1.5 year old toddler\u0026rsquo;s room at night without waking him up. Opening the door just wasn\u0026rsquo;t doing it, as it always wakes him up. So, we started looking into baby monitors that had video capabilities. Anything decent in this category wound up in the $200 range or above. So the geek in me started looking into alternatives. We each have our own laptops \u0026amp; iPhones so I figured it\u0026rsquo;d be ideal to find something that lets us use both, or at least something more flexible than a proprietary system. So, I started looking into IP security cameras for the home. Most of these are pretty expensive too, but I did find one company called Foscam that made IP cameras in the $100 range, \u0026amp; they seemed to be well featured despite the cost. They also had good ratings on Amazon.com, so we bought a Foscam FI8918W to try it out; if it didn\u0026rsquo;t work out, we\u0026rsquo;d just send it back. From the user contributed photos on the product page, it looks like I\u0026rsquo;m not the first one to have thought of this idea.\nThe camera arrived yesterday \u0026amp; I spent about 2 hours setting it up. More on why it took so long later. I was immediately impressed with the ease of setup, but of course I did it my own way rather than following the instructions. I knew it\u0026rsquo;d have a web based management interface, so I powered it on \u0026amp; plugged it into a wired ethernet connection, then checked my router\u0026rsquo;s interface to see which new IP address showed up on the network. I think the camera comes with software that installs a \u0026ldquo;camera finder\u0026rdquo; type of IP scanner on your PC, and I know that would be useful to the non-technical crowd.\nFoscam is a company based out of China, so like with most things \u0026ldquo;Made in China\u0026rdquo; (it seems), there was a certain feel of cheapness to it, both with the physical construction \u0026amp; the web based management interface. The plastic of the camera is the kind you\u0026rsquo;d expect to see on a cheap child\u0026rsquo;s toy; it doesn\u0026rsquo;t feel durable at all. I bet it wouldn\u0026rsquo;t survive a 2ft fall onto a hard floor. Considering I have it on a 4 ft dresser, if my son takes interest \u0026amp; decides to pull it down to play with, I think we\u0026rsquo;re out of a camera. Now, if you\u0026rsquo;re thinking \u0026ldquo;Wait a minute, how\u0026rsquo;s a 1.5 year old toddler going to reach up on a 4ft dresser?\u0026rdquo;; he\u0026rsquo;s already learned he can stand on something sturdy to reach higher. :) I\u0026rsquo;m so proud! The web interface itself is definitely not the best I\u0026rsquo;ve seen, but it gets the job done. You can view the camera feed directly from your browser:\nWhat I like best about the browser feed is it doesn\u0026rsquo;t seem to require Java or Flash. I did a quick look at the source \u0026amp; it\u0026rsquo;s calling some CGI script, \u0026amp; I\u0026rsquo;m not sure exactly what the CGI script is doing yet, but it works reliably so far.\nThe Foscam cameras are apparently easy to write apps for, because there are several apps for the iPhone/iPad available. A quick search on the Android Marketplace shows quite a few there too. My philosophy when looking for apps is if there\u0026rsquo;s more than one, try the free one first until you want a feature only available in one for sale. So, I downloaded CamViewer for Foscam Webcams, which is free. It has both portrait \u0026amp; landscape modes to view the camera feed. It\u0026rsquo;s a nice app for something that\u0026rsquo;s free. It can control the direction the camera points \u0026amp; has basic controls for adjusting the picture. Nothing fancy, it just shows you the feed, controls the camera, \u0026amp; it works well.\nThe only downside about this camera is that I had to lower the complexity of my WPA2 AES wireless key in order for the camera to be able to join the network. A direct quote from the User Guide FAQ section:\nNormally, camera can’t connect wireless mainly because of wrong settings.\nMake sure broadcast your SSID; use the same encryption for router and camera. Share key should not contain special characters, only word and number will be better. Don’t enable MAC address filter.\nPreviously, my key contained plenty of special characters, as that\u0026rsquo;s more secure. As to whether or not the security matched the application, I\u0026rsquo;ll admit my previous key was overkill, but I\u0026rsquo;m sure most security professionals would say there\u0026rsquo;s no such thing as overkill. That said, I\u0026rsquo;m sure I could have found a different camera that was more expensive, but I was willing to sacrifice a little security to save money. Plus, I couldn\u0026rsquo;t really find any other camera that offered all the features as this one did, specifically iPhone/iPad support. I\u0026rsquo;m sure there are others, but they are most likely out of my price range. So, even though my key is a little less secure now, I doubt I\u0026rsquo;ll have any intruders anytime soon. Since I run DD-WRT, I might look into seeing if I can get a notification when a \u0026ldquo;new\u0026rdquo; wireless device pops up on my network. Anyway, the key is the reason why it took me 2 hours. If it hadn\u0026rsquo;t been for that, it would have taken ~30 mins I\u0026rsquo;m sure.\nThere are other features built into the camera I haven\u0026rsquo;t explored yet, such as motion detection. I think if the motion detector is triggered, you can set it up to where it sends a series of screen captures to email or an FTP server if you have one set up. If you were setting one up to monitor the house, that\u0026rsquo;d be a nice feature to have. You also have the capability of setting up a dynamic DNS service, so if you open the necessary ports in your router\u0026rsquo;s firewall, you could connect from anywhere. I probably won\u0026rsquo;t do that because I don\u0026rsquo;t want the possibility of some stranger looking in.\nI wouldn\u0026rsquo;t say this could be an all-in-one baby monitoring solution. For example, there\u0026rsquo;s no notification or audio alert if something is happening. The iPhone app I\u0026rsquo;m using doesn\u0026rsquo;t transmit audio. However, we already have an existing monitor in place that provides audio/vibration alerts so this is meant to compliment that. If we were starting from scratch, I\u0026rsquo;m not sure if we would have made different choices or not, as in whether or not we would have bought an all-in-one solution or something separate. Now that I think about it, I think it\u0026rsquo;d be more useful to have a separate smaller audio/vibration monitor for when you just need a notification rather than having to carry a video screen around with you all the time. So in a lot of ways, this setup is ideal for the flexibility it provides.\nOverall, I\u0026rsquo;m happy with the purchase. For $100, I have an IP camera that I can access from any computer or iPhone/iPad in my house. That\u0026rsquo;s a good deal if you ask me.\n","permalink":"https://churnd.net/2011/05/17/home-wifi-camera/","summary":"\u003cp\u003eMy wife \u0026amp; I have been looking for a way to peek into our 1.5 year old toddler\u0026rsquo;s room at night without waking him up.  Opening the door just wasn\u0026rsquo;t doing it, as it always wakes him up.  So, we started looking into baby monitors that had video capabilities.  Anything decent in this category wound up in the $200 range or above.  So the geek in me started looking into alternatives.  We each have our own laptops \u0026amp; iPhones so I figured it\u0026rsquo;d be ideal to find something that lets us use both, or at least something more flexible than a proprietary system.  So, I started looking into IP security cameras for the home.  Most of these are pretty expensive too,  but I did find one company called Foscam that made \u003ca href=\"http://en.wikipedia.org/wiki/IP_camera\" title=\"IP camera - Wikipedia, the free encyclopedia\"\u003eIP cameras\u003c/a\u003e in the $100 range, \u0026amp; they seemed to be well featured despite the cost.  They also had good ratings on Amazon.com, so we bought a \u003ca href=\"http://www.amazon.com/Foscam-FI8918W-Wireless-Camera-Viewing/dp/B00466X9SY\" title=\"Amazon.com: Foscam FI8918W Wireless/Wired Pan \u0026amp; Tilt IP/Network Camera with 8 Meter Night Vision and 3.6mm Lens (67 Viewing Angle): Camera \u0026amp; Photo\"\u003eFoscam FI8918W\u003c/a\u003e to try it out; if it didn\u0026rsquo;t work out, we\u0026rsquo;d just send it back.  From the user contributed photos on the product page, it looks like I\u0026rsquo;m not the first one to have thought of this idea.\u003c/p\u003e","title":"Home WiFi Camera"},{"content":"I recently bought a new UPS for my home Mac Pro. I also have a small UPS hooked up to my primary router \u0026amp; cable modem so I’ll still have connectivity during a power outage. Fortunately, I don’t live in an area where we have frequent power outages. What few people realize is that power outages are only part of the reason to invest in a UPS.\nDon’t get me wrong, power outages can be very harmful to your computer, especially the hard drives. A computer *needs* to go through the proper shutdown sequence in order to prevent harming the computer components \u0026amp; to preserve your hard drive’s integrity. I know some people who get impatient \u0026amp; just hold the power button down to force a power-off. This is awful practice, is no different than a power outage, \u0026amp; should only be used as a last resort. And yes, I’ve told many people that. So a UPS obviously provides the benefit of keeping a computer powered on for a limited time if the power goes out. If the battery reserve of the UPS runs too low before the power comes back on, the UPS can tell the computer to power itself off cleanly to prevent a hard shutdown.\nAnother benefit of a UPS is that most common UPS’s can help “clean” the power as it comes to your computer through a feature called Automatic Voltage Regulation (AVR). What this does is helps correct minor fluctuations in the power feed coming to your computer, such as over-voltages or brownouts. If you’re not sure of the power quality in your home, or if you think it may be less than ideal, get a UPS with AVR. It’s a small additional cost to protect your equipment.\nUPS systems these days are a lot more affordable than they were 10 years ago. I remember looking \u0026amp; seeing them in the $500 range. The one I recently bought for my Mac Pro workstation cost me $150 from Newegg.com. I bought a Cyberpower CP1285AVRLCD that provides 750W of total battery power. That’s overkill for my setup, but I wanted to leave room for more appliances should I decide to plug them in later. The UPS I have powering my router \u0026amp; cable modem is an APC Back-UPS CS 350, which is an older model that was given to me. It doesn’t have any of the latest features such as AVR, but it will keep my router \u0026amp; cable modem running easily for an hour on battery power.\nAnother common problem most users face when trying to choose a UPS is “How do I know how much power I need??”. This can be a daunting task for anyone who isn’t familiar with how much power their computer \u0026amp; peripherals use. APC has a good UPS calculator that can show you approximately how much power your system draws by picking which components you have.\nHowever, I don’t recommend buying APC. In this blogger’s opinion, they’re overpriced. For a long time, they were the top name in UPS \u0026amp; power protection for anything electronic \u0026amp; over time they became a bit monopolistic in their pricing structure when compared to the features offered. Thankfully, CyberPower is the new up \u0026amp; coming player in that game \u0026amp; is earning a lot of respect in the IT community. You can get much more UPS for your dollar if you buy CyberPower. On top of that, the UPS management software that comes with CyberPower UPS’s is much better than APC’s in my experience. On OS X systems, you don’t even need to install anything, as OS X can talk to the UPS natively. To anyone who’s ever tried to set up APC’s PowerChute software, I’m sure they can appreciate keeping things transparent on the software side.\nSo bottom line is (if you skimmed through the post), get a UPS for your home PC’s, \u0026amp; make sure it’s a CyberPower UPS.\n","permalink":"https://churnd.net/2011/05/15/the-value-of-a-ups/","summary":"\u003cp\u003eI recently bought a new UPS for my home Mac Pro.  I also have a small UPS hooked up to my primary router \u0026amp; cable modem so I’ll still have connectivity during a power outage.  Fortunately, I don’t live in an area where we have frequent power outages.  What few people realize is that power outages are only part of the reason to invest in a UPS.\u003c/p\u003e","title":"The value of a UPS"},{"content":"About a month ago, an email landed in my inbox from the MacZFS Google group talking about a company called Tens Compliment and how they were bringing ZFS back to OS X. I did a double take to make sure it wasn’t spam. Much to my delight, it wasn’t. Apparently Don Brady, one of Apple’s top filesystem engineers \u0026amp; the guy who was working on bringing ZFS to OS X Server, left Apple recently to found this new startup called Tens Compliment. I couldn’t believe it… it sounded too good to be true, but there it was. ZFS in all it’s glory with deduplication, snapshotting, compression, and even full compatibility with OS X ACLs. I was one of the lucky few who got access to the first public beta so I immediately began trying it out. I was, and still am, very impressed. Can’t wait for the second beta to drop, which will supposedly have a System Preferences control panel for managing your volumes. Unfortunately, Don replied to my initial email stating his target audience was going to be the Pro-level consumer, not servers. Can’t say I blame him since Apple discontinued the Xserve.\nFor a while now I’ve been wanting to get a ZFS presence in my home just because it would be nice having the additional peace of mind that my photos \u0026amp; videos aren’t silently being corrupted without me knowing. In the past, this plan would have consisted of a dedicated mini-ZFS server running on a mini-ITX platform tucked away behind my desk. I remember pricing this setup out once before building off of a cool Chenbro box, but it came out to be ~$700 for 4TB RAW disk space. That’s a bit much.\nSince Z-410 was announced, I’m back in the game. Using my Mac Pro, I have two options:\nGet an external eSATA enclosure, such as this one from SANS DIGITAL, and fill it with 1TB drives. – $600 Get a mounting bracket from OWC, 2 2.5″ drives \u0026amp; move my boot disks up to the optical bay, freeing up the 4 primary drive bays to use for a RAIDZ1 pool. – $300-600 Option 1 is most attractive right now because it will still leave plenty of room inside the Mac Pro for other disks \u0026amp; I don’t have to give up my second optical drive bay. However, if I went option 2, I’m considering making those 2 2.5″ drives small-ish SSD’s for an additional perk, but it’ll cost more. I really can’t decide, but I’m leaning more towards the SANS DIGITAL enclosure at this point.\nFor the heck of it, I’ll post a poll that I’m sure won’t get used:\nTake Our Poll Let me know what you think!\n","permalink":"https://churnd.net/2011/04/04/zfs-on-os-x/","summary":"\u003cp\u003eAbout a month ago, an email landed in my inbox from the MacZFS Google group talking about a company called Tens Compliment and how they were bringing \u003ca class=\"zem_slink\" title=\"ZFS\" rel=\"wikipedia\" href=\"http://en.wikipedia.org/wiki/ZFS\"\u003eZFS\u003c/a\u003e back to OS X.  I did a double take to make sure it wasn’t spam.  Much to my delight, it wasn’t.  Apparently Don Brady, one of \u003ca class=\"zem_slink\" title=\"Apple\" rel=\"homepage\" href=\"http://www.apple.com\"\u003eApple’s\u003c/a\u003e top filesystem engineers \u0026amp; the guy who was working on bringing ZFS to \u003ca class=\"zem_slink\" title=\"Mac OS X Server\" rel=\"homepage\" href=\"http://www.apple.com/server/macosx/\"\u003eOS X Server\u003c/a\u003e, left Apple recently to found this new startup called Tens Compliment.  I couldn’t believe it… it sounded too good to be true, but there it was.  ZFS in all it’s glory with deduplication, snapshotting, compression, and even full compatibility with OS X ACLs.  I was one of the lucky few who got access to the first public beta so I immediately began trying it out.  I was, and still am, very impressed.  Can’t wait for the second beta to drop, which will supposedly have a System Preferences control panel for managing your volumes.  Unfortunately, Don replied to my initial email stating his target audience was going to be the Pro-level consumer, not servers.  Can’t say I blame him since Apple discontinued the \u003ca class=\"zem_slink\" title=\"Xserve\" rel=\"homepage\" href=\"http://www.apple.com/xserve\"\u003eXserve\u003c/a\u003e.\u003c/p\u003e","title":"ZFS on OS X"},{"content":"Now that gas prices are on the rise again, I’m sure everyone is once again thinking about ways they can save money. Nevermind that we should have done something while the prices were low. Big oil sure knows how to keep us hooked. I’m probably going to start taking the bus to work a few days a week \u0026amp; see how that goes. I’m a little skeptical how well it’s going to work because my hours at the office vary greatly.\nI’ve already started falling back into my old thoughts of selling my truck in favor of a more fuel efficient vehicle. I haven’t done it in the past because my truck is paid for, has had absolutely no mechanical problems, and is very handy to have when you need to move stuff around or for weekend projects. If I sold the truck \u0026amp; got a small car, what happens when I need a truck? Rent one? All of a sudden those little savings from gas prices take a hit.\nThen I started focusing on the real problem… our dependency on oil as our primary fuel source. Assume for a second that there existed a perfect alternative fuel source that could directly replace oil. Battery power has it’s issues (batteries wear out \u0026amp; are very expensive to replace), Hydropower isn’t reasonable (water costs more than gas), Nuclear power makes everyone uneasy because they don’t want to blow up or die of radiation poisoning (:rolls eyes:). But let’s imagine for a second that there does exist a perfect alternative \u0026amp; most likely it would mean a different type of automobile. Would everyone automatically switch to it? I think not. Why?\nFor the alternative to take over as our primary fuel source, a lot of things have to change. Let’s assume the source needs to be replenished occasionally, as no fuel source yet is self-sustaining. So, we’ll need recharging/refueling/replenishing stations for the new source \u0026amp; we’ll need a lot of them. There are a few vehicles that run solely off of battery power, yet I see absolutely no battery charging stations to compliment the gas pumps at convenience stores. That means if I wanted to get a battery powered car, I have to be very careful how I plan my trips to make sure I can get back home, otherwise I’m walking.\nThe biggest change, however, will hit Americans where it hurts the most… their wallet. Here’s what I mean by that. If an alternative fuel vehicle were to become mainstream in America, our existing gas powered vehicles will become worthless. Our automobiles are one of our most valuable assets, and it is not one that a person is willing to see devalued to nothing. Right now, a person is willing to buy a battery powered vehicle only because they can sell the gas powered vehicle they own for it’s book value \u0026amp; recover some of the cost. What if none of the cost could be recovered? If an alternative fuel source vehicle were to take over, demand for gas powered vehicles will drop, and in such, their valuation will drop as well. A lot of people will not be happy about that. All of a sudden, that extra $20 at the tank every week doesn’t seem so high, does it?\nI think we do need to end our dependency on oil, I’m just not sure how it can happen. Not too long ago, the US government tried an initiative that offered people an incentive to trade their gas guzzlers for more fuel efficient vehicles, and I think they offered a $2000 credit or something like that. I also think that initiative wasn’t very effective. I don’t personally know anyone who traded in. And that was nowhere near as radical of a change as changing fuel sources.\nI started thinking back to how we made the change to oil in the first place. I believe our previous method of transportation was horse. I won’t count public transportation because that didn’t belong to any one person, or not everyone had their own, so coal is out. Most likely, the reason people were willing to adopt automobiles in place of their horses is because their horse was still worth something afterwards because it could still do things an automobile couldn’t. It was a slow transition to automobiles, but it was one that was easy to make \u0026amp; it did not have any (or much) negative effect on a person’s net worth.\nThe problem now is, the Industrial Revolution is over. People don’t have a big enough reason to make a big change in their lifestyle. They’re certainly not willing to take a $15k hit to their wallet to do so. What’s it going to take?\n","permalink":"https://churnd.net/2011/04/03/ditching-gas/","summary":"\u003cp\u003eNow that gas prices are on the rise again, I’m sure everyone is once again thinking about ways they can save money.  Nevermind that we should have done something while the prices were low.  \u003ca class=\"zem_slink\" title=\"Supermajor\" rel=\"wikipedia\" href=\"http://en.wikipedia.org/wiki/Supermajor\"\u003eBig oil\u003c/a\u003e sure knows how to keep us hooked.  I’m probably going to start taking the bus to work a few days a week \u0026amp; see how that goes.  I’m a little skeptical how well it’s going to work because my hours at the office vary greatly.\u003c/p\u003e","title":"Ditching Gas"},{"content":"I just got tired of typing each command in manually every time, so I just put them in a shell script:\n#!/bin/bash if [ \"$(whoami)\" != 'root' ]; then echo \"You have no permission to run $0 as non-root user.\" exit 1 fi export PATH=/opt/local/bin:/opt/local/sbin:$PATH port selfupdate port -d sync port upgrade outdated port clean --all installed \u0026gt;\u0026gt; /dev/null 2\u0026gt;\u00261 port uninstall inactive The last two are just because I don’t like “extra junk” building up on my systems \u0026amp; by default MacPorts doesn’t remove previous versions or clean up after itself.\nYou can save the script, make it executable, \u0026amp; put it somewhere in your path so when you’re ready to update MacPorts, you can just type “sudo \u0026lt;script_name\u0026gt;” \u0026amp; watch it go.\nI also considered scheduling this, but in my experience it doesn’t always finish successfully (usually due to a bad download of the sourcecode), so the process needs to be monitored while it’s happening. Otherwise, you could eventually wind up with a broken ports collection.\n","permalink":"https://churnd.net/2011/02/07/macports-update-script/","summary":"\u003cp\u003eI just got tired of typing each command in manually every time, so I just put them in a shell script:\u003c/p\u003e\n\u003cpre class=\"lang:default decode:true \"\u003e#!/bin/bash\nif [ \"$(whoami)\" != 'root' ]; then\necho \"You have no permission to run $0 as non-root user.\"\nexit 1\nfi\n\nexport PATH=/opt/local/bin:/opt/local/sbin:$PATH\n\nport selfupdate\nport -d sync\nport upgrade outdated\nport clean --all installed \u0026gt;\u0026gt; /dev/null 2\u0026gt;\u00261\nport uninstall inactive\u003c/pre\u003e\n\u003cp\u003e \u003c/p\u003e","title":"MacPorts update script"},{"content":"Some of Apple\u0026rsquo;s earlier hardware has weird Boot Camp support, primarily with 64-bit Windows. Even though the actual hardware itself is capable of running Windows x64, Apple wouldn\u0026rsquo;t support it. So, depending on the product line you have, getting the Boot Camp drivers installed could prove tricky.\nMy workstation at home is a first generation Mac Pro (MacPro1,1), which is capable of running a 64-bit operating system. However, Apple doesn\u0026rsquo;t support it; only 32-bit. That\u0026rsquo;s not good enough for me. Yes, I could forgo Apple\u0026rsquo;s Bootcamp drivers and hunt down the manufacturer\u0026rsquo;s drivers and that would work fine. I could even have let Windows install all the drivers for me. However, I wouldn\u0026rsquo;t have had the little details, like being able to open the optical drive by hitting the eject key. Those little details drive me nuts. So, I figured out how to beat Apple at their own game.\nThis starts off assuming you\u0026rsquo;ve just installed Windows \u0026amp; you\u0026rsquo;re ready to install BootCamp. As you probably know by now, putting the Snow Leopard DVD in \u0026amp; running the BootCamp installer won\u0026rsquo;t work. Instead, follow these steps:\nClick Start, \u0026amp; type cmd \u0026amp; click on the cmd program that comes up in the start menu. In the command window, type \u0026ldquo;E:\u0026rdquo; \u0026amp; hit enter. Substitute E: for whatever DVD drive your Snow Leopard DVD is in. Now type cd Boot CampDriversApple \u0026amp; hit enter. Type dir \u0026amp; you should see a list of files, most starting with Apple \u0026amp; 2 starting with BootCamp. Now the good stuff; type msiexec /i BootCamp64.msi \u0026amp; hit enter. Boot Camp will now install! That\u0026rsquo;s half the battle. Once it installs, you\u0026rsquo;ll reboot \u0026amp; get back into Windows. Open Apple Software Update \u0026amp; there should be an update to Boot Camp. As of this writing, the latest version is 3.2, so you\u0026rsquo;ll have to update to 3.1 first, then go to 3.2. However, updating to 3.1 isn\u0026rsquo;t very easy either:\nWith only the Boot Camp update selected, click Tools, Download Only. Once it finishes, click Open Downloaded Updates Folder. You\u0026rsquo;ll see a file called BootCamp_3.1_64-bit. Move this to the upper level of your C: drive to make it easy to work with, or just somewhere easier to get to via command line. You\u0026rsquo;ll need to extract the contents of this file. I used 7-zip, which worked great. With the files extracted, you\u0026rsquo;ll see 3 files (well, I did anyway): BCUpdateInstaller, BootCampUpdate64, NvidiaGraphics64. Now you need the command line again, so open a window same as above. Now the good stuff again; in the command line window, type msiexec /p C:BootCamp_3.1_64-bitBootCampUpdate64.msp REINSTALL=ALL REINSTALLMODE=omus A window will open, click the Repair option. The updates will finish installing \u0026amp; ask you to reboot. Once you\u0026rsquo;ve rebooted back into Windows, do Apple Software Update again. Relax, because this time it \u0026ldquo;just works\u0026rdquo;! You\u0026rsquo;ll reboot again \u0026amp; you should be completely up-to-date with all the \u0026ldquo;official\u0026rdquo; Apple Boot Camp drivers \u0026amp; software. You can double check by right clicking on the Boot Camp system tray icon \u0026amp; click About Boot Camp, which should say version 3.2.\nWhy Apple made it this hard, I have no idea because Windows 7 64-bit runs great on this MacPro1,1.\n","permalink":"https://churnd.net/2011/01/20/boot-camp-on-a-mac-pro-11/","summary":"\u003cp\u003eSome of \u003ca title=\"Apple\" href=\"http://www.apple.com\" rel=\"homepage\"\u003eApple\u0026rsquo;s\u003c/a\u003e earlier hardware has weird \u003ca title=\"Boot Camp (software)\" href=\"http://www.apple.com/macosx/compatibility/\" rel=\"homepage\"\u003eBoot Camp\u003c/a\u003e support, primarily with 64-bit Windows.  Even though the actual hardware itself is capable of running Windows x64, Apple wouldn\u0026rsquo;t support it.  So, depending on the product line you have, getting the Boot Camp drivers installed could prove tricky.\u003c/p\u003e\n\u003cp\u003eMy workstation at home is a first generation \u003ca title=\"Mac Pro\" href=\"http://www.apple.com/macpro/\" rel=\"homepage\"\u003eMac Pro\u003c/a\u003e (MacPro1,1), which is capable of running a 64-bit operating system.  However, Apple doesn\u0026rsquo;t support it; only 32-bit.  That\u0026rsquo;s not good enough for me.  Yes, I could forgo Apple\u0026rsquo;s Bootcamp drivers and hunt down the manufacturer\u0026rsquo;s drivers and that would work fine.  I could even have let Windows install all the drivers for me.  However, I wouldn\u0026rsquo;t have had the little details, like being able to open the optical drive by hitting the eject key.  Those little details drive me nuts.  So, I figured out how to beat Apple at their own game.\u003c/p\u003e","title":"Boot Camp on a Mac Pro 1,1"},{"content":"No, not the coffee. :) Espresso is one of the popular web development IDE\u0026rsquo;s for OS X. I\u0026rsquo;ve been jumping back and forth between using Espresso, Coda, \u0026amp; Transmit + Textmate. Lately I\u0026rsquo;ve been using Espresso, especially since I\u0026rsquo;ve found tons of great themes \u0026amp; sugars to help extend it\u0026rsquo;s functionality. There is a very active Espresso community on GitHub, and this website contains a great collection.\nMy requirements for a good web development IDE:\nSyntax highlighting. Makes reading code much easier. I prefer dark backgrounds over white/colored text. Code folding. I don\u0026rsquo;t use this heavily, but when I need it, I need it. I will switch to a different editor if I have to. Css Navigators. These are so useful when going through CSS stylesheets so you can actually see what style you\u0026rsquo;re editing: The nice thing about getting these sugars \u0026amp; themes from GitHub is that updates are easy. Just \u0026ldquo;cd\u0026rdquo; to where the sugar or theme lives \u0026amp; do \u0026ldquo;git pull\u0026rdquo;. It would be nice if I could figure out a way to just do one \u0026ldquo;master pull\u0026rdquo;, but based on the Coffee House website, it sounds like MacRabbit is working on a way of making this better.\nSo, I definitely underestimated Espresso the first few times I tried it. Now that I can easily extend it\u0026rsquo;s functionality, it\u0026rsquo;s earned a permanent place in my dock as my primary web development IDE.\n","permalink":"https://churnd.net/2011/01/20/espresso-tips/","summary":"\u003cp\u003eNo, not the coffee.  :)  \u003ca title=\"Espresso\" href=\"http://macrabbit.com/espresso/\" target=\"_blank\"\u003eEspresso\u003c/a\u003e is one of the popular web development IDE\u0026rsquo;s for OS X.  I\u0026rsquo;ve been jumping back and forth between using Espresso, \u003ca  title=\"Coda (web development software)\" href=\"http://www.panic.com/coda/\" rel=\"homepage\"\u003eCoda\u003c/a\u003e, \u0026amp; \u003ca  title=\"Transmit (FTP client)\" href=\"http://www.panic.com/transmit/\" rel=\"homepage\"\u003eTransmit\u003c/a\u003e + \u003ca  title=\"TextMate\" href=\"http://www.macromates.com/\" rel=\"homepage\" target=\"_blank\"\u003eTextmate\u003c/a\u003e.  Lately I\u0026rsquo;ve been using Espresso, especially since I\u0026rsquo;ve found tons of great themes \u0026amp; sugars to help extend it\u0026rsquo;s functionality.  There is a very active Espresso community on \u003ca  title=\"GitHub\" href=\"http://github.com\" rel=\"homepage\"\u003eGitHub\u003c/a\u003e, and \u003ca href=\"http://fileability.net/coffee/\" target=\"_blank\"\u003ethis website\u003c/a\u003e contains a great collection.\u003c/p\u003e","title":"Espresso Tips"},{"content":"One of the (many) nice things about DD-WRT is that it has a built-in, lightweight DNS server that you can use as a DNS forwarder. Also, one of the primary things that controls how \u0026ldquo;fast\u0026rdquo; a network feels for you is the amount of time it takes to resolve a domain name. Resolving a domain name means that if you type in \u0026ldquo;www.google.com\u0026rdquo; in your browser, the browser sends a request to whatever DNS server you\u0026rsquo;re using, asking \u0026ldquo;Hey, what computer IP address does this domain name belong to?\u0026rdquo;, and finally routing the request to the computer or server. The quicker you can get this request resolved, the faster your browsing experience is going to feel.\nIf you have not changed your DNS settings at all, you\u0026rsquo;re using whatever DNS servers your ISP provides. However, ISP\u0026rsquo;s are in the business to make money first, so they\u0026rsquo;re always looking for additional sources of income. Lately, one of these has been to redirect \u0026ldquo;mistyped\u0026rdquo; dns requests to a search page filled with advertisements such as \u0026ldquo;www33.not-found-entry.org\u0026rdquo;. If you use a Mac like I do, one of the well known features is you can just type in a domain name without the \u0026ldquo;www\u0026rdquo; or \u0026ldquo;com\u0026rdquo; in Safari \u0026amp; it fills out the rest for you. However, as soon as my ISP (Insight Cable) started doing this DNS redirection, Safari autocomplete stopped working \u0026amp; I kept getting redirected to the \u0026ldquo;www33.\u0026rdquo; search page. Not cool at all.\nLuckily, you\u0026rsquo;re not locked into using your ISP\u0026rsquo;s DNS servers. There are publicly available DNS servers that don\u0026rsquo;t do anything to hijack your browser \u0026amp; in most cases are faster. Some of my favorites:\nLevel3 4.2.2.1 4.2.2.2 4.2.2.3 4.2.2.4 4.2.2.5 4.2.2.6 Google Public DNS 8.8.8.8 8.8.4.4 OpenDNS* 208.67.222.222 208.67.220.220 *OpenDNS does it\u0026rsquo;s own version of the DNS redirection on \u0026ldquo;mistyped\u0026rdquo; entries as well, \u0026amp; doesn\u0026rsquo;t play nice with Safari either. I don\u0026rsquo;t think there\u0026rsquo;s any way around this in the free version.\nThat\u0026rsquo;s not nearly an exhaustive list, so google \u0026ldquo;public dns servers\u0026rdquo; for more. Choosing the best one for you is a science best left up to other software such as namebench or DNSBench. Either program will test among the popular public DNS servers \u0026amp; pick the best one for you depending on your location.\nYou don\u0026rsquo;t have to have DD-WRT to use a public DNS server in your home. If your router supports entering static DNS servers, that would be your best bet. You can also enter it directly into your computer\u0026rsquo;s network settings.\nLike I mentioned above, DD-WRT has DNSMasq built in that handles all the DHCP stuff \u0026amp; can handle DNS requests if you want it to. One of the nicest things about DNSMasq\u0026rsquo;s DNS forwarding is that it caches your most common DNS requests. This is a very good thing, because it makes DNS lookup times almost zero, which means websites start loading a lot quicker. Any kind of caching you can do with DNS whether it be on your router or even a cache on your computer itself is a good thing.\nSetting up DNSMasq in DD-WRT is pretty simple. On the router web interface, go to the Basic Setup page (Setup -\u0026gt; Basic Setup). Halfway down the page, modify the static DNS entries to include whichever public DNS servers you chose. You will need to fill in all 3, otherwise a blank spot gets filled in by your ISP\u0026rsquo;s DNS, which defeats the purpose. Make sure \u0026ldquo;Use DNSMasq for DNS\u0026rdquo; is checked.\nOnce you\u0026rsquo;ve done that, go to the Services tab (Services -\u0026gt; Services). Halfway down the page, find the DNSMasq box \u0026amp; configure it to look like this screenshot:\nYou can leave \u0026ldquo;Local DNS\u0026rdquo; disabled if you don\u0026rsquo;t know what it does. Probably the most important option here is to set the cache-size. By default, DNSMasq\u0026rsquo;s cache-size is 150, which means it will store up to 150 entries. That\u0026rsquo;s not bad, but we can make it better. The more cached entries, the better. However, picking the right cache size depends entirely on your router \u0026amp; how much memory it has. If it\u0026rsquo;s a smaller router (like a WRT54G) \u0026amp; you\u0026rsquo;re using a mini or micro DD-WRT build, try a conservative number like 2000. If it\u0026rsquo;s a bigger router and you\u0026rsquo;re using a standard, vpn, or mega DD-WRT build, you can try 10,000 like I am doing. They key point here is to monitor the memory usage on the Status page:\nKeep an eye on this after you turn on caching. Look at it after a few days (depending on how heavily you use the web) to see if your memory is getting full. If it is, decrease your cache size.\nOnce you make these settings, reboot all of your computers \u0026amp; routers \u0026amp; modems just for good measure (or if you know how to flush their DNS caches, do that). Your router keeps it\u0026rsquo;s cache until it\u0026rsquo;s rebooted, so keep that in mind each time you reboot, it\u0026rsquo;s going to have to rebuild the cache. However, the good thing about DD-WRT is that it\u0026rsquo;s very stable \u0026amp; hardly ever requires a reboot (at least on my end). Start visiting some of your most frequently visited websites. The first visit, you won\u0026rsquo;t notice much difference because it hasn\u0026rsquo;t been cached yet. However, the second visit \u0026amp; each visit after that will be faster because your router is telling your computer how to resolve the IP address of the DNS name you\u0026rsquo;re going to, and that\u0026rsquo;s always going to be faster than using an external DNS server. I can definitely tell a difference in my overall browsing experience using DD-WRT\u0026rsquo;s DNSMasq DNS cache.\n","permalink":"https://churnd.net/2011/01/10/dd-wrt-dns-forwarding/","summary":"\u003cp\u003eOne of the (many) nice things about DD-WRT is that it has a built-in,  lightweight DNS server that you can use as a DNS forwarder.  Also, one of the primary things that controls how \u0026ldquo;fast\u0026rdquo; a network feels for you is the amount of time it takes to resolve a domain name.  Resolving a domain name means that if you type in \u0026ldquo;\u003ca href=\"https://www.google.com\"\u003ewww.google.com\u003c/a\u003e\u0026rdquo; in your browser, the browser sends a request to whatever DNS server you\u0026rsquo;re using, asking \u0026ldquo;Hey, what computer IP address does this domain name belong to?\u0026rdquo;, and finally routing the request to the computer or server.  The quicker you can get this request resolved, the faster your browsing experience is going to feel.\u003c/p\u003e","title":"DD-WRT DNS Forwarding"},{"content":" Image via CrunchBase A year ago, I won a free 1 year family subscription to Crashplan‘s online backup service on Twitter. Initially, I was thrilled because I never win anything, but as the year went on I stayed thrilled once I saw what awesome software Crashplan is. I’ve tried several off-site backup software packages when initially evaluating, including Mozy \u0026amp; Carbonite, and IMO none come close to Crashplan. So, today I’m faced with the decision to renew my subscription, and I can’t make up my mind.\nWhat makes Crashplan so great is that it combines power with ease-of-use. It is truly everything you could want in a backup software package. I’m not going to go into much detail because their website does a great job of that, but some of my favorite features:\nIt supports OS X metadata. Last I checked, it’s the only cloud backup service that does. It’s 448-bit encryption is unparalleled \u0026amp; you can use your own private key. Using a private key is the best way to ensure nobody can get into your data but yourself. You can use it to backup to your own server or peer-to-peer \u0026amp; this doesn’t cost you anything except paying for the hardware you use. It’s cross-platform \u0026amp; runs on Windows, OS X, Linux, \u0026amp; Solaris. If you have a Solaris backup server that uses ZFS, you have a killer backup solution. So, with all these features, renewing my subscription should be a no-brainer, right? Well, money is tight right now, especially after the holidays, so I’m having a hard time convincing myself to fork over the $120 for an additional year. Crashplan supports multiple pricing tiers, so you can get a better monthly value than $120/year. The majority of my conflicting decision is because of two primary reasons:\nMy home ISP plan caps uploads at 1Mbps. The initial backup of my Mac Pro downstairs took the better part of a month. Any other time I’m doing backups, it does slow things down a bit even if I limit upload speed or try to adjust the schedule. Laptops are particularly challenging because they can only be backed up while they’re being used (they’re sleeping otherwise). I also use Time Machine for backups. My laptop \u0026amp; my wife’s laptop get backed up to the Mac Pro downstairs. That backup disk is also backed up by the Mac Pro’s own Time Machine disk. I also do a Time machine backup at work. So, this backup strategy provides at least two levels of redundancy. I could rectify these problems by upgrading my home ISP plan \u0026amp; also realizing that I’m not doing off-site backups. The problem with upgrading my home plan is that it’ll cost at least $20 more a month to see any significant difference. That’s not a Crashplan specific problem, since I would have the same problem regardless of the cloud-backup software I used. Nothing I can do about that but wait until I get a raise. :) Not having off-site backups is what’s really bothering me. Before the birth of my firstborn son, I probably wouldn’t care. However, now my wife and I have tripled the size of our digital media libraries with tons of photos and videos and I know we would absolutely be devastated if they were lost. While the odds of this happening may be very slim, the possibility of it existing at all leaves an uncomfortable feeling.\nI think writing this post helped me realize what’s most important to me. Having an off-site backup of our digital memories is worth it, just like having health/auto/fire/home insurance is worth it when you need it most. $120 for a year’s worth of protection is all of a sudden starting to look less \u0026amp; less expensive.\nSubscription: renewed.\nRelated Articles Why Time Machine isn\u0026#8217;t enough for backup (macworld.com) ","permalink":"https://churnd.net/2011/01/09/crashplan-one-year-later/","summary":"\u003cdiv class=\"zemanta-img\"\u003e\n  \u003cdiv style=\"width: 227px\" class=\"wp-caption alignright\"\u003e\n    \u003ca href=\"http://www.crunchbase.com/product/crashplan\"\u003e\u003cimg title=\"Image representing CrashPlan as depicted in Cr...\" src=\"http://www.crunchbase.com/assets/images/resized/0002/4012/24012v2-max-450x450.png\" alt=\"Image representing CrashPlan as depicted in Cr...\" width=\"217\" height=\"110\" /\u003e\u003c/a\u003e\u003cp class=\"wp-caption-text\"\u003e\n      Image via CrunchBase\n    \u003c/p\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\u003cp\u003eA year ago, I won a free 1 year family subscription to \u003ca class=\"zem_slink\" title=\"CrashPlan\" rel=\"homepage\" href=\"http://www.crashplan.com\"\u003eCrashplan\u003c/a\u003e‘s \u003ca href=\"http://b4.crashplan.com/consumer/crashplan-plus.html\" target=\"_blank\"\u003eonline backup service\u003c/a\u003e on Twitter.  Initially, I was thrilled because I never win anything, but as the year went on I stayed thrilled once I saw what awesome software Crashplan is.  I’ve tried several off-site backup software packages when initially evaluating, including \u003ca class=\"zem_slink\" title=\"Mozy\" rel=\"homepage\" href=\"http://mozy.com\"\u003eMozy\u003c/a\u003e \u0026amp; \u003ca class=\"zem_slink\" title=\"Carbonite\" rel=\"homepage\" href=\"http://www.carbonite.com\"\u003eCarbonite\u003c/a\u003e, and IMO none come close to Crashplan.  So, today I’m faced with the decision to renew my subscription, and I can’t make up my mind.\u003c/p\u003e","title":"Crashplan, One Year Later"},{"content":"The Mac App Store was released today. I loved it… for about 30 mins, then the newness of it wore off. I then realized, I’ll probably never use it to buy an app if I can help it. It’s not that I don’t like it, I do… it’s just that it tries to hold my hand a bit too much. I can see grandma using it happily \u0026amp; not having to worry about dealing with software activation \u0026amp; finding the right app for this or that. But for me… a geek… I don’t need or want that kind of control over my computer.\nThis article by Lifehacker pretty much sums up exactly how I feel. Before I read the article, I was compiling my own list of “don’t likes” in my head, and they wound up pretty similar to the article:\nNo trials – this is just dumb for more expensive software. I’m not going to pay $50 for an app without being able to try it out first. No beta testing – I do this frequently with apps like Firefox and 1Password. Big no-no IMO. Everything installed in /Applications – Usually this is fine, but I like to tweak a little. For example, I have a lot of “social” apps installed, so I have them in /Applications/Social/ (along with it’s own custom icon). The App Store wouldn’t like this. A lot of my favorite apps, such as Bjango‘s iStat Menus, don’t qualify for the App Store because it delves too deeply into OS X‘s internals \u0026amp; Apple doesn’t like that. It’s no secret Apple created the Mac App Store primarily because of the iOS App Store’s huge success. I don’t think the Mac App Store will be as successful, because they are two entirely different platforms. Even with OS X 10.7 Lion, which is trying to make the Mac more iOS-like, people will always want to use a computer to do a lot more than what an iOS device can do. The iOS App Store is so successful because there’s only so many things you can do on an iOS device. While you can do a lot of the same everyday tasks on iOS, it is not a replacement for a fully functional computer. Dare I say it will probably never be. The iOS’s closed ecosystem works because people know “If I can’t do it on iOS, I have a computer that can”.\nAnother thought I had was “I wonder if Apple will move iOS devices out of iTunes \u0026amp; start managing them via the Mac App Store.” Then I realized, each iOS device is also an iPod which plays media bought from iTunes, so that’s unlikely.\nOn the plus side, Apple hasn’t restricted OS X to only the Mac App Store. You can still download \u0026amp; install your own programs manually just like before. It will be interested to see if Apple starts to move towards a more closed ecosystem like the iOS with OS X in the coming years. I really can’t see it happening, but who knows.\n","permalink":"https://churnd.net/2011/01/07/mac-app-store/","summary":"\u003cp\u003eThe Mac App Store was released today.  I loved it… for about 30 mins, then the newness of it wore off.  I then realized, I’ll probably never use it to buy an app if I can help it.  It’s not that I don’t like it, I do… it’s just that it tries to hold my hand a bit too much.  I can see grandma using it happily \u0026amp; not having to worry about dealing with software activation \u0026amp; finding the right app for this or that.  But for me… a geek… I don’t need or want that kind of control over my computer.\u003c/p\u003e","title":"Mac App Store"},{"content":"Being hard-of-hearing (deaf), I\u0026rsquo;m not able to take advantage of everyday niceties most people take for granted. One of these is talking on the phone. I\u0026rsquo;m grateful to be living in this technology age, because I personally know some who weren\u0026rsquo;t so fortunate. One of these bits of technology is the Sorenson VP200 Videophone \u0026amp; relay service. Unfortunately, I don\u0026rsquo;t benefit from the relay service because I\u0026rsquo;m not fluent in sign language (I speechread). Sorenson\u0026rsquo;s relay interpreters will not relay via oral interpretation; only sign. Yes, that sucks (\u0026amp; is possibly illegal), but that\u0026rsquo;s another blog post. What I do benefit from is that my father (who\u0026rsquo;s deaf as well) also has this phone, so it provides a great way for us to call each other.\nHowever, one of my primary gripes with Sorenson\u0026rsquo;s service is that they provide their own router along with the video phone. By default, they\u0026rsquo;ll insist the router has to be first in line to be hooked up to your cable/dsl/whatever modem. I was not happy with that at all. I did not want my primary router to behind theirs for any reason. Also, requiring the router \u0026amp; videophone to be near the cable modem is an awful requirement to have. What if you don\u0026rsquo;t have a TV nearby? Why should we be required to reorganize all of that equipment? I will say that to appease the Sorenson install guy (who was very nice, by the way), I let him set it up his way. The VP-200 is provided free from Sorenson, so I didn\u0026rsquo;t want to do anything to piss the guy off \u0026amp; have him refuse to install it. Lucky for him, I just so happened to have a TV near my cable modem. I later found out this was a good move on my part, because my father mentioned to his support tech what I did, and that guy said if Dad didn\u0026rsquo;t leave it set up his way, he\u0026rsquo;d be forced to take it back. I guess it\u0026rsquo;s only free if you do it their way? \u0026gt;:-(\nOk, enough soapbox ranting, on to the technical details;\nOnce the Sorenson install guy left, I promptly unhooked everything he did because I wanted to relocate the videophone upstairs to my primary TV since that TV is bigger \u0026amp; we are usually upstairs so that way we wouldn\u0026rsquo;t miss as many calls. Only problem is my house isn\u0026rsquo;t wired for ethernet connectivity, and the Sorenson router isn\u0026rsquo;t wireless. Lucky for me, I had just upgraded my primary router to a Linksys WRT600N, so I had my trusty old WRT54G sitting in my closet begging to be put back online. Perfect opportunity.\nI\u0026rsquo;ve been running DD-WRT firmware on my routers since I bought the WRT54G 5 years ago, and I can\u0026rsquo;t say enough about how awesome that firmware is. It transforms your SOHO router to a $600 router. Unfortunately, the process for flashing DD-WRT over the default Linksys firmware varies wildly depending on your model router. It has gotten a lot easier over the years, but I remember the first time I did it. I\u0026rsquo;ll just say the pucker factor was pretty bad, because then the chances for bricking your router were higher than they are now. I\u0026rsquo;m not saying it\u0026rsquo;s foolproof now, but if you\u0026rsquo;ve never done it \u0026amp; you want to, I highly suggest getting a router that\u0026rsquo;s known to be fully compatible.\nSo, my plan was to convert my WRT54G router to a wireless bridge. The idea is that you turn off all of the routing functionality of the bridged router and basically make it an ethernet switch hooked up to a wireless antenna and join it to your primary wireless network. The bridged router would get an IP address as a wireless client from the primary router, as would anything hooked up to its switch:\nBasically, I\u0026rsquo;m running two wireless bands on my WRT600N: 2.4GHz Wireless G \u0026amp; 5GHz Wireless N. The WRT600N has a separate antenna for both. My N network is my primary wireless network that laptops and other wireless computers use. The G network is only there for other devices that don\u0026rsquo;t support N. So, my bridge is running wireless G. This isn\u0026rsquo;t an issue for me because the VP-200 isn\u0026rsquo;t capable of fully saturating a G network, as it usually runs around 250Kbps max up/down and G\u0026rsquo;s real world average is around 24Mbps, so plenty left over. I won\u0026rsquo;t go into full detail about how to set up the bridge, because it\u0026rsquo;s already been documented very well on the DD-WRT Wiki. I will, however, go into some detail about some of the problems I had getting the VP-200 to work over the bridge.\nAt first, I left the SR-200 (Sorenson) router hooked up to the VP-200. I assigned the router itself a static IP address from my WRT600N, and put that IP in the WRT600N\u0026rsquo;s Demilitarized Zone (DMZ). What this does is makes the router itself act like it\u0026rsquo;s plugged directly into the cable modem, effectively removing any port configuration necessities \u0026amp; firewall restrictions. Keep in mind this also means anything hooked up to the SR-200 router would also be fully exposed to the world. In my case, this was only the VP-200, so that was OK with me. This setup worked great right away, and I ran it this way for about half a year.\nI eventually got tired of having the SR-200 router hooked up. It just seemed like an unnecessary part of the setup. So, I did some googling and found that it is indeed possible to use the VP-200 videophone without the SR-200 router. There is nothing special about the SR-200 router, and all it does is ensure the VP-200 is in a DMZ. The problem is, the VP-200′s network settings are locked. By default, it wants to be on a 192.168.0.x network, and DD-WRT\u0026rsquo;s IP range is 192.168.1.x. Furthermore, it\u0026rsquo;s configured by default to use 192.168.0.125, so the SR-200 would always assign it that IP address. After enough digging, I found the access code for the VP-200 to unlock it to where I could change the settings. The access code, as of this writing, is 5236. Some people say that depending on how knowledgable you can look to Sorenson, they may give you the code if you call their tech support via relay. However, since I don\u0026rsquo;t sign, that wasn\u0026rsquo;t an option for me. :) From there, I changed the VP-200 to use DHCP, and assigned it a static IP from the WRT600N, then put that IP in the DMZ. Piece of cake, right? Yes, and no.\nIn my case, it turns out over the course of a month experimenting with this new setup, I was also getting a lot of wireless interference. I figured that out after troubleshooting just about everything else it could have been. Using iStumbler, I found 30 wireless networks in range of my laptop from my living room. Six of those were using the same channel 11 that I was using, and those 6 just also happened to be the closest. I was getting all kinds of weird problems from the wireless interference, most of which I posted about on the alldeaf.com forums. However, I changed my G band channel to 3 and my problems went away. So, it just happened to be a coincidence that I started tinkering with an alternative setup around the time my neighbors all switched their wireless G routers to channel 11. So, as of this writing, I\u0026rsquo;m happily using my VP-200 wirelessly hooked up to my living room TV, sans Sorenson\u0026rsquo;s router. :)\nHowever, if you don\u0026rsquo;t want to mess with DD-WRT, there are other ways you can accomplish the same thing, such as using a \u0026ldquo;gaming wireless adapter\u0026rdquo;, as detailed in this thread. The only reason I went the DD-WRT route is that it didn\u0026rsquo;t cost me anything extra and it gave me more flexibility/reliability due to the better firmware. If you found this post searching google for how to do the same thing \u0026amp; need help, leave a comment \u0026amp; I\u0026rsquo;ll get back to you.\n","permalink":"https://churnd.net/2011/01/05/wireless-videophone/","summary":"\u003cp\u003eBeing \u003ca title=\"Hearing impairment\" rel=\"wikipedia\" href=\"http://en.wikipedia.org/wiki/Hearing_impairment\"\u003ehard-of-hearing\u003c/a\u003e (deaf), I\u0026rsquo;m not able to take advantage of everyday niceties most people take for granted.  One of these is talking on the phone.  I\u0026rsquo;m grateful to be living in this technology age, because I personally know some who weren\u0026rsquo;t so fortunate.  One of these bits of technology is the \u003ca href=\"http://www.sorensonvrs.com/\" target=\"_blank\"\u003eSorenson VP200 Videophone\u003c/a\u003e \u0026amp; \u003ca title=\"Telecommunications Relay Service\" rel=\"wikipedia\" href=\"http://en.wikipedia.org/wiki/Telecommunications_Relay_Service\"\u003erelay service\u003c/a\u003e.  Unfortunately, I don\u0026rsquo;t benefit from the relay service because I\u0026rsquo;m not fluent in \u003ca title=\"Sign language\" rel=\"wikipedia\" href=\"http://en.wikipedia.org/wiki/Sign_language\"\u003esign language\u003c/a\u003e (I speechread).  Sorenson\u0026rsquo;s relay interpreters will not relay via \u003ca title=\"Oral interpretation\" rel=\"wikipedia\" href=\"http://en.wikipedia.org/wiki/Oral_interpretation\"\u003eoral interpretation\u003c/a\u003e; only sign.  Yes, that sucks (\u0026amp; is possibly illegal), but that\u0026rsquo;s another blog post.  What I do benefit from is that my father (who\u0026rsquo;s deaf as well) also has this phone, so it provides a great way for us to call each other.\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"/images/2011/01/VP-200.jpg\" alt=\"VP-200\" loading=\"lazy\" decoding=\"async\"\u003e\n\u003c/p\u003e","title":"Wireless Videophone"},{"content":" Image via Wikipedia It’s rare for me to blog about anything non-technical. I just had a few thoughts about the whole Wikileaks controversy \u0026amp; wanted to write them down. I do not have an official stance on this whole thing; I’m pretty much on the fence about whether it’s right or wrong.\nOn one hand, I definitely don’t want those Americans who risk their lives every day for US security to be in any greater danger than they currently are. I’m grateful for what they do, and I’m not ignorant enough to think just because we don’t hear about what they do on a daily basis means they do nothing or what they do isn’t important. I can’t imagine how much safer our country is because of them.\nOn the other hand, we’re supposed to live in a democracy, where the government is controlled by the people. In fact, we’re even supposed to have the ability to overthrow it if we deem necessary:\nThat whenever any Form of Government becomes destructive of these ends, it is the Right of the People to alter or to abolish it, and to institute new Government, laying its foundation on such principles and organizing its powers in such form…\nThe problem is, how do we deem this necessary if we do not have access to information we need? Is it OK for our people’s government to have secrets like these? Is it necessary? I suppose you have to consider the kind of world we live in. If it were a perfect world, there would be no need for secrets. If evil didn’t exist, people could play fair. But evil does exist, and it definitely doesn’t play fair. If we try to play fair in the midst of this evil, we lose.\nOur government was established in a time where information was not readily available or easily accessible. At least nowhere near the volume it is today. Then, a secret could be kept under wraps with minimal effort. Today it is a huge political machine that still seems to favor the old days where it was much easier to keep that secret. Government officials are reluctant to change this for whatever reason… maybe they do have secrets they don’t want the public knowing or maybe because 50 years ago, this model worked great. Doesn’t seem to work so well today. Today, our curiosity or thirst for knowledge is so powerful that there isn’t much we won’t do to get it. Back then, there wasn’t much we could do to get it.\nSo what’s the answer? I don’t know, that’s why I’m on the fence. I see a need for both, but where do we draw the line? Who draws it? You could say that it would have to be a collective effort of all mankind to filter out what information was necessary to publicize (an embezzling govt official) \u0026amp; what wasn’t (a secret agent’s cover).\nBack to Cablegate, what does it benefit you, a US citizen, to know these things now? Does it mean you caught your government officials telling lies? Lies that probably don’t have any affect on your life \u0026amp; may or may not have been necessary in the face of certain evil? How do you know? How can you say for sure that those cables can be taken literally? How can you say you would have done differently in their shoes?\nI admire Julian Assange’s idealistic views, almost like a modern day V in some ways. I like what his intentions seem to be, to make the truth known. However, if a single person who was keeping me safe lost their life because of it, is that worth it? I think no.\n","permalink":"https://churnd.net/2010/12/04/cablegate/","summary":"\u003cdiv\u003e\n  \u003cdiv style=\"width: 96px\" class=\"alignright\"\u003e\n    \u003ca href=\"http://commons.wikipedia.org/wiki/File:WL_Helping_Hand.jpg\"\u003e\u003cimg class=\"   \" title=\"Logo used by Wikileaks\" src=\"http://upload.wikimedia.org/wikipedia/commons/thumb/9/90/WL_Helping_Hand.jpg/300px-WL_Helping_Hand.jpg\" alt=\"Logo used by Wikileaks\" width=\"86\" height=\"185\" /\u003e\u003c/a\u003e\u003cp class=\"wp-caption-text\"\u003e\n      Image via Wikipedia\n    \u003c/p\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\u003cp\u003eIt’s rare for me to blog about anything non-technical.   I just had a few thoughts about the whole Wikileaks controversy \u0026amp; wanted to write them down.  I do not have an official stance on this whole thing; I’m pretty much on the fence about whether it’s right or wrong.\u003c/p\u003e\n\u003cp\u003eOn one hand, I definitely don’t want those Americans who risk their lives every day for US security to be in any greater danger than they currently are.  I’m grateful for what they do, and I’m not ignorant enough to think just because we don’t hear about what they do on a daily basis means they do nothing or what they do isn’t important.  I can’t imagine how much safer our country is because of them.\u003c/p\u003e","title":"Cablegate"},{"content":"This has a tendency to happen when using MacPorts:\n$ sudo port upgrade outdated ---\u0026gt; Computing dependencies for curl-ca-bundle ---\u0026gt; Fetching curl-ca-bundle ---\u0026gt; Attempting to fetch curl-7.21.2.tar.bz2 from http://curl.sourceforge.net/download/ ---\u0026gt; Attempting to fetch certdata-1.70.txt from http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1\u0026amp;dummy= ---\u0026gt; Verifying checksum(s) for curl-ca-bundle Error: Checksum (sha1) mismatch for curl-7.21.2.tar.bz2 Error: Checksum (rmd160) mismatch for curl-7.21.2.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Log for curl-ca-bundle is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl-ca-bundle/main.log Error: Unable to upgrade port: 1 To report a bug, see http://guide.macports.org/#project.tickets\u0026gt; I manage several different machines that use MacPorts for a few unix programs, and I keep seeing them choke on curl-ca-bundle. If you go to curl.sourceforge.net, it redirects to curl.haxx.se (which does look awfully suspicious). Not sure exactly why the download keeps failing to pass it\u0026rsquo;s checksum, but the only way I\u0026rsquo;ve found to resolve the issue is to clean up \u0026amp; keep trying:\n$ sudo port clean --all installed ---\u0026gt; Cleaning atk ---\u0026gt; Cleaning autoconf ---\u0026gt; Cleaning automake ..... --snip--\u0026gt; ..... ---\u0026gt; Cleaning xorg-xproto ---\u0026gt; Cleaning xorg-xtrans ---\u0026gt; Cleaning xrender ---\u0026gt; Cleaning zlib $ sudo port clean --all curl-ca-bundle ---\u0026gt; Cleaning curl-ca-bundle\u0026lt;/pre\u0026gt; Then run\nsudo port upgrade outdated until it works.\n** Update **\nGot a reply on Twitter from @Macports:\n@churnd See also http://trac.macports.org/wiki/FAQ#checksums\nMore useful info on what\u0026rsquo;s actually happening.\n","permalink":"https://churnd.net/2010/12/03/macports-checksum-error/","summary":"\u003cp\u003eThis has a tendency to happen when using MacPorts:\u003c/p\u003e\n\n\u003cpre tabindex=\"0\"\u003e\u003ccode\u003e$ sudo port upgrade outdated\n---\u0026gt; Computing dependencies for curl-ca-bundle\n---\u0026gt; Fetching curl-ca-bundle\n---\u0026gt; Attempting to fetch curl-7.21.2.tar.bz2 from http://curl.sourceforge.net/download/\n---\u0026gt; Attempting to fetch certdata-1.70.txt from http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1\u0026amp;dummy=\n---\u0026gt; Verifying checksum(s) for curl-ca-bundle\nError: Checksum (sha1) mismatch for curl-7.21.2.tar.bz2\nError: Checksum (rmd160) mismatch for curl-7.21.2.tar.bz2\nError: Target org.macports.checksum returned: Unable to verify file checksums\nLog for curl-ca-bundle is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl-ca-bundle/main.log\nError: Unable to upgrade port: 1\nTo report a bug, see http://guide.macports.org/#project.tickets\u0026gt;\u003c/code\u003e\u003c/pre\u003e","title":"MacPorts checksum error"},{"content":"Apple recently announced that on January 31, they will stop manufacturing the Xserve. My initial reaction, like many other Xserve admins, was shock. All of a sudden, all this hardware became obsolete:\nThe more I thought about it \u0026amp; read the reactions of other Apple admins, I realized a few things:\nApple never posted any form of commitment to keep the Xserve around. Other hardware vendors such as Dell, HP, IBM, Sun/Oracle, do… they’re called Roadmaps, which let customers know what their plans are for the future. Apple has never shown much interest in the enterprise market. They brought in the Xserve to satisfy demands of IT professionals who wanted better options for supporting Macs in the workplace. Apple’s bottom line is sales, and the Xserve was one of their worst selling products. It’s important to note that Apple is not discontinuing the OS X Server operating system itself. They will continue to sell it on their own hardware, the Mac Pro and Mac Mini. These options may suit small businesses or the home enthusiast, but you won’t find either in an enterprise class datacenter. John Welch wrote an article for Macworld explaining why in better detail. The gist of it is this: neither the Mac Pro or Mac Mini have hot swappable parts or remote management tools such as Lights Out, both of which are a necessity when managing servers on a large scale where high availability is critical.\nOne of the things that struck me as most peculiar is that Apple never announced a roadmap for the Xserve. Enterprise IT is a very costly line of work, one that requires extensive planning. A roadmap is against Apple’s very core identity, to keep future plans a secret which builds customer anticipation. The fact that the Xserve was even adopted in the enterprise marketplace was nothing short of a miracle. I wouldn’t see that happening with any other vendor.\nFuture of OS X Server I don’t think Apple is shortsighted enough to not realize the importance of having the Mac in the enterprise and educational environments. They wouldn’t have left OS X Server around just to leave it restricted to the Mac Mini and Mac Pro, because they know there will be even less sales on those platforms. They also know neither will make it’s way to the enterprise datacenter. The Xserve hardware was introduced in a time where one server meant one physical 1-2U box per server OS. These days, server operating systems are virtual, consolidating several server operating systems to one larger box called a hypervisor. It’s a winning design because it separates the server’s dependency from the hardware itself, which makes for easier management and more efficient use of resources.\nMy prediction is that sometime early next year, Apple will announce OS X Server to be fully supported to run in a virtual environment, most likely VMware ESX. VMware already has a dominating presence in the enterprise datacenter as hypervisor of choice for virtualizing server operating systems. Several key points to why I think this will happen:\nApple is always pushing the environmental envelope. The Xserve itself is not the most environmentally friendly product due to power consumption. A virtual server is a lot greener. OS X Server is already fully supported to run in VMware Fusion, Parallels Desktop, and Virtualbox. This is OK currently because the machine it’s running on is already Apple Hardware. Snow Leopard Server started “phoning home” with the activation of a license key. You could no longer use the same key more than once. This is necessary for Apple to abandon the requirement of installing on Apple hardware. Apple announced a sneak peak to OS X Lion recently, but no mention of Lion Server. The past 3-4 OS X major updates have been complimented with a server counterpart. My hunch says Apple is waiting because Lion Server will be fully optimized to run virtually. Apple has been increasingly gearing OS X client towards compatibility with other vendor technologies which are more prominent in the enterprise, such as Active Directory and Exchange. OS X Server still provides the best way to manage OS X clients in any kind of heterogenous environment thanks to MCX. No other product exists that can beat the combination of affordability and power that OS X Server provides. My hunch also tells me this announcement will come around January’s Mac Event and Macworld Expo. We’ll see Apple modify OS X Server licensing to make it compatible to run in VMware ESX, regardless of the hardware ESX is on. It will not be a big announcement, because Apple is not focused on enterprise IT. However, all signs are pointing towards the fact that Apple understands OS X Server means more OS X clients in education \u0026amp; enterprise, which means more OS X clients for the home user, which definitely appeals to their bottom line.\n","permalink":"https://churnd.net/2010/11/27/demise-of-the-xserve/","summary":"\u003cp\u003e\u003ca class=\"zem_slink\" title=\"NASDAQ: AAPL\" rel=\"yahoofinance\" href=\"http://finance.yahoo.com/q?s=AAPL\"\u003eApple\u003c/a\u003e recently announced that \u003ca href=\"http://www.apple.com/xserve/resources.html\" target=\"_blank\"\u003eon January 31\u003c/a\u003e, they will stop manufacturing the \u003ca href=\"http://www.apple.com/xserve/\" target=\"_blank\"\u003eXserve\u003c/a\u003e.  My initial reaction, like many \u003ca href=\"http://www.google.com/search?\u0026rls=en\u0026q=site:http://lists.apple.com/archives/macos-x-server/+xserve+is+dead\u0026ie=UTF-8\u0026oe=UTF-8\" target=\"_blank\"\u003eother Xserve admins\u003c/a\u003e, was shock.  All of a sudden, all this hardware became obsolete:\u003c/p\u003e\n\u003cp style=\"text-align:left;\"\u003e\n  \u003ca href=\"http://www.flickr.com/photos/churnd/5130042064/\"\u003e\u003cimg class=\"aligncenter\" title=\"Xserve Rack\" src=\"http://farm5.static.flickr.com/4055/5130042064_f71d00bcb0_b_d.jpg\" alt=\"Xserve Rack\" width=\"275\" height=\"368\" /\u003e\u003c/a\u003e\u003cbr /\u003e","title":"Demise of the Xserve"},{"content":"During my shared hosting stint, I filled a void of not having root permission to install software by compiling from source to my home directory. Most shared hosts have a very customized install, and if the host gives you shell access, it doesn\u0026rsquo;t look anything like a regular linux server would (I didn\u0026rsquo;t explore the differences in too much detail). Two of the three hosts I tried allowed shell access and I was able to compile some basic software on both without a problem. On the hosts, I successfully compiled htop, rsnapshot, and rdiff-backup. I was also using AutoMySQLBackup.sh, but that\u0026rsquo;s just a script (a very good one at that) so it doesn\u0026rsquo;t require any compilation.\nFor this article, I\u0026rsquo;ll show you how to compile htop, which is a great alternative to top as a systems resource monitor. htop has very few dependencies to work, so it\u0026rsquo;s a good first project. I\u0026rsquo;ll use the example account name \u0026ldquo;demo\u0026rdquo;, but in the code I\u0026rsquo;ll use the shell variable $USER to make the code more copy/paste friendly ($USER in this case = demo). This article assumes you already have shell access to your host and you\u0026rsquo;re logged in and are in your home directory:\ndemo$ pwd /home/demo/ Now we need to set up your home directory to compile the software. Most linux systems expect user system-wide compiled software to be in /usr/local, so we\u0026rsquo;ll do a similar strategy here:\nmkdir ~/local Next, you need the source code (get the latest version if it\u0026rsquo;s newer than this):\nwget http://sourceforge.net/projects/htop/files/htop/0.8.3/htop-0.8.3.tar.gz/download Extract it:\ntar -zxvf htop-0.8.3.tar.gz Then change directory to htop:\ncd htop-0.8.3 The next step is not very well known, but extremely valuable when compiling from source:\n./configure --help --snip-- Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, `make install\u0026#39; will install all the files in `/usr/local/bin\u0026#39;, `/usr/local/lib\u0026#39; etc. You can specify an installation prefix other than `/usr/local\u0026#39; using `--prefix\u0026#39;, for instance `--prefix=$HOME\u0026#39;. --/snip-- So, we basically need to configure with the prefix flag pointing to \u0026ldquo;~/local\u0026rdquo;:\n./configure --prefix=/home/$USER/local You should not see any errors once configure completes. If you see any, they will be at the end of the output and will usually indicate there is a missing dependency or something. If that happens, you cannot go further without satisfying the dependency. That\u0026rsquo;s beyond the scope of this article, as it would require compiling more source code to your home directory \u0026amp; setting all sorts of flags and variables to make your environment \u0026ldquo;sane\u0026rdquo;. So, assuming configure finished without any errors, the rest is easy:\nmake (a lot of gibberish passes by \u0026ndash; technical explanation: the code is actually compiling)\nmake install (this actually installs the code to /home/$USER/local)\nCongratulations! You\u0026rsquo;ve successfully compiled htop into your home directory. If you change directory to ~/local, you\u0026rsquo;ll see a few directories were created. Example (your output may have more or less):\ncd ~/local/ ls -l total 0 drwxr-xr-x 2 demo demo 68 Nov 21 09:38 bin drwxr-xr-x 2 demo demo 68 Nov 21 09:38 etc drwxr-xr-x 2 demo demo 68 Nov 21 09:38 lib drwxr-xr-x 2 demo demo 68 Nov 21 09:38 man drwxr-xr-x 2 demo demo 68 Nov 21 09:38 share Explanation of these directories:\nbin \u0026ndash;\u0026gt; where the actual binary executable lives etc \u0026ndash;\u0026gt; where program (the binary executable) will look for it\u0026rsquo;s configuration files if it has any lib \u0026ndash;\u0026gt; any libraries the program depends on will be here man \u0026ndash;\u0026gt; the programs man pages are put here… \u0026ldquo;man htop\u0026rdquo; share \u0026ndash;\u0026gt; sometimes man pages \u0026amp; other misc docs go here Now, for the ultimate test: execute the binary to see if it works! You can reference it directly:\n/home/$USER/local/bin/htop If it says something like \u0026ldquo;File not found\u0026rdquo;, something is missing, so retrace your steps. Assuming everything worked, you should see something similar to this:\nIf you do, congratulations! It\u0026rsquo;s working!\nUsually what you do from here is make your environment aware of this new software location by updating your $PATH: (I\u0026rsquo;m using the editor VIM, but make sure you use whichever editor you\u0026rsquo;re comfortable with. VIM can be frustrating for a first time user)\nvim ~/.bashrc Then add these lines (or modify the existing lines if you already have them):\nexport PATH=~/local/bin:$PATH export MANPATH=~/local/man:$MANPATH Then,\n. ~/.bashrc (this basically tells your shell to read in the new environment)\nNow, assuming all that went well, you should be able to just type \u0026ldquo;htop\u0026rdquo; and it will start up. You should also be able to do \u0026ldquo;man htop\u0026rdquo; to read it\u0026rsquo;s manpage. If all that works, then you are done!\nUsually what I like to do is keep the source around in case I ever want to remove the software by \u0026ldquo;make uninstall\u0026rdquo;, so I usually just create a directory called \u0026ldquo;software\u0026rdquo; and move the source code into it:\nmkdir ~/software mv ~/htop-0* ~/software/ That way if I ever want to uninstall the software, I can just do:\ncd ~/software/htop-0* make uninstall (Don\u0026rsquo;t do this unless you want to uninstall everything!!)\nSo, to sum up, you can take this example and apply it to a lot of different programs assuming you have the source code to compile from. The \u0026ldquo;./configure \u0026ndash;\u0026gt;prefix=\u0026rdquo; command does all the magic for you. A lot of this is a one time thing (making ~/local and setting up your environment), so if you want to try to compile something else, just do the software specific stuff like downloading, extracting, etc. Happy compiling!\n**A Disclaimer** I have no idea if any of this will violate your terms of service with your host. I personally didn\u0026rsquo;t check myself, but I wasn\u0026rsquo;t contacted in the short time I used them. If you are concerned, check with your host.\n**A Second Disclaimer** If you see any typos from this, please let me know. I was writing it all from memory *after* I canceled my hosting plan.\n","permalink":"https://churnd.net/2010/11/21/compiling-software-on-a-shared-host/","summary":"\u003cp\u003eDuring my \u003ca href=\"/2010/11/20/web-hosting/\" title=\"Web Hosting\"\u003eshared hosting stint\u003c/a\u003e, I filled a void of not having root permission to install software by compiling from source to my home directory.  Most shared hosts have a very customized install, and if the host gives you shell access, it doesn\u0026rsquo;t look anything like a regular linux server would (I didn\u0026rsquo;t explore the differences in too much detail).  Two of the three hosts I tried allowed shell access and I was able to compile some basic software on both without a problem.  On the hosts, I successfully compiled \u003ca title=\"htop\" href=\"http://sourceforge.net/projects/htop/\" target=\"_blank\"\u003ehtop\u003c/a\u003e, \u003ca title=\"rsnapshot\" href=\"http://sourceforge.net/projects/rsnapshot/\" target=\"_blank\"\u003ersnapshot\u003c/a\u003e, and \u003ca title=\"rdiff-backup\" href=\"http://www.nongnu.org/rdiff-backup/\" target=\"_blank\"\u003erdiff-backup\u003c/a\u003e.  I was also using \u003ca title=\"AutoMySQLBackup\" href=\"http://sourceforge.net/projects/automysqlbackup/\" target=\"_blank\"\u003eAutoMySQLBackup.sh\u003c/a\u003e, but that\u0026rsquo;s just a script (a very good one at that) so it doesn\u0026rsquo;t require any compilation.\u003c/p\u003e","title":"Compiling Software on a Shared Host"},{"content":" Image via Wikipedia For a long time, I wanted to pull the trigger on setting up my own hosting plan for this blog. The idea being, I could do so much more by hosting my own WordPress instance than I could WordPress.com. I could choose from a wide variety of themes, plugins, \u0026amp; have complete control over the blog itself to customize it however I saw fit. So, sometime this past September, I finally pulled the trigger \u0026amp; set up my hosting plan. Two months later, here I am back on WordPress.com. I’ll explain why.\nFirst off, for those of you who don’t know me, I’m an emerging sysadmin by trade. I love learning how to make a computer do all of the different things that makes our world work today. I have been a sysadmin for 4 years now, and I’ve learned a lot, yet I’ve got a long way to go. I remember back when I was just getting my feet wet with Linux. I remember the frustration, but even more so that awesome feeling you get once it finally works. This is part of what made the initial idea of hosting my own blog appealing. I wanted to be able to do more with the skills I had learned.\nIt had been a while since I’d really looked into webhosting options, so I googled to see which host was the latest favorite. Finding this information is not easy, but I recommend the forums at webhostingtalk.com. During the course of this two month hosting stint, I tried 3 different hosts: Bluehost, iPage, and Dreamhost.\nAfter a while of looking around, my first pick was Bluehost. I got a 3 year plan for $3.95 a month, which included a free domain name. I thought this was a killer deal, but one day I\u0026#8217;m going to learn to adhere to the old adage \u0026#8220;If it seems too good to be true, it probably is\u0026#8221;. For the most part, Bluehost was fine. The control panel interface was cPanel driven, so finding what you needed was easy enough. However, my brain doesn\u0026#8217;t work in cPanel\u0026#8217;s \u0026#8220;Click a button and go\u0026#8221; way anymore. It\u0026#8217;s more along the lines of \u0026#8220;Type in a string of commands and go\u0026#8221;. I found myself getting frustrated with the slowness of using a GUI. Things I liked:\nSetup was quick \u0026amp; easy. The longest part was waiting for the DNS registration to complete, which took maybe half a day. I got shell access to the hosting server after providing a photo ID. All the usual bells and whistles of a hosting plan were there: email, mysql, postgresql, cron, dns management, etc. Things I didn’t:\nIt was sloooooooow. Everything was slow, even using the shell sometimes I had to wait for my keystrokes to catch up. The problem was Bluehost’s DNS servers, which I tracked down via traceroute. Traceroute showed significant delays, rarely upwards of 300ms \u0026amp; usually averaging 90ms at the longest hop. Tech support blamed the design of my site (I was using a WooTheme) \u0026amp; would not admit their DNS servers were a little slow. Searching the forums later showed this is a common problem with Bluehost. When I chatted with the tech support guy about the slowness, he suggested I close my account if I didn’t like it. WTH? Did I mention it was slow? Yeah, that’s pretty much the biggest reason I didn’t like it. I kinda set this up on a whim without doing too much research. At first glance, it looked like a good webhost. Honestly, what sold me was the *\u0026#8220;NetApp Snapshot Data Backups\u0026#8221;* feature, so I thought they must be cool. The price was comparable to Bluehost. However, I was disappointed with the level of control I had once I opened the plan. I was limited to the control panel, which seemed to be their own custom panel. It wasn\u0026#8217;t bad, definitely an improvement over the usual cPanel. The biggest deal breaker for me: no shell access. I asked tech support for this feature, and they denied me saying it was a security risk. Eh? I blame myself for expecting that while not doing enough research, but I canceled that plan a few days after opening it. I would recommend it for someone not technical who just wants a webhost. Of the three I tried, Dreamhost was by far my favorite. They have their own custom control panel that seems tailored towards the technical crowd with *plenty* of options in terms of managing all of your services. They even had an option to run your own Jabber server. How cool is that?? All the other stuff I wanted, such as shell access, was also there. Speed was the best of the 3; my site was much more responsive on Dreamhost. If you take a look at some of their employee profiles, you\u0026#8217;ll see it\u0026#8217;s the kind of company that appeals to the geek crowd. The Result So, why am I back on WordPress.com? Primarily because the host I wanted most, Dreamhost, was slightly too expensive for my taste. This blog is a hobby, and I can’t justify putting down $275 up front for a 3 year hosting plan just for a hobby. Yes, I could get a shorter term plan that’s cheaper up front, but my feeling is if you’re going to commit to a website, you do it long term.\nThis whole process has gotten me to re-evaulate what is most important to me for a blog:\nI primarily just want to write stuff sometimes, and I want it to look decent while being easy to read. The stuff I write about is usually technical in nature, so things like SyntaxHighlighter are nice to have. I later found this is built into WordPress.com by default. :) I want to have the posts publicized to social networking sites, primarily Twitter. A reliable host with decent speed. One of the appeals of using my own hosting plan was the wide array of themes I could chose from. This kinda backfired. While I could use a lot more themes, I didn’t find any that I really liked out of the box. Any one I used would require customization to get it to look how I wanted, and that would take time I didn’t have. That’s why you’ll notice at the time I posted this, I’m using the default WordPress theme Twenty Ten with only a modified banner. I’m fine with that (at least for now).\nAnother appeal was having the blog on my own DNS name. I still want that, but WordPress.com has that option for $14 a year, and I can get the name for $10 a year. All of a sudden that $100 a year hosting plan is starting to look less and less attractive.\nVPS Ideally, I’d want a VPS from the likes of MediaTemple or Linode. It would give me all the flexibility and control I wanted, and the reliability of being on an optimal network and hosted in a datacenter. However, I definitely can’t justify $30 a month, no matter how much control it gives me. Maybe one day.\nThe Solution For now, I’m back on WordPress.com and I’ve canceled all of my shared hosting plans. I still have my domain name from the Bluehost registration, which I’ll have for another year per their TOS. I’ll be pointing the name to this blog, and I may transfer it to a different registrar at some point. If I ever get the urge to have “more control” over a website to tinker, I’ll probably do something like set up a VM on my workstation downstairs and use DynDNS with it, and maybe even upgrade my cable plan. It wouldn’t be wicked fast, but I’d bet it would be as fast as those bargain-basement shared hosting plans. It’ll at least be enough to satisfy my tinkering urge. :)\n","permalink":"https://churnd.net/2010/11/20/web-hosting/","summary":"\u003cdiv class=\"zemanta-img\"\u003e\n  \u003cdiv style=\"width: 310px\" class=\"wp-caption alignright\"\u003e\n    \u003ca href=\"http://commons.wikipedia.org/wiki/File:Wordpress-logo.png\"\u003e\u003cimg title=\"WordPress\" src=\"http://upload.wikimedia.org/wikipedia/commons/thumb/c/ca/Wordpress-logo.png/300px-Wordpress-logo.png\" alt=\"WordPress\" width=\"300\" height=\"68\" /\u003e\u003c/a\u003e\u003cp class=\"wp-caption-text\"\u003e\n      Image via Wikipedia\n    \u003c/p\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\u003cp\u003eFor a long time, I wanted to pull the trigger on setting up my own hosting plan for this blog.  The idea being, I could do so much more by hosting my own WordPress instance than I could WordPress.com.  I could choose from a wide variety of themes, plugins, \u0026amp; have complete control over the blog itself to customize it however I saw fit.  So, sometime this past September, I finally pulled the trigger \u0026amp; set up my hosting plan.  Two months later, here I am back on WordPress.com.  I’ll explain why.\u003c/p\u003e","title":"Web Hosting"},{"content":"In this blogger’s opinion, sharing photos is one of those areas in the computer world that could still use some improvement. In this particular post, I mean sharing photos in the same household. My wife and I both keep separate iPhoto libraries on our laptops. As of this writing, there is no such thing as an iPhoto or Aperture server. I’ve made some attempt to try to consolidate them to a common shared storage space on the desktop downstairs using rsync. For the most part it seems to work, but opening the libraries on a computer in which they were not created or maintained gives mixed results regarding missing settings \u0026amp; plists. For the most part the settings are there, but it just doesn’t seem like a solution that would work well in the long run.\niPhoto and Aperture both support using multiple libraries, but not really a good way managing them together. Say you have a local iPhoto library that you’d use to temporarily import photos to post-process on your laptop while you’re traveling. At home you have a larger network drive that stores your primary iPhoto library. The only way to merge the photos from your intermediate library into the primary library is to export them out of iPhoto, switch libraries, then re-import them. Even then, you’re losing some of the metadata you might have set in the intermediary library. Kind of a clunky workflow.\nSo I took a step back and tried to look at the bigger picture. Why am I using iPhoto, or any app for that matter, to manage my photos? Why don’t I just keep them in a directory structure that I define myself? So I started thinking of the benefits a photo management app provides (particularly iPhoto):\nTagging photos with keywords or starring them to make them easier to find. I hardly ever use this feature and neither does my wife. Photos are sorted into events by date. Sometimes I like this, sometimes I don’t. What if an “event” to me is a few days? At present time I have my iPhoto library organized by event, person/people, or place, not so much by date. It feels like I’m fighting against what iPhoto wants to do by default by doing this. When photos are edited, it copies the photo instead of editing the original. Makes it easy to revert back to the original if you ever chose to do so. I never chose to do so and this takes up more space on my hard drive. Sharing options are built in. Some of them are useful, some not so much. I’ve found that whenever software developers try to keep up with web-based services, it’s a game they’re always behind on. Web services are much easier to update than their software counterparts. A lot of the options you might get from using a dedicated uploader might not be there in the 3rd party software and when it is, it doesn’t always work the same. Not nearly an exhaustive list, by far, but rather some that affect me the most. So why do I still use iPhoto? Because reverting back to a directory based structure would be more work up front and in the long run. It wouldn’t solve the problem of consolidating photo collections automatically, and would bring other issues into the equation like who has permission to manage what? What about duplicate photos? That could easily spiral out of control \u0026amp; actually make it harder to find what you’re looking for.\nIt’s obvious that even if you’re not using your photo management software’s full potential, it still alleviates a lot of problems that manual management can bring. The obvious next step is a centralized server, an iPhoto server. I’m not talking about simply storing your iPhoto library on a network volume and using ACL’s. I’m talking about a service built into iPhoto that automatically pushes \u0026amp; pulls changes from a central location to your iPhoto library. This would also have granular permission control that would give you the ability to assign a person read-only or read-write permissions to an event, for example. I’m aware of the iPhoto sharing feature, but that’s not good enough. It requires both people to be online and in iPhoto at the same time, which never happens unless they make it happen.\nWith the current state of personal computing moving to more portable devices, the need to have a centralized server to sync to and pull from is greater than ever before. I think it’s only a matter of time before we see it. Hopefully it won’t be too long.\n","permalink":"https://churnd.net/2010/10/31/photo-libraries/","summary":"\u003cp\u003eIn this blogger’s opinion, sharing photos is one of those areas in the computer world that could still use some improvement.  In this particular post, I mean sharing photos in the same household.  My wife and I both keep separate iPhoto libraries on our laptops.  As of this writing, there is no such thing as an iPhoto or Aperture server.  I’ve made some attempt to try to consolidate them to a common shared storage space on the desktop downstairs using rsync.  For the most part it seems to work, but opening the libraries on a computer in which they were not created or maintained gives mixed results regarding missing settings \u0026amp; plists.  For the most part the settings are there, but it just doesn’t seem like a solution that would work well in the long run.\u003c/p\u003e","title":"Photo Libraries"},{"content":" Apple TV Yesterday I stopped by the Apple Store \u0026 checked out the new Apple TV. It\u0026#8217;s a nice piece of hardware, and a few times I almost convinced myself to pull out the wallet. Why didn\u0026#8217;t I? Simple: no (or very little) subtitles or closed captioning support. If you open iTunes \u0026 browse through the App Store, you\u0026#8217;ll have a hard time finding a movie that has captions or subtitles. If you dig hard enough, there\u0026#8217;s a movie power search option that allows you search through all movies that have closed captions. The result is about 3 pages worth, and IMO, none I\u0026#8217;d want to rent or buy. I will say, though, that 3 pages worth is a definite improvement over the half page last time I checked a few months ago. It was hooked up to a 42\u0026#8243; Pioneer 720p Plasma TV. The Apple Store salesman seemed kinda embarrassed saying that, since 1080p has been the premium for a few years now at least. I will say that the movie quality looked good from iTunes, and decent through Netflix. Though I can\u0026#8217;t help but wonder if that setup is in \u0026#8220;real world\u0026#8221; settings or are they streaming everything somehow from within the store. The fact that the Apple TV doesn\u0026#8217;t store anything locally means it\u0026#8217;s going to completely dependent on the quality of your home\u0026#8217;s network connection. I can see that potentially being problematic in suburbia on a Saturday night. I also noticed there doesn\u0026#8217;t seem to be a way to interface the Apple TV with any type of keyboard or input device other than the Apple Remote, and there doesn\u0026#8217;t seem to be a way to search. That could lead to a lot of clicking on that remote. Mac Mini Nobody will argue against the fact that the Mac Mini blows the Apple TV out of the water in almost every category. It\u0026#8217;s a fully functional Mac, running a fully functional OS. That means a lot more options, \u0026 these options are critical to me. I can watch Hulu via browser (full screen) \u0026 most of the shows have captions now. I can watch Netflix via browser and embed my own subtitles (something I can\u0026#8217;t do with the Apple TV). I can stream Pandora to play through my TV\u0026#8217;s speakers for my son to listen to, or even a sound system if I had oneThere are no limits to what I can do in the internet streaming category. I can get an Elgato EyeTV Hybrid and use the Mini as a second TV tuner/DVR. Front Row includes some of the functionality that the Apple TV interface provides, and is long overdue for an update which will possibly include AirPlay support. The built in DVD player is great for the huge DVD collection I\u0026#8217;ve amassed over the years. My only gripe is no Blu-Ray support, and it doesn\u0026#8217;t look like that bag of hurt is coming\u0026#8230; ever. I\u0026#8217;m personally not too concerned about that because when I bought my Panasonic 42\u0026#8243; 1080p plasma 2 years ago, it came with a blu-ray player free (I love after Christmas sales). By the way, the quality of a Blu Ray movie is undeniably better than any HD movie on the Apple TV. And last, but not least, the latest Mac Mini supports full 1080p. \u0026lt;p style=\u0026quot;text-align:left;\u0026quot;\u0026gt; The size difference between the two, in my opinion, is not even important. Chances are you\u0026amp;#8217;re going to have some device hooked up to your TV that\u0026amp;#8217;s bigger, so either will look pretty small in contrast. Obviously, the Mini has more input/output options than the Apple TV. The output that has me wanting it even more than before is HDMI, which is the home theater interface of choice as of this writing. The previous model Mini had MiniDisplayPort, which doesn\u0026amp;#8217;t carry audio. So, when I thought about getting one then, I was going to have to get some kind of converter like several that \u0026lt;a href=\u0026quot;http://www.monoprice.com/products/product.asp?c_id=104\u0026amp;cp_id=10428\u0026amp;cs_id=1042802\u0026amp;p_id=5969\u0026amp;seq=1\u0026amp;format=2\u0026quot; target=\u0026quot;_blank\u0026quot;\u0026gt;MonoPrice\u0026lt;/a\u0026gt; offer. I hate converters, especially digital converters, as they always bring this unknown element into the troubleshooting equation, should they come up (and they usually do sooner or later). \u0026lt;/p\u0026gt; \u0026lt;p style=\u0026quot;text-align:left;\u0026quot;\u0026gt; \u0026lt;p style=\u0026quot;text-align:center;\u0026quot;\u0026gt; \u0026lt;a href=\u0026quot;http://www.apple.com/magictrackpad/\u0026quot;\u0026gt;\u0026lt;img class=\u0026quot;aligncenter\u0026quot; title=\u0026quot;Apple Wireless Keyboard and Magic Trackpad\u0026quot; src=\u0026quot;http://images.apple.com/magictrackpad/images/companion_20100727.jpg\u0026quot; alt=\u0026quot;Apple Wireless Keyboard and Magic Trackpad\u0026quot; width=\u0026quot;448\u0026quot; height=\u0026quot;118\u0026quot; /\u0026gt;\u0026lt;/a\u0026gt; \u0026lt;/p\u0026gt; \u0026lt;p style=\u0026quot;text-align:left;\u0026quot;\u0026gt; It also occurred to me that I can get an Apple Wireless Keyboard and Magic Trackpad to use with the Mini. I\u0026amp;#8217;d want to put them in some sort of tray where they\u0026amp;#8217;d be side-by-side and secured in place so I could use them from my couch. The tray would also have a place for the Apple Remote as well. Ah, a quick google search revealed I\u0026amp;#8217;m not the only one with this idea: \u0026lt;/p\u0026gt; \u0026lt;p style=\u0026quot;text-align:center;\u0026quot;\u0026gt; \u0026lt;a href=\u0026quot;http://www.unplggd.com/unplggd/home-office/housing-your-items-neatly-in-a-wooden-tray-127303\u0026quot;\u0026gt;\u0026lt;img class=\u0026quot;aligncenter\u0026quot; title=\u0026quot;Apple Wireless Keyboard and Magic TrackPad Tray\u0026quot; src=\u0026quot;http://www.unplggd.com/uimages/unplggd/091610_combine1.jpg\u0026quot; alt=\u0026quot;Apple Wireless Keyboard and Magic TrackPad Tray\u0026quot; width=\u0026quot;432\u0026quot; height=\u0026quot;202\u0026quot; /\u0026gt;\u0026lt;/a\u0026gt; \u0026lt;/p\u0026gt; \u0026lt;p style=\u0026quot;text-align:left;\u0026quot;\u0026gt; \u0026lt;p style=\u0026quot;text-align:left;\u0026quot;\u0026gt; It\u0026amp;#8217;s a no-brainer, right? So what\u0026amp;#8217;s stopping me? Price. A full Mac Mini setup would run in the neighborhood of $800. The Apple TV, ignoring that I can\u0026amp;#8217;t even actually \u0026lt;strong\u0026gt;\u0026lt;em\u0026gt;use\u0026lt;/em\u0026gt;\u0026lt;/strong\u0026gt; it, is only $99. Time to start saving up. :) \u0026lt;/p\u0026gt; ","permalink":"https://churnd.net/2010/10/10/apple-tv-vs-mac-mini/","summary":"\u003cp style=\"text-align:left;\"\u003e\n  \u003cstrong\u003eApple TV\u003c/strong\u003e\n\u003c/p\u003e\n\u003cp style=\"text-align:center;\"\u003e\n  \u003ca href=\"http://www.apple.com/\"\u003e\u003cimg class=\"aligncenter\" title=\"Apple TV\" src=\"http://images.apple.com/appletv/images/whatis_gallery_slide120100901.jpg\" alt=\"Apple TV\" width=\"322\" height=\"310\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp style=\"text-align:left;\"\u003e\n  Yesterday I stopped by the Apple Store \u0026 checked out the new Apple TV.  It\u0026#8217;s a nice piece of hardware, and a few times I almost convinced myself to pull out the wallet.  Why didn\u0026#8217;t I?  Simple:  no (or very little) subtitles or closed captioning support.  If you open iTunes \u0026 browse through the App Store, you\u0026#8217;ll have a hard time finding a movie that has captions or subtitles.  If you dig hard enough, there\u0026#8217;s a movie power search option that allows you search through all movies that have closed captions.  The result is about 3 pages worth, and IMO, none I\u0026#8217;d want to rent or buy.  I will say, though, that 3 pages worth is a definite improvement over the half page last time I checked a few months ago.\n\u003c/p\u003e","title":"Apple TV vs Mac Mini"},{"content":"Video is becoming more popular with the mainstream consumer, largely thanks to video capturing devices that are getting smaller and can take pretty decent quality videos. The iPhone 4, for example, can record 720p HD video. Since I got mine, I’ve been taking a lot more videos than usual, because I always have it on me, and it’s easy to do.\nSomething I haven’t quite gotten a hang of yet is what to do with the videos once I’ve taken them. The shorter videos (30 seconds or so), are usually fine to view and distribute as is. If the un-edited video is longer, I’ve noticed people are less likely to watch the whole thing. So this poses a dilemma to those taking the video. It seems like the only way we can retain the audience’s attention is by editing to cut out the parts that aren’t that important \u0026amp; try to trim the length to something more bearable to sit through. I’ve noticed that the more effort that goes into editing, the more likely a viewer is to watch the whole thing. Certain effects, such as cutting to a different shot or fading in/out, add to the viewer’s enjoyment. I think you’ll find that most videos available on the web that are worth viewing are edited to some level.\nSo what’s the problem? Simple: editing takes time. In some cases, a lot of time. The last video I took the effort to edit \u0026amp; make semi-enjoyable to view was before our son Nathan was born. We had a “reveal shower”, where everyone knew what we were having before we did \u0026amp; we found out at the shower. That was a lot of fun sharing the experience with everyone. My sister had her HD video camera running the entire time \u0026amp; captured about 45 minutes of video. I downloaded all of it to my laptop with the intention of making a short movie to distribute to people in my family. I will say that I rarely ever edit movies, so tackling this project was not going to be my strong suit. Thankfully iMovie has a shallow enough learning curve that I was able to get started in a relatively short amount of time. However, getting to the final product that I was happy with took collectively about 5 hours and only wound up being 3min \u0026amp; 30sec long. That was a considerable amount of time and effort to produce a single movie. I can’t imagine ever finding enough time to do that for every video I ever take.\nPhotos are a lot easier to manage. Most of the time, they just need a quick “auto-enhance” and they’re ready to be distributed. People are more likely to enjoy looking at them right out of the box, even if the majority of them are bad. The only reason I can think of for this is that a still picture can be viewed quickly. If you don’t like the picture, you can move on to the next one at your own rate. The anticipation of seeing the next one is enough to keep a person’s attention captive for the entire roll usually.\nSo what’s the answer? For me, it’s this:\nKeep the videos as short as possible. Take multiple short videos when you would normally take one long one. If you do wind up with a long one that only has a few key points in it, edit them out quickly. Photos will, for the foreseeable future, be the medium of choice for sharing an event. Don’t stop taking them just because you did a video too. For *major* life events, do video. These are worth the time it takes to edit the video into a movie. I’m interested to see how other people feel about this topic as well.\n","permalink":"https://churnd.net/2010/09/28/photos-vs-movies/","summary":"\u003cp\u003eVideo is becoming more popular with the mainstream consumer, largely thanks to video capturing devices that are getting smaller and can take pretty decent quality videos.  The iPhone 4, for example, can record 720p HD video.  Since I got mine, I’ve been taking a lot more videos than usual, because I always have it on me, and it’s easy to do.\u003c/p\u003e","title":"Photos vs Movies"},{"content":"Earlier this year, Netflix announced the beginning of subtitles support for Instant Streaming. At the time, this only included about 100 episodes of Lost. Fast forward 5 months and there’s still no indication of additional support. While I’m grateful that something was offered at all, I’m still wondering what’s taking so long for additional support. Other streaming sites such as Hulu have a much more diverse library of tv shows that are subtitled. If I want to watch a TV show online, I’ll probably go to Hulu, but most of my online watching consists of movies. If I want to see a TV show, I’ll just DVR it at home.\nSo, since there are no movies I can see that yet have subtitles in Netflix, watching instantly is kind of useless to me. So I started looking for ways to use subtitles downloaded freely from other websites. Initially I was thinking of using VLC somehow since VLC can open an SRT file and overlay it onto the video. My googling for that idea turned up nil, so I decided to broaden my search \u0026amp; googled “netflix subtitles”. That’s where I came across this blog post by Josh Erickson. That’s where I learned about the keyboard shortcuts available for the Netflix player, and the ability to embed DFXP subtitle files. I’d never heard of DFXP before, but apparently it’s an XML W3 standard for subtitles. Cool! I noticed the script was written in PowerShell, which means Windows only, but a talented Python developer also found the same blog ahead of me and ported the script to python for us Mac OS or Linux users. Also worth noting that Josh has developed a GUI for the script that he calls Subvert which should be easier for Windows users to use. Very cool!\nSince I’m primarily a Mac user, I downloaded the python script to try it out. First I needed to find some (good) SRT files for the movie I wanted to watch. There are several sites to find subtitles. I personally haven’t found a favorite, but if you google “download subtitles”, the first page of results will list several good ones. I usually wind up using opensubtitles.org the most.\nSo now that we’ve downloaded the python script and the subtitle SRT file we want to use, we need to convert the SRT file to DFXP. Here’s how:\nFirst off, you’re going to have to use the command line. On your Mac, there’s an application in your Applications, Utilities folder called Terminal. When you open it, it’ll look something like this:\nI won’t go into full detail as to what you’re seeing here, as it’s outside the scope of this article. If you’re curious, Google “using bash”. So, when you open Terminal.app, you’re basically looking at a location (directory) on your hard drive. By default, this is your home directory (Macintosh HD, Users, you… or /Users/you in Terminal-speak). If you type the command “ls” (without quotes) and hit enter, you’ll see a printout of your home directory (Desktop, Documents, Photos, Movies, etc). These are the same as the folders you see in Finder, you’re just looking at it from the command line interface.\nSo, assuming you downloaded \u0026amp; unzipped the python script as well as the SRT file for the movie you want to watch, they’ll most likely be in your Downloads folder. For simplicities sake, let’s make a folder in your home directory called “subtitles” using Finder. Go ahead and copy the srt2dfxp.py file (the python script) and the SRT file to this folder. From the Terminal app, type:\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]cd subtitles[/sourcecode]\n(this is case sensitive, so if you created the folder with a capital S, you’ll need to type a capital S) From there, we need to make sure the srt2dfxp.py file is executable in the shell we’re in, so we do this by typing\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]chmod +x srt2dfxp.py[/sourcecode]\nand hitting enter. It may be that the file is already executable, but doing this won’t hurt anything. Now we actually run it:\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]./srt2dfxp.py[/sourcecode]\nor\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]python srt2dfxp.py[/sourcecode]\nwhich prints out how to use it:\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]$ srt2dfxp.py\nSubRip to W3 Timed Text (DFXP) Converter v1.3\nOriginal PowerShell version by Josh Erickson\nPython port by Cody \u0026ldquo;codeman38\u0026rdquo; Boisclair\nUsage:\nsrt2dfxp.py [-n] [-t OFFSET] INFILE [OUTFILE]\n-n use Netflix-compatible format\n-t add OFFSET seconds to timestamps of original SubRip file\nINFILE input file name\nOUTFILE output file name; will output to STDOUT if omitted[/sourcecode]\nSo, let’s say the name of the SRT file is movie.srt, your command to convert it to dfxp would be this:\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]./srt2dfxp.py -n -t 15 movie.srt movie.dfxp[/sourcecode]\nThe -n option is for Netflix compatible format (obviously required here). The -t option is to adjust the start time of the dfxp file in case the Netflix stream doesn’t match up to the original SRT file.\nNow we need to load it by switching to the Netflix player and pressing Ctrl+Shift+Alt+M simultaneously. Use your mouse to click “Load Custom DFXP File”, and then point it to your newly created “movie.dfxp” file in the subtitles folder. If it works, you’ll notice the Subtitles button appears on the player bar:\nNow, assuming you downloaded a good SRT file and the timing is correct, you’re good to go!\nI experimented the better part of a day with downloading and converting subtitles, then loading them into the Netflix player. My experience was mixed. I encountered two main problems:\nSome of the DFXP files wouldn’t load. I’m not exactly sure why that is, but I think it is because the SRT file might have been messed up somehow. It may have also been due to the conversion process. I don’t think the Netflix Player will load a file that’s not w3 compliant. I did find that if I converted a different SRT file for the same movie, it worked. I guess it’s just a matter of finding a reliable source.\nThe timing of the subtitles is almost always off. The only way to fix this is to experiment with the -t flag when creating the DFXP file. It is a very tedious process, because you have to create the file and load it into the Netflix Player each time. According to the guy who wrote the python script:\nAs for timing, my experience has been that the timing is pretty much the same on all the sites. Typically the issue is that Netflix gets a different print from the studios for streaming than what’s used on the DVD.\nSo it’s just a matter of playing around with the times to get it right. One important note is that the -t value can be positive or negative: -t 15 or -t -15. It’s a little mind bending trying to keep up with which way to adjust the time. On one particular movie, Die Hard 3, I had to adjust the time to -120 and it took me about 30 mins to find the right time!. That was frustrating! So, once you find the right SRT file and adjust the timing, you’re good to go. I could understand how one would want to keep these valuable dfxp files around in case they’re needed later. Someone already came up with that idea, and started posting some to their blog: http://www.carolinamaria.com/nfsubs/. I’m going to look around and see if I can find more collections. I think it’s a good idea to host DFXP files that have been tested and are known to work, so I’m going to try to get involved in the collection as well as possibly promote the existing site(s) more. I have no idea whether or not there are any legal implications with doing so. I hope not.\nI actually thought about trying to write some sort of GUI wrapper to the python script, but I realized it wouldn’t really help much with making the conversion easier. What would be really cool is if I could figure out some way to have the app read the Netflix Player screen somehow to automatically detect when the movie starts, which would make getting the timing right a lot easier. Problem is, I have no idea how to do such a thing. Some kind of audio or visual trigger, even if it were manually done, would probably help a lot. I guess it would benefit to know how the timing on the SRT file begins, \u0026amp; if there’s some standard involved. More to learn…\n","permalink":"https://churnd.net/2010/09/27/netflix-subtitles/","summary":"\u003cp\u003eEarlier this year, Netflix announced the beginning of \u003ca href=\"http://blog.netflix.com/2010/04/subtitles-now-available-for-some-titles.html\" target=\"_blank\"\u003esubtitles support for Instant Streaming\u003c/a\u003e.  At the time, this only included about 100 episodes of Lost.  Fast forward 5 months and there’s still no indication of additional support.  While I’m grateful that something was offered at all, I’m still wondering what’s taking so long for additional support.  Other streaming sites such as Hulu have a much more diverse library of tv shows that are subtitled.  If I want to watch a TV show online, I’ll probably go to Hulu, but most of my online watching consists of movies.  If I want to see a TV show, I’ll just DVR it at home.\u003c/p\u003e","title":"Netflix Subtitles"},{"content":"I hate keeping receipts. I never keep any, even for tax related purposes… unless they’re HUGE receipts, then I’ll make a scan of it into a PDF file and store it away just in case. I have no idea if the IRS will honor a scanned receipt. I hope so, though I doubt I’ll ever get audited because my claims are usually on the conservative side. *knock on wood*\nThis year at work, our healthcare plans changed \u0026amp; most employees had to pick a new plan. The plans offered were nowhere near as good as the plans most employees were already on. The gist of it was that the previous great plans most employees were on were costing the hospital too much money and employees weren’t fully taking advantage of the plan. I guess I shouldn’t complain, because even now the current plan is still somewhat decent based on what I’ve heard from family \u0026amp; friends.\nWith these elections, it actually prompted me to re-evaluate all benefit options available to me. In such, I signed up for a Flexible Spending Account. I didn’t have one before simply because I didn’t fully understand what they were. Considering what my family spends a year in the pharmaceutical category, it would have saved us a lot of money if I had signed up for one sooner. Ah well, hindsight is 20/20.\nNow that I have this account, I used the debit card for the first time Friday to get two prescriptions filled. It was pretty simple, they just swiped the card and that was it. It almost felt like I was getting it for free, so I couldn’t help but smile a bit.\nHowever, one disclaimer on the plan is that I must keep all receipts. I guess for tax-related purposes? I don’t know, I’m sure I’ll figure it out when the time comes, so the least I can do in the meantime is be prepared. I wasn’t about to start a folder in my filing cabinet for all of these receipts. ”There’s got to be a better way”, I thought… a digital way. So, I thought, wouldn’t it be nice if I could take a picture of the receipt with my iPhone, and file that away in case I needed it later? Then I also thought, “Well, I’d want it to use Dropbox too”, because then I could automatically have the receipts synchronized across all of my computers \u0026amp; handheld devices. I wonder then… does such an app exist for the iPhone? Surely, I can’t be the only iPhone user out there who wants such a thing.\nA quick search through the App Store revealed JotNot Scanner Pro. It was like someone literally read my mind. This app does everything I wanted to do in terms of collecting and storing receipts. It works great. I’m already looking through all of the receipts I have scattered on desks and dressers around the house to see if they’re worth keeping. I’ve probably scanned about 5 so far. The app uses your iPhone’s camera to take a picture of the receipt, but it does it so much better than the default camera app would do. Once you take the picture, you then edit the picture to keep only what you want \u0026amp; discard the rest. The cropping interface is fantastic. You just drag the 4 corners of the crop box to the edges of the object you took the picture of. Once you’re happy, you click Process and the app optimizes the picture based on the preset you choose. For example, there’s a Receipt preset, and the app basically transforms the picture into a 2D black \u0026amp; white image that is much more readable than just a picture would be. If you have a long receipt, you can take more than one picture, and they’re all included as pages in the document. The default format created is PDF \u0026amp; I’m not sure if you can change that… haven’t played around with it enough.\nAs if that wasn’t good enough, JotNot Pro will also upload these scans to Dropbox, as well as other common cloud file services. Like I said, it’s like the developers were reading my mind. That’s absolutely perfect for what I wanted.\nAt the time of this writing, it’s going for $.99, which is a steal. Considering how cheap I am, I avoid paying for apps if at all possible, but I had no problem clicking the purchase button for this one. It’s definitely going to make my life easier. I rated it 5 stars in the App Store… highly recommended!\n","permalink":"https://churnd.net/2010/09/26/keeping-receipts/","summary":"\u003cp\u003eI hate keeping receipts.  I never keep any, even for tax related purposes… unless they’re HUGE receipts, then I’ll make a scan of it into a PDF file and store it away just in case.  I have no idea if the IRS will honor a scanned receipt.  I hope so, though I doubt I’ll ever get audited because my claims are usually on the conservative side.  *knock on wood*\u003c/p\u003e","title":"Keeping Receipts"},{"content":"Google not allowing Skyhook is the latest example of why Google’s attack on Apple’s “draconian” future is the pot calling the kettle black.\nThe second “strike“, if you will, got me thinking about why these incidents are such a big deal. Apple’s iPhone OS has always been a closed platform. When Apple first released the iPhone, it was completely closed… no 3rd party applications at all. Developers complained, loudly, and eventually got what they wanted when Apple released the iPhone SDK, which turned out to be a huge success. However, today the iOS is still a closed platform and all apps submitted to Apple’s app store are subject to a screening process. A lot of developers still aren’t happy with this process.\nGoogle heard the developers as well, and used their complaints against Apple as a marketing tool. They claimed Android would be a completely open platform. I think this is subject to interpretation. At the time, I’m sure a lot of people took it to mean users \u0026amp; developers could do whatever they wanted on their mobile devices with Android. Looking back on it now, I can see how it would mean differently. Android itself is an open source mobile operating system. Anyone can obtain it and do with it as they wish, which includes writing or installing whatever applications they want.\nHowever, there are three primary ingredients in using a mobile device: the device itself, the device’s operating system, and a communication channel. Two primary communication channels for mobile devices these days are cellular and wireless. Cellular data is obviously a much more attractive option to consumers because of it’s availability. Wireless is obviously faster, but coverage/availability is limited. Cellular is always “on”. So obviously, Android wasn’t going to be much without a decent mobile device and cellular carrier. The mobile device part has been taken care of pretty well, HTC’s models have been very popular in the Android community. So what about the carriers?\nBetween the big 3: AT\u0026amp;T, Verizon, \u0026amp; Sprint… none will allow a device on their network in which the user has full control to do whatever they want. Bandwidth is expensive, and cellular networks are still in their infancy regarding data speeds. While they are a lot faster than they were a decade ago, they leave a lot to be desired. Many users on the same network will cause problems. AT\u0026amp;T has been having well known problems dealing with the surge of traffic caused by the iPhone. Users want the fast, reliable, and abundant connections that cellular networks are coming to provide. Because of this, Android will never be 100% open \u0026amp; free. We will always rely on a “draconian” third party, whether it be Google themselves or the cellular carriers, to provide us with a product that will give us the “always on” experience.\nI don’t know about you, but if I had to choose between the software company or the cellular carrier calling the shots, I’d pick the software company. It’s becoming more obvious (or speculative) why Apple chose AT\u0026amp;T alone and no other carrier to host the iPhone. They most likely wanted someone who would allow them to call the shots over what could or couldn’t be done. Before the iPhone was released, AT\u0026amp;T wasn’t the consumer’s carrier of choice. They’d more likely go with Verizon, Sprint, or one of the smaller carriers local to an area. The primary reason being, to my recollection, fewer dropped calls and better customer service. The big 3 almost always shared the same phones, so consumers had the luxury of chosing. So why did Apple chose only AT\u0026amp;T? I don’t think anyone truly knows, but it’s fun to speculate. More than likely, they both needed each other. Apple needed a carrier with lots of potential that would give them the control over the device they wanted. In return, AT\u0026amp;T would get a much needed boost in sales. It is likely Apple also went to at least Verizon (and possibly Sprint), with the same offering. I think Verizon was the number one carrier pre-iPhone, so they weren’t as desperate for the boost in sales. Apple likely approached them with their terms, and Verizon likely (and foolishly) thought Apple needed them more than they needed Apple. I’m sure Verizon’s CEO is still kicking himself for that one. Rumor has it that the iPhone will be coming to Verizon January 2011, though I’d bet you that if it happens, it will be on Apple’s original terms… not Verizon’s.\nBecause of these three things required (device, os, \u0026amp; carrier), no mobile platform will ever be truly open from the consumer’s standpoint. Even if Google themselves rolled out their own cellular network, you can bet they would still practice some kind of control over what could \u0026amp; couldn’t be done. Their reasons are seemingly typical of any large governing body: ”It’s what’s best for users as a whole”. The users who are interested in this kind of news are most likely the ones that don’t like these governing bodies determining what’s best for them, because most likely these users are well capable of troubleshooting their own problems and really just need that connection they’re happy to pay for. Unfortunately, these governing bodies don’t see it that way. To them, you’re no different than your grandpa who just uses his cutting edge device to check the weather every morning. So, Android is open, as long as you’re willing to provide the device and network yourself. Only then can you do whatever you want.\n","permalink":"https://churnd.net/2010/09/19/android-and-skyhook-strike-two/","summary":"\u003cp\u003e\u003ca href=\"http://www.wired.com/gadgetlab/2010/09/skyhook-sues-google-says-android-isnt-so-open-after-all/\" target=\"_blank\"\u003eGoogle not allowing Skyhook\u003c/a\u003e is the latest example of why Google’s attack on Apple’s “draconian” future is the pot calling the kettle black.\u003c/p\u003e\n\u003cp\u003eThe second “\u003ca href=\"http://www.tgdaily.com/mobility-features/50990-google-terminates-android-root-app\" target=\"_blank\"\u003estrike\u003c/a\u003e“, if you will, got me thinking about why these incidents are such a big deal.  Apple’s iPhone OS has always been a closed platform.  When Apple first released the iPhone, it was completely closed… no 3rd party applications at all.  Developers complained, loudly, and eventually got what they wanted when Apple released the iPhone SDK, which turned out to be a huge success.  However, today the iOS is still a closed platform and all apps submitted to Apple’s app store are subject to a screening process.  A lot of developers still aren’t happy with this process.\u003c/p\u003e","title":"Android and Skyhook… strike two?"},{"content":"A thought occurred to me last week while watching a co-worker navigate his way to a webpage. Rather than actually type the website’s name in the browser’s address bar (which he knew) and navigating to the specific page he wanted to see, he went to Google and typed in a few keywords, hit enter, and the specific webpage he wanted was 2nd or 3rd in the list. I noticed I did the same thing later on that week. I needed to register an AppleCare support agreement. Rather than browse to www.apple.com, click on Support, Register \u0026amp; View Applecare, Register a new agreement, I just went to www.google.com, typed in “register applecare”, and the first result took me where I needed to go \u0026amp; I got there quicker too.\nA large part of this behavior can be credited to the effectiveness of search engines today. A decade or so ago, I’m sure people would most likely prefer to browse to the website’s root URL rather than use a search engine as a shortcut to get there. This is probably because search engines then just weren’t anywhere nearly as good as they are now. Today, we can see search results of things happening in the world in real time. That just goes to show how far things have come. It’s also interesting to me to wonder where they’re going. We can safely assume searching isn’t going anywhere anytime soon. It might take new forms, but the idea will be the same: People want easy and efficient ways to tell a computer what to do.\nTake the way I use my Macbook Pro for example. I have a program called Quicksilver installed, which is like a swiss army knife for invoking actions, or “doing things”, on the laptop. Say I want to launch an app that’s not in my dock. I’ll hit CTRL+SPACE and start typing the app I want, which shows up in half a second, then I hit enter and it opens. To me, that is a lot more efficient than clicking my way through Finder to find the app I want. I think this type of behavior is going to become a lot more prevalent in the coming years of the digital world. Manually browsing via menus \u0026amp; shortcuts are a thing of the past. I will admit, I even use Quicksilver to launch apps that are already in my dock! It’s just that engrained in my thought process. We’re coming into the digital age where we can just tell a computer what we want and it produces results.\nSo what of DNS? I understand it’s tightly woven into the very fabric of the IT world… a lot of things just won’t work without it. Does the end user care? Probably not. If you allow yourself to imagine for a minute, how much easier would IT be if it didn’t have to rely on DNS? DNS was created to provide a user-friendly way to remember how to get to a particular computer because no way could everyone remember the particular IP address for each individual computer. With the way things are going, it seems all you need is a good search engine and a way to set specific metadata or keywords that tells the search engine what you are. This doesn’t have to just be limited to web browsing. I can see it taking place of anything and everything we use DNS for. All you need is a kind of a database that gathers and collects these metadata of what a computer is or does, then other computers will be able to easily find it just by having the user type in what he/she wants to do. The type of service would be discovered, and it would trigger the appropriate action on the operating system automatically. A lot of you might be thinking, “that sounds awfully insecure”… but it wouldn’t be! Just imagine if you could restrict a particular user’s search results to only systems they’re supposed to have access to, such as on a corporate LAN for example. Then the results, of course, would have to be verified by some sort of two-factor or certificate based authentication, before triggering the operating system behavior. All the end user would have had to do was type “accounting file server” in a search box, and be automatically connected once verifying and choosing the results. There’s a lot more to consider than just that, of course… I’m just barely skimming the surface.\nOne thing’s for sure, it’s going to be interesting to see how search will continue to play a role in the future of IT. Not just using search as a way to find information you want, but using search as a way to start a process of actions for what you want to do. Almost sounds like the beginnings of Artificial Intelligence, doesn’t it? :)\n","permalink":"https://churnd.net/2010/09/13/is-dns-dying/","summary":"\u003cp\u003eA thought occurred to me last week while watching a co-worker navigate his way to a webpage. Rather than actually type the website’s name in the browser’s address bar (which he knew) and navigating to the specific page he wanted to see, he went to Google and typed in a few keywords, hit enter, and the specific webpage he wanted was 2nd or 3rd in the list.  I noticed I did the same thing later on that week.  I needed to register an AppleCare support agreement.  Rather than browse to \u003ca href=\"https://www.apple.com\"\u003ewww.apple.com\u003c/a\u003e, click on Support, Register \u0026amp; View Applecare, Register a new agreement, I just went to \u003ca href=\"https://www.google.com\"\u003ewww.google.com\u003c/a\u003e, typed in “register applecare”, and the first result took me where I needed to go \u0026amp; I got there quicker too.\u003c/p\u003e","title":"Is DNS dying?"},{"content":"A follow-up to this post: \u0026lt;/2009/03/09/set-time-machine-image-size/\u0026gt;\nApparently Apple got keen to what people were doing regarding manually limiting the sparsebundle image size. As of update 10.6.3 or so, they “fixed” Time Machine to where it will resize the sparsebundle back to encompass the whole volume. I cannot think of one good reason why Apple would do this, unless there is some problem caused by it. I’ve been using it successfully for 5 different clients for a year.\nGood news is, we can reclaim our resizing superpowers \u0026amp; make them stick. Doing so also involves delving into the command line, but if you did the previous command successfully, this one won’t be any more difficult.\nBasically you have to run this:\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]sudo chmod a-w bundlename.sparsebundle/Info.*[/sourcecode]\nthen (the previous command):\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]sudo hdiutil resize -size 250g bundlename.sparsebundle[/sourcecode]\nThis command removes all write privileges to the Info.plist and Info.bckup files inside the sparsebundle being used with Time Machine. Resizing any sparsebundle requires being able to write to these files, so if they can’t be written to, it’ll just complain that the resize can’t be completed in your system logs (see Console.app). I have not tested it fully, but I think this command must be run on the server itself.\nNow you don’t have to sit by and watch helplessly as Time Machine fills up the volume you’re backing up to. This is the kind of control that Apple should have built into Time Machine anyway.\nKeep in mind though… if you ever need to resize your sparsebundle again, for example, you get a bigger HD \u0026amp; start using more space than the sparsebundle can contain, you’ll need to un-do the first step above before you can grow it:\nsudo chmod a+w bundlename.sparsebundle/Info.*\nthen:\nActually, I don’t think you need to do this chmod because you’re using sudo…\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]sudo hdiutil resize -size 500g bundlename.sparsebundle[/sourcecode]\nNot too complicated, is it? That’s why I can’t figure out why Apple wouldn’t want to give this functionality to users via the Time Machine preference pane.\n","permalink":"https://churnd.net/2010/09/03/time-machine-sparsebundle-size-update/","summary":"\u003cp\u003eA follow-up to this post:  \u0026lt;/2009/03/09/set-time-machine-image-size/\u0026gt;\u003c/p\u003e\n\u003cp\u003eApparently Apple got keen to what people were doing regarding manually limiting the sparsebundle image size.  As of update 10.6.3 or so, they “fixed” Time Machine to where it will resize the sparsebundle back to encompass the whole volume.  I cannot think of one good reason why Apple would do this, unless there is some problem caused by it.  I’ve been using it successfully for 5 different clients for a year.\u003c/p\u003e","title":"Time Machine sparsebundle size update…"},{"content":"I decided I had to get a Seagate Momentus XT to compliment my OCZ Vertex SSD. You know… for educational purposes. :)\nI contemplated putting it in place of my Superdrive, but the more I thought about it I realized I do still use the Superdrive occasionally. I glanced over at my LaCie Rugged FW external drive and thought “That XT would be sweet in that enclosure” but at first dismissed the idea since there are stickers on the enclosure that clearly state the warranty is voided if they are removed. I didn’t want to void the warranty. Then I thought about it more, \u0026amp; changed my mind. :)\nI actually did try to carefully remove the stickers with a razor blade but slightly tore one. If I had been a little more patient, I’m sure I would have been successful. However, I made myself feel better by realizing even if the XT fails, I’m not sending this thing back to LaCie… I’m taking the XT out and sending it back to Seagate. I instantly felt better.\nThe 500GB Momentus XT was on backorder for 2 months, but finally came in today. I wasted no time performing the transplant. The LaCie Rugged enclosure is not difficult to work with. It’s held together on the side by metal clamps that snap shut when pressed on. Once apart, you can see that the drive is secured by a sort of thin plastic wrap that has rubber bumpers which press on the surroundings of the enclosure to hold the drive in place. I’ve heard of suspending drives in PC tower cases with rubber bands to help silence them, but that’s the first time I’ve seen an external enclosure use rubber bumpers to hold a drive in place. I guess it does provide additional shock protection in case the drive is bumped or dropped. Other than that, replacing the drive was as simple as unplugging/re-plugging the SATA connector.\nIs it faster? Yep:\nPre-Hybrid\n[sourcecode language=\u0026ldquo;text\u0026rdquo;]\nResults 32.25\nSystem Info\nXbench Version 1.3\nSystem Version 10.6.4 (10F569)\nPhysical RAM 4096 MB\nModel MacBookPro5,1\nDrive Type LaCie Rugged FW/USB\nDisk Test 32.25\nSequential 66.48\nUncached Write 77.68 47.69 MB/sec [4K blocks]\nUncached Write 94.79 53.63 MB/sec [256K blocks]\nUncached Read 35.68 10.44 MB/sec [4K blocks]\nUncached Read 114.66 57.63 MB/sec [256K blocks]\nRandom 21.29\nUncached Write 6.82 0.72 MB/sec [4K blocks]\nUncached Write 73.31 23.47 MB/sec [256K blocks]\nUncached Read 58.21 0.41 MB/sec [4K blocks]\nUncached Read 96.51 17.91 MB/sec [256K blocks][/sourcecode]\nPost-Hybrid\n[sourcecode language=\u0026ldquo;text\u0026rdquo;]\nResults 54.09\nSystem Info\nXbench Version 1.3\nSystem Version 10.6.4 (10F569)\nPhysical RAM 4096 MB\nModel MacBookPro5,1\nDrive Type LaCie Rugged FW/USB\nDisk Test 54.09\nSequential 84.64\nUncached Write 102.83 63.14 MB/sec [4K blocks]\nUncached Write 94.12 53.25 MB/sec [256K blocks]\nUncached Read 50.81 14.87 MB/sec [4K blocks]\nUncached Read 138.39 69.55 MB/sec [256K blocks]\nRandom 39.74\nUncached Write 12.86 1.36 MB/sec [4K blocks]\nUncached Write 155.03 49.63 MB/sec [256K blocks]\nUncached Read 101.48 0.72 MB/sec [4K blocks]\nUncached Read 152.54 28.31 MB/sec [256K blocks][/sourcecode]\nI’m hoping that I’ll be able to take advantage of that 4GB cache when running virtual machines. If I configure the machines to split their virtual disks up into 2GB files (and I usually do), loading one 2GB segment entirely in the SSD cache would be no different than running it off of the laptop SSD itself. However, I am limited by the 80MB/s theoretical maximum speed of the FW800 bus. eSATA would take care of that problem but it’s not a native port option on any Apple computer yet, I don’t have an enclosure as portable as my LaCie that supports one, and I’m not that greedy…. yet. :) Also, one of the main things I like about the LaCie is that I don’t have to supply external power. I very much dislike “portable” external enclosures that require a power source. Kinda defeats the whole portable benefit.\nWhile I’ve got about 90GB remaining on my 250GB Vertex SSD, I’ll be moving most of my virtual machines over to my new LaCie Hybrid to see how well they run there. I don’t really have any good benchmarks to compare running virtual machines, so my judgement will be entirely “seat-of-the-pants”. If I had thought about it, I would have done more tests such as starting/resuming VM’s from the old 5400RPM drive \u0026amp; compare to the new XT. Hindsight is 20/20. :)\n","permalink":"https://churnd.net/2010/08/12/lacie-rugged-hybrid/","summary":"\u003cp\u003eI decided I had to get a \u003ca href=\"http://www.seagate.com/www/en-us/products/laptops/laptop-hdd\" target=\"_blank\"\u003eSeagate Momentus XT\u003c/a\u003e to compliment my \u003ca href=\"http://www.ocztechnology.com/products/solid_state_drives/ocz_vertex_series_sata_ii_2_5-ssd\" target=\"_blank\"\u003eOCZ Vertex SSD\u003c/a\u003e.  You know… for \u003ca href=\"/2009/08/14/ssd-upgrade/\" target=\"_blank\"\u003eeducational purposes\u003c/a\u003e.  :)\u003c/p\u003e\n\u003cp\u003eI contemplated putting it \u003ca href=\"http://eshop.macsales.com/item/Other%20World%20Computing/DDAMBS0GB/\" target=\"_blank\"\u003ein place of my Superdrive\u003c/a\u003e, but the more I thought about it I realized I do still use the Superdrive occasionally.  I glanced over at my \u003ca href=\"http://www.lacie.com/products/product.htm?pid=11085\" target=\"_blank\"\u003eLaCie Rugged FW\u003c/a\u003e external drive and thought “That XT would be sweet in that enclosure” but at first dismissed the idea since there are stickers on the enclosure that clearly state the warranty is voided if they are removed.  I didn’t want to void the warranty.  Then I thought about it more, \u0026amp; changed my mind.  :)\u003c/p\u003e","title":"LaCie Rugged Hybrid"},{"content":"Google pulled Easy Root? Why does this sound familiar? I’m not even going to try to compare the number of Apple’s App Store rejections with Google’s. I know Apple has far more. It’s not about that. It’s about doing something you said you wouldn’t do. Apple clearly stated they have a right to reject App Store submissions. Google said they would never do that \u0026amp; that anyone should be free to develop whatever application they wanted. Google, how’s that crow?\nAn aside… I tried an HTC EVO this weekend which is supposed to be Android’s current flagship phone (or one of them). I’ll be perfectly honest, using Android was almost painful. Everything just seemed so clunky and not-smooth… not at all what I’m used to with 4 years iPhone experience. Swiping on it made me think of dragging something across sandpaper rather than the buttery smooth action I’m used to on the iPhone. To be fair, the guy that had it said he just bought it a few days ago \u0026amp; he hadn’t so much as installed an application that didn’t come with the phone. Also, to me, it seemed a little too big to be a phone. However, the larger screen was a nice plus when he showed me the one feature I actually DID like, photo \u0026amp; video recording. The quality seemed very good. I asked him how he liked it overall far… his response was very “meh”… just unimpressed. His biggest complaint was battery life. He said any considerable usage would drain his battery in half a day. That’s pretty bad. He’s considering taking it back \u0026amp; switching back to Verizon \u0026amp; hope the iPhone gets released with Verizon in January.\nI have no qualms against Google, I love a lot of their services. I’m definitely disappointed that their relationship with Apple has been going steadily downhill since Eric Schmidt resigned from Apple’s board of directors. I think it would have been the ultimate partnership had it continued.\n","permalink":"https://churnd.net/2010/08/10/easyroot/","summary":"\u003cp\u003e\u003ca href=\"http://www.androidcentral.com/google-pulls-easy-root-market\" target=\"_blank\"\u003eGoogle pulled Easy Root\u003c/a\u003e?  Why does this sound \u003ca href=\"/2010/06/28/iphone-vs-android/\" target=\"_self\"\u003efamiliar\u003c/a\u003e?  I’m not even going to try to compare the number of Apple’s App Store rejections with Google’s.  I know Apple has far more.  It’s not about that.  It’s about doing something you said you wouldn’t do.  Apple clearly stated they have a right to reject App Store submissions.  Google said they would never do that \u0026amp; that anyone should be free to develop whatever application they wanted.  Google, how’s that crow?\u003c/p\u003e","title":"Ahem… Easy Root anyone?"},{"content":"My wife and I are now proud owners of Apple’s latest phenomenon, the iPhone 4.\nI’m not going to go into all the technical details of how awesome this thing is, because it’s been covered many many times. Instead, I’m just going to do a quick excerpt on how this device is already changing my life in the 12 hours I’ve owned it.\nThe biggest feature to us is FaceTime. My wife and I are both hearing impaired, and cannot talk on the phone. I still remember back in the day when text messaging was becoming popular. Then, I remember thinking, “Why in the world do people want to text instead of call?”. I chalked it up to being one of the first times in history that a technology fad actually caught on with the general population. That seems to be a continuing trend, so I can’t tell you how much that makes me happy. I have a good feeling about FaceTime. Once we got our phones activated and on my home’s wireless network, we made our first FaceTime call. Words can’t describe how amazing it was to finally talk to my wife on the phone. We had text messaging before, yes, but sometimes we needed to have an actual conversation… now we can. Connecting was easy, she called my phone and I answered, then waited for FaceTime to get ready which was maybe a few seconds after I answered. Connecting took a few seconds (I thought something was wrong for a second, but that’s just me), but did connect with no problems. I couldn’t believe how good the quality of the call was. My wife was holding my 8 month old son while calling, and he kept grabbing at her phone as if he was thinking “What’s daddy doing in there??”. I’ve done plenty of video chats before via Skype, Google Talk, and SorensonVRS. This device rivals, and sometimes beats, them all. I have no idea how Apple pulled it off, but they pulled it off. I’m definitely interested to learn more about the FaceTime protocol Apple is using. It’s going to be an open standard, so there’s nothing to prevent other devices/software from using it. I’m especially interested to see if there’s an update to iChat in the future that employs FaceTime technology… something like iChat HD. It would also be cool if we saw this make it’s way into the Mac Mini or Apple TV, via a built in camera.\nThe next thing I wanted to write about is the speed increase. Coming from an iPhone 3G, I didn’t realize how much I had grown accustomed to the touchscreen keyboard delays, apps taking a few seconds to open up, apps pausing/crashing, etc. I upgraded my 3G to iOS 4 the day it came out. It was a bearable experience for me, but I didn’t upgrade my wife’s 3G because I knew she’d not be able to tolerate the additional slowness. She’s not a technology fan, she just wants it to work. She is already a LOT happier with the iPhone 4. The minute I started using my iPhone 4, I would say my usability factor increased by 100%. I’m now able to type on the keyboard as fast as I want, there are now no delays in opening \u0026amp; closing apps, and not a single app has crashed on me yet. Taking pictures is a LOT faster. I can open the Camera app and snap a photo in 1/10th of the time it took me on the iPhone 3G. Everything is more responsive; checking email is faster, web browsing is faster, everything is faster.\nThe last feature I want to write about is the video recording. This is one of the primary reasons I wanted to upgrade to the iPhone 4. Yes, the 3GS has this capability, but I wasn’t eligible to upgrade to the 3GS. I’m glad I waited. We have a regular Sony video camera we got as a wedding gift. It’s OK, records standard definition onto a mini RW DVD. The only way I can get the video off is to manually take the DVD out and rip it to my Mac Pro, then recode the VOB files using Handbrake. Another problem is the amount of time it takes to get the thing ready to record. If you just wanted to capture a quick moment, you’re not going to get it ready in time. I seriously contemplated buying a Flip HD or something similar to get around this limitation. I canceled my plans when Apple announced the iPhone 4 would be able to record 720p HD video. Now I have a video camera in my pocket wherever I go and I’m probably going to put that Sony DVD Camcorder on eBay.\nOther notes:\nRetina Display – every bit as good as everyone says it is. The difference is noticeable to the naked eye. Cameras – I love having two, and the ability to switch between them. I used to hold my 3G backwards and try to guess where the button was on the Camera app to take pics of my son and myself. Now it’s easy. :) Multitasking – I’m not sure if I’ll use it much, but it works flawlessly. Voice Control – a new feature for me coming from the 3G. Haven’t explored it yet, but I’ve heard it’s not that reliable. Compass – again, new to me. Pretty cool to have. A note on actually getting the phones: I will admit I was shocked. If you’ve followed the news lately, pre-order day was a catastrophe… both Apple’s and AT\u0026amp;T’s servers crashed under the load. They sold over 600,000 iPhone 4′s before lunch. Then came launch day. The Apple Store in Kenwood had over 1,000 people in line, and sold out within a day or so. A funny aside from a co-worker: “I read an article of a guy who went to the mall and walked past the 1,000 people in line outside the Apple store, and went and sat outside the Radio Shack store as first in line. Got his iPhone in 10 mins”. Classic! So after all this, I thought “There’s no way I’m getting ours anytime soon”. Launch day came for the AT\u0026amp;T stores. Again, the lines grew early that AM, and the stores quickly sold out. I didn’t even try, because I knew I wouldn’t get there early enough. Out of curiosity, I went by the AT\u0026amp;T store in Rookwood on my lunch break. There was no line and the store seemed to be doing normal business. I thought that was strange but I went in anyway. Was quickly greeted by an employee and I asked if he had any iPhone 4′s in stock. He said they sold out 30 mins after opening that AM, but that I could order mine if I wanted. I asked how long it would take to get them if I ordered. Response was “7-10 days”. A little skeptical, I went ahead and ordered mine and my wife’s. I asked him several times, “7-10 days, right?”, and got a yes each time. I left the store thinking, surely something’s going to go wrong here. I’m probably not going to see these phones until August sometime. The next day I got two emails stating that both phones had shipped via FedEx overnight from somewhere in Fort Worth, TX, and that I would get them the day after. Holy Crap!! How in the world could this be true?? I posted a quick update on this to Twitter, and got several responses saying that people who went through all the trouble of pre-ordering on pre-order day still hadn’t gotten theirs, and no notification of when they would. I couldn’t believe it. I see this as a major logistical problem on AT\u0026amp;T \u0026amp; Apple’s part. No way should I have gotten my iPhones before these people, but I did. Still shocked, and I feel bad for those people. I think my buying experience was way easier than what most other people have had to go through with the pre-order process and waiting in lines. I’d be interested to see how many other people had the same experience as I did, whether it was just a fluke and I won the lottery so-to-speak, or if many others had the same experience as me. Leave a comment if you did.\nAbout the antenna problem: Yes, I see it on both my wife’s and my iPhones. I just make sure my left palm isn’t covering the bottom left corner, and I’m OK. I explained this to my wife as well, and she had no problems with it. She’s going to get a case anyway, and I’m thinking about a combo between a belt folio and Apple’s Bumper case. Maybe our situation is different because FaceTime is such a blessing to us that we’re willing to overlook this technicality.\nThank you, Apple, for making a huge difference in our lives.\n","permalink":"https://churnd.net/2010/07/02/iphone-4/","summary":"\u003cp\u003eMy wife and I are now proud owners of Apple’s latest phenomenon, the iPhone 4.\u003c/p\u003e\n\u003cimg class=\"aligncenter size-medium wp-image-342\" title=\"iPhone 4\" src=\"/wp-content/uploads/2010/07/123625435.jpg?w=225\" alt=\"\" width=\"225\" height=\"300\" /\u003e\n\u003cp\u003eI’m not going to go into all the technical details of how awesome this thing is, because it’s been covered \u003ca href=\"http://www.anandtech.com/show/3794/the-iphone-4-review\" target=\"_blank\"\u003emany\u003c/a\u003e \u003ca href=\"http://arstechnica.com/apple/reviews/2010/06/iphone-4.ars\" target=\"_blank\"\u003emany\u003c/a\u003e \u003ca href=\"http://www.engadget.com/2010/06/22/iphone-4-review/\" target=\"_blank\"\u003etimes\u003c/a\u003e.  Instead, I’m just going to do a quick excerpt on how this device is already changing my life in the 12 hours I’ve owned it.\u003c/p\u003e","title":"iPhone 4"},{"content":"Now that Android phones are gaining momentum in the mobile marketplace, people are starting to get a better idea of what it would be like to have a truly “open” phone OS. The results are not always proving favorable.\nIt’s like the saying goes, with freedom comes responsibility. Do you trust all Android app developers to be responsible with your information? To create a stable app? To not break the law? Why should you, the user, have to worry about all of that? I know I don’t want to have to dig into reviews of every app I install just to make sure it won’t crash my phone or steal my data. Are you OK with Google having complete access to your phone anytime they want it?\nFlash on a phone? You can have it, I don’t want it. I’d like my phone to last more than 30 mins on one charge, and not crash my browser almost every time I want to watch a video. Apple found a better way to deliver mobile video content. Sorry Adobe.\nApple’s App Store takes all of that burden off of your shoulders, with some pitfalls. No, you can’t have any app you want. Yes, sometimes Apple’s a bit trigger happy in killing App Store submissions. That sacrifice is met with a great user experience in terms of stability, performance, legality, and better security.\nThe basic gist of it is, nobody wants to be censored or told what they can or can’t do. However, anytime you take a large community and give them free reign with no rules (android devs), chaos always ensues. That is true on so many levels of humanity, and holds true here. I think that Android’s biggest problem is that they focus on whether or not they can, instead of whether or not they should. Once Google realizes this, I will not be surprised to see how similar Android’s marketplace will be to Apple’s App Store.\n","permalink":"https://churnd.net/2010/06/28/iphone-vs-android/","summary":"\u003cp\u003eNow that Android phones are gaining momentum in the mobile marketplace, people are starting to get a better idea of what it would be like to have a truly “open” phone OS.  The results are \u003ca href=\"http://nanocr.eu/2010/06/27/googles-mismanagement-of-the-android-market/\" target=\"_blank\"\u003enot always proving favorable\u003c/a\u003e.\u003c/p\u003e","title":"iPhone vs. Android"},{"content":"I back up my Macbook Pro using Time Machine to OS X server at both work and home. Two different backups. The more the better, right? The only thing I didn’t like was having to switch the TM destination manually by going into System Preferences, Time Machine, etc. Lots of clicks. ”I need automagic”, I thought. After a lot of Googling, I came up with a way that works. Here’s how.\nFirst off, you need to figure out how Time Machine remembers it’s backup destination. You can do this by running this command in the Terminal:\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]defaults read /Library/Preferences/com.apple.TimeMachine BackupAlias[/sourcecode]\n. That’ll output some really long string of characters. I have no idea what they mean, but that is how Time Machine remembers which disk/volume it is using. It’ll look something like this:\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]00000000 03aa0002 00010642 61636b75 70000000 00000000 00000000 00000000 00000000 0000c79e f1f5482b 00010000 00010642 61636b75 70000000 00000000 00000000 …….. 00000668 65617476 34000018 00206166 703a2f2f 68656174 76344044 61727769 6e2e6c6f 63616c2f 4261636b 7570ffff 0000[/sourcecode]\n. I cut my output short because it’s pretty long, but you’ll need your entire output from one \u0026lt; to the last \u0026gt;. You’ll need both of these strings of numbers for each Time Machine destination. The only way I know how to get them is to set it in Time Machine preferences first, then do the defaults read to get the value.\nOnce you have both, we’ll need to put each in it’s own respective shell script, like so:\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]#!/bin/bash\ndefaults write /Library/Preferences/com.apple.TimeMachine BackupAlias ’00000000 03aa0002 00010642 61636b75 70000000 00000000 00000000 00000000 00000000 0000c79e f1f5482b 00010000 00010642 61636b75 70000000 00000000 00000000 …….. 00000668 65617476 34000018 00206166 703a2f2f 68656174 76344044 61727769 6e2e6c6f 63616c2f 4261636b 7570ffff 0000′[/sourcecode]\n. So when you’re done you’ll have two different scripts. Make sure they’re executable by doing\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]chmod +x script.sh[/sourcecode]\n. After that, you can actually run them to verify it does change your Time Machine destination just by doing\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]./script.sh[/sourcecode]\n, then going into Time Machine preferences and seeing what destination has been set. If it works, put both scripts somewhere out of the way and leave them there. I have a folder in my home directory\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]~/Library/Scripts/[/sourcecode]\nwhere I keep various Applescripts, so I put them there. They do not actually have to be in your user or system path ($PATH) based on how we’re setting it up, but it won’t hurt either way.\nNow we’ve got the backend of switching Time Machine destinations set up, we need a way to trigger it. I wanted to do this based on my IP address, because my work IP address range is different from at home. To do this, I’m using MarcoPolo. It took me a while to figure out how MarcoPolo works, but it’s basically like this (assuming I understand it correctly):\nA “context” in MarcoPolo is basically a set of rules. Whatever “context” is active, only the rules that belong to it will be in effect. Since I’m only using MarcoPolo for one purpose at this time, I only have one context, and two rules. This wasn’t evident to me at first, because I couldn’t figure out how to tell which rule would trigger which action. The best I can tell is that they’re in order… the first rule will trigger the first action, and so on. Not 100% clear on that yet.\nSo my first rule is for my home network, which only has one subnet, so it was easy to configure:\nThe second rule was for work, and based on my location between various buildings, my IP address could change quite a bit. I thought of making the rule specific to the subnet I’m on when I’m in my office, but I decided to go with the entire IP range:\nAfter that, I set up the actions to correspond with the order of the rules:\nI set the delay on the actions just to give the OS time to get settled with other network based events that might be going on. I’m sure you could do without it, I’m just weird that way.\nSo, this morning when I got to work, it didn’t work out for me because I was misunderstanding the purpose of contexts. I thought you had to have a different context for each rule. :( But I did verify that the tm_work.sh script did switch my Time Machine backup destination and I kicked off the backup manually, which worked fine.\nWhen I got home after work, I got back online to see if MarcoPolo would do it’s magic. Sure enough, it did. I’ll watch it over the next few days to make sure it switches and backs up reliably, but this is looking to be a great way to have more than one Time Machine destination.\n","permalink":"https://churnd.net/2010/04/09/switching-time-machine-destinations/","summary":"\u003cp\u003eI back up my Macbook Pro using Time Machine to OS X server at both work and home.  Two different backups.  The more the better, right?  The only thing I didn’t like was having to switch the TM destination manually by going into System Preferences, Time Machine, etc.  Lots of clicks.  ”I need automagic”, I thought.  After a lot of Googling, I came up with a way that works.  Here’s how.\u003c/p\u003e","title":"Switching Time Machine Destinations"},{"content":"The issue is best explained here: Snow Leopard’s Samba adds unwanted directives to shares.\nThe issue I was experiencing specifically was with Windows XP users:\nUser had read/write ACL access to the share. User could create a folder, but not rename it. User could delete said folder. User could create a file but not rename it. User could not delete said file. The fix, unfortunately, involves delving into the OS X command line. Anyone who thinks that OS X Server can be managed entirely from the GUI will be disappointed.\nBefore the 10.6.3 update, I was able to get away with using [global] entries in /etc/smb.conf:\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]; Site-specific parameters can be added below this comment.\n[global]\n; Hide OS X stuff from Windows Users\nveto files = /.fseventsd/.Trashes/.com.apple.timemachine.donotpresent/.TemporaryItems/TheVolumeSettingsFolder/TheFindByContentFolder/Temporary Items/Network Trash Folder/\ndelete veto files = yes\n; Fix ACL’s for Windows XP Users\nacl check permissions = no\nnt acl support = no[/sourcecode]\nPretty self explanatory. I didn’t find the ACL fix for Windows XP users… I got it from the guy who manages the above blog.\nSo, this worked before 10.6.3 was released. Well, occasionally Samba would seem to forget these settings, specifically the veto file directive. In that case, I would bounce the smb service, and all would be good for a while.\nWith 10.6.3, the problem of Samba forgetting [global] entries got a lot worse. They would work for ~1 day, then quit. I had to do a more destructive bounce of the services smbd \u0026amp; nmbd to get them to work again. That got old quick.\nSo, following the recommendation of the post above, I added the specific share directives themselves:\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;][Backup]\nacl check permissions = no\nnt acl support = no\nveto files = /.fseventsd/.Trashes/.com.apple.timemachine.donotpresent/.TemporaryItems/TheVolumeSettingsFolder/TheFindByContentFolder/Temporary Items/Network Trash Folder/\ndelete veto files = yes\nhide unreadable = yes[/sourcecode]\nWhat a crock.\n","permalink":"https://churnd.net/2010/04/07/os-x-server-smb-problems/","summary":"\u003cp\u003eThe issue is best explained here:  \u003ca href=\"http://www.stanford.edu/group/macosxsig/blog/2010/01/snow_leopard_samba_and_nt_acl.html\" target=\"_blank\"\u003eSnow Leopard’s Samba adds unwanted directives to shares\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eThe issue I was experiencing specifically was with Windows XP users:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eUser had read/write ACL access to the share.\u003c/li\u003e\n\u003cli\u003eUser could create a folder, but not rename it.  User could delete said folder.\u003c/li\u003e\n\u003cli\u003eUser could create a file but not rename it.  User could not delete said file.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eThe fix, unfortunately, involves delving into the OS X command line.  Anyone who thinks that OS X Server can be managed entirely from the GUI will be disappointed.\u003c/p\u003e","title":"OS X Server SMB Problems"},{"content":"I’m fortunate enough to where I convinced my boss I needed an SSD to learn how to manage them. She agreed. :) At first I thought I was going to hell for telling such a lie. I thought at the time… an SSD is just a more stable HDD. I thought wrong. I’m glad I bought one. If these things are the future, they’re a whole new category of HD’s. Managing them is not as simple as it would seem.\nSSD’s work great, when they work. One thing I particularly have a problem with is, they can lock up your system to an absolutely frozen state in a second. No warning. No moving parts means just that… it’s either all or nothing. I’ve never seen a HDD instantaneously lock up a system to a frozen state. They just don’t work that way because of the mechanical parts involved. If you catch a failing HDD in it’s earlier stages, you’ll likely be able to recover data. If an SSD stops working, it just stops working. That’s it. So, the problem with the system being locked up instantaneously means you’re forced to do a hard-reset. With HDD’s, this made IT professionals cringe, because you weren’t giving the OS the opportunity to close open files and finish whatever writes it needed to do to the HD. The file system could become corrupt as a result. That doesn’t happen usually, but can happen. You’re also instantly removing power from the drive, not giving it a chance to spin down. This can be detrimental to it’s internals. With SSD’s, I’ve personally experienced a hard reset mean an unreadable disk. I’m still not sure exactly why, but it’s something to do with the controller.\nIf you follow the latest and greatest in the SSD world, you know the drive’s controller is everything. The actual storage space of an SSD itself is virtually bulletproof. Manufacturers are right in saying the storage medium is much more reliable than HDD’s. However, what good is the data if you can’t access it? The idea of storing data on flash memory is nothing new, as we’ve been doing it with USB thumb drives for a while, which are pretty reliable. Using an SSD as your primary OS hard drive means you need a way to effectively manage where the data goes on that flash memory, and all of the other things an OS expects a drive to be able to do. That’s why the controller is important. In the early stages of SSD’s, several drives had controller issues usually due to firmware that was not optimal. Firmware is everything to an SSD. The drive would start off blazing fast, but would degrade to a state slower than an HDD after a while.\nThe standard tools for managing a HDD don’t apply to an SSD. You don’t ever need to defragment an SSD, and actually, doing so will hurt your drive’s performance. Defragmentation only applies to platter based HDD’s, the idea being that over time files get scattered across the platters, and the needle would have to work harder and take longer to find what you needed. Defragmenting reorganized the files to pack them closer together to the center of the platter’s spindle. This meant less work for the needle, and faster seek times (improved performance) for the user. With an SSD, there is no moving, rotational part, so no seek times. Everything is just “there”, which is the biggest reason why it’s so fast.\nSSD’s do need maintenance though. If your drive and it’s OS support TRIM, that’s your best bet. TRIM takes care of a lot of the maintenance for you. However, the only OS I’ve seen at this time that natively supports TRIM is Windows 7, which is weird because M$ is usually behind the curve on these things. I’ve seen in various forums that Linux does support TRIM, but you have to invoke it manually or script it to be scheduled. As far as I can tell, OS X doesn’t support TRIM. There is another feature in some drives called Garbage Collection. GC has the same concept of TRIM, but just on a less frequent basis. TRIM happens at the time of a file deletion. GC happens only occasionally. Not having one of these features is one of the reasons an SSD’s performance degrades over time.\nAnyway, back to the main problem. I have an OCZ Vertex 256GB Mac SSD. I wanted the Intel SSD more, but it wasn’t big enough for me. The OCZ had one of the best controllers (Indilinx), therefore at the time it was second only to the Intel 128GB model SSD. Intel’s controller still cannot be beaten in terms of speed and reliabliity. More on that later.\nSince I bought this SSD, I’ve had it crap out on me 4 times.\nThe first time was when I first got it. I installed it, hooked up my old drive to a SATA to USB adapter, then proceeded to clone the old drive onto the new. The clone froze halfway through, and rendered the drive unusable. I notified my reseller, and they were awesome enough to immediately ship me another. This time it worked, and I used it for about 3 months. Second failure was more spectacular. I was using Mail.app to compose an email. It just stopped responding and I got a beach ball. At first I thought it was just Mail, but over the course of the next 5 mins, other apps followed suit. I could use them initially, but eventually they all beachballed. I’m guessing what I was able to use was the app being loaded into memory. Once they actually wanted to write to the filesystem is when they beachballed. Had to do a hard reset and to my surprise (then), the drive wasn’t recognizable upon restart. However, then I pulled it out and left it removed from any power source for ~30 mins. I got this tip from OCZ’s forum, by the way. I plugged it back in, and it was recognizable, and I continued working… no real loss there. The third failure was bad, because I had to do an RMA. It happened ~4 months after the second. I, again, was just doing light application work and got the same result as the second. However, this time, the drive would not come back no matter what I did. Checking OCZ’s forums gave me a few ideas to try, but none of them worked. You’ll notice that there are a few OCZ employees that are on their forums every day. I wonder why. :) The 4th failure happened Easter weekend 2010. This time I was running a sustained write to the disk to check IO. I was writing a 10GB file, by using this command in OS X: dd if=/dev/zero of=/tmp/testfile bs=10240 count=102400. It wrote maybe 3GB, then became unusable… beachballs again. Hard reset gave the same result… no disk. I want to make this clear… I think my problems are more due to my Macbook Pro’s inadequate internal cooling than they are the SSD. I have a 2009 Unibody Macbook Pro, model identifier MacBookPro5,1. This model has the SATA bus and GPU on the Southbridge controller of the logic board, so it can get a little warm. :) By a little warm, I mean a lot warmer than I’d prefer. If I can find enough time, I really want to get some Artic Silver on the heatsinks, though that may void my AppleCare. It’s no secret Apple messed up when they applied a little too much thermal paste to these Macbook Pros.\nBack to the problem, again. My particular SSD has jumper pinouts on the back to where if they’re closed (jumper installed), it puts the SSD into “maintenance mode”. This will present the SSD to your system as a YATAPDONG BAREFOOT drive. You can’t actually do anything to the SSD in this mode except flash firmware.\nSo I’m scouring OCZ’s forums for some ideas on what to do. Believe it or not, this is how OCZ recommends getting customer support. If you want their latest supported firmware, you have to get it from their forums… not their website. :-/ The Indilinx controller has had several firmware revisions since I bought mine originally. The procedure to flash them is laughable, and can make you go insane. Each firmware revision has had a different firmware flash procedure. Believe it or not, if you want to do any low level SSD work, you’ll need a Windows PC, on a PC with a motherboard that has a certain chipset. This is because you’ll need the SATA controller on the motherboard to be set to IDE mode with no emulation. This is an awful thing to require.\nSo I found a thread on OCZ’s forums that describes a process of recovering a drive with symptoms similar to mine, a process approved by one of OCZ’s technical support employees. This process involved flashing the drive’s firmware back to revision 1.10, then incrementally flashing to 1.3, then 1.41, then 1.5 (which is the current as of this posting). I’m reading this and shaking my head in disbelief. How can they have this kind of business model and expect to succeed? At this point, I don’t care… I just want to get back up and running. Here’s how it went.\nI hooked the drive up to an HP dc7700 PC, which is what I had available. BIOS told me the SATA controller was in IDE mode, which was the important thing. So I put a jumper on the drive and it shows up on a Windows PC as YATAPDONG BAREFOOT in Device Manager. I power off, remove the jumper, reconnect, reboot, and can’t see the device at all. This is at least a little promising… I may be able to get it working again. So, I re-installed the jumper and proceeded to flash the firmware in order:\nDownloaded firmware 1.10, which is considered by OCZ to be their last “destructive” flash. It will wipe out the drive. I don’t care… I can’t use it at this point. It requires the drive to be in maintenance mode, and hooked up as a secondary to a Windows system. You download the firmware from OCZ’s firmware sub-forum (not their website :) ), which consists of a zip file of an executable along with the firmware files themselves. You run the executable, and a command prompt window pops up seeing if it can detect the drive. If it can, it asks you if you want to flash. You say yes, it spits out a bunch of gibberish about the drive being unclean and finishes. I do recall on my SSD’s previous failures, I attempted to do this as part of the recovery process and it failed. I’m still not sure why. This time it succeeded. So, I’m back on firmware 1.10. On to the next step. Downloaded firmware 1.3. I hate this firmware. It’s clear at this time, OCZ was still trying to figure out how to best flash the drives. It’s supposed to be run the same as 1.10, but without the drive in maintenance mode (no jumper). I tried this, but it failed. However, they also provide a way to download a bootable ISO which boots to FreeDOS and has the firmware already loaded. Mind you, the ISO was created by one of the forum members, not OCZ. The ISO I downloaded wasn’t bootable. I downloaded several times, and burned the ISO on several different CD’s. It just wasn’t bootable. Luckily, they also provide a bootable USB option… same concept as the ISO. It was easy for me to set up because I followed all the right links in the forums and landed on the how-to that actually worked. So, bootable USB drive created, this time it actually boots… but doesn’t recognize the SSD. BIOS recognizes the SSD, but not the firmware updater. I searched the forums more, and it seems that 1.3 is very picky about what SATA controller it’s hooked up to. Luckily, I also have a Dell Precision 670 in the lab and in the forums, people had the most luck with Dells. I tried it there, and it worked. :) Up to 1.3 now. Downloaded 1.41, which comes in an ISO provided by OCZ. Tried to flash on the HP dc7700, but same result as the 1.3 USB. Then I remembered I upgraded to 1.41 from my Macbook Pro when it first came out. So I popped the drive back into the Macbook Pro, booted to the CD, flashed the firmware. Now on 1.41. Downloaded 1.5, which also comes on an ISO provided by OCZ. It’s clear OCZ figured out that ISO’s are the way to go. Left the drive in the Macbook Pro, booted to the 1.5 CD, flashed the firmware. Now (finally) back to 1.5. I then hooked the SSD back up to the HP dc7700 and booted to Windows with it as the secondary drive. I wanted to run OCZ’s sanitary erase tool on it once. I don’t know why, because I think the firmware flashing takes care of this for you, but I wanted to make sure the drive was in as pristine shape as possible. Only took a second to do.\nThis entire procedure took all day.\nAt this point, you’re probably asking yourself… Why did he have to go through each one? I’m still not sure. The forum staff member said to, and he knows more than I do, so I listened. It worked, didn’t it? I think it has something to do with needing to get back to 1.10 which is a destructive flash, and you can’t go from 1.10 to 1.5… you have to do them incrementally.\nHowever, I’m typing this now on my Macbook Pro, running that SSD that yesterday was inoperable. I’m back up and running, largely due to Time Machine, which restored all my data.\nAfter all that trouble, why would I still want to run this SSD as my primary drive? Well, you see, it’s freakin’ fast. It’s like crack. I can’t go back to a platter based HDD as my primary OS drive. I refuse to. My brain is now wired for SSD. Anything slower is painful. I’m willing to accept the possibility of failure and downtime because I have my Time Machine backups going to my OS X Server at home as well as my OS X Server at work. I also keep my important documents in the “cloud”… Dropbox for personal stuff, and my work provided EMC SAN for work documents. I still have my platter based HDD that I can restore my Time Machine backup onto if I absolutely have to (i.e., need to RMA SSD).\nWould I recommend OCZ to anyone? Yes, I would. As I stated above, I’m almost certain the majority of my SSD problems is due to my Macbook Pro’s southbridge controller. In a different machine, I think this SSD would shine, and not have any problems (or much fewer problems). If they did have problems, they’d just RMA it. OCZ still needs to get their firmware upgrade process settled. The forums are still rife with users who have seemingly bricked their drives due to a botched firmware upgrade. The 1.5 firmware is a vast improvement over the previous versions, but it’s still more of a “hackers tool” than a commercial one. I think OCZ’s newest model uses a different controller altogether. Haven’t read up on that enough to comment on it.\nIf you can afford it and you can do without the space, I would strongly suggest getting an Intel SSD as my first choice. Both of my business managers have one, and they love it. I have had zero problems with either (knock on wood), Intel’s firmware upgrade process works every time, and the Intel SSD toolbox is nice to have. The OCZ would be my second choice, only because other manufacturers seem to have even less support. At least you can communicate to an OCZ staff employee through the forums. One (RyderOCZ) even lets you ship your drive to him and he’ll try to recover it using the tools he has. If he can’t, he’ll RMA it for you. If he can, he’ll ship it back to you. I did this the third time my drive died. He couldn’t recover it, and it had to be RMA’d. Got the new one within a few weeks.\nDo NOT run an SSD without some sort of automated, live system backup tool. You actually shouldn’t run any OS without this in place, but even more so for an SSD. For OS X, use Time Machine. For Windows, I’m using Seagate Replica and I like it a lot. Provides similar Time Machine functionality for Windows clients. For Linux… um… rsync? If you run Linux, you don’t need me telling you how to back up. :)\nSolid State Drives are still an evolving technology. The controllers and their firmware need to mature further before they can overtake platter based HDD’s in consumer systems. They are the future, but the future’s not here yet. :)\n","permalink":"https://churnd.net/2010/04/06/recovering-an-ocz-vertex-ssd/","summary":"\u003cp\u003eI’m fortunate enough to where I convinced my boss I needed an SSD to learn how to manage them. \u003ca href=\"/2009/08/14/ssd-upgrade/\"\u003eShe agreed\u003c/a\u003e. :) At first I thought I was going to hell for telling such a lie. I thought at the time… an SSD is just a more stable HDD. I thought wrong. I’m glad I bought one. If these things are the future, they’re a whole new category of HD’s. Managing them is not as simple as it would seem.\u003c/p\u003e","title":"Recovering an OCZ Vertex SSD"},{"content":"In the past, many people have attempted to get Time Machine to back up to a linux server via netatalk. Usually this involved quite a bit of hackery, and was usually unreliable.\nOne of the reasons it was unreliable is because the netatalk share wouldn\u0026rsquo;t present itself as a time machine destination. You had to throw a switch on your OS X client to get it to use any network share. This didn\u0026rsquo;t always \u0026ldquo;just work\u0026rdquo;.\nAs of Netatalk 2.0.5, there is a \u0026ldquo;tm\u0026rdquo; option that can be used to present the share as a Time Machine destination. Problem is, most linux distros don\u0026rsquo;t have 2.0.5 in their repos yet, so you\u0026rsquo;ll have to compile it manually. I was able to do it on openSUSE 11.2 by configuring without the print option. For some reason, leaving that option off would fail, likely due to a dependency I didn\u0026rsquo;t care to troubleshoot. I wasn\u0026rsquo;t using print anyway.\nSo, when you compile, you\u0026rsquo;ll most likely have everything in /usr/local/netatalk unless you specified other options when you configured. In there you\u0026rsquo;ll have your AppleVolumes.default file that contains your shares, so you would add one like this:\nAppleVolumes /data TimeMachine allow:user cnidscheme:cdb options:usedots,tm The important part being at the option tm.\nRestart netatalk: [sourcecode language=\u0026ldquo;bash\u0026rdquo;]sudo /etc/init.d/atalk restart[/sourcecode]\nYou should now be able to see the share in Time Machine Preferences without any trickery. The really helpful thing is, if you ever have to do a full restore, the share will also show up when booting to the OS X DVD.\nSo now if you have a unix box, you can start using it for Time Machine backups. If you\u0026rsquo;re planning one for some sort of NAS, I would actually recommend going with FreeNAS, assuming all you need is a NAS. FreeNAS will do all of this for you, and leverages the power of ZFS.\n","permalink":"https://churnd.net/2010/03/27/netatalk-time-machine/","summary":"\u003cp\u003eIn the past, many people have attempted to get Time Machine to back up to a linux server via netatalk. Usually this involved quite a bit of hackery, and was usually unreliable.\u003c/p\u003e\n\u003cp\u003eOne of the reasons it was unreliable is because the netatalk share wouldn\u0026rsquo;t present itself as a time machine destination. You had to throw a switch on your OS X client to get it to use any network share. This didn\u0026rsquo;t always \u0026ldquo;just work\u0026rdquo;.\u003c/p\u003e","title":"Netatalk Time Machine"},{"content":"I’m not looking forward to going to work today and being exposed to all of the political banter surrounding the passage of the new Health Care Reform Plan.\nI know a lot of smart people who are for the plan, and I know a lot of smart people who are against it. I am not a smart person, but this tells me there will be both good and bad things coming. I stay optimistic because bad things can be fixed, everybody likes good things, and I’m glad something is finally being done. All I can do is hope history doesn’t repeat itself, and Washington doesn’t let this plan fall behind the scenes like they’ve done in the past. I personally think that’s the only reason why a lot of these good ideas failed, is because they were neglected.\nOnly negative thought I have is, I can already see insurance companies spending time and resources to find loopholes in the plan to capitalize on. I’m sure there are some, because no plan is perfect. They say they’re concerned about the money being spent, but what this really means is that they’re concerned about the money they stand to lose. After all, business is business, right?\nI look forward to the day healthcare becomes what it should be, a service to the people… not a business to capitalize on. Maybe I’m just idealistic… I prefer to say optimistic.\n","permalink":"https://churnd.net/2010/03/22/obamacare/","summary":"\u003cp\u003eI’m not looking forward to going to work today and being exposed to all of the political banter surrounding the passage of the new Health Care Reform Plan.\u003c/p\u003e\n\u003cp\u003eI know a lot of smart people who are for the plan, and I know a lot of smart people who are against it.  I am not a smart person, but this tells me there will be both good and bad things coming.  I stay optimistic because bad things can be fixed, everybody likes good things, and I’m glad something is finally being done.  All I can do is hope history doesn’t repeat itself, and Washington doesn’t let this plan fall behind the scenes like they’ve done in the past.  I personally think that’s the only reason why a lot of these good ideas failed, is because they were neglected.\u003c/p\u003e","title":"Obamacare"},{"content":"Some of us still prefer XP over 7, and yes, it is possible to use XP x64 on a Mac Pro. Here’s how.\nFirst off, I’m assuming you’ll want to at least dual boot the Mac Pro between OS X and Windows. Why not? The thing has 4 hard drive bays, and if you can afford it at all, filling up those bays is the least of your expenses.\nFirst off, the model of your Mac Pro is important in determining how it works. I’ve set up earlier models circa 2006 and they had zero problems assuming you found the right drivers. More on that in a minute. The latest model, late 2009/early 2010 will install fine, drivers will install fine, and it will seem to work fine, until you get a blue screen. Sometimes you’ll get a blue screen before you can install drivers… sometimes it’s much later. If you have a quick enough eye, you’ll catch that the blue screen has to do with the disk.sys driver. The fix is simple: Make sure the drive XP is on is connected to the first SATA port on the logic board. By default, the DVD/ROM is connected to the first SATA port. This causes the blue screen. Switch them, and you’re set.\nThe next step is to figure out which drivers to use. I like using PC Wizard from CPUID.com. The primary thing I’m looking for is chipset and NIC information. PC Wizard can usually find these. I can figure out which graphics card is in it by booting to the OS X side and opening System Profiler in /Applications/Utilities. Once you have all of this information, it’s a simple matter of going to Intel’s and NVIDIA’s website and downloading the right drivers. I install the chipset drivers, reboot, install the NIC drivers, then install the graphics drivers, and reboot once again. At this point, all of the “major” components are working in good order.\nThe only things that do not work that I consider to be unimportant:\nBoot Camp Control Panel – this is useful for choosing your startup disk. I just hold down option at boot if I want to start up to a different OS. Keyboard/Mouse drivers – The wired keyboard works. The special keys such as volume control, eject, etc don’t work. It might be possible to try to install the keyboard drivers from the Boot Camp DVD. I personally don’t care about these. If I need to eject the DVDROM, I’ll open My Computer, right click on the DVDROM, and click eject. There are also lots of ways to send the eject command via shortcut on Windows, and creating a shortcut on the desktop. Google is your friend. The wireless keyboard and Magic Mouse will not work because Bluetooth does not work. If I really want a wireless mouse/keyboard, I shell out a few more bucks for something from Logitech that both the Mac and PC side support. Bluetooth – does not work, even with trying the Boot Camp DVD drivers. It’ll show up as not functioning correctly in Device Manager. It’s a Broadcom chipset, so if you want to tinker there, leave a comment if you get it working. The primary thing I want to use Windows on a Mac Pro for is data processing programs that just work more efficiently in XP than Vista or 7. The Mac Pro is proving to be great value in that it allows you to consolidate multiple data processing workstations of different operating systems into one, without sacrificing speed. It’s a win/win/win situation. :)\n","permalink":"https://churnd.net/2010/03/02/windows-xp-x64-on-a-mac-pro/","summary":"\u003cp\u003eSome of us still prefer XP over 7, and yes, it is possible to use XP x64 on a Mac Pro.  Here’s how.\u003c/p\u003e\n\u003cp\u003eFirst off, I’m assuming you’ll want to at least dual boot the Mac Pro between OS X and Windows.  Why not?  The thing has 4 hard drive bays, and if you can afford it at all, filling up those bays is the least of your expenses.\u003c/p\u003e\n\u003cp\u003eFirst off, the model of your Mac Pro is important in determining how it works.  I’ve set up earlier models circa 2006 and they had zero problems assuming you found the right drivers.  More on that in a minute.  The latest model, late 2009/early 2010 will install fine, drivers will install fine, and it will seem to work fine, until you get a blue screen.  Sometimes you’ll get a blue screen before you can install drivers… sometimes it’s much later.  If you have a quick enough eye, you’ll catch that the blue screen has to do with the disk.sys driver.  The fix is simple:  \u003cstrong\u003eMake sure the drive XP is on is connected to the first SATA port on the logic board\u003c/strong\u003e.  By default, the DVD/ROM is connected to the first SATA port.  This causes the blue screen.  Switch them, and you’re set.\u003c/p\u003e","title":"Windows XP x64 on a Mac Pro"},{"content":"First Impressions Like most things Apple, I think the iPad is ahead of it’s time. It is the future of personal computing, that’s for sure. Apple once again accomplished what nobody else before them has been able to successfully accomplish. They’ve redefined the tablet PC. They’ve created exactly what they set out to do, a perfect middleman between a completely handheld device and a personal computer such as a laptop or desktop.\nI personally have no use for one. I have an iPhone 3G and a Macbook Pro. My Macbook Pro is portable enough to take with me where I need it and it also serves as a powerful primary computer that’s more than capable for what I need. My iPhone is powerful enough to do all the things I would want to do on the go, such as check email, read RSS feeds, check Twitter and Facebook, or maybe watch a movie. Oh yeah, it does the usual phone stuff too (and very well, might I add). :) I will admit when I first got the iPhone, I was skeptical that I wouldn’t be able to adapt to the touch screen keyboard that well. I thought I’d miss the tactile buttons of my Treo 700p. I worried for nothing… I adapted to the iPhone with ease. I believe this is largely due to the awesome accuracy of the iPhone’s touch screen. It cannot be beat, as you can clearly see.\nI, like any other Mac-o-phile, had several browser tabs open watching the live blogging coverage when Steve Jobs announced the iPad Wednesday at the January 2010 Apple Special Event. The iPad itself is very impressive piece of technology, and I was mostly interested in the new A4 processor powering the device. The A4 is Apple’s new system-on-a-chip designed in house. Why did Apple design their own and not go with the Intel Atom? I think the decision had to do with being able to pack the most power into such a small enclosure. The A4 handles the graphics acceleration as well, and Apple claims is more energy efficient with up to 10 hours of battery life. At this time, I can only hope that Apple will plan on using these processors for only their mobile product line, such as the iPad, iPhone, and iPod. I hope they stick with Intel on their personal computer line such as their Macbook Pros, iMacs, and Mac Pros. I like being able to run Mac OS X, Windows, Linux, and even Solaris on the same hardware if I wanted.\nI will admit, I was put off by my initial reaction to the iPad, which left me unimpressed because I couldn’t think of a single thing I’d use it for in my life. It’s just a big iPod Touch, I thought. A few days went by, then I realized… no, it’s more. Screen real estate means everything. Because of the larger 9.7″ IPS LED display, the Apple was able to completely redesign all of their internal app functionality. Mail, iCal, Address Book, and Safari are all redesigned to take better advantage of the iPad’s larger screen. These redesigns look very promising, offering better functionality and more “at-a-glance” features. If it were just a bigger iPod Touch, there would be a lot of wasted space So, definitely one of the iPad’s biggest features is it’s newly designed OS which is supposedly based off of the iPhone OS. The fact that the iPad is unlocked to allow it’s buyers to use any compatible SIM card and it’s corresponding data plan leads me to believe bigger things are in store for the iPhone. I predict by the next Apple Event, the iPhone will be unlocked at the very least. There will also likely be a new model based on some variant of the A4 processor in the iPad… iPhone A4?\nPredictions In the Home The iPad will probably be a big hit this Christmas as a gaming console. The brief demos we saw at the Event were just the tip of the iceberg. Those developers had very little time to get the demos ready for the event, so I would say to expect bigger and better things to come in that category. Another one of it’s features is it’s iBooks application, clearly meant to get Apple’s foot in the e-reader market. Based on the demo I saw watching the event, it is going to dominate the e-Reader market. User experience is everything. The experience of buying a book to seeing it on your “iBookshelf” to using your finger to flip the pages is going to blow any of the other e-Readers out of the water. I can also see the appeal for using it in the house for things like streaming movies from your Apple TV or Mac Mini media center. By the way, the day Apple releases the Mac Mini with Blu-Ray, I’m getting one. Even if it means selling a kidney.\nStylus I think one of iPad’s strongest points doesn’t necessarily exist yet: the ability to take notes via some sort of stylus. I know what you’re thinking… “a stylus?? what is this… 1995?” Hear me out. The stylus as we know it a-la Palm Treo was a useless and cumbersome tool. It was used to point and select things, and also had a very rudimentary handwriting feature that required special strokes on a designated area. Apple successfully replaced that stylus with the human finger, and then some. The stylus I’m thinking of will be an additional tool to the human finger. The iPad would be able to tell the difference between the stylus and your finger, and be able to accept one input while ignoring the other. It will be able to write or draw anywhere on a given application, with perfect accuracy. It’ll be a Wacom tablet and a computer all in one. You could possibly even plug it into your iMac and use it as a Wacom style writing tablet as well. I know that will be a feature added either by a 3rd party application or by a future OS release from Apple themselves. This is such an important feature, and will make the iPad one of the most dominant electronic devices of the future. This single feature will change the way we do personal computing. Why? Think of the iPad as a notebook and think of all the places you take or use a notebook.\nBusiness In the business world, the iPad will replace the steno pad everyone takes to meetings. It’s not practical now, because typing is too much of a distraction from the meeting. A person can almost always jot down notes on a notepad faster than they can type, drawing symbols or diagrams to of ideas or to help them remember what went on in the meeting. Doing this via keyboard and mouse/trackpad just doesn’t work in a meeting environment. Keyboard and mouse/trackpad input represents a world of limitations. Freehand writing has no limitations. I’ll take that prediction a step further and say that Apple will also find a way to take that handwritten text and convert it to a typeface font. Think of it as OCR for the next century.\nArt That stylus input will also benefit the artist, who will buy the then available Photoshop for the iPad. They’ll take the iPad with them to their favorite place of inspiration, and begin to draw or paint directly onto the device. Their large array of artistic medium consolidated down to one device. They will love it because it represents a medium without limitations. The accuracy and precision of the stylus will give them all of the creative freedom they would desire from a sketchpad, and then some.\nHealthcare I can see the iPad taking the healthcare industry by storm. One day, every doctor will have one. The doctor will use it when walking into a patient’s office to pull up patient records via an application that talks to the local hospital patient database such as EPIC. Then even possibly prescribe and sign a prescription that automatically gets sent to the patient’s preferred drugstore so by the time the patient gets to the drugstore, it’ll be ready. Radiologists will be able to view and dictate medical images directly from their iPad. The iPad could also possibly be used as a monitor to hook up diagnostic devices. The possibilities there are endless.\nEducation I think the biggest potential impact the iPad will have will be in education. The iPad will replace textbooks altogether, and will be required for every student in every classroom. Each grade will have their own curriculum pre-loaded on each student’s iPad. They’ll be able to use additional features like searching through their textbooks, using the stylus to highlight important text, as well as take handwritten notes on the side of each page. These notes and highlights will be indexed and bookmarked, making them easy to search for and reference back to. In math, the student will be able to write out equations that the iPad will be able to recognize and provide help with if needed. As you can see, plenty of potential in this area.\nWrapping it up A lot of the first impressions of the iPad were comparing it to the iPhone. “The iPhone can already do this”, “There’s no camera”, etc. I learned very quickly not to look at the iPad for what it can do now, but for what it will very likely be able to do in the future. The best is yet to come, and it will come.\n","permalink":"https://churnd.net/2010/01/31/thoughts-on-the-ipad/","summary":"\u003ch3 id=\"first-impressions\"\u003eFirst Impressions\u003c/h3\u003e\n\u003cp\u003eLike most things Apple, I think the iPad is ahead of it’s time.  It is the future of personal computing, that’s for sure.  Apple once again accomplished what nobody else before them has been able to successfully accomplish.  They’ve redefined the tablet PC.  They’ve created exactly what they set out to do, a perfect middleman between a completely handheld device and a personal computer such as a laptop or desktop.\u003c/p\u003e","title":"Thoughts on the iPad"},{"content":"A few weeks ago, I saw that Dreamhost was offering a free two week trial for it’s hosting services. Creating my own website has been something I’ve wanted to do for quite a while now. I thought it would be a good idea to pull everything I do all under one domain. So ideally I’d like my site to host my blog, pictures/movies, etc, etc, so I thought the free trial would be a good way to test this out. I quickly realized it’s probably not such a great idea.\nI’m not a web developer. It’s a hobby of mine that I am not very good at. So I thought, can I provide a better photo experience than Flickr, or a better movie experience than YouTube? Probably not. So, I’d have to integrate those services. While doable, at best it would serve to be a proxy to all of my other hosted-for-free services. I guess that would make it easier for people to keep track of everything. Hmm… I didn’t think about that until I just typed it. My fingers are smarter than I am. :)\n","permalink":"https://churnd.net/2010/01/11/hosting-my-own-website/","summary":"\u003cp\u003eA few weeks ago, I saw that \u003ca href=\"http://www.dreamhost.com\" target=\"_blank\"\u003eDreamhost\u003c/a\u003e was offering a free two week trial for it’s hosting services.  Creating my own website has been something I’ve wanted to do for quite a while now.  I thought it would be a good idea to pull everything I do all under one domain.  So ideally I’d like my site to host my blog, pictures/movies, etc, etc, so I thought the free trial would be a good way to test this out.  I quickly realized it’s probably not such a great idea.\u003c/p\u003e","title":"Hosting my own website"},{"content":"First off, I don’t think anybody in my family reads my blog. That’s why I can get away with this post. :)\nI’m having a bear of a time sharing photos with my family. They’re still on the train of emailing photos to everyone. Yes, I have explained to them how that just doesn’t work when you have 50 5mb photos. Yes, they have sent 50 different emails with one photo each attached. :facepalm:\nI use Flickr, and it works great for my purposes. It creates awesome photo galleries, I have unlimited storage with my Pro account, I can order prints via SnapFish and have them ready for pickup at my local walgreens or mailed to me… the options are endless. However, some of those things only I can do. Others cannot order photos (yet), nor can anyone download a full set without using some 3rd party hackery tool. Not good.\nThinking back to my “hosting my own website” idea, I wonder if there’s some 3rd party WordPress plugin that will allow you to embed Flickr into your site and also possibly download entire sets? This would probably be at the expense of my bandwidth, but that’s something I’m willing to deal with to make this an easier process.\nI could possibly do the same for YouTube, as I know you can download the MP4 using a javascript hack. This is something I need to look into, but my quick search results for the past hour or so haven’t really turned up anything. The YouTube part would be easy enough… the Flickr part is stumping me. I’ll keep looking and hopefully figure it out soon. This idea is acceptable though, as all the hackery will be done by me and will seem to “just work” for everyone else.\nSomething else I want to consider is privacy. The majority of my photos, I don’t mind being viewable by the world. That’s the point of Flickr. However, there are some that I would rather keep private to my family and friends. I do know there are permission levels you can set in Flickr, but the problem is none of my family or friends are actually members of Flickr. I don’t want to force them to register for a Yahoo or affiliated account just to get their photos. Goes against the whole “it should just work” idea. Again, this might be a good argument for hosting my own website. In theory, I should be able to lock down privacy settings on certain sets but still make them viewable and hopefully downloadable via my website. It’s basically just security by obscurity, but my website will be less likely to be viewed by some random passerby than my page on Flickr would. I could probably even have a password on the sets. Something to look into.\nIt actually looks like SmugMug would satisfy some of my requirements, but at the cost of $60 a year. I still wouldn’t be able to download entire albums I don’t think.\nI realize bandwidth is expensive, but come on… we’re in the 21st century.\nSo, what’s stopping me from starting up my own site? I can’t find a domain name I like. Yes, I’ve said that before. It’s just something I’m really picky about.\n","permalink":"https://churnd.net/2010/01/11/sharing-with-family/","summary":"\u003cp\u003eFirst off, I don’t think anybody in my family reads my blog.  That’s why I can get away with this post.  :)\u003c/p\u003e\n\u003cp\u003eI’m having a bear of a time sharing photos with my family.  They’re still on the train of emailing photos to everyone.  Yes, I have explained to them how that just doesn’t work when you have 50 5mb photos.  Yes, they have sent 50 different emails with one photo each attached.  :facepalm:\u003c/p\u003e","title":"Sharing with Family"},{"content":"I remember back in the days where migrating to new software was anticipated by most. People looked forward to getting the newer code that likely meant a more stable experience. Stability was the primary reason for desiring the change, it seems. They didn’t care that they would have to re-learn the changes incorporated into the software, as long as it meant that it would crash less and that they wouldn’t have to worry about losing data as a result.\nIt seems that since the days of Windows 2000 and Office XP, software reached a level of stability that most users became comfortable with. Even to this day, Windows XP and Office 2003 seems to be the key choice among the corporate world. The migration from Windows 2000 to Windows XP was relatively painless. Everything pretty much worked the way it did from a users standpoint between the two systems.\nWindows Vista and Office 2007 didn’t bring much to the table in terms of stability. In fact, some could even argue that Vista is a step backwards in that area. Office 2007′s main argument to use it over 2003 was that it’s new interface would increase productivity with the redesigned UI and Ribbon toolbar. Of course, users would have to be re-trained, so it might be some time before that “productivity” starts to show. :)\nThen there’s the security argument. A valid argument at that… for those who understand it. Unfortunately, this ventures in the world of being something people don’t care about until it directly affects them in a largely negative way. Kinda like your doctor telling you repeatedly to exercise, and you ignore it until you have a heart attack.\nForget the fact that Vista was poorly done. Office 2007 wasn’t, yet the push to it was not nearly as urgent as 2003. Why is that? Software companies such as Microsoft are starting to become more aggressive about expiring support for older products. One could argue their motives are financially driven. Microsoft is just itching to pull the plug on XP, so they can begin to recuperate their losses from Vista.\nSoftware has been coming to this point for quite some time now. The kinds of things you use a computer for hasn’t drastically changed in the past decade or so. If anything, they’re attempting to shift the focus into the cloud, but only to accomplish the same task. Whether or not cloud apps will ever be able to overtake local apps is another argument.\nIt all comes down to what the end user wants. It used to be stability. Most people feel that software reached an acceptable point in stability on that timeline a while ago. Their willingness to try something new just because of it’s prettier UI or couple of quirky new features they’d probably rarely ever user is just not enough anymore. Security is not a good enough reason for them, and it never will be. People will never be proactive about doing their own backups. We’ve reached the point to where we, as IT professionals, have to start pushing end users to move forward, catching hell for it along the way. Unless something changes in the world of IT, it’s only going to continue to be harder to do our jobs… not easier. That sucks.\n","permalink":"https://churnd.net/2009/09/24/upgrading/","summary":"\u003cp\u003eI remember back in the days where migrating to new software was anticipated by most.  People looked forward to getting the newer code that likely meant a more stable experience.  Stability was the primary reason for desiring the change, it seems.  They didn’t care that they would have to re-learn the changes incorporated into the software, as long as it meant that it would crash less and that they wouldn’t have to worry about losing data as a result.\u003c/p\u003e","title":"Upgrading…"},{"content":"I finally have a solid state disk in my unibody Macbook Pro. I can, without a doubt, say this is the single best upgrade I have ever done on any personal computer… ever. Forget RAM… get an SSD. I used to have to wait ~30 seconds for my Mac to boot completely, login and all. Granted, I have quite a few things that get started up at login. Now, it’s maybe 10 seconds if that. Apps launch instantaneously. Decompressing large files is much quicker. Everything is just faster… much faster.\nWhere I work, we are constantly dealing with large medical imaging datasets (such as MRI), which contain tens of thousands of smaller individual files. So, as you can imagine, disk I/O is very important when cycling through these files for analysis. At the rate SSD seems to be evolving, it won’t be long before our data processing workstations will all have one. So, I needed one to test. :)\nI chose an OCZ Vertex 250G Mac Edition. I did extensive research on which drive would be the best candidate to test, and OCZ seems to come out on top quite a bit. Anandtech’s frequent reviews helped a lot. The new Indilinx controller has been getting rave reviews, so my decision was easy. If Intel had a 250G option, it would have made my decision much more difficult.\nI’ve been using MacAuthority to source all of my Apple parts lately, and I’ve been extremely happy with their service. I would even go as far to say it’s the best customer service I’ve ever received. Next time you need something, give them a ring. You won’t be disappointed. So, I let them know what I wanted. They didn’t carry that specific drive, but it seems all I had to do was let them know I was interested, and they got it for me. I like that. :)\nSo, the drive came in, and I wasted no time swapping it with my old 5400RPM disk. I hooked the old drive up to a SATA to USB controller, booted from it, and proceeded to use Carbon Copy Cloner to image it onto the SSD. Unfortunately, halfway through, the SSD disappeared and the clone failed. ”Don’t do this to me… not with my new toy.” So, I opened Disk Utility.. no SSD. I rebooted, tried Disk Utility again… no SSD. Tried ioreg -l -w 0 | grep OCZ, nothing. Checked OCZ’s forums, and found another guy was having a similar problem and they recommended to remove the drive for 30 mins. So I did, reinstalled it, it showed up! The forum post recommended doing a firmware upgrade. Downloaded the ISO, burned it, and rebooted. It didn’t recognize the disk. ”I can’t believe this”. So, I contacted MacAuthority to let them know what happened. ”OK, we’re sending you another one right away.” Wow, am I a VIP or something? :) So, the new one comes in 2 days later. I immediately check to see if it has the latest firmware, and it does. I try the clone again, and it works fine this time. Looking good!\nThen I rebooted. Wow. I mean Wow. I know I said it above, but wow. I’m hardly ever wowed, but this time I was. WOW.\nI did before and after benchmarks using XBench. If you search the Xbench submitted results for “SSD Upgrade“, you’ll see mine. I titled both sumbissions the same, but I misidentified the Macbook Pro the second time so rest assured, they’re both me. :)\nPretty definitive results:\nPre-SSD – 37.02 Post-SSD – 225.84 So, get one if you haven’t already (from MacAuthority!). Sell a kidney if you have to.\nI’m also looking forward to the next firmware upgrade, which is supposed to configure the drive to self-optimize with a garbage collection function and support for TRIM. A beta version is on the forums as of this posting, but it seems that Mac owners are having problems with their Macs not sleeping properly, so I’ll wait. :)\n","permalink":"https://churnd.net/2009/08/14/ssd-upgrade/","summary":"\u003cp\u003eI finally have a solid state disk in my unibody Macbook Pro.  I can, without a doubt, say this is the single best upgrade I have ever done on any personal computer… ever.  Forget RAM… get an SSD.  I used to have to wait ~30 seconds for my Mac to boot completely, login and all.  Granted, I have quite a few things that get started up at login.  Now, it’s maybe 10 seconds if that.  Apps launch instantaneously.  Decompressing large files is much quicker.  Everything is just faster… much faster.\u003c/p\u003e","title":"SSD Upgrade"},{"content":"I’m a late bloomer in the whole social media scene. I remember signing up for Twitter when it first came out, and thinking “I’ll never use this…”. I still don’t use it very much at all. I think I average ~5 tweets a day. On [facebook][1], I let my friends know what I’m doing maybe twice a month. If you compare this to those who actually get paid for this stuff, there is NO comparison. I’m a spec of dust in the twittersphere. I still like doing it though. I think it’s a great way to meet people, and branch out.\nHowever, something alarmed me recently. I do not get any monetary gain from posting to twitter, facebook, friendfeed, or my blog. It is not a part of my job. What alarmed me was, I’ve noticed I get a sense of accomplishment for doing these things. I don’t think I should, as there is no real value in these things. It’s a pasttime, a hobby, something to do when there’s nothing else to do. What I’ve also noticed is, I have a tendency to try to squeeze these things in-between doing things I’m supposed to do. This is bad when those things have a tendency to take longer than expected. It’s all about your train of thought. How easy is it for one small task to explode into an hours worth of reading? It’s happened to me before many times. I’ll click a bit.ly link on Twitter, which takes me to someone’s blog which I’m interested in, so I read the article, which also has several links that I invariably must read to fully encapsulate the purpose of the article, but then someone makes an interesting addendum or criticism in the comments along with their own links which must be read as well. The next thing I know, I’m 50 years old. Ok, that’s exaggerating, but you get the point (time flies). I’ve easily wasted entire days engrossed in absorbing information, that I’ll look at the clock “5 minutes from when I sat down that morning AM” only to see hours have passed.\nHowever, I feel like I accomplished something by doing that. I learned something I didn’t previously know. The question is, will I ever actually use that knowledge? Does knowledge always need to be 100% useful to make it worthwhile?\nI try to keep my information inflow trimmed to the bare minimum, which is already too much as it is. Is this an acceptable way to spend time? I hear a lot of “you just have to manage your time”, but I think that falls more along the line of “you just have to eat healthy”. Everybody knows they need to do it, but very few actually do.\nI’m not sure that makes sense, or if I accomplished everything I originally meant to say. Too many distractions. Gotta go.\n","permalink":"https://churnd.net/2009/06/16/social-media-and-productivity/","summary":"\u003cp\u003eI’m a late bloomer in the whole social media scene.  I remember signing up for \u003ca href=\"http://twitter.com/churnd\" target=\"_blank\"\u003eTwitter\u003c/a\u003e when it first came out, and thinking “I’ll never use this…”.  I still don’t use it very much at all.  I think I average ~5 tweets a day.  On [facebook][1], I let my friends know what I’m doing maybe twice a month.  If you compare this to those who actually get paid for this stuff, there is NO comparison.  I’m a spec of dust in the twittersphere.  I still like doing it though.  I think it’s a great way to meet people, and branch out.\u003c/p\u003e","title":"Social Media and Productivity"},{"content":"We have two production Tiger servers, and I decided I wanted to get RAID1 set up on the Server HD itself. Apple tells you this isn’t possible without reformatting/reinstalling. AFP548 tells you otherwise: http://www.afp548.com/article.php?story=20040827122302975\nHowever, I spent several hours trying to get this operational with no success. If you look in the comments of that article, I’m not the only one. I was probably leaving out an important step somewhere, but after a few tries of reformatting, etc, you get a little brain fuzz. I’m sure being there at 2am wasn’t helping either. :)\nI decided against doing this for now. Instead I opted for a nightly incremental clone using Carbon Copy Cloner to the second HD. In hindsight, this is probably going to serve me better. Let’s say an update goes awry and renders something unusable. I still have yesterday’s clone to boot to! Hardly anything changes on the server HD itself, since these servers are just file servers, so that works out well. I can see this not being a good setup for some depending on what kind of server you’re running and where the important data is actually stored. In my case, we have 3 Apple RAIDs at ~17TB total (older, but still running), and just bought an Active XRAID 16TB to compliment that 17TB we already had. All configured in at least RAID5, with the Active XRAID set up with 2 dual parity RAID6 slices. Plenty of protection there. And of course, RAID is NOT backup!!\nWhen our next server comes in, I’ll probably set up a RAID1 mirror with a CCC clone to a single 3rd drive, or maybe use the 3rd drive as a hot spare. I’m liking the idea of having an operational 1 day old backup, so the first is more appealing.\nOn a side note, I’m interested to see what RAID storage offerings Apple will be offering now that Snow Leopard Server will do ZFS*.\n*Apparently, Apple seems to have removed ZFS from it’s Snow Leopard page. Say it isn’t so!!\n","permalink":"https://churnd.net/2009/06/10/raid-mirror-on-os-x-server/","summary":"\u003cp\u003eWe have two production Tiger servers, and I decided I wanted to get RAID1 set up on the Server HD itself.  Apple tells you this isn’t possible without reformatting/reinstalling.  AFP548 tells you otherwise:  \u003ca href=\"http://www.afp548.com/article.php?story=20040827122302975\" target=\"_blank\"\u003e\u003ca href=\"http://www.afp548.com/article.php?story=20040827122302975\"\u003ehttp://www.afp548.com/article.php?story=20040827122302975\u003c/a\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eHowever, I spent several hours trying to get this operational with no success.  If you look in the comments of that article, I’m not the only one.  I was probably leaving out an important step somewhere, but after a few tries of reformatting, etc, you get a little brain fuzz.  I’m sure being there at 2am wasn’t helping either.  :)\u003c/p\u003e","title":"RAID Mirror on OS X Server"},{"content":"To install vmware-tools:\nln -s /usr/lib/vmware-tools/configurator/XOrg/7.1 /usr/lib/vmware-tools/configurator/XOrg/7.4\nor if you’re using 64-bit:\nln -s /usr/lib/vmware-tools/configurator/XOrg/7.1_x64 /usr/lib/vmware-tools/configurator/XOrg/7.4\nTaken from here: http://communities.vmware.com/thread/212833\nEdit\nThis fixes the installation problem, but the tools themselves still do not work properly. I haven’t found any other solution yet. I’m going to try open-vm-tools next.\n","permalink":"https://churnd.net/2009/06/07/opensolaris-2009-6-in-vmware-fusion/","summary":"\u003cp\u003eTo install vmware-tools:\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eln -s \u003cspan style=\"margin:0;padding:0;\"\u003e\u003cem\u003e/usr/lib/vmware-tools/configurator/XOrg/\u003c/em\u003e\u003cspan style=\"margin:0;padding:0;\"\u003e\u003cem\u003e7.1\u003c/em\u003e \u003cspan style=\"margin:0;padding:0;\"\u003e\u003cem\u003e/usr/lib/vmware-tools/configurator/XOrg/\u003c/em\u003e\u003cspan style=\"margin:0;padding:0;\"\u003e\u003cem\u003e7.4\u003c/em\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eor if you’re using 64-bit:\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eln -s \u003cspan style=\"margin:0;padding:0;\"\u003e\u003cem\u003e/usr/lib/vmware-tools/configurator/XOrg/\u003c/em\u003e\u003cspan style=\"margin:0;padding:0;\"\u003e\u003cem\u003e7.1_x64\u003cspan style=\"font-style:normal;\"\u003e \u003c/span\u003e\u003c/em\u003e\u003cspan style=\"margin:0;padding:0;\"\u003e\u003cem\u003e/usr/lib/vmware-tools/configurator/XOrg/\u003c/em\u003e\u003cspan style=\"margin:0;padding:0;\"\u003e\u003cem\u003e7.4\u003c/em\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003e\u003cem\u003e\u003cspan style=\"font-style:normal;\"\u003eTaken from here:  \u003ca href=\"http://communities.vmware.com/thread/212833\" target=\"_blank\"\u003e\u003ca href=\"http://communities.vmware.com/thread/212833\"\u003ehttp://communities.vmware.com/thread/212833\u003c/a\u003e\u003c/a\u003e\u003c/span\u003e\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003e\u003cspan style=\"margin:0;padding:0;\"\u003e\u003cspan style=\"margin:0;padding:0;\"\u003e\u003cspan style=\"margin:0;padding:0;\"\u003e\u003cspan style=\"margin:0;padding:0;\"\u003e\u003cem\u003e\u003cstrong\u003eEdit\u003c/strong\u003e\u003c/em\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/p\u003e\n\u003cp\u003e\u003cem\u003e\u003cspan style=\"font-style:normal;\"\u003eThis fixes the installation problem, but the tools themselves still do not work properly.  I haven’t found any other solution yet.  I’m going to try open-vm-tools next.\u003c/span\u003e\u003c/em\u003e\u003c/p\u003e","title":"OpenSolaris 2009.6 in VMware Fusion"},{"content":"Lots of news on the Search front lately. Wolfram Alpha released their computational knowledge engine. Microsoft announced their upcoming Bing search engine which is supposed to replace Live search. Do any of these pose a threat to Google? I think no.\nI don’t think Wolfram Alpha ever intended to challenge Google. I won’t use that search engine for anything other than if I need a scientific explanation of something, or maybe a graph plot of some mathematical equation. If anything, I can see Wolfram Alpha being a huge compliment to Google. Do I smell a buyout? That would actually be pretty nice! Considering Google’s stance on education, a Wolfram partnership would go a long way. Unlike Microsoft, any company or product Google buys actually flourishes.\nBing is trying to be more of a direct threat to Google. It’s no secret that Google is one of Microsoft’s biggest competitors. The reason being is typical of Microsoft history. They tried to take someone else’s idea and make their own version, and assumed people would prefer that version just because it’s made by Microsoft. In this case, they took too long to come out with something comparable to what Google had. That’s why Google is synonymous with the term “search” now… “Just Google it”. What do you think would happen several months from now if somebody said “Just Bing it”? I would laugh. Google is already the search king, and has been for over a decade. People associate the term “search” with “Google”, and that is why it will stay on top.\nSince then, Microsoft has been playing catch-up with Google, copying idea after idea… trying to offer a comparable product and some competition. I personally don’t know anyone who uses Microsoft Live anything. I’ve signed up for most of their stuff, but only to check it out. I never use it. It’s just not cross-brand compatible. True to Microsoft’s corporate identity, they make it easy to use their stuff with their own products… not so much with anything else. Google is pretty much brand independent. They have the luxury of being so because everything they offer is the same.\nI have no idea if Bing is actually better than Google. From the reviews I’ve been reading, it seems like it is. \u0026lt;conspiracy_theory_alert\u0026gt;That is, of course, assuming the people reviewing haven’t been paid off by Microsoft!\u0026lt;/conspiracy_theory_alert\u0026gt;. This isn’t going to matter, for three reasons:\nBing is still made by Microsoft and for that reason alone, most people will not like it due to Microsoft’s corporate identity. Google’s search engine is due for a major update. They announced Wave, but that’s not it. I have a hunch something else is coming. Something big. Google=Search. That will be very hard to overthrow. For the same reason that for the longest time, Microsoft=PC. Also, I don’t think Google will make the same mistakes Microsoft did. The only thing Microsoft has going for it is it’s market share. While still at a staggeringly high 87.90% as of this posting, it has been declining and it should be noted that it’s at it’s lowest percentile ever. It will be interesting to see how Microsoft uses this influence to roll out Bing.\nI really hate those market share numbers because most people aren’t given a choice or would use whatever they were told to or taught on.\n","permalink":"https://churnd.net/2009/05/30/search/","summary":"\u003cp\u003eLots of news on the Search front lately.  Wolfram Alpha released their computational knowledge engine.  Microsoft announced their upcoming Bing search engine which is supposed to replace Live search.  Do any of these pose a threat to Google?  I think no.\u003c/p\u003e\n\u003cp\u003eI don’t think Wolfram Alpha ever intended to challenge Google.  I won’t use that search engine for anything other than if I need a scientific explanation of something, or maybe a graph plot of some mathematical equation.  If anything, I can see Wolfram Alpha being a huge compliment to Google.  Do I smell a buyout?  That would actually be pretty nice!  Considering Google’s stance on education, a Wolfram partnership would go a long way.  Unlike Microsoft, any company or product Google buys actually flourishes.\u003c/p\u003e","title":"Search"},{"content":"I have no intention of pissing off anyone, and I don’t have anything against anyone’s choice for their sexuality. It’s their choice, and they should act however they feel.\nI think the purpose of life is for it to continue (or one of it’s purposes anyway). Species have evolved over time to adapt to survive in their environment. I can’t think of a single instance where this adaptation was brought upon by the species’ choice… can you? Some species can reproduce on their own, others require a mate of the opposite sex. Humans require a mate of the opposite sex. A human male cannot naturally give birth to offspring. A human female cannot impregnate herself naturally. So, how does homosexuality play a roll in the continuation of the human race?\nLet’s assume the human race as we know it today gets “reset”. All technology and science as we know it is lost. We have to resort to living off of the earth. What would become of those “choices” people have made regarding their lifestyles? Would we, as humans, adapt? If homosexuality is really engrained in DNA rather than a conscious choice, would it die off eventually?\nHomosexual couples adopt, which I think is a great way to start a family. I don’t really have any good arguments against that, except that in my “reset” scenario, I don’t think adoption would be a choice. Adoption should not exist, IMO… I mean, it should not be needed.\nThere’s also surrogate birth, but I can’t see that playing into the “reset” scenario either.\nYeah, that “reset” scenario’s a long shot, but it could happen. I try to break down every question as far as I can, because I usually find that the simplest answer is almost always the right one.\nI don’t disagree with homosexuality because it disgusts me or it defies my beliefs. I disagree with it because it’s not natural… it’s not life’s way. I’m sure I’m wrong, so tell me all about it in the comments.\n","permalink":"https://churnd.net/2009/05/07/evolution/","summary":"\u003cp\u003eI have no intention of pissing off anyone, and I don’t have anything against anyone’s choice for their sexuality.  It’s their choice, and they should act however they feel.\u003c/p\u003e\n\u003cp\u003eI think the purpose of life is for it to continue (or one of it’s purposes anyway).  Species have evolved over time to adapt to survive in their environment.  I can’t think of a single instance where this adaptation was brought upon by the species’ choice… can you?  Some species can reproduce on their own, others require a mate of the opposite sex.  Humans require a mate of the opposite sex.  A human male cannot naturally give birth to offspring.  A human female cannot impregnate herself naturally.  So, how does homosexuality play a roll in the continuation of the human race?\u003c/p\u003e","title":"Evolution"},{"content":"I’ve debated this topic many times… does Apple need Microsoft to continue growth?\nI’ll focus mainly on the workplace, because I feel that is the primary environment that has the most influence over what choice people make.\nOne could argue that all Microsoft would have to do is stop making Office for Mac, then the Apple OS in the workplace would diminish greatly. Yes, there are alternatives such as iWork or OpenOffice. Neither offer equal replacement functionality of MS Office, so deploying them in the corporate world wouldn’t work. Installing Office for Windows in Crossover for Mac? It’s buggy and lacking if you ask me. Running a Windows virtual machine? Works great, if you don’t mind everything slowing down quite a bit. It also drives up your costs substantially. I would get irate having to have a VM running all the time. Also, could you imagine trying to train 100+ employees how to work back and forth between a VM?\nOne could also argue that MS Office is Microsoft’s cash cow, and their losses would be greater than their profits if they stopped making Office for Mac. This would probably be short term because the previous Mac users would have to switch over to Windows, so the lost costs would eventually be made up.\nI personally think, if Microsoft was fed up enough with the OS wars with Apple, they would be willing to sacrifice some short term revenue to end the competition once and for all. So, maybe Apple should be rethinking their whole ad campaign strategy?\nThen, of course, one has to consider what Apple’s primary consumer base is. A lot of people have converted to Mac because of the flaming wreck that is Vista, mainly because the software they need to get their work done exists. How many of these converts do you think would have made the jump if not for Office for Mac?\nIs it possible that Apple would work harder at improving iWork’s compatibility with Office? I could see them pulling from and improving on the OpenOffice code base. Seamless integration would go a long way, but I have the feeling that most corporations wouldn’t be willing to risk dealing with the large amount of potential problems that would arise during this transition phase.\nWhat do you think would happen?\nP.S. – I’m proud of myself for not once referring to Microsoft as M$. :)\n","permalink":"https://churnd.net/2009/05/01/apple-needs-microsoft/","summary":"\u003cp\u003eI’ve debated this topic many times… does Apple need Microsoft to continue growth?\u003c/p\u003e\n\u003cp\u003eI’ll focus mainly on the workplace, because I feel that is the primary environment that has the most influence over what choice people make.\u003c/p\u003e\n\u003cp\u003eOne could argue that all Microsoft would have to do is stop making Office for Mac, then the Apple OS in the workplace would diminish greatly.  Yes, there are alternatives such as iWork or OpenOffice.  Neither offer equal replacement functionality of MS Office, so deploying them in the corporate world wouldn’t work.  Installing Office for Windows in Crossover for Mac?  It’s buggy and lacking if you ask me.  Running a Windows virtual machine?  Works great, if you don’t mind everything slowing down quite a bit.  It also drives up your costs substantially.  I would get irate having to have a VM running all the time.  Also, could you imagine trying to train 100+ employees how to work back and forth between a VM?\u003c/p\u003e","title":"Apple Needs Microsoft?"},{"content":"Kevin Turner: Midmarket CIO Summit\nVista today, post-Service Pack 2, which is now in the marketplace, is the safest, most reliable OS we’ve ever built. It’s also the most secure OS on the planet, including Linux and open source and Apple Leopard. It’s the safest and most secure OS on the planet today.\nI really, really, really, really hate crap like this for two reasons:\nIt’s an outright lie to improve sales. It makes my job harder. The first reason doesn’t bother me so much. I can live with marketing FUD. The second, however, bothers me quite a bit. It puts the burden on me, an IT professional who has to support actual end users on a daily basis, to prove beyond a shadow of doubt that Windows IS NOT more secure than Linux or OS X. In an academic/research environment, the person who is more credentialed is believed first. So in this case, I’m up against a Microsoft CIO. I can see the future conversation now:\nThem – “Hey, I read Windows is more secure than Linux or OS X” Me – “That’s a lie to improve sales on Microsoft’s end” Them – “But the guy who said it was Microsoft’s Chief Information Officer. He must know what he’s talking about” Me – “You would think so, but he’s putting his company’s interest over his customers’. It’s a lie to improve sales.” Them – “Are you saying you’re smarter than a Microsoft CIO?” Me – “No, I’m saying it’s a lie. Windows is not more secure than OS X or Linux.” Them – “You expect me to believe you over a CIO?” Me – “In this case, yes.” Then I go on to have to explain myself and cite references of proof, in which they will lose interest 5 minutes into my explanation.\nSo, because of a careless statement by someone who should know better, it’s effectively made my life harder. Thanks Kevin!\n","permalink":"https://churnd.net/2009/04/15/more-microsoft-lies/","summary":"\u003cp\u003e\u003ca href=\"http://www.microsoft.com/presspass/exec/turner/2009/04-06MMCIOSummit.mspx\" target=\"_blank\"\u003eKevin Turner: Midmarket CIO Summit\u003c/a\u003e\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eVista today, post-Service Pack 2, which is now in the marketplace, is the safest, most reliable OS we’ve ever built. It’s also the most secure OS on the planet, including Linux and open source and Apple Leopard. It’s the safest and most secure OS on the planet today.\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eI really, really, really, really hate crap like this for two reasons:\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003eIt’s an outright lie to improve sales.\u003c/li\u003e\n\u003cli\u003eIt makes my job harder.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp\u003eThe first reason doesn’t bother me so much.  I can live with marketing \u003ca href=\"http://en.wikipedia.org/wiki/Fear,_uncertainty_and_doubt\" target=\"_blank\"\u003eFUD\u003c/a\u003e.  The second, however, bothers me quite a bit.  It puts the burden on me, an IT professional who has to support actual end users on a daily basis, to prove beyond a shadow of doubt that Windows IS NOT more secure than Linux or OS X.  In an academic/research environment, the person who is more credentialed is believed first.  So in this case, I’m up against a Microsoft CIO.  I can see the future conversation now:\u003c/p\u003e","title":"More Microsoft Lies"},{"content":"I did it. I finally got Time Machine working over iSCSI on my OpenSolaris RAIDZ1 ZFS pool:\nFor the most part, I followed the instructions here:\nhttp://opensolaris.org/os/project/qosug/how-tos/zfs_iscsi_integration\nStep #6 didn’t make sense to me (not sure what I was supposed to do), so I skipped it.\nIt also wasn’t quite as plug and play as the article suggests. Here’s some of the problems I had to overcome:\nMy SCSI card wasn’t recognized by OpenSolaris. This Google Group thread really helped. Basically, I had to get the SUNWadp driver from a different Solaris distribution (I used SXCE). I’m still not clear about how pkgadd works with a directory, so I just copied the uncompressed driver to /var/spool/pkg then ran pfexec pkgadd. I also found (via dmesg after rebooting) that the driver is 32-bit only, so I had to remove $ISADIR from /rpool/boot/grub/menu.lst to boot in 32-bit mode. I also found out that’s not really desirable with ZFS as it favors 64-bit but it’ll have to do until I can find a newer SCSI card. I had my ZPOOL created, but kept getting errors when I tried to turn on iSCSI. I then proceeded to try to install the COMSTAR iSCSI target pkg, which didn’t work. I found out it was already installed and all I needed to do was enable the service. Doh! I’m still not clear on CLI-fu on OpenSolaris, so I used the Services GUI to do this. I actually looked for the command to do it via CLI, but it seems to have changed quite a bit from release to release. I was also getting impatient and wanted results! :) The good thing is, the GUI shows you the command, so it’s a good way to learn. That’s it! Thankfully once I had done that, I was able to connect to the target via the globalSAN iSCSI Initiator for OS X. I actually expected it not to work, but it worked without a hitch! I was able to format the ZVOL HFS+ so Time Machine could use it, and my backups began! This was much faster performance-wise than AFP on Linux, and I didn’t have to trick time machine into using it!\nThings I still need to do:\nFigure out how to allocate the rest of the ZPOOL and share it via CIFS \u0026amp; hopefully AFP! How do I tell ZFS to use the rest of the pool? zfs create -s -V … Get better with Solaris/OpenSolaris CLI. Coming from Linux… it’s different. Find a supported SCSI card and use 64-bit. Figure out how to automatically mount/unmount the volume on my laptop for when I get to work or leave. The trigger should be whenever I plug in my ethernet cable, but ONLY for that location. Tricky… Figure out iSCSI authentication, such as CHAP. iSCSI uses a LOT of TCP overhead, so keep that in mind if you’re doing it yourself. I have a gigabit switch in my office that all my machines hook into, so that traffic is kept off the main network. I would not try it over wireless (if that’s even possible).\nThe more I learn Sun, the more I’m realizing it’s not really for the “latest and greatest” technologies, but rather a rock-solid stability. OpenSolaris seems to be trying to bridge that gap, so I’m looking forward to seeing where it goes.\n","permalink":"https://churnd.net/2009/03/31/time-machine-on-opensolaris-zfs-over-iscsi/","summary":"\u003cp\u003eI did it.  I finally got Time Machine working over iSCSI on my OpenSolaris RAIDZ1 ZFS pool:\u003c/p\u003e\n\u003cp style=\"text-align:center;\"\u003e\n  \u003ca href=\"http://farm4.static.flickr.com/3552/3404354913_310e2acbab_o.png\"\u003e\u003cimg class=\"aligncenter\" title=\"OpenSolaris ZFS iSCSI Time Machine\" src=\"http://farm4.static.flickr.com/3552/3404354913_310e2acbab_o.png\" alt=\"Time Machine iSCSI OpenSolaris ZFS\" width=\"350\" height=\"303\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp\u003eFor the most part, I followed the instructions here:\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"http://opensolaris.org/os/project/qosug/how-tos/zfs_iscsi_integration/\" target=\"_blank\"\u003e\u003ca href=\"http://opensolaris.org/os/project/qosug/how-tos/zfs_iscsi_integration\"\u003ehttp://opensolaris.org/os/project/qosug/how-tos/zfs_iscsi_integration\u003c/a\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eStep #6 didn’t make sense to me (not sure what I was supposed to do), so I skipped it.\u003c/p\u003e\n\u003cp\u003eIt also wasn’t quite as plug and play as the article suggests.  Here’s some of the problems I had to overcome:\u003c/p\u003e","title":"Time Machine on OpenSolaris ZFS over iSCSI"},{"content":"I’ve decided I will only drink coffee in mornings I absolutely need it. This is usually just during the weekdays when I have to wake up at 5:30am. On the weekends, I get up whenever I wake up… usually at 8am or so. It was starting to turn into a habit, where I would fix a few cups every morning whether I was tired or not. I decided not to let it for two reasons:\nYou build up a tolerance to caffeine, and I don’t want to. I like the boost! I don’t want to get dependent on it. Too much caffeine when I’m not tired is a bad thing. I get jittery and sometimes headaches. What’s ironic is, up until a few years ago, I was not a regular coffee drinker. I would look at other drinkers and make fun of how they “had to have their regular fix”, and promised myself I wouldn’t turn into that. I was on the track to turning into that, and I’m glad I caught it in time. Caffeine is addictive… use in moderation!\n","permalink":"https://churnd.net/2009/03/21/coffee/","summary":"\u003cp\u003eI’ve decided I will only drink coffee in mornings I absolutely need it. This is usually just during the weekdays when I have to wake up at 5:30am. On the weekends, I get up whenever I wake up… usually at 8am or so. It was starting to turn into a habit, where I would fix a few cups every morning whether I was tired or not. I decided not to let it for two reasons:\u003c/p\u003e","title":"Coffee"},{"content":"With the new server up and running at home, I’ve finally got the wife’s laptop backed up via Time Machine over AFP. The problem is, Time Machine will use the entire drive if you let it. I definitely don’t want that. I thought about doing quotas, but I use the drive for other stuff too, and quotas would have applied to everything which I didn’t want.\nThe answer is simple… resize the sparsebundle:\nhdiutil resize -size 100g -shrinkonly laptop_00xxxxxxxx.sparsebundle\nJust mount the share designated for Time Machine use, navigate to it via Terminal, and enter the above command, using the appropriate info. You’ll need to change the end to point to whatever your sparsebundle is named (usually the name of your Mac plus it’s primary ethernet ID). You can also adjust the size to whatever you see fit. 100g means 100GB.\nYou need to have ownership of the sparsebundle or use sudo if you don’t.\nYou can also increase the size should you need it by replacing -shrinkonly with -growonly.\nCool. :)\n","permalink":"https://churnd.net/2009/03/09/set-time-machine-image-size/","summary":"\u003cp\u003eWith the \u003ca href=\"/2009/03/08/leopard-server/\"\u003enew server\u003c/a\u003e up and running at home, I’ve finally got the wife’s laptop backed up via Time Machine over AFP. The problem is, Time Machine will use the entire drive if you let it. I definitely don’t want that. I thought about doing quotas, but I use the drive for other stuff too, and quotas would have applied to everything which I didn’t want.\u003c/p\u003e\n\u003cp\u003eThe answer is simple… resize the sparsebundle:\u003c/p\u003e","title":"Set Time Machine Image Size"},{"content":"Just stumbled upon Amahi Linux Home Server. Looks promising! I’ll probably set up a test VM when I get a chance.\n","permalink":"https://churnd.net/2009/03/08/amahi-linux-home-server/","summary":"\u003cp\u003eJust stumbled upon \u003ca href=\"http://www.amahi.org/\" target=\"_blank\"\u003eAmahi Linux Home Server\u003c/a\u003e.  Looks promising!  I’ll probably set up a test VM when I get a chance.\u003c/p\u003e","title":"Amahi Linux Home Server"},{"content":"With my new (to me) G5 PowerMac, I’ve been experimenting with Leopard Server all weekend. Things I’m setting it up to do:\nPrimarily a Time Machine server. This works great so far. Really need an N router w/ gigabit. I want to stick with DD-WRT, so I’m looking at the WRT310N, but I want something that’ll do dual band since I still have legacy (ha!) G devices on my network and don’t want to suffer speed hits from my N devices. The WRT610n is ideal, but DD-WRT isn’t stable on it yet. I don’t want an Airport Extreme due to lack of local DNS. OpenDirectory Master. Mainly just because I want to get better with it. File Server… easy enough. I can definitely appreciate the finer grained controls that ACL’s provide and being able to use them via Server Admin. Tiger’s Workgroup Manager has propagation issues in my experience. We’ll see if that’s the same with Leopard. Web server \u0026amp; Mysql Server. For testing stuff. Apache this time around is so much better. Reminiscent of a small CMS, with blog \u0026amp; wiki capabilities built in. I think I’ll stick with the OS X native versions this time instead of rolling my own. iCal Server — if I can get around the infamous Python CPU bug. Slows the G5 to a crawl! Bummers:\nOnly two drive slots and I want at least RAID1, but won’t do that on the boot drive. I might add an external FireWire 800 enclosure and RAID that. For now, I’m using what I have with the my USB external enclosure and doing backups of the internal Data drive to that. 2GB RAM can get used up pretty quick with all the things I’m doing. Probably looking to upgrade to 4GB soon. Still not convinced Leopard Server is right for that G5. I’m wondering what apps won’t run on it. Considering partitioning the main HD in half and installing Leopard Client as well. Kinda defeats the purpose of having a full-time server tho. Hints:\nMake SURE!!! forward and reverse DNS lookups work when installing Leopard Server. Make your life easier and set up your DHCP/DNS server first! That’s why DD-WRT came in handy by creating the static reservation. Here’s a hint: Under the Services tab, set the DHCP server Used Domain to LAN \u0026amp; WAN, then set the LAN domain to local. After that, create a static reservation for the server. Your end goal, once you have the server installed, is to have sudo changeip -checkhostname not throw any complaints. This will also make setting up additional services go smoothly. Trust me, you WANT to do this FIRST!! This is what you want to see: administrator$ sudo changeip -checkhostname\nPrimary address = 192.168.1.100\nCurrent HostName = Server.local\nDNS HostName = Server.local\nThe names match. There is nothing to change.\nWhat I’d like to do is actually make the server visible to the world without my ISP knowing about it. I’m not sure if I want to do this via proxy or port forwarding or what yet. I’ll have to think about it harder.\n","permalink":"https://churnd.net/2009/03/08/leopard-server/","summary":"\u003cp\u003eWith my new (to me) G5 PowerMac, I’ve been experimenting with Leopard Server all weekend. Things I’m setting it up to do:\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003ePrimarily a Time Machine server.  This works great so far.  Really need an N router w/ gigabit.  I want to stick with DD-WRT, so I’m looking at the \u003ca href=\"http://www.amazon.com/Linksys-WRT310N-Wireless-N-Gigabit-Router/dp/B000Z3XXR4\" target=\"_blank\"\u003eWRT310N\u003c/a\u003e, but I want something that’ll do dual band since I still have legacy (ha!) G devices on my network and don’t want to suffer speed hits from my N devices.  The \u003ca href=\"http://www.amazon.com/Linksys-WRT610N-Simultaneous-Dual-N-Wireless/dp/B001AZ01EO/ref=dp_cp_ob_e_title_2\" target=\"_blank\"\u003eWRT610n\u003c/a\u003e is ideal, but DD-WRT \u003ca href=\"http://www.dd-wrt.com/phpBB2/viewtopic.php?t=33836\u0026postdays=0\u0026postorder=asc\u0026start=750\" target=\"_blank\"\u003eisn’t stable\u003c/a\u003e on it yet. I don’t want an Airport Extreme due to lack of local DNS.\u003c/li\u003e\n\u003cli\u003eOpenDirectory Master.  Mainly just because I want to get better with it.\u003c/li\u003e\n\u003cli\u003eFile Server… easy enough.  I can definitely appreciate the finer grained controls that ACL’s provide and being able to use them via Server Admin.  Tiger’s Workgroup Manager has propagation issues in my experience.  We’ll see if that’s the same with Leopard.\u003c/li\u003e\n\u003cli\u003eWeb server \u0026amp; Mysql Server.  For testing stuff.  Apache this time around is so much better.  Reminiscent of a small CMS, with blog \u0026amp; wiki capabilities built in.  I think I’ll stick with the OS X native versions this time instead of rolling my own.\u003c/li\u003e\n\u003cli\u003eiCal Server — if I can get around the infamous \u003ca href=\"http://discussions.apple.com/thread.jspa?messageID=8685978\" target=\"_blank\"\u003ePython CPU bug\u003c/a\u003e.  Slows the G5 to a crawl!\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp\u003eBummers:\u003c/p\u003e","title":"Leopard Server"},{"content":"Yet again I’m having IMAP problems with our Groupwise 7 server and my Mail.app client. My Sent Items folder refuses to sync. I’ve even completely reset Mail.app, and I still have the problem. What’s confusing me is I don’t have the problem with any other client such as my iPhone’s Mail.app or Thunderbird on my Mac.\nIt seems that Mail.app is stuck in “synchronize” mode. So, first I quit Mail.app. Using the Groupwise for Mac, I moved all of my Sent Items out of my Sent Items folder into a different folder (I used Cabinet), then quit Groupwise for Mac. I re-opened Mail.app and saw all of the emails in the Cabinet IMAP folder. From there, I dragged them into the Sent (Sent Items) folder, and all seems to be ok again.\nUntil next time!…\n","permalink":"https://churnd.net/2009/03/02/apple-mail-imap-woes/","summary":"\u003cp\u003eYet again I’m having IMAP problems with our Groupwise 7 server and my Mail.app client. My Sent Items folder refuses to sync. I’ve even completely reset Mail.app, and I still have the problem. What’s confusing me is I don’t have the problem with any other client such as my iPhone’s Mail.app or Thunderbird on my Mac.\u003c/p\u003e\n\u003cp\u003eIt seems that Mail.app is stuck in “synchronize” mode. So, first I quit Mail.app. Using the Groupwise for Mac, I moved all of my Sent Items out of my Sent Items folder into a different folder (I used Cabinet), then quit Groupwise for Mac. I re-opened Mail.app and saw all of the emails in the Cabinet IMAP folder. From there, I dragged them into the Sent (Sent Items) folder, and all seems to be ok again.\u003c/p\u003e","title":"Apple Mail IMAP Woes"},{"content":"I’ve made Safari 4 Beta my primary browser. The new features are awesome and I love them all! If I had to choose my favorite, I’d pick the Nitro JS engine. It’s so much faster than anything else I’ve used. All of the new features are listed here.\nThe bad thing is, most of my old Safari add-ons no longer work. The good thing is, I don’t need ‘em. :) The search bar has auto-suggest which replaces Inquisitor. The only other feature I really missed was being able to open all links in a tab in the current window. Turns out that’s an easy fix. From the Terminal, copy and paste this code:\ndefaults write com.apple.Safari TargetedClicksCreateTabs -bool true\nTo go back the other way, just change true at the end to false.\nMore secrets specific to Safari 4 can be found here. Here is a link to the original as far as I’ve read (I’m a stickler for giving credit where it’s due).\nHappy Surfing!\n","permalink":"https://churnd.net/2009/03/02/safari-4/","summary":"\u003cp\u003eI’ve made \u003ca href=\"http://www.apple.com/safari/\" target=\"_blank\"\u003eSafari 4 Beta\u003c/a\u003e my primary browser. The new features are awesome and I love them all! If I had to choose my favorite, I’d pick the Nitro JS engine. It’s so much faster than anything else I’ve used. All of the new features are listed \u003ca href=\"http://www.apple.com/safari/whats-new.html\" target=\"_blank\"\u003ehere\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eThe bad thing is, most of my old Safari add-ons no longer work. The good thing is, I don’t need ‘em. :) The search bar has auto-suggest which replaces \u003ca href=\"http://www.inquisitorx.com/safari/index_en.php\" target=\"_blank\"\u003eInquisitor\u003c/a\u003e. The only other feature I really missed was being able to open all links in a tab in the current window. Turns out that’s an easy fix. From the Terminal, copy and paste this code:\u003c/p\u003e","title":"Safari 4"},{"content":"Just thought I’d post a quick blurb on all the great work Sun is doing in the NAS world. OpenSolaris is really taking off as an OS of choice with sysadmins, not just for ZFS’s awesome capabilities, but also that it makes a great web/app/dbms server platform.\nBeing a file server admin myself, I can’t help but not want to deploy one of these babies: Sun Storage 7000 Unified Storage Systems – Amber Road Overview. Simple, yet powerful, this sucker runs circles around my aging Windows and Mac OS file servers.\nAnother thing I love about it is it’s Status Dashboard, which you can download and run in a VM. I’m trying it out now, and it’s just amazing. This blog by Brendan Gregg, Fishworks engineer, shows some of it’s features in more detail.\nMaybe I can work it into the next fiscal year’s budget. Ha… in my dreams. :)\n","permalink":"https://churnd.net/2009/02/20/fishworks-and-sun-nas/","summary":"\u003cp\u003eJust thought I’d post a quick blurb on all the great work Sun is doing in the NAS world.  OpenSolaris is really taking off as an OS of choice with sysadmins, not just for ZFS’s awesome capabilities, but also that it makes a great web/app/dbms server platform.\u003c/p\u003e\n\u003cp\u003eBeing a file server admin myself, I can’t help but not want to deploy one of these babies:  \u003ca href=\"http://www.sun.com/storage/disk_systems/unified_storage/index.jsp\" target=\"_blank\"\u003eSun Storage 7000 Unified Storage Systems – Amber Road Overview\u003c/a\u003e.  Simple, yet powerful, this sucker runs circles around my aging Windows and Mac OS file servers.\u003c/p\u003e","title":"Fishworks and Sun NAS"},{"content":"Google Reader has always been my primary feed reader for both my Mac and iPhone. The functionality I get from it, in my opinion, rivals anything else. I can star a feed from my iPhone to follow up with later on my Mac. This is particularly useful for software or tips I want to try. I’ve just recently gotten into Twitter and Friendfeed, as well as sharing items with notes via Google Reader. I’ve configured Friendfeed to import those, which in turn make it’s way to Twitter. Being able to integrate all of those services is awesome.\nSo what made me want to try NetNewsWire? I like native applications a little better than web apps, even web apps as good as Google Reader. I think the user experience is still better for a native app than one that runs out of your browser. There’s more customization and sorting options and the UI is cleaner and more robust. I can also read feeds if I’m ever offline (which is usually never anyway). Both Mac and iPhone apps can also sync to NewsGator, which makes it easy to stay up to date.\nAgain, I can’t stand to criticize free software negatively. I’m very grateful both NetNewsWire for the Mac and iPhone are free apps.\nThings I don’t like about NetNewsWire:\nMost feeds require going to a browser anyway. NetNewsWire has one “built-in”, but the window is almost always never big enough. I still prefer a full browser window. The iPhone app takes a while to update, especially if you haven’t used it recently. I don’t have the patience for it. The iPhone app doesn’t allow you to read “all”, just one category at a time. Almost no integration with other social networking sites. Things I don’t like about Google Reader:\nIt runs in a browser. Eh. Sometimes that can be distracting. The iPhone interface will sometimes “reset” itself. Very frustrating to lose your place. It’s like trying to read a book with no bookmark. I have a slight suspicion I’m missing feeds. This morning I saw a feed in NetNewsWire that didn’t show up in Google Reader. Unless I looked at the wrong feed (which I don’t think I did), that sucks… the feed I missed was a good one too. I’ve heard rumors that NetNewsWire might be able to sync with Google Reader in the future. This would be great, but I would need more than just read/unread status to make the switch fully. For now, I’ll stick with Google Reader.\n**UPDATE**\nThe “missing feed” in #3 above just showed up in Google Reader. Seems there’s a noticeable delay. At least it’s not missing altogether. :)\n","permalink":"https://churnd.net/2009/02/17/netnewswire-vs-google-reader/","summary":"\u003cp\u003eGoogle Reader has always been my primary feed reader for both my Mac and iPhone.  The functionality I get from it, in my opinion, rivals anything else.  I can star a feed from my iPhone to follow up with later on my Mac.  This is particularly useful for software or tips I want to try.  I’ve just recently gotten into Twitter and Friendfeed, as well as sharing items with notes via Google Reader.  I’ve configured Friendfeed to import those, which in turn make it’s way to Twitter.  Being able to integrate all of those services is awesome.\u003c/p\u003e","title":"NetNewsWire vs. Google Reader"},{"content":"Now that I’ve finally made the effort to integrate my social networking workflow (I know, what took so long??), I decided to leave Facebook out of it. My reasons for this are simple. I consider Facebook to be a more personal, keep in touch with your friends and family kinda place. I don’t add people as friends if I don’t know them.\nMost of my friends and family don’t fall into the technical world (I hate that term, but can’t think of a better one). So, I consider my Twitter, Friendfeed, Google Reader, blog, etc… basically anything but Facebook, to be more technical. I don’t know most of the people I follow on any of these services, but I find myself relating to a lot of them and I can see it being a great way to make a little noise in that technical world. I don’t think my Facebook friends would appreciate all that technical noise anyway. :) I know most A-list bloggers will tell you full integration is the way to go. I’ll think a little different this time around.\n","permalink":"https://churnd.net/2009/02/12/social-networking/","summary":"\u003cp\u003eNow that I’ve finally made the effort to integrate my social networking workflow (I know, what took so long??), I decided to leave Facebook out of it. My reasons for this are simple. I consider Facebook to be a more personal, keep in touch with your friends and family kinda place. I don’t add people as friends if I don’t know them.\u003c/p\u003e\n\u003cp\u003eMost of my friends and family don’t fall into the technical world (I hate that term, but can’t think of a better one). So, I consider my Twitter, Friendfeed, Google Reader, blog, etc… basically anything but Facebook, to be more technical. I don’t know most of the people I follow on any of these services, but I find myself relating to a lot of them and I can see it being a great way to make a little noise in that technical world. I don’t think my Facebook friends would appreciate all that technical noise anyway. :) I know most A-list bloggers will tell you full integration is the way to go. I’ll think a little different this time around.\u003c/p\u003e","title":"Social Networking"},{"content":"I’ve been trying out Twitter desktop clients for OS X, such as Twitterific, Twhirl, and Tweetdeck. First off, I just wanna say all 3 clients are awesome. For some reason I can’t stand to criticize what people give away for free.\nI think I just don’t like Adobe AIR applications. One of the things I like the most about OS X is it’s user experience provided by it’s UI. Applications all look like they belong together, and work with one another. AIR applications don’t fall into that category. It’s more like a flash application for your desktop. It’s a good idea, and I can appreciate it for it’s cross-platform compatibility, kinda like Java. I’m sure developers love it but from a user standpoint, it’s no more fun to use than a Java app.\nThat being said, Twitterific is my favorite by far. It’s not as fully featured as Twhirl, but the UI is much more pleasant to use. I like that I can have an icon on the menu bar up out of the way. I get updates via Growl notifications and the icon turns blue, so then I can click on the icon to read the updates. The actual window is transparent and up out of the way. I use the free version and don’t mind the ads at all. I just wish it had the bit.ly URL shortening and some kind of picture uploading, along with location awareness. Something I really like doing is checking out what’s going on in the Twittersphere within a 5 mile radius or so. Living in Cincinnati, there’s usually a lot! It makes for some fun reading, and I think it’s a great way to network.\n","permalink":"https://churnd.net/2009/02/12/twitter-desktop-clients/","summary":"\u003cp\u003eI’ve been trying out Twitter desktop clients for OS X, such as \u003ca href=\"http://iconfactory.com/software/twitterrific\"\u003eTwitterific\u003c/a\u003e, \u003ca href=\"http://www.twhirl.org/\"\u003eTwhirl\u003c/a\u003e, and \u003ca href=\"http://www.tweetdeck.com/beta/\"\u003eTweetdeck\u003c/a\u003e. First off, I just wanna say all 3 clients are awesome. For some reason I can’t stand to criticize what people give away for free.\u003c/p\u003e\n\u003cp\u003eI think I just don’t like Adobe AIR applications. One of the things I like the most about OS X is it’s user experience provided by it’s UI. Applications all look like they belong together, and work with one another. AIR applications don’t fall into that category. It’s more like a flash application for your desktop. It’s a good idea, and I can appreciate it for it’s cross-platform compatibility, kinda like Java. I’m sure developers love it but from a user standpoint, it’s no more fun to use than a Java app.\u003c/p\u003e","title":"Twitter Desktop Clients"},{"content":"I can distinctly remember driving to work yesterday and coming up with two topics that I really wanted to blog about. Then I get to work and the days events catch me in their whirlwind. It seems that pretty much the only time I have to blog is the morning before work.\nSo here I am sitting with my coffee, ready to blog… but for the life of me, I can’t remember what I wanted to blog about. I’ll probably start making a note of these topics so I can get back to them later. That could get to be a pretty long list…\n","permalink":"https://churnd.net/2009/02/11/bloggers-block/","summary":"\u003cp\u003eI can distinctly remember driving to work yesterday and coming up with two topics that I really wanted to blog about. Then I get to work and the days events catch me in their whirlwind. It seems that pretty much the only time I have to blog is the morning before work.\u003c/p\u003e\n\u003cp\u003eSo here I am sitting with my coffee, ready to blog… but for the life of me, I can’t remember what I wanted to blog about. I’ll probably start making a note of these topics so I can get back to them later. That could get to be a pretty long list…\u003c/p\u003e","title":"Bloggers Block"},{"content":"I can’t stand buying stuff from CDW. They’ve got the most useless search feature, and over half of their products have a really bad description. The descriptions are so useless, I usually have to look up the specs from the manufacturer’s website. I don’t have many options for buying at work (big corporation), and believe it or not, CDW is the quickest way I can get a quote out the door.\nExample: I’m searching for an external hard drive. I wanna find a 2.5″ drive with a 16mb buffer. So, I navigate to external hard drives, and on the basic search feature, I look under buffer size. I have the option to search for 1mb or below, 1mb to 32mb, and 32mb and above. Seeing how the majority of hard drives out there fall into the 1mb-32mb range, that’s a pretty stupid option!!\nBut wait!! There’s more!\nThere’s also the ability to search by interface type. Let’s say I want a USB interface. I can choose between the Hi-Speed USB interface with 392 results or the Hi-Speed USB interface with 40 results. What’s the difference between the two?? I even checked the spelling and hyphenation… it’s exactly the same!!\nI really wish Newegg.com would take purchase orders. They would do so much business in the corporate world that way. At least from me.\n","permalink":"https://churnd.net/2009/02/11/cdw/","summary":"\u003cp\u003eI can’t stand buying stuff from CDW.  They’ve got the most useless search feature, and over half of their products have a really bad description.  The descriptions are so useless, I usually have to look up the specs from the manufacturer’s website.  I don’t have many options for buying at work (big corporation), and believe it or not, CDW is the quickest way I can get a quote out the door.\u003c/p\u003e","title":"CDW"},{"content":"So last night was our first night in our home that is now protected by a security system. It was also our first false-alarm. I’m sure everybody does that, right? I’m still not sure how it went off, but the cops came and were seemingly understanding about the whole thing. Hopefully no hard feelings. Something that kinda piqued my curiosity is, the cops didn’t ask me who I was. I guess they just assumed because I answered the front door in my pajamas that I lived there. I can see that being a pretty safe assumption, but I still would have liked them to ask questions only I would’ve known. I’ll probably call the security company and find out more about this.\nNote to burglars, pajamas are good camouflage!\n","permalink":"https://churnd.net/2009/02/03/false-alarm/","summary":"\u003cp\u003eSo last night was our first night in our home that is now protected by a security system.  It was also our first false-alarm.  I’m sure everybody does that, right?  I’m still not sure how it went off, but the cops came and were seemingly understanding about the whole thing.  Hopefully no hard feelings.  Something that kinda piqued my curiosity is, the cops didn’t ask me who I was.  I guess they just assumed because I answered the front door in my pajamas that I lived there.  I can see that being a pretty safe assumption, but I still would have liked them to ask questions only I would’ve known.  I’ll probably call the security company and find out more about this.\u003c/p\u003e","title":"False Alarm"},{"content":"I am deaf as a doornail, and have been since 3rd grade… 8 years old I think? I’ve always sucked at figuring out my age during life events. Anyway, I’m really happy to see that a lot of online video websites such as YouTube and Hulu are making an effort to support closed captioning. Now, if I’m lucky enough, I can finally watch some videos and understand what they’re saying. A good example is the Weekly Address from President-Elect Obama:\nIf a president has done this before, I’ve never seen it. Thank you, Obama!\nHulu.com also has a list of recent TV shows such as The Office, with closed captioning included. Now if I’ve missed a show I can watch it whenever I get a chance.\nThere’s a lot of controversy surrounding closed captioning. As in, why hasn’t it changed to keep up with the times? Why doesn’t it look better? Why did it take so long for YouTube to add that feature? It seems that it takes several years for accessibility to catch up with technology. It shouldn’t be that way, but I don’t know enough about the process to offer a better alternative. Maybe I should read up.\n","permalink":"https://churnd.net/2009/01/18/closed-captioning-on-the-web/","summary":"\u003cp\u003eI am deaf as a doornail, and have been since 3rd grade… 8 years old I think?  I’ve always sucked at figuring out my age during life events.  Anyway, I’m really happy to see that a lot of online video websites such as YouTube and Hulu are making an effort to support closed captioning.  Now, if I’m lucky enough, I can finally watch some videos and understand what they’re saying.  A good example is the Weekly Address from President-Elect Obama:\u003c/p\u003e","title":"Closed Captioning on the Web"},{"content":"An oldie but a goodie:\nhttp://www.math.unipd.it/~favero/varie/ragazzauk.html\n","permalink":"https://churnd.net/2009/01/18/girlfriend-60-vs-wife-10/","summary":"\u003cp\u003eAn oldie but a goodie:\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"http://www.math.unipd.it/~favero/varie/ragazzauk.html\" target=\"_blank\"\u003e\u003ca href=\"http://www.math.unipd.it/~favero/varie/ragazzauk.html\"\u003ehttp://www.math.unipd.it/~favero/varie/ragazzauk.html\u003c/a\u003e\u003c/a\u003e\u003c/p\u003e","title":"Girlfriend 6.0 vs Wife 1.0"},{"content":"Up until this point, I had been using several Safari Add-ons to bring functionality that I missed using Firefox. Such as, undo closing a tab, always open in a tab, remember last session, etc. I had been using ForgetMeNot and Safari Stand through SIMBL, which worked but I think ForgetMeNot made Safari a slight bit more unstable. I’m also too cheap to use anything that I’d have to pay for, such as Saft.\nI was happy to find there’s now a single add-on that would do everything I wanted, and more: Glims. Yes, it’s in beta, but I’ve been using it for the past week with no problems, and I’ll keep using it as long as it’s free! :)\n","permalink":"https://churnd.net/2009/01/18/safari-addon/","summary":"\u003cp\u003eUp until this point, I had been using several Safari Add-ons to bring functionality that I missed using Firefox.  Such as, undo closing a tab, always open in a tab, remember last session, etc.  I had been using \u003ca href=\"http://pimpmysafari.com/plugins/forgetmenot\" target=\"_blank\"\u003eForgetMeNot\u003c/a\u003e and \u003ca href=\"http://hetima.com/safari/stand-e.html\" target=\"_blank\"\u003eSafari Stand\u003c/a\u003e through \u003ca href=\"http://culater.net/software/SIMBL/SIMBL.php\" target=\"_blank\"\u003eSIMBL\u003c/a\u003e, which worked but I think ForgetMeNot made Safari a slight bit more unstable.  I’m also too cheap to use anything that I’d have to pay for, such as \u003ca href=\"http://haoli.dnsalias.com/Saft/index.html\" target=\"_blank\"\u003eSaft\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eI was happy to find there’s now a single add-on that would do everything I wanted, and more:  \u003ca href=\"http://www.machangout.com/\" target=\"_blank\"\u003eGlims\u003c/a\u003e.  Yes, it’s in beta, but I’ve been using it for the past week with no problems, and I’ll keep using it as long as it’s free!  :)\u003c/p\u003e","title":"Safari Addon"},{"content":"I had never understood why I couldn’t comment on Lifehacker posts. It’s not something I’d do a lot of, but occasionally I like to offer my 2 (maybe even 3) cents. :)\nSo, I emailed the Lifehacker comment super-administrator lord of the comments dude, and asked why my comments were disabled. This was his response:\nI’ll give you another chance to audition. Try to make comments that add value to the discussion. If we like what we see, we will enable you to comment without review. The moderators like to have several comments to review before they approve an account. Try commenting on several articles to give them more examples of your commenting style.\nWHAT?? ”Another chance to audition”?? I hadn’t realized I auditioned in the first place. Even so, I’ve never heard of a social networking site that required you to audition. I mean, you WANT more people to join and keep coming back, right? That sort of thing seems kinda… elitist? I feel like I’m being evaluated to join a country club or something, when really all I’m trying to get into is the public golf course. No offense, Lifehacker, your site’s great but it’s no country club.\nI can see the benefit from doing this, as it would keep trolls and such out. I’m more for the open membership method, then ban the bad users after methodology, but that’s just me.\nThis is actually kinda ironic, because I used to moderate a few message boards. Looking at it from a moderator’s perspective, the Lifehacker way is actually a great way to go. Keeps the site respectable. From a users perspective, you can’t help but feel a little insulted.\nMaybe a good compromise would be to have moderators just watch (not approve) new user posts. That way they could ban the bad users as needed, and the good users would keep on posting comments without feeling discouraged that their first several posts are wasted. Or are they wasted? I’ve posted 6 times since they re-enabled commenting on my account, and those posts have disappeared from the articles. That’s frustrating, but maybe my insight just isn’t worth as much as I thought. :)\n","permalink":"https://churnd.net/2009/01/14/lifehacker-commenting/","summary":"\u003cp\u003eI had never understood why I couldn’t comment on Lifehacker posts.  It’s not something I’d do a lot of, but occasionally I like to offer my 2 (maybe even 3) cents.  :)\u003c/p\u003e\n\u003cp\u003eSo, I emailed the Lifehacker comment super-administrator lord of the comments dude, and asked why my comments were disabled.  This was his response:\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eI’ll give you another chance to audition. Try to make comments that add value to the discussion. If we like what we see, we will enable you to comment without review. The moderators like to have several comments to review before they approve an account. Try commenting on several articles to give them more examples of your commenting style.\u003c/p\u003e\n\u003c/blockquote\u003e","title":"Lifehacker Commenting"},{"content":"I broke down and bought a family pack of MobileMe for the wife and I from Amazon for $85. A few things prompted my decision:\nPrice – that’s a killer deal! Calendar Sync – no other service I’ve seen yet will sync directly from the iPhone wirelessly* Gallery – this is one of the better looking online photo galleries I’ve seen. iWeb – I think once I show the wife how easy this is to use, she’ll love it. Backup – nice having the peace of mind that my critical stuff is backed up daily to iDisk for off-site storage. Good compliment to Time Machine. I haven’t abandoned Google’s services at all. In fact, I’m working on keeping them all synced. I don’t think I’m going to use my @me.com email address to replace my gmail.com address just yet. Most likely I’ll use it as a secondary account.\nOne thing I’m really waiting on, and I’ve submitted a feature request to the MobileMe team a few times, is the ability to sync subscribed calendars with the full push functionality available with the personal calendars.\n*I know about Nuevasync. I don’t like the idea of giving them my Google login. Plus, it’s in beta. Some people have said it went down on them and their calendars disappeared during that time. My wife would not like that very much at all.\n","permalink":"https://churnd.net/2008/12/04/mobileme/","summary":"\u003cp\u003eI broke down and bought a family pack of MobileMe for the wife and I from \u003ca href=\"http://www.amazon.com/Apple-MB825Z-A-MobileMe-Family/dp/B001BY0C2U/ref=pd_bbs_sr_2?ie=UTF8\u0026s=software\u0026qid=1228359746\u0026sr=8-2\" target=\"_blank\"\u003eAmazon\u003c/a\u003e for $85.  A few things prompted my decision:\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cstrong\u003ePrice\u003c/strong\u003e – that’s a killer deal!\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCalendar Sync\u003c/strong\u003e – no other service I’ve seen yet will sync directly \u003cem\u003efrom\u003c/em\u003e the iPhone wirelessly*\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eGallery\u003c/strong\u003e – this is one of the better looking online photo galleries I’ve seen.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eiWeb\u003c/strong\u003e – I think once I show the wife how easy this is to use, she’ll love it.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eBackup\u003c/strong\u003e – nice having the peace of mind that my critical stuff is backed up daily to iDisk for off-site storage.  Good compliment to Time Machine.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp\u003eI haven’t abandoned Google’s services at all.  In fact, I’m working on keeping them all synced.  I don’t think I’m going to use my @me.com email address to replace my gmail.com address just yet.  Most likely I’ll use it as a secondary account.\u003c/p\u003e","title":"MobileMe"},{"content":"I have something of a wallpaper fetish. I can’t stand bad wallpaper (too busy, colorful, etc). IMO, wallpaper should not distract the user. I use a Macbook Pro, so this has been my wallpaper for the past few years and I still haven’t grown tired of it. I think that’s a record for me.\n","permalink":"https://churnd.net/2008/11/25/wallpaper/","summary":"\u003cp\u003eI have something of a wallpaper fetish.  I can’t stand bad wallpaper (too busy, colorful, etc).  IMO, wallpaper should not distract the user.  I use a Macbook Pro, so this has been my wallpaper for the past few years and I still haven’t grown tired of it.  I think that’s a record for me.\u003c/p\u003e\n\u003cp style=\"text-align:center;\"\u003e\n  \u003ca href=\"http://sannixtudio.deviantart.com/art/AluApple-29194133\"\u003e\u003cimg class=\"aligncenter\" title=\"AluApple\" src=\"http://th00.deviantart.com/fs9/300W/i/2006/048/7/5/AluApple_by_sannixtudio.jpg\" alt=\"\" width=\"300\" height=\"225\" /\u003e\u003c/a\u003e\n\u003c/p\u003e","title":"Wallpaper"},{"content":"**UPDATED**\nToday I realized that changing the below mode from 0660 to 0666 is not the right way to go. There is an actual group in OpenSUSE called “video” that each user needs to be a member of. The “mode” is actually a permission that gives users of the group “video” access to the special DRI 3D stuff that the video card does.\nWell, by default, all users in OpenSUSE are a member of the video group. I happened to be using this method of migrating users to upgrade the workstation so I wouldn’t lose any passwords. Somehow, the users lost their video group membership, most likely due to the differences between OpenSUSE 10.3 and 11. That caused the error below.\n**/UPDATED**\nThought I’d post this so maybe it’ll help someone else later.\nAfter upgrading one of our workstations to OpenSUSE 11, I had a problem getting the ATI Drivers to load properly. I tried both the drivers in ATI’s YaST repository as well as the one available for download from their website. The problem persisted with either method. I have an ATI FireGL V5200 card. Here’s the error I saw:\nfglrxinfo\nlibGL error: open DRM failed (Operation not permitted)\nlibGL error: reverting to (slow) indirect rendering\nAfter about half a day of researching the issue, I found the fix. At the very end of your /etc/X11/xorg.conf, you should see this section:\nSection “DRI”\nGroup “video”\nMode 0660\nEndSection\nChange the Mode to 0666, then restart X by hitting ctrl+alt+backspace twice (some only once). Problem solved! I have no idea if this is a security risk or not, so leave a comment if it is.\n","permalink":"https://churnd.net/2008/10/23/opensuse-ati-problem/","summary":"\u003cp\u003e**UPDATED**\u003c/p\u003e\n\u003cp\u003eToday I realized that changing the below mode from 0660 to 0666 is not the right way to go.  There is an actual group in OpenSUSE called “video” that each user needs to be a member of.  The “mode” is actually a permission that gives users of the group “video” access to the special DRI 3D stuff that the video card does.\u003c/p\u003e\n\u003cp\u003eWell, by default, all users in OpenSUSE are a member of the video group.  I happened to be using \u003ca href=\"http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/\" target=\"_blank\"\u003ethis method of migrating users\u003c/a\u003e to upgrade the workstation so I wouldn’t lose any passwords.  Somehow, the users lost their video group membership, most likely due to the differences between OpenSUSE 10.3 and 11.  That caused the error below.\u003c/p\u003e","title":"OpenSUSE ATI Problem"},{"content":"Here’s some really good links on setting up Open Directory with Linux clients:\nDiscover the Power of Open Directory. Discover the Power of Open Directory Part 2. Discover the Power of Open Directory Part 3. It seems like the Mac DevCenter at O\u0026#8217;Reilly.net has stagnated, so I printed these off to PDF just in case. :-) ","permalink":"https://churnd.net/2008/10/16/open-directory-with-linux/","summary":"\u003cp\u003eHere’s some really good links on setting up Open Directory with Linux clients:\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ca href=\"http://www.oreillynet.com/pub/a/mac/2007/06/01/discover-the-power-of-open-directory.html\" target=\"_blank\"\u003eDiscover the Power of Open Directory.\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"http://www.oreillynet.com/pub/a/mac/2007/06/27/discover-the-power-of-open-directory-part-2.html\" target=\"_blank\"\u003eDiscover the Power of Open Directory Part 2\u003c/a\u003e.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"http://www.oreillynet.com/pub/a/mac/2007/07/18/discover-the-power-of-open-directory-part-3.html\" target=\"_blank\"\u003eDiscover the Power of Open Directory Part 3\u003c/a\u003e.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cdiv\u003e\n  It seems like the Mac DevCenter at O\u0026#8217;Reilly.net has stagnated, so I printed these off to PDF just in case.  :-)\n\u003c/div\u003e","title":"Open Directory with Linux"},{"content":"I’m really liking OpenSolaris. I’ve always wanted to get into Sun more, and OpenSolaris seems to ease the transition from Linux. Being a file server admin, I want to explore ZFS more. I can’t wait until it’s officially part of Mac OS X.\nI have it up and running in VMware Fusion, and have been using it since July (I think svn_96). If you follow that link, make sure you check the comments for other tips on getting it working in Fusion 2.0.\nWith the past releases, I’d been having trouble doing updates. I’m not sure if it was my fault, or just some bugs that needed fixing. Probably both. :) It was actually probably a good thing, because I learned a lot about using beadm that I probably wouldn’t have learned otherwise. That said, I was very impressed this morning when I did the latest pkg image-update and it went off without a hitch! It seems that with the progress the OpenSolaris team is making, it won’t be long before it’s just as popular, if not more, than your favorite Linux distro.\n","permalink":"https://churnd.net/2008/10/16/opensolaris-svn_99/","summary":"\u003cp\u003eI’m really liking \u003ca href=\"http://www.opensolaris.org/os/\" target=\"_blank\"\u003eOpenSolaris\u003c/a\u003e.  I’ve always wanted to get into Sun more, and OpenSolaris seems to ease the transition from Linux.  Being a file server admin, I want to explore ZFS more.  I can’t wait until it’s officially part of Mac OS X.\u003c/p\u003e\n\u003cp\u003eI have it up and running in \u003ca href=\"http://blogs.sun.com/souvik/entry/getting_started_with_opensolaris_2008\" target=\"_blank\"\u003eVMware Fusion\u003c/a\u003e, and have been using it since July (I think svn_96).  If you follow that link, make sure you check the comments for other tips on getting it working in Fusion 2.0.\u003c/p\u003e","title":"OpenSolaris svn_99"},{"content":"I have been incredibly pleased working with the Chandler project’s calendar server. It’s so easy to set up and get running if you let the documentation guide you through it. It would take you 30 mins, assuming you already have some basic linux and mysql knowledge.\nMy only gripe is that it won’t authenticate against directory services, such as OpenLDAP or Active Directory. I had a chat with one of the developers on IRC about this, and it didn’t seem like that feature would be added anytime soon. So, this would be a good way to share calendars for a smaller workgroup or at home.\n","permalink":"https://churnd.net/2008/10/10/chandler-calendar-server-continued/","summary":"\u003cp\u003eI have been incredibly pleased working with the \u003ca href=\"http://chandlerproject.org/Developers/DownloadChandlerServer\" target=\"_blank\"\u003eChandler project’s calendar server\u003c/a\u003e.  It’s so easy to set up and get running if you let the documentation guide you through it.  It would take you 30 mins, assuming you already have some basic linux and mysql knowledge.\u003c/p\u003e\n\u003cp\u003eMy only gripe is that it won’t authenticate against directory services, such as OpenLDAP or Active Directory.  I had a chat with one of the developers on IRC about this, and it didn’t seem like that feature would be added anytime soon.  So, this would be a good way to share calendars for a smaller workgroup or at home.\u003c/p\u003e","title":"Chandler Calendar Server continued…"},{"content":"After finally playing around with Leopard Server, I realized there’s not much to their calendar server GUI. It relies mostly on Workgroup Manager settings, and for Open Directory to be turned on. Once I had a basic understanding of how it worked, I was able to search more effectively for a way to implement it on Tiger Server. I found this link, which worked well for me. After following the instructions, I was able to add my account in iCal and sync across two leopard clients. I wasn’t able to get the group thing figured out, and the web interface is a mystery to me (as in, why do I need it?). I’d have to get more comfortable with managing it if I were going to set it up on a larger scale, but at least it’s working! :)\n","permalink":"https://churnd.net/2008/10/10/darwin-calendar-server-on-tiger-server/","summary":"\u003cp\u003eAfter finally playing around with Leopard Server, I realized there’s not much to their calendar server GUI.  It relies mostly on Workgroup Manager settings, and for Open Directory to be turned on.  Once I had a basic understanding of how it worked, I was able to search more effectively for a way to implement it on Tiger Server.  \u003ca href=\"http://osdir.com/ml/macosx.calendarserver.user/2008-08/msg00003.html\" target=\"_blank\"\u003eI found this link\u003c/a\u003e, which worked well for me.  After following the instructions, I was able to add my account in iCal and sync across two leopard clients.  I wasn’t able to get the group thing figured out, and the web interface is a mystery to me (as in, why do I need it?).  I’d have to get more comfortable with managing it if I were going to set it up on a larger scale, but at least it’s working!  :)\u003c/p\u003e","title":"Darwin Calendar Server on Tiger Server"},{"content":"So, iPhone developers are pissed because Apple is apparently rejecting apps that “duplicate existing functionality” on the iPhone, and slapped them with a non-disclosure agreement to boot. This is definitely wrong, and bad for the iPhone’s future. Imagine Microsoft saying you can’t install Firefox on Windows because it duplicates existing Internet Explorer functionality. The uproar would be deafening. Let\u0026#8217;s assume Apple doesn\u0026#8217;t wisen up and correct their mistake here. What\u0026#8217;s going to happen is history will repeat itself. The whole point of the App Store was to appease customers who desired their iPhone to do more than just what few apps Apple included. They were doing this on the 1st gen iPhone with the help of jailbreaking utilities. They were also using the jailbreaking method to use their phones on different networks. Apple\u0026#8217;s response was, \u0026#8220;Ok, we hear you\u0026#8230; here\u0026#8217;s the iPhone SDK and App Store.\u0026#8221;. So now users and developers alike are all overjoyed, and the App Store is instantly successful. Users are happy, developers are earning money, and Apple\u0026#8217;s revenues are up. Now the current controversy ensues. Developers are afraid to invest their time in developing an app that might not be accepted into the App Store. There are no guidelines for whether or not it will be accepted. They will not find out whether or not it will be accepted until the app is complete, meaning all development is done and time is already invested. Would you do work, expecting to get reimbursed for it, but not knowing whether or not you would until it was finished? Like I said, history will repeat itself. If Apple continues this pointless charade, users will go back to jailbreaking their iPhones to get the apps they want. Developers will find other ways of distributing their apps. It won\u0026#8217;t be as beneficial to everyone as the App Store, but people will not stand to be censored. When you buy something, that something belongs to you. Nobody likes to be told what they can and cannot do with their own personal belongings. I have no idea why Apple is kicking themselves in the nuts over this. How does it help their bottom line? They\u0026#8217;re losing money over this, and for what? Pride? Image? Apple is getting away with this for now because of their cult-like following, but they\u0026#8217;re pushing their limits. ","permalink":"https://churnd.net/2008/09/25/iphone-app-store-controversy/","summary":"\u003cp\u003eSo, iPhone developers are pissed because Apple is apparently rejecting apps that “duplicate existing functionality” on the iPhone, and slapped them with a non-disclosure agreement to boot.  This is definitely wrong, and bad for the iPhone’s future.  Imagine Microsoft saying you can’t install Firefox on Windows because it duplicates existing Internet Explorer functionality.  The uproar would be deafening. \u003cdiv\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  Let\u0026#8217;s assume Apple doesn\u0026#8217;t wisen up and correct their mistake here.  What\u0026#8217;s going to happen is \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003ehistory will repeat itself\u003c/span\u003e.  The whole point of the App Store was to appease customers who desired their iPhone to do more than just what few apps Apple included.  They were doing this on the 1st gen iPhone with the help of jailbreaking utilities.  They were also using the jailbreaking method to use their phones on different networks.  Apple\u0026#8217;s response was, \u0026#8220;Ok, we hear you\u0026#8230; here\u0026#8217;s the iPhone SDK and App Store.\u0026#8221;.  So now users and developers alike are all overjoyed, and the App Store is instantly successful.  Users are happy, developers are earning money, and Apple\u0026#8217;s revenues are up.  Now the current controversy ensues.  Developers are afraid to invest their time in developing an app that might not be accepted into the App Store.  \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003eThere are no guidelines for whether or not it will be accepted\u003c/span\u003e.  \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003eThey will not find out whether or not it will be accepted until the app is complete, meaning all development is done and time is already invested\u003c/span\u003e.  Would you do work, expecting to get reimbursed for it, but not knowing whether or not you would until it was finished?\n\u003c/div\u003e\n\u003cdiv\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  Like I said, \u003cspan class=\"Apple-style-span\" style=\"font-style:italic;\"\u003ehistory will repeat itself\u003c/span\u003e.  If Apple continues this pointless charade, users will go back to jailbreaking their iPhones to get the apps they want.  Developers will find other ways of distributing their apps.  It won\u0026#8217;t be as beneficial to everyone as the App Store, but people will not stand to be censored.  When you buy something, that something belongs to you.  Nobody likes to be told what they can and cannot do with their own personal belongings.\n\u003c/div\u003e\n\u003cdiv\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  I have no idea why Apple is kicking themselves in the nuts over this.  How does it help their bottom line?  They\u0026#8217;re \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003elosing\u003c/span\u003e money over this, and for what?  Pride?  Image?  Apple is getting away with this for now because of their cult-like following, but they\u0026#8217;re pushing their limits.\n\u003c/div\u003e","title":"iPhone App Store Controversy"},{"content":"In a previous post, I mentioned Cosmo Calendar Server while it was in it’s very early stages of development. It looks like the developers have been working their asses off, because the Chandler project as a whole has improved a lot! There isn\u0026#8217;t much you can\u0026#8217;t do with this calendaring suite: It has it\u0026#8217;s own fully functional desktop application, Chandler. It not only does calendering, but can do email too if you want. You can sign up for a free account on Chandler Hub, which is very cool as it adds a way to synchronize your local calendars to a web server. The web interface is also very nice\u0026#8230; one of the better ones I\u0026#8217;ve seen. Assuming you don\u0026#8217;t want to trust your personal info on someone else\u0026#8217;s server, you can run your own with Cosmo Server. This is completely self contained, and only requires that you have Java installed. Incredibly simple to set up, and works with a DB text file, MySQL or PostgreSQL. I had one up and running on my openSUSE test box in 30 mins, using MySQL. Even though it\u0026#8217;s coming along pretty well, there are still some bugs. I noticed right away the desktop app crashed when I tried to drag an appointment to a different time. There\u0026#8217;s a page of bug reports and you should report any you may find. ","permalink":"https://churnd.net/2008/09/24/chandler-calendar-server/","summary":"\u003cp\u003eIn a \u003ca href=\"/2008/05/05/calendar-server/\"\u003eprevious post\u003c/a\u003e, I mentioned \u003ca href=\"http://chandlerproject.org\"\u003eCosmo Calendar Server\u003c/a\u003e while it was in it’s very early stages of development.  It looks like the developers have been working their asses off, because the Chandler project as a whole has improved a lot! \u003cdiv\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  There isn\u0026#8217;t much you can\u0026#8217;t do with this calendaring suite:\n\u003c/div\u003e\n\u003cdiv\u003e\n  \u003cul\u003e\n    \u003cli\u003e\n      It has it\u0026#8217;s own fully functional desktop application, Chandler.  It not only does calendering, but can do email too if you want.\n    \u003c/li\u003e\n    \u003cli\u003e\n      You can sign up for a free account on \u003ca href=\"http://hub.chandlerproject.org\"\u003eChandler Hub\u003c/a\u003e, which is very cool as it adds a way to synchronize your local calendars to a web server.  The web interface is also very nice\u0026#8230; one of the better ones I\u0026#8217;ve seen.\n    \u003c/li\u003e\n    \u003cli\u003e\n      Assuming you don\u0026#8217;t want to trust your personal info on someone else\u0026#8217;s server, you can run your own with Cosmo Server.  This is completely self contained, and only requires that you have Java installed.  Incredibly simple to set up, and works with a DB text file, MySQL or PostgreSQL.  I had one up and running on my openSUSE test box in 30 mins, using MySQL.\n    \u003c/li\u003e\n  \u003c/ul\u003e\n  \u003cdiv\u003e\n    Even though it\u0026#8217;s coming along pretty well, there are still some bugs.  I noticed right away the desktop app crashed when I tried to drag an appointment to a different time.  There\u0026#8217;s a page of \u003ca href=\"http://chandlerproject.org/reportabug\"\u003ebug reports\u003c/a\u003e and you should report any you may find.\n  \u003c/div\u003e\n\u003c/div\u003e","title":"Chandler Calendar Server"},{"content":"I love the syntax highlighting that VI/VIM provides. I refuse to use any text editor without it. It just makes it much easier on my eyes to navigate the code. It’s a very useful feature, and I have no idea why common pagers such as more or less don’t offer this. Hope is not lost though! You can use one of VIM\u0026#8217;s macros to act similar to less but with highlighting! This is done by setting an alias in your .bash_profile or .bashrc file, which is in your home directory. Here\u0026#8217;s how: Open up a terminal and type cd. This will take you to your home directory in case you aren\u0026#8217;t already. You need to edit your .bashrc or .bash_profile include this alias: alias vless=\u0026#8217;vim -u /usr/share/vim/vim71/macros/less.vim\u0026#8217;. You will most likely have to modify that path depending on your system, but it should always start with /usr/share/vim. Save and close, then type \u0026#8220;. .bashrc\u0026#8221; or \u0026#8220;. .bash_profile\u0026#8221; to re-read the file and have the alias take effect. You\u0026#8217;re done! Now instead of using less to read a file, you can use vless. The great thing about aliases is they can be whatever you want. You can even set it to override less itself if you want. I\u0026#8217;m not sure if basic functionality is any different between less and vless. Both use / to search and q to quit, and navigate the file the same. If there are any differences, they certainly don\u0026#8217;t bother me. :) ","permalink":"https://churnd.net/2008/09/24/syntax-highlighting-with-less/","summary":"\u003cp\u003eI love the syntax highlighting that VI/VIM provides.  I refuse to use any text editor without it.  It just makes it much easier on my eyes to navigate the code.  It’s a very useful feature, and I have no idea why common \u003ca href=\"http://en.wikipedia.org/wiki/Terminal_pager\"\u003epagers\u003c/a\u003e such as \u003cspan class=\"Apple-style-span\" style=\"font-style:italic;\"\u003emore\u003c/span\u003e or \u003cspan class=\"Apple-style-span\" style=\"font-style:italic;\"\u003eless\u003c/span\u003e don’t offer this. \u003cdiv\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  Hope is not lost though!  You can use one of VIM\u0026#8217;s macros to act similar to \u003cspan class=\"Apple-style-span\" style=\"font-style:italic;\"\u003eless\u003c/span\u003e but with highlighting!  This is done by setting an alias in your .bash_profile or .bashrc file, which is in your home directory.  Here\u0026#8217;s how:\n\u003c/div\u003e\n\u003cdiv\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      Open up a terminal and type \u003cspan class=\"Apple-style-span\" style=\"font-style:italic;\"\u003ecd\u003c/span\u003e.  This will take you to your home directory in case you aren\u0026#8217;t already.\n    \u003c/li\u003e\n    \u003cli\u003e\n      You need to edit your .bashrc or .bash_profile include this alias:  \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003ealias vless=\u0026#8217;vim -u /usr/share/vim/vim71/macros/less.vim\u0026#8217;\u003c/span\u003e.  You will most likely have to modify that path depending on your system, but it should always start with \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003e/usr/share/vim\u003c/span\u003e.\n    \u003c/li\u003e\n    \u003cli\u003e\n      Save and close, then type \u0026#8220;. .bashrc\u0026#8221; or \u0026#8220;. .bash_profile\u0026#8221; to re-read the file and have the alias take effect.\n    \u003c/li\u003e\n  \u003c/ol\u003e\n  \u003cdiv\u003e\n    You\u0026#8217;re done!  Now instead of using \u003cspan class=\"Apple-style-span\" style=\"font-style:italic;\"\u003eless\u003c/span\u003e to read a file, you can use \u003cspan class=\"Apple-style-span\" style=\"font-style:italic;\"\u003evless\u003c/span\u003e.  The great thing about aliases is they can be whatever you want.  You can even set it to override \u003cspan class=\"Apple-style-span\" style=\"font-style:italic;\"\u003eless\u003c/span\u003e itself if you want.\n  \u003c/div\u003e\n  \u003cdiv\u003e\n  \u003c/div\u003e\n  \u003cdiv\u003e\n    I\u0026#8217;m not sure if basic functionality is any different between \u003cspan class=\"Apple-style-span\" style=\"font-style:italic;\"\u003eless\u003c/span\u003e and \u003cspan class=\"Apple-style-span\" style=\"font-style:italic;\"\u003evless\u003c/span\u003e.  Both use \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003e/\u003c/span\u003e to search and \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003eq\u003c/span\u003e to quit, and navigate the file the same.  If there are any differences, they certainly don\u0026#8217;t bother me.  :)\n  \u003c/div\u003e\n\u003c/div\u003e","title":"Syntax Highlighting with Less"},{"content":"I have an openSUSE 11 box at work that I use for testing, development, and file storage. I resurrected an old RAID array that had a failed RAID controller by pulling out the controller and rewiring it to be just a SCSI chain. It’s hooked up to the openSUSE box and configured as a 500GB software RAID5 array.\nTo set up the torrent server, you\u0026#8217;ll need Transmission and Clutch. Transmission is in the Packman repos, so you can enable that repo via YaST, search for Transmission, and install it. Or of course, you could download the source and compile it. If memory serves, I did that once and it compiled easily. With clutch, it\u0026#8217;s just a bunch of web files made to run on your favorite web server. I use Apache, so make sure that\u0026#8217;s installed and turned on. You\u0026#8217;ll also need PHP, JSON for PHP, and the PHP socket extension. These are all in YaST too. After they\u0026#8217;re installed, restart the server so they\u0026#8217;ll take affect. Then unzip the files to the server root, in my case is /srv/www/htdocs/. I use the web server to test several different things, so I put them in a subdirectory /srv/www/htdocs/clutch, and I can get to it by typing http://server/clutch in my browser. The rest of the instructions are here under the Installation (Linux) section, and the do work fine assuming you follow them step by step. I know because the first time I tried, I missed a step concerning permissions and had to backtrack to find it. The important parts in the instructions above are the permissions and file locations. A key to making this easier for you is knowing which user your web server runs as. In my case it was wwwrun, and group www. I edited the necessary files, and did a chown -R wwwrun:www to the top level directory. Now my web server owns those files and can modify them as needed. The last portion of this puzzle is to turn transmission into a service by creating this script in /etc/init.d:\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]\n#!/bin/sh\n# Copyright (C) 2007 JRM\n# Starts or stops the transmission daemons.\n# Writes directory permissions and changes owner for\n# the transmission.socket. PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin\nNAME=\u0026ldquo;Transmission\u0026rdquo;\nDESC=\u0026ldquo;torrent daemon\u0026rdquo;\nSOCK=\u0026quot;/opt/transmission/socket\u0026quot;\nDLDIR=\u0026quot;/data/Torrents\u0026quot;\ncase \u0026ldquo;$1\u0026rdquo; in\nstart)\necho -n \u0026ldquo;Starting $DESC: \u0026quot;\nsu – user -c \u0026ldquo;/usr/bin/transmission-daemon -s /opt/transmission/socket\u0026rdquo;\necho \u0026ldquo;$NAME.\u0026rdquo;\nsleep 2\nchmod -R 777 $SOCK\nchown -R wwwrun:www $SOCK\nsleep 2\ntransmission-remote -f $DLDIR\n;;\nstop)\necho -n \u0026ldquo;Stopping $DESC: \u0026quot;\nkillall transmission-daemon\necho \u0026ldquo;$NAME.\u0026rdquo;\n;;\n*)\nN=/etc/init.d/$NAME\necho \u0026ldquo;Usage: $N {start|stop}\u0026rdquo; \u0026gt;\u0026amp;2\nexit 1\n;;\nesac\nexit 0\n[/sourcecode]\nI got that script from this page linked from the clutch directions above, but I modified it a little to fit my needs. The main thing is who it runs as… “user” on the line [sourcecode language=\u0026ldquo;bash\u0026rdquo;]su – user -c ….[/sourcecode] You’ll need to change that to a user on your system that you want the Torrent downloads to belong to. Other things you’ll need to change are SOCK and DLDIR.\nNow that you have that set, you can do [sourcecode language=\"bash\"]sudo /sbin/service transmission start|stop[/sourcecode]. From there you should be able to go to the web page and add torrents, and watch them download! If you want, you can set it to where the service will start on it\u0026#8217;s own with each reboot: [sourcecode language=\"bash\"]chkconfig transmission on[/sourcecode]. I\u0026#8217;m not really happy with this write-up. I should have spent more time on elaborating the finer points of permissions and installing the necessary apache/php modules as well as how to start up and configure apache. I\u0026#8217;ll try to go back and edit that later as time permits. If you have any questions, please don\u0026#8217;t hesitate to leave a comment. ","permalink":"https://churnd.net/2008/09/24/transmission-clutch-a-torrent-server/","summary":"\u003cp\u003eI have an openSUSE 11 box at work that I use for testing, development, and file storage.  I resurrected an old RAID array that had a failed RAID controller by pulling out the controller and rewiring it to be just a SCSI chain.  It’s hooked up to the openSUSE box and configured as a 500GB software RAID5 array.\u003c/p\u003e\n\u003cdiv\u003e\n  To set up the torrent server, you\u0026#8217;ll need \u003ca href=\"http://www.transmissionbt.com/\"\u003eTransmission\u003c/a\u003e and \u003ca href=\"http://clutchbt.com/\"\u003eClutch\u003c/a\u003e.  Transmission is in the Packman repos, so you can enable that repo via YaST, search for Transmission, and install it.  Or of course, you could download the source and compile it.  If memory serves, I did that once and it compiled easily.\n\u003c/div\u003e\n\u003cdiv\u003e\n  With clutch, it\u0026#8217;s just a bunch of web files made to run on your favorite web server.  I use Apache, so make sure that\u0026#8217;s installed and turned on.  You\u0026#8217;ll also need PHP, JSON for PHP, and the PHP socket extension.  These are all in YaST too.  After they\u0026#8217;re installed, restart the server so they\u0026#8217;ll take affect.  Then unzip the files to the server root, in my case is \u003cspan style=\"font-style:italic;\"\u003e/srv/www/htdocs/\u003c/span\u003e.  I use the web server to test several different things, so I put them in a subdirectory \u003cspan style=\"font-style:italic;\"\u003e/srv/www/htdocs/clutch\u003c/span\u003e, and I can get to it by typing http://server/clutch in my browser.  \u003ca href=\"http://recurser.com/code/wiki/clutch/Getting_Started\"\u003eThe rest of the instructions are here under the Installation (Linux) section\u003c/a\u003e, and the do work fine assuming you follow them step by step.  I know because the first time I tried, I missed a step concerning permissions and had to backtrack to find it.\n\u003c/div\u003e\n\u003cdiv\u003e\n  The important parts in the instructions above are the permissions and file locations.  A key to making this easier for you is knowing which user your web server runs as.  In my case it was \u003cspan style=\"font-style:italic;\"\u003ewwwrun\u003c/span\u003e, and group \u003cspan style=\"font-style:italic;\"\u003ewww\u003c/span\u003e.  I edited the necessary files, and did a \u003cspan style=\"font-style:italic;\"\u003echown -R wwwrun:www\u003c/span\u003e to the top level directory.  Now my web server owns those files and can modify them as needed.\n\u003c/div\u003e\n\u003cp\u003eThe last portion of this puzzle is to turn transmission into a service by creating this script in /etc/init.d:\u003cbr\u003e\n[sourcecode language=\u0026ldquo;bash\u0026rdquo;]\u003cbr\u003e\n#!/bin/sh\u003c/p\u003e","title":"Transmission \u0026 Clutch – A Torrent Server"},{"content":"Seems like Google Calendar is not without it’s flaws either on the iPhone. I’m syncing the calendar from iCal. The calendar shows up on my iPhone as read-only, so I can’t add any appointments. I thought I’d be able to do this “offline”, and have it sync to iCal, then upload to Google Calendar. No dice. Ideally, I’d be able to do CalDAV straight from the iPhone. John Gruber’s thoughts mirror my own, though I am able to get alarms on my iPhone if I go “iCal –\u0026gt; iPhone” sync. The iPhone only does direct sync from MobileMe, but MobileMe doesn\u0026#8217;t allow calendar sharing between MobileMe users like Google does. Maybe the solution is to use a combination of MobileMe, Google Calendar, and BusySync, and take CalDAV out of the picture for now. Like so: I think that would solve all of the problems, except for me being a cheap bastard and not wanting to pony up the dough. :) I also have a gut feeling that somebody is going to come up with a way to sync the iPhone with Google Calendar sooner or later. Hopefully sooner rather than later.\n","permalink":"https://churnd.net/2008/09/10/ical-iphone-sync/","summary":"\u003cp\u003eSeems like Google Calendar is not without it’s flaws either on the iPhone.  I’m syncing the calendar from iCal.  The calendar shows up on my iPhone as read-only, so I can’t add any appointments.  I thought I’d be able to do this “offline”, and have it sync to iCal, then upload to Google Calendar.  No dice.  Ideally, I’d be able to do CalDAV straight from the iPhone.  \u003ca href=\"http://daringfireball.net/2008/08/iphone_ical_caldav\"\u003eJohn Gruber’s thoughts\u003c/a\u003e mirror my own, though I am able to get alarms on my iPhone if I go “iCal –\u0026gt; iPhone” sync. \u003cdiv\u003e\u003c/p\u003e","title":"iCal \u0026 iPhone Sync"},{"content":"I’m all for the innovation Google churns out, and I’m a big fan of a lot of their services. Their Chrome browser is the latest thing, and it’s obviously built for speed. Their main goal seems to be to optimize the users experiencewith these online services. I applaud and welcome that initiative.\nThere has been speculation that this is part of Google’s effort to obsolete the operating system as we know it. I doubt that would happen. I don’t know many people who would trust their entire lives on someone else’s servers.\nI think the future is sync services. Gmail has IMAP and Address Book Sync, Google Calendar has CalDAV, iPhoto has PicasaWeb Uploader, etc. All that’s missing IMO is a main file store like iDisk, that works like Dropbox that plugs directly into Google Docs with the help of Google Gears. So the documents themselves show up as a folder in Finder or Windows Explorer or Nautilus or (Enter your OS here), but this folder actually exists online. You could then point Google Gears to watch this folder. The possibilities are pretty much endless.\n","permalink":"https://churnd.net/2008/09/05/googles-cloud/","summary":"\u003cp\u003eI’m all for the innovation Google churns out, and I’m a big fan of a lot of their services.  Their \u003ca href=\"http://www.google.com/chrome\"\u003eChrome\u003c/a\u003e browser is the latest thing, and it’s obviously built for speed.  Their main goal seems to be to \u003ca href=\"http://arstechnica.com/news.ars/post/20080902-hands-on-with-chrome-googles-browser-shines-mostly.html\"\u003eoptimize the users experience\u003c/a\u003ewith these online services.  I applaud and welcome that initiative.\u003c/p\u003e\n\u003cp\u003eThere has been speculation that this is part of Google’s effort to obsolete the operating system as we know it.  I doubt that would happen.  I don’t know many people who would trust their entire lives on someone else’s servers.\u003c/p\u003e","title":"Google’s Cloud"},{"content":"Apple clearly bit off more than they could chew with releasing the iPhone 3G and MobileMe at the same time. Steve Jobs said so himself in an internal email that found it’s way to the public view. I agree they should have waited on releasing MobileMe. Now they’re having problems on both platforms, which is creating bad press. I worry about Apple\u0026#8217;s future. I\u0026#8217;m very happy people are switching over to the Mac platform, but is Apple really ready for that substantial increase in their customer base? The thing I\u0026#8217;m worried about most is the way they handle problems. There\u0026#8217;s usually very little or no acknowledgment that there actually IS a problem until several days or weeks AFTER the fact. Then once they DO acknowledge it, they won\u0026#8217;t tell you what went wrong, or what they\u0026#8217;re doing to prevent it from happening again. Their way of communicating the problem is, in this Mac user\u0026#8217;s opinion, borderline patronizing. For some reason, they seem to get away with it. Hopefully with the bad press it\u0026#8217;s getting, that\u0026#8217;ll change. People want to, and deserve to, be informed. Google had a Gmail outage, and communicated to it\u0026#8217;s users very timely and in detail. That\u0026#8217;s good service. I bring this up because lately I\u0026#8217;ve been seriously contemplating moving from Google to MobileMe for myself and my wife. I have a trial account that I signed up for ~5 days prior to the MobileMe launch. Thanks to the problem\u0026#8217;s MobileMe\u0026#8217;s been having, that account won\u0026#8217;t expire until the end of November. :) That\u0026#8217;ll give me plenty of time to test MobileMe and make a decision. However, things are leaning mostly in Google\u0026#8217;s favor. Here\u0026#8217;s why: MobileMe\u0026#8217;s web interface only uses SSL when you log in or go to your account settings. Why?? Is it too much trouble to encrypt the entire session, especially since the service is paid for?? Google does this for Gmail, and it\u0026#8217;s free!! You can also use just about all of Google\u0026#8217;s other services in secure mode just by adding an s to the http. I can\u0026#8217;t choose which calendars get sync\u0026#8217;d. MobileMe assumes I want them all sync\u0026#8217;d, but I don\u0026#8217;t. I have a few calendars that I use to schedule backup jobs at work. I don\u0026#8217;t need those following me around. It\u0026#8217;s annoying when they do. With Google Calendar, I have to manually set up CalDAV, but at least that way I can control what \u0026#8220;follows me around\u0026#8221;. The email address itself. Do I want to use @gmail.com or @me.com? Who\u0026#8217;s the idiot that thought up @me.com?? I\u0026#8217;d prefer @mac.com to @me.com anyday. I hand out my email address a lot, and I cringe when I think of the confusion that most likely will follow with an @me.com address. \u0026#8221;My email is xxx@me.com\u0026#8221;\u0026#8230; \u0026#8220;Ok, so it\u0026#8217;s xxx@lastname.com?\u0026#8221;\u0026#8230; \u0026#8220;No, it\u0026#8217;s xxx@me.com\u0026#8221;\u0026#8230; \u0026#8220;That\u0026#8217;s what I said, xxx@lastname.com!\u0026#8221;. *sigh*. I know I still have @mac.com, but I don\u0026#8217;t know what Apple plans on doing with that name in the long run, or whether or not they make it available with newer accounts created after DotMac was taken offline. @gmail.com is easier to understand, and more people know it. It\u0026#8217;s $150 a year! Google is free!! Yeah, I know I can get the family pack from Amazon for $109, but still. On the plus side, reasons I like MobileMe: It\u0026#8217;s more of an all-in-one solution that integrates seamlessly with Apple computers. My wife has been telling me for a while she wishes she could use iPhoto and iWeb to host pictures online. Yeah, there\u0026#8217;s PicasaWeb, and it works well with iPhoto, but that leaves iWeb\u0026#8230; iDisk is nice, and the storage space you get is ample (20GB). Yeah, there\u0026#8217;s gDisk and other \u0026#8220;hacks\u0026#8221; for using your Google storage space other than it was intended. I\u0026#8217;d rather not risk having my account shut down for violating the usage agreement. Wow, I thought I\u0026#8217;d have at least 3 reasons, but I guess I don\u0026#8217;t. Hmm\u0026#8230; \u0026lt;div\u0026gt; \u0026lt;/div\u0026gt; \u0026lt;div\u0026gt; As you can see, Google has the upper hand, and most likely my services will remain with them. I can only hope that Apple does something to MobileMe that\u0026amp;#8217;ll convince me to change my mind. Knowing Apple, that probably won\u0026amp;#8217;t happen. \u0026lt;/div\u0026gt; ","permalink":"https://churnd.net/2008/08/20/apple-mobileme/","summary":"\u003cp\u003eApple clearly bit off more than they could chew with releasing the iPhone 3G and MobileMe at the same time.  Steve Jobs said so himself in an internal email that found it’s way to the public view.  I agree they should have waited on releasing MobileMe.  Now they’re having problems on both platforms, which is creating bad press. \u003cdiv\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  I worry about Apple\u0026#8217;s future.  I\u0026#8217;m very happy people are switching over to the Mac platform, but is Apple really ready for that substantial increase in their customer base?  The thing I\u0026#8217;m worried about most is the way they handle problems.  There\u0026#8217;s usually very little or no acknowledgment that there actually IS a problem until several days or weeks AFTER the fact.  Then once they DO acknowledge it, they won\u0026#8217;t tell you what went wrong, or what they\u0026#8217;re doing to prevent it from happening again.  Their way of communicating the problem is, in this Mac user\u0026#8217;s opinion, borderline patronizing.  For some reason, they seem to get away with it.  Hopefully with the bad press it\u0026#8217;s getting, that\u0026#8217;ll change.  People want to, and deserve to, be informed.  Google had a Gmail outage, and communicated to it\u0026#8217;s users very timely and in detail.  That\u0026#8217;s good service.\n\u003c/div\u003e\n\u003cdiv\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  I bring this up because lately I\u0026#8217;ve been seriously contemplating moving from Google to MobileMe for myself and my wife.  I have a trial account that I signed up for ~5 days prior to the MobileMe launch.  Thanks to the problem\u0026#8217;s MobileMe\u0026#8217;s been having, that account won\u0026#8217;t expire until the end of November.  :)  That\u0026#8217;ll give me plenty of time to test MobileMe and make a decision.  However, things are leaning mostly in Google\u0026#8217;s favor.  Here\u0026#8217;s why:\n\u003c/div\u003e\n\u003cdiv\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      MobileMe\u0026#8217;s web interface only uses SSL when you log in or go to your account settings.  Why??  Is it too much trouble to encrypt the entire session, especially since the service is paid for??  Google does this for Gmail, and it\u0026#8217;s free!!  You can also use just about all of Google\u0026#8217;s other services in secure mode just by adding an \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003es\u003c/span\u003e to the \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003ehttp\u003c/span\u003e.\n    \u003c/li\u003e\n    \u003cli\u003e\n      I can\u0026#8217;t choose which calendars get sync\u0026#8217;d.  MobileMe assumes I want them all sync\u0026#8217;d, but I don\u0026#8217;t.  I have a few calendars that I use to schedule backup jobs at work.  I don\u0026#8217;t need those following me around.  It\u0026#8217;s annoying when they do.  With Google Calendar, I have to manually set up CalDAV, but at least that way I can control what \u0026#8220;follows me around\u0026#8221;.\n    \u003c/li\u003e\n    \u003cli\u003e\n      The email address itself.  Do I want to use @gmail.com or @me.com?  Who\u0026#8217;s the idiot that thought up @me.com??  I\u0026#8217;d prefer @mac.com to @me.com anyday.  I hand out my email address a lot, and I cringe when I think of the confusion that most likely will follow with an @me.com address.  \u0026#8221;My email is xxx@me.com\u0026#8221;\u0026#8230; \u0026#8220;Ok, so it\u0026#8217;s xxx@lastname.com?\u0026#8221;\u0026#8230; \u0026#8220;No, it\u0026#8217;s xxx@me.com\u0026#8221;\u0026#8230; \u0026#8220;That\u0026#8217;s what I said, xxx@lastname.com!\u0026#8221;.   *sigh*.  I know I still have @mac.com, but I don\u0026#8217;t know what Apple plans on doing with that name in the long run, or whether or not they make it available with newer accounts created after DotMac was taken offline.  @gmail.com is easier to understand, and more people know it.\n    \u003c/li\u003e\n    \u003cli\u003e\n      It\u0026#8217;s $150 a year!  Google is free!!  Yeah, I know I can get the family pack from Amazon for $109, but still.\n    \u003c/li\u003e\n  \u003c/ol\u003e\n  \u003cdiv\u003e\n    On the plus side, reasons I \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003elike\u003c/span\u003e MobileMe:\n  \u003c/div\u003e\n  \u003cdiv\u003e\n    \u003col\u003e\n      \u003cli\u003e\n        It\u0026#8217;s more of an all-in-one solution that integrates seamlessly with Apple computers.  My wife has been telling me for a while she wishes she could use iPhoto and iWeb to host pictures online.  Yeah, there\u0026#8217;s PicasaWeb, and it works well with iPhoto, but that leaves iWeb\u0026#8230;\n      \u003c/li\u003e\n      \u003cli\u003e\n        iDisk is nice, and the storage space you get is ample (20GB).  Yeah, there\u0026#8217;s gDisk and other \u0026#8220;hacks\u0026#8221; for using your Google storage space other than it was intended.  I\u0026#8217;d rather not risk having my account shut down for violating the usage agreement.\n      \u003c/li\u003e\n      \u003cli\u003e\n        Wow, I thought I\u0026#8217;d have at least 3 reasons, but I guess I don\u0026#8217;t.  Hmm\u0026#8230;\n      \u003c/li\u003e\n    \u003c/ol\u003e\n\u003cpre\u003e\u003ccode\u003e\u0026lt;div\u0026gt;\n\u0026lt;/div\u0026gt;\n\n\u0026lt;div\u0026gt;\n  As you can see,  Google has the upper hand, and most likely my services will remain with them.  I can only hope that Apple does something to MobileMe that\u0026amp;#8217;ll convince me to change my mind.  Knowing Apple, that probably won\u0026amp;#8217;t happen.\n\u0026lt;/div\u0026gt;\n\u003c/code\u003e\u003c/pre\u003e\n  \u003c/div\u003e\n\u003c/div\u003e","title":"Apple \u0026 MobileMe"},{"content":"My thoughts exactly: MobileMe Web Interface Insecure, But Other Apps Get It Right Reading my post below, I stated MobileMe uses SSL with login and account settings. Compare that to this statement from AppleInsider: \u0026#8220;Data transaction security in MobileMe\u0026#8217;s web apps is based upon authenticated handling of JSON data exchanges between the self contained JavaScript client apps and Apple\u0026#8217;s cloud, rather than the SSL web page encryption used by HTTPS. The only real web pages MobileMe exchanges with the server are the HTML, JavaScript, and CSS files that make up the application, which have no need for SSL encryption following the initial user authentication. This has caused some unnecessary panic among web users who have equated their browser\u0026#8217;s SSL lock icon with web security. And of course, Internet email is not a secured medium anyway once it leaves your server. \u0026lt;div\u0026gt; \u0026lt;/div\u0026gt; \u0026lt;div\u0026gt; \u0026amp;#8220;If Apple applied SSL encryption in the browser, it would only slow down every data exchange without really improving security, and instead only provide pundits with a false sense of security that distracts from real security threats.\u0026amp;#8221; \u0026lt;/div\u0026gt; If, by this statement, the entire session is secure, why does the Account Settings tab use SSL? Why would they need it? This whole MobileMe ordeal continues to leave a bad taste in my mouth. ","permalink":"https://churnd.net/2008/08/20/mobileme-security-continued/","summary":"\u003cp\u003eMy thoughts exactly: \u003cdiv\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;line-height:24px;\"\u003e\u003ca href=\"http://db.tidbits.com/article/9745\" target=\"_blank\"\u003e\u003cspan class=\"Apple-style-span\" style=\"font-size:small;\"\u003eMobileMe Web Interface Insecure, But Other Apps Get It Right\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;line-height:24px;\"\u003e\u003cbr /\u003e\u003c/span\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  Reading \u003ca href=\"/2008/08/20/apple-mobileme/\"\u003emy post below\u003c/a\u003e, I stated MobileMe uses SSL with login and account settings.  Compare that to this statement from \u003ca href=\"http://www.appleinsider.com/articles/08/08/15/inside_mobileme_web_3_and_web_client_server_apps.html\u0026page=2\"\u003eAppleInsider\u003c/a\u003e:\n\u003c/div\u003e\n\u003cdiv\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  \u003cdiv\u003e\n  \u003c/div\u003e\n  \u003cblockquote\u003e\n    \u003cdiv\u003e\n      \u0026#8220;Data transaction security in MobileMe\u0026#8217;s web apps is based upon authenticated handling of JSON data exchanges between the self contained JavaScript client apps and Apple\u0026#8217;s cloud, rather than the SSL web page encryption used by HTTPS. The only real web pages MobileMe exchanges with the server are the HTML, JavaScript, and CSS files that make up the application, which have no need for SSL encryption following the initial user authentication. This has caused some unnecessary panic among web users who have equated their browser\u0026#8217;s SSL lock icon with web security. And of course, Internet email is not a secured medium anyway once it leaves your server. \n    \u003c/div\u003e\n\u003cpre\u003e\u003ccode\u003e\u0026lt;div\u0026gt;\n\u0026lt;/div\u0026gt;\n\n\u0026lt;div\u0026gt;\n  \u0026amp;#8220;If Apple applied SSL encryption in the browser, it would only slow down every data exchange without really improving security, and instead only provide pundits with a false sense of security that distracts from real security threats.\u0026amp;#8221;\n\u0026lt;/div\u0026gt;\n\u003c/code\u003e\u003c/pre\u003e\n  \u003c/blockquote\u003e\n  \u003cdiv\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  If, by this statement, the entire session is secure, why does the Account Settings tab use SSL?  Why would they need it?  This whole MobileMe ordeal continues to leave a bad taste in my mouth.\n\u003c/div\u003e\n\u003cdiv\u003e\n  \u003cspan class=\"Apple-style-span\" style=\"font-family:Times;\"\u003e \u003cp style=\"font:normal normal normal 1em/1.5em Georgia, 'Times New Roman', Times, serif;margin:0 0 15px;padding:0;\"\u003e\n    \u003ctt\u003e\u003c/tt\u003e\n  \u003c/p\u003e\n  \u003cp\u003e\n    \u003c/span\u003e\u003c/div\u003e","title":"MobileMe Security Continued…"},{"content":"I’ve been spending more time on my Linux install of my main dual-boot machine at home lately. I realized 95% of the stuff I did on Windows, I could do on Linux. I considered the other 5% a challenge I was ready to take on. I\u0026#8217;m using openSUSE 10.3 x86_64. I\u0026#8217;m planning on upgrading to 11 over the weekend. If you\u0026#8217;re wondering why I chose openSUSE over Ubuntu, I tried hard to give Ubuntu it\u0026#8217;s fair chance. I just don\u0026#8217;t like that distro in the x86_64 platform. My experience has been that everything in openSUSE has just worked out of the box, that\u0026#8217;s including Java and Flash! Can\u0026#8217;t say the same for Ubuntu. I also think openSUSE is a better experience from boot to shutdown. The grub boot screen looks much nicer, as well as the splash screen while booting. The green theme is much more pleasant on the eyes than Ubuntu\u0026#8217;s brown Human theme. Yes, I could change all of this, and I have in the past\u0026#8230; but why should I have to? Operating systems provide a user experience, and the default themes matter. As far as the rest of the software goes, they\u0026#8217;re pretty much the same through all distros, so I won\u0026#8217;t go there. Gnome is my desktop of choice. I like it\u0026#8217;s simplicity. KDE4 is awesome, but just not for me. Too many config options. Some notes: Being a Mac guy, I really like Banshee! Especially it\u0026#8217;s DAAP server! Wine has really come a long way. Programs are easier to install and run more stable. WineDoors makes this easier too, especially with getting libraries and fonts. YaST is nice as a control panel\u0026#8230; one place to go for everything. I actually prefer it to Ubuntu\u0026#8217;s package manager, even though it\u0026#8217;s a bit slower. I heard 11 is faster, so we\u0026#8217;ll see. Transmission rocks as a Torrent client, especially with Clutch as it\u0026#8217;s webUI. I\u0026#8217;ll blog more about how I got that set up later. It\u0026#8217;s easy to do\u0026#8230; just requires a few must-do steps. Gnome-do is my new favorite Linux app. Really makes me feel at home since I\u0026#8217;m used to Quicksilver. I need to commit to GIMP over Photoshop. I rarely ever use it, which makes it harder to do. I\u0026#8217;d like to find a good, beginner\u0026#8217;s video editing program like Premier Elements. I\u0026#8217;ve tried some in the past, but they weren\u0026#8217;t very easy to use. I should check into them again, especially Avidemux. \u0026lt;div\u0026gt; One very pleasant surprise was when I first booted into openSUSE. I had moved the PC and had been using wireless until I could get my home wiring done to reposition my router. I have this \u0026lt;a href=\u0026quot;http://www.msicomputer.com/product/p_spec.asp?model=Dual_Net_Card\u0026amp;class=com\u0026quot;\u0026gt;MSI Dual Net Card\u0026lt;/a\u0026gt;. I was surprised that wireless worked right out of the box, but even more so that so did bluetooth! I had to figure out a way to get my new WPA2 key saved into the wireless config. I didn\u0026amp;#8217;t have a USB key handy, so I thought\u0026amp;#8230; maybe I\u0026amp;#8217;ll try to send it via bluetooth from my PowerBook. So I started up Gnome-Bluetooth-Manager, then fired up bluetooth on my PowerBook. The PowerBook saw the linux machine with no problem. So I chose to send the file, and it worked! I couldn\u0026amp;#8217;t believe it was so easy! \u0026lt;/div\u0026gt; \u0026lt;div\u0026gt; \u0026lt;/div\u0026gt; \u0026lt;div\u0026gt; If I had to list a gripe, it\u0026amp;#8217;s that wireless seems to cap off downloads at 100kb/sec. Not sure why, as downloads on my other laptops are unaffected. Must be some config setting with the wireless card, but I\u0026amp;#8217;m not going to worry about it much because the wireless is just temporary. It\u0026amp;#8217;ll be hardwired with gigabit to the router once I get the wiring done. \u0026lt;/div\u0026gt; \u0026lt;div\u0026gt; \u0026lt;/div\u0026gt; \u0026lt;div\u0026gt; I\u0026amp;#8217;m hoping I don\u0026amp;#8217;t find a reason to boot back into Vista x64 for a long time, if ever. I think my next step is going to be getting a Windows VM set up for seamless integration with those few Windows apps I need. If only I could have something as nice as VMware Fusion. Might be time to check out Virtualbox again. Ah, just checked their site and I see they listed seamless windowing since version 1.6.0. Time to check it out! \u0026lt;/div\u0026gt; ","permalink":"https://churnd.net/2008/06/20/linux-at-home/","summary":"\u003cp\u003eI’ve been spending more time on my Linux install of my main dual-boot machine at home lately.  I realized 95% of the stuff I did on Windows, I could do on Linux.  I considered the other 5% a challenge I was ready to take on. \u003cdiv\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  I\u0026#8217;m using openSUSE 10.3 x86_64.  I\u0026#8217;m planning on upgrading to 11 over the weekend.  If you\u0026#8217;re wondering why I chose openSUSE over Ubuntu, I tried hard to give Ubuntu it\u0026#8217;s fair chance.  I just don\u0026#8217;t like that distro in the x86_64 platform.  My experience has been that everything in openSUSE has just worked out of the box, that\u0026#8217;s including Java and Flash!  Can\u0026#8217;t say the same for Ubuntu.\n\u003c/div\u003e\n\u003cdiv\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  I also think openSUSE is a better experience from boot to shutdown.  The grub boot screen looks much nicer, as well as the splash screen while booting.  The green theme is much more pleasant on the eyes than Ubuntu\u0026#8217;s brown Human theme.  Yes, I could change all of this, and I have in the past\u0026#8230; but why should I have to?  Operating systems provide a user experience, and the default themes matter.  As far as the rest of the software goes, they\u0026#8217;re pretty much the same through all distros, so I won\u0026#8217;t go there.  Gnome is my desktop of choice.  I like it\u0026#8217;s simplicity.  KDE4 is awesome, but just not for me.  Too many config options. \u003cdiv\u003e\n  \u003c/div\u003e\n  \u003cdiv\u003e\n    Some notes:\n  \u003c/div\u003e\n  \u003cdiv\u003e\n    \u003col\u003e\n      \u003cli\u003e\n        Being a Mac guy, I really like Banshee!  Especially it\u0026#8217;s DAAP server!\n      \u003c/li\u003e\n      \u003cli\u003e\n        Wine has really come a long way.  Programs are easier to install and run more stable.  WineDoors makes this easier too, especially with getting libraries and fonts.\n      \u003c/li\u003e\n      \u003cli\u003e\n        YaST is nice as a control panel\u0026#8230; one place to go for everything.  I actually prefer it to Ubuntu\u0026#8217;s package manager, even though it\u0026#8217;s a bit slower.  I heard 11 is faster, so we\u0026#8217;ll see.\n      \u003c/li\u003e\n      \u003cli\u003e\n        Transmission rocks as a Torrent client, especially with Clutch as it\u0026#8217;s webUI.  I\u0026#8217;ll blog more about how I got that set up later.  It\u0026#8217;s easy to do\u0026#8230; just requires a few must-do steps.\n      \u003c/li\u003e\n      \u003cli\u003e\n        Gnome-do is my new favorite Linux app.  Really makes me feel at home since I\u0026#8217;m used to Quicksilver.\n      \u003c/li\u003e\n      \u003cli\u003e\n        I need to commit to GIMP over Photoshop.  I rarely ever use it, which makes it harder to do.\n      \u003c/li\u003e\n      \u003cli\u003e\n        I\u0026#8217;d like to find a good, beginner\u0026#8217;s video editing program like Premier Elements.  I\u0026#8217;ve tried some in the past, but they weren\u0026#8217;t very easy to use.  I should check into them again, especially Avidemux.\n      \u003c/li\u003e\n    \u003c/ol\u003e\n\u003cpre\u003e\u003ccode\u003e\u0026lt;div\u0026gt;\n  One very pleasant surprise was when I first booted into openSUSE.  I had moved the PC and had been using wireless until I could get my home wiring done to reposition my router.  I have this \u0026lt;a href=\u0026quot;http://www.msicomputer.com/product/p_spec.asp?model=Dual_Net_Card\u0026amp;class=com\u0026quot;\u0026gt;MSI Dual Net Card\u0026lt;/a\u0026gt;.  I was surprised that wireless worked right out of the box, but even more so that so did bluetooth!  I had to figure out a way to get my new WPA2 key saved into the wireless config.  I didn\u0026amp;#8217;t have a USB key handy, so I thought\u0026amp;#8230; maybe I\u0026amp;#8217;ll try to send it via bluetooth from my PowerBook.  So I started up Gnome-Bluetooth-Manager, then fired up bluetooth on my PowerBook.  The PowerBook saw the linux machine with no problem.  So I chose to send the file, and it worked!  I couldn\u0026amp;#8217;t believe it was so easy!\n\u0026lt;/div\u0026gt;\n\n\u0026lt;div\u0026gt;\n\u0026lt;/div\u0026gt;\n\n\u0026lt;div\u0026gt;\n  If I had to list a gripe, it\u0026amp;#8217;s that wireless seems to cap off downloads at 100kb/sec.  Not sure why, as downloads on my other laptops are unaffected.  Must be some config setting with the wireless card, but I\u0026amp;#8217;m not going to worry about it much because the wireless is just temporary.  It\u0026amp;#8217;ll be hardwired with gigabit to the router once I get the wiring done.\n\u0026lt;/div\u0026gt;\n\n\u0026lt;div\u0026gt;\n\u0026lt;/div\u0026gt;\n\n\u0026lt;div\u0026gt;\n  I\u0026amp;#8217;m hoping I don\u0026amp;#8217;t find a reason to boot back into Vista x64 for a long time, if ever.  I think my next step is going to be getting a Windows VM set up for seamless integration with those few Windows apps I need.  If only I could have something as nice as VMware Fusion.  Might be time to check out Virtualbox again.  Ah, just checked their site and I see they listed seamless windowing since version 1.6.0.  Time to check it out!\n\u0026lt;/div\u0026gt;\n\u003c/code\u003e\u003c/pre\u003e\n  \u003c/div\u003e\n\u003c/div\u003e","title":"Linux at Home"},{"content":"I have been searching far and wide for a decent cross-platform calendar server that’s CalDAV compatible. We use Groupwise at work, which is great for Windows clients. Anyone who’s used the Mac and Linux client knows that it’s just not a good experience. There are several features offered in the Windows client that are lacking in OS X and Linux. Does anyone else find that odd considering Groupwise is a Novell product? There IS the SOAP port possibility, but the Groupwise admins refuse to open it for reasons I’m not aware of. Anyway, Here\u0026#8217;s a few I\u0026#8217;ve found: Free: Darwin Calendar Server \u0026#8211; this is the same exact (actually newer) server as what Apple offers on OS X Leopard Server, sans the GUI. It\u0026#8217;s python based, and the Wiki contains the basic stuff you need to know to get it up and running. Cosmo Calendar Server \u0026#8211; part of the Chandler project. It\u0026#8217;s java based, and looks promising. Last I looked into it, it was very early alpha. It seems to have made a bit of progress since then. Now it seems to offer an all around solution: a client and server, as well as a free (for now) hosted server called Chandler Hub. Bedework - a calendar server also built on java with CalDAV support. We tried setting this up in our offices once, but Tomcat kept crashing. I might try again from source. DAViCal \u0026#8211; another CalDAV server. I haven\u0026#8217;t tried it out because I\u0026#8217;m not very proficient with PostgreSQL. Zimbra \u0026#8211; A bit overkill for someone looking for just a calendar server, but it\u0026#8217;ll get the job done with a web interface and CalDAV support. \u0026lt;div\u0026gt; \u0026lt;span class=\u0026quot;Apple-style-span\u0026quot; style=\u0026quot;font-weight:bold;\u0026quot;\u0026gt;Non-Free\u0026lt;/span\u0026gt;: \u0026lt;/div\u0026gt; \u0026lt;div\u0026gt; \u0026lt;ol\u0026gt; \u0026lt;li\u0026gt; \u0026lt;a href=\u0026quot;http://www.apple.com/server/macosx/\u0026quot;\u0026gt;OS X 10.5 Server\u0026lt;/a\u0026gt; \u0026amp;#8211; Much more than a calendar server, but it\u0026amp;#8217;ll get the job done. Basically gives you a GUI to Darwin Calendar Server, I think. \u0026lt;/li\u0026gt; \u0026lt;li\u0026gt; \u0026lt;a href=\u0026quot;http://www.nowsoftware.com/nighthawkSubsite/index.html\u0026quot;\u0026gt;Nighthawk\u0026lt;/a\u0026gt; \u0026amp;#8211; One of my top choices for a commercial calendar server and client. It\u0026amp;#8217;s not available yet, but from what I\u0026amp;#8217;ve seen it will be fantastic. \u0026lt;/li\u0026gt; \u0026lt;/ol\u0026gt; \u0026lt;div\u0026gt; \u0026lt;/div\u0026gt; \u0026lt;div\u0026gt; In a perfect world, everyone would use iCal so I could deploy \u0026lt;a href=\u0026quot;http://www.busymac.com/\u0026quot;\u0026gt;BusySync\u0026lt;/a\u0026gt;, which I use myself for my personal calendar and is nothing short of phenomenal. It\u0026amp;#8217;s great for LAN calendar sharing, as well as it\u0026amp;#8217;s ability to tie into Google Calendar. \u0026lt;/div\u0026gt; \u0026lt;div\u0026gt; \u0026lt;/div\u0026gt; \u0026lt;div\u0026gt; I considered using Google Calendar as a calendar server for my group at work, but the fact that it was not internal to our organization doesn\u0026amp;#8217;t sit well with me. \u0026lt;/div\u0026gt; \u0026lt;div\u0026gt; \u0026lt;/div\u0026gt; \u0026lt;div\u0026gt; If you know of anything I haven\u0026amp;#8217;t listed here (not Exchange!!), please let me know! \u0026lt;/div\u0026gt; \u0026lt;/div\u0026gt; ","permalink":"https://churnd.net/2008/05/05/calendar-server/","summary":"\u003cp\u003eI have been searching far and wide for a decent cross-platform calendar server that’s CalDAV compatible. We use Groupwise at work, which is great for Windows clients.  Anyone who’s used the Mac and Linux client knows that it’s just not a good experience.  There are several features offered in the Windows client that are lacking in OS X and Linux.  Does anyone else find that odd considering Groupwise is a Novell product?  There IS the SOAP port possibility, but the Groupwise admins refuse to open it for reasons I’m not aware of. \u003cdiv\u003e\u003c/p\u003e","title":"Calendar Server"},{"content":"My home PC gave up the ghost earlier this week. Apparently the chipset fan on the A8N-SLI Deluxe motherboard has a tendency to fail or run too slowly. In my case, it ran too slowly, which caused my Nforce4 chipset to overheat. Thankfully it’s still under warranty, so I’m sending it back to Asus today. They make you pay for shipping to them for warranty repairs. What a crock of shit.\nThe main load on the chipset was my RAID1 setup. Still on Vista x64, I was sorting some pictures when I got a notification that the RAID1 had degraded. Great, I though… bad drive. I immediately shut down, and let it sit for about 30 mins to cool off. I rebooted and got a “Chip Fan” error at POST. I hit F1 to continue, and it went on to the NVIDIA RAID config screen and hung there. I couldn’t get into BIOS or anything.\nA quick call to Asus confirmed what I had suspected… my chipset most likely fried. We’ll see what happens once I ship it to them. Still leaves a bad taste in my mouth about the shipping. Warranty replacements shouldn’t cost the customer anything.\nOn another note, I finally acquired the additional 2GB RAM matched up with my existing RAM. I was excited until I found out that my motherboard will clock down the FSB to 333Mhz when all 4 banks are full. What the hell? Shoddy design if you ask me. Why should I have to sacrifice speed for quantity when it comes to RAM? (To be fair, I recall reading the actual reason somewhere, but I forgot.) Luckily enough, I can manually clock it back up to 400Mhz, but there’s also another setting (T1 or something) that stays lower with all 4 banks full no matter what you do.\nYeah, not very happy with that board right now.\n","permalink":"https://churnd.net/2008/04/29/a8n-sli-chipset-died/","summary":"\u003cp\u003eMy home PC gave up the ghost earlier this week. Apparently the chipset fan on the A8N-SLI Deluxe motherboard has a tendency to fail or run too slowly. In my case, it ran too slowly, which caused my Nforce4 chipset to overheat. Thankfully it’s still under warranty, so I’m sending it back to Asus today. They make you pay for shipping to them for warranty repairs. What a crock of shit.\u003c/p\u003e","title":"A8N-SLI Chipset Died"},{"content":"I love MacPorts.\nWhat a fantastic way to install open source software to run on a Mac. Sometimes I want to be able to run certain Linux/Unix tools on my Macbook Pro, only to find there’s no Mac alternative available. Or maybe I just prefer to do things the hard way via command line. I’m weird like that sometimes.\nYou need Xcode to use MacPorts, so get it and install it if you don’t already have it: http://developer.apple.com/tools/xcode/. It’s free too!!\nInstalling it is simple enough as downloading and installing a PKG. From there you can choose to either control your ports via command line (my personal preference) or a GUI. If you want a GUI, I like Porticus, because it will show you the command as you would type it in Terminal minus sudo. So if Porticus says “port selfupdate”, your command in terminal would be “sudo port selfupdate” (no quotes).\nSetting up Terminal for MacPorts is easy, and outlined on the MacPorts website. I modified my setup a bit from how the website recommended because I test a lot of different software which requires modifying my paths quite a bit. I prefer to keep all these preferences in one place, so I chose my .bash_profile file in my home directory. I’ve noticed that if you use .profile and you have a .bash_profile, the .bash_profile will take precedence.\nIf you’ve never heard of .bash_profile or are wondering why the hell I’m typing it in with a period in front of the name, you’re in for a treat. OS X is Unix based, meaning there’s a LOT that you don’t see in the file structure using Finder. For example, open up your Terminal Application in /Applications/Utilities/. From there type ls. You’re in your User directory, so you’ll see a list of your user folders such as Documents, Pictures, Desktop, etc. Cool, huh? Now try ls -l, which basically shows the previous command in a columnar view along with a bunch of other useful information, which I won’t go into here (that’s a whole ‘nother tutorial). Now try the command ls -la. Wow! Where did all of that stuff come from?? You’ll likely see a few files/directories with a period in front of it. What that does is designate a “hidden” file or directory. They’re all there for a reason, so don’t go trying to delete them unless you know exactly what they do.\nNow let’s set your preferences for MacPorts so you can use it via command line. What you’ll want to do is create or edit your .bash_profile file, using either vi or nano. Try nano if you’ve never used a command line editor before, as vi is a little tough to get used to. So once you’ve opened Terminal, type nano .bash_profile. A screen will come up:\nYours might not contain any content if it didn’t previously exist. What you want to do is add the last two lines:\nexport PATH=/opt/local/bin:/opt/local/sbin:$PATH\nexport DISPLAY=:0.0\nOnce you’ve done that, hit ctrl+x then y to save your changes. Now you’re back in the regular command line again. Type source .bash_profile to make the new settings take effect.\nOnce you’ve done all this, let’s test your new settings. Type which port, and you should get a response that says /opt/local/bin/port, assuming you installed MacPorts to the default place. If you get that response, you’re set!\nNow you can try a command such as sudo port selfupdate and type in your password when prompted, which will likely produce the following:\nMacPorts base version 1.600 installed\nDownloaded MacPorts base version 1.600\nThe MacPorts installation is not outdated and so was not updated\nselfupdate done! Basically that command checks if there\u0026#8217;s a newer version of MacPorts available. If there was, it would install it by itself. There\u0026#8217;s all kinds of other commands available, such as sudo port search ___ and sudo port install ___. You can even try installing something, such as the command line linux downloader wget. Just type sudo port search wget, and it will show you the available packages to be installed. Now type sudo port install wget. What happens next is awesome, because MacPorts fetches each individual source package required to run wget, and compiles it to run on OS X. This is why having Xcode installed is important, because it gives MacPorts what it needs to compile these packages for OS X. Everything is set up in /opt/local/, which pretty much stays out of OS X\u0026#8217;s way. You won\u0026#8217;t have to worry about interfering with critical stuff, because you won\u0026#8217;t. This is just a basic introduction to MacPorts. Read up on the MacPorts Wiki and get your hands dirty with the Terminal! There\u0026#8217;s all kinds of cool command line (as well as GUI based) applications available. ","permalink":"https://churnd.net/2008/04/23/macports/","summary":"\u003cp\u003eI love \u003ca href=\"http://www.macports.org/\"\u003eMacPorts\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eWhat a fantastic way to install open source software to run on a Mac. Sometimes I want to be able to run certain Linux/Unix tools on my Macbook Pro, only to find there’s no Mac alternative available. Or maybe I just prefer to do things the hard way via command line. I’m weird like that sometimes.\u003c/p\u003e\n\u003cp\u003eYou need Xcode to use MacPorts, so get it and install it if you don’t already have it: \u003ca href=\"http://developer.apple.com/tools/xcode/\"\u003ehttp://developer.apple.com/tools/xcode/\u003c/a\u003e. It’s free too!!\u003c/p\u003e","title":"MacPorts"},{"content":"We live in the information age. We want info instantaneously. We certainly do have the necessary channels to get that kind of information, up to the very hour in the latest news. There’s even efforts being made to have this need for “being connected” into a psychological disorder. That’s neither here nor there.\nApple has always had the same culture within it’s organization since Steve Jobs has been CEO. Secrecy has been it’s primary weapon, and they arguably do it better than any other company out there. Why is it working so well now? I think mainly because of two things: Apple’s move to Intel and the aforementioned information age.\nThe Intel move gave more performance throughout the board on OS X, a welcome update. It also gave those who weren’t quite ready to move to OS X “cold turkey” the change to keep Windows around for a bit longer while they get used to an entirely new environment.\nAs for the information age theory, Apple’s culture of secrecy is the perfect marketing strategy. It leaves those interested in technology, a group that’s growing by the minute, constantly hitting their refresh buttons every time the Apple Store website goes down. When it comes back up, they scour the entire site to find out what’s changed, then convince themselves that they must have it, whether or not they actually need it. Of course, the fact Apple doesn’t offer much and what they do offer is top of the line makes it hard to say no.\nThen of course there’s Steve Jobs, with his “Reality Distortion Field”. The secrecy is a part of that. He is arguably one of the best CEOs to ever walk this earth. I don’t say that as a true devotee… I say that because it’s true. Sure, he’s an asshole and makes it easy for people not to like him. Lots of great CEOs are the same, or similar. Look at Phil Knight of Nike. He also led a very private corporate life. He has what Steve Jobs has… a brilliant business mind and that’s all that matters. Everyone knows Mr. Jobs isn’t necessarily the kind of person you’d want to invite over for dinner, but that doesn’t stop them from buying his products. What he sells, works… and works extremely well.\nThat’s my theory.\n","permalink":"https://churnd.net/2008/03/22/why-apple-wins/","summary":"\u003cp\u003eWe live in the information age. We want info instantaneously. We certainly do have the necessary channels to get that kind of information, up to the very hour in the latest news. There’s even efforts being made to have this need for “being connected” into a psychological disorder. That’s neither here nor there.\u003c/p\u003e\n\u003cp\u003eApple has always had the same culture within it’s organization since Steve Jobs has been CEO. Secrecy has been it’s primary weapon, and they arguably do it better than any other company out there. Why is it working so well now? I think mainly because of two things: Apple’s move to Intel and the aforementioned information age.\u003c/p\u003e","title":"Why Apple Wins"},{"content":"I’ve actually had better experience using Vista Enterprise x86_64 than I did with x86. Even though I only have 2GB RAM on my machine at home, it still seems to be a better experience. I’m still trying to figure out how to get up to 4GB cheaply enough. I want all 4 sticks to be identical, so either that means I find two more Corsair XMS DDR400, or I buy 4GB of new RAM and sell mine. The latter option is looking more attractive, because even on eBay, that particular model of Corsair RAM is going for $120 used. Newegg is completely out, and Zipzoomfly wants $200 (no thanks!). Considering I can get 4GB of a different brand for ~$180, I could sell the ones I have now for at least $100, which would make that a pretty affordable solution.\nWhy do I need 4GB? Mainly because I run a lot of VM’s and I’d like to allocate them at least 1GB to speed things up. It’s also kinda nagging me that I have a 64-bit OS and I’m not really taking advantage of it. :)\n","permalink":"https://churnd.net/2008/02/25/vista-x64/","summary":"\u003cp\u003eI’ve actually had better experience using Vista Enterprise x86_64 than I did with x86. Even though I only have 2GB RAM on my machine at home, it still seems to be a better experience. I’m still trying to figure out how to get up to 4GB cheaply enough. I want all 4 sticks to be identical, so either that means I find two more Corsair XMS DDR400, or I buy 4GB of new RAM and sell mine. The latter option is looking more attractive, because even on eBay, that particular model of Corsair RAM is going for $120 used. Newegg is completely out, and Zipzoomfly wants $200 (no thanks!). Considering I can get 4GB of a different brand for ~$180, I could sell the ones I have now for at least $100, which would make that a pretty affordable solution.\u003c/p\u003e","title":"Vista x64"},{"content":"I used to believe that knowledge was power. Now I realize that belief itself is power, because what is knowledge if nobody believes it?\n","permalink":"https://churnd.net/2007/12/03/power/","summary":"\u003cp\u003eI used to believe that knowledge was power. Now I realize that belief itself is power, because what is knowledge if nobody believes it?\u003c/p\u003e","title":"Power"},{"content":"UAC in Vista sucks, that’s no secret. You can disable it, but doing so can cause potential problems with software not working like it should. Luckily, you can leave it on and keep your sanity at the same time.\nFirst, re-enable UAC if you’ve already disabled it Open Control Panel and search for Administration Tools Click Local Security Policy, then Local Policies Click Security Options Click “User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode” Change the status to “Elevate without prompting” Done Now UAC works like it should, and doesn’t bug the crap out of you every 5 mins. :) This only affects administrator accounts, so regular user accounts still get the prompts. Best of both worlds if you ask me!\nYou can also try TweakUAC which I think does the same thing, but I haven’t tried it.\nYes, I’m back to Vista again. I’m weak, I know. Honestly, I think my mind was playing tricks on me in terms of performance, because I didn’t notice that much difference using XP for 2 weeks. The only thing that really stood out was file copy performance. It still gets on my nerves, but I’m sure there’ll be a fix soon, with SP1.\n","permalink":"https://churnd.net/2007/10/18/uac-workaround/","summary":"\u003cp\u003eUAC in Vista sucks, that’s no secret. You can disable it, but doing so can cause potential problems with software not working like it should. Luckily, you can leave it on and keep your sanity at the same time.\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eFirst, re-enable UAC if you’ve already disabled it\u003c/li\u003e\n\u003cli\u003eOpen Control Panel and search for Administration Tools\u003c/li\u003e\n\u003cli\u003eClick Local Security Policy, then Local Policies\u003c/li\u003e\n\u003cli\u003eClick Security Options\u003c/li\u003e\n\u003cli\u003eClick “User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode”\u003c/li\u003e\n\u003cli\u003eChange the status to “Elevate without prompting”\u003c/li\u003e\n\u003cli\u003eDone\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eNow UAC works like it should, and doesn’t bug the crap out of you every 5 mins. :) This only affects administrator accounts, so regular user accounts still get the prompts. Best of both worlds if you ask me!\u003c/p\u003e","title":"UAC Workaround"},{"content":"Friday I got home from work, popped DBAN in my desktop PC, and wiped out my primary OS hard drive, in which my primary OS was Windows Vista. It felt good.\nI’ve been running Vista as my primary OS since January. It has been nothing but a headache. Several times I’ve contemplated removing it and re-installing XP. I talked myself out of it. “Give it time… it’s a new OS”, I kept reassuring myself.\nEverything was slower. Why? Nice (but useless) visual effects? I enjoyed the new theme at first, and I guess I convinced myself it was worth the sacrifice in speed. As time went on, the newness wore off, and I found myself growing increasingly irritated with waiting at least twice as long for an application to open. As well as having a few of my XP compatible applications not work.\nMy desktop PC is decent:\nAMD Athlon X2 4400 Toledo Asus A8N-SLI Delux Motherboard 2GB Corsair XMS DDR 400 SDRAM EVGA GeForce 7600GT 128MB GDDR3 WD 160GB 10K RPM Raptor (Main OS HD) Other goodies that don’t affect performance. The Vista Performance Rating tool gave it a 5. It sure didn’t feel like a 5. I gave SuperFetch plenty of time to “get to know me”. I saw some improvement in how applications launched over time, but I still wasn’t impressed.\nI think the straw that finally broke the camels back came when I read of the improvements that would come with SP1. First, how can you work on an OS for 5 years, then come out with a Service Pack a year after it’s release? That’s a marketing scheme if I ever saw one. Everyone knows what a Service Pack is, and how they supposedly make everything better. True, SP2 for XP did make things better. I think Microsoft is playing that angle a little too hard.\nAnyway, I downloaded the “speed fixes” that were supposed to come with SP1 for Vista:\nPerformance Update Compatibility Update I installed both and tried them out for 2 months. I was impressed some at first, but again it wore off.\nNow that I have XP installed with all major updates, and have the same functionality as Vista with Google Desktop and Picasa, I know I will never go back to Vista again. I have a triple boot of XP, Ubuntu, and openSuSE 10.2 x64 up and running now. The next computer I buy will be a Mac.\n","permalink":"https://churnd.net/2007/09/22/vista-is-gone/","summary":"\u003cp\u003eFriday I got home from work, popped DBAN in my desktop PC, and wiped out my primary OS hard drive, in which my primary OS was Windows Vista. It felt good.\u003c/p\u003e\n\u003cp\u003eI’ve been running Vista as my primary OS since January. It has been nothing but a headache. Several times I’ve contemplated removing it and re-installing XP. I talked myself out of it. “Give it time… it’s a new OS”, I kept reassuring myself.\u003c/p\u003e","title":"Vista is Gone"},{"content":"Dare I say I finally fixed it! In /Library/Preferences, I removed com.apple.windowserver.plist, restarted ARD, and all was good! I logged in and out through Apple Remote Desktop a few times to verify the bug was gone, and it was. I\u0026#8217;m not sure if it was a combination of a .plist file in my home directory as well as the one above. ","permalink":"https://churnd.net/2007/08/27/ard-issues-gone/","summary":"\u003cp\u003eDare I say I finally fixed it!  In \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003e/Library/Preferences\u003c/span\u003e, I removed \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003ecom.apple.windowserver.plist\u003c/span\u003e, restarted ARD, and all was good!  I logged in and out through Apple Remote Desktop a few times to verify the bug was gone, and it was. \u003cdiv\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  I\u0026#8217;m not sure if it was a combination of a .plist file in my home directory as well as the one above.\n\u003c/div\u003e","title":"ARD Issues Gone!"},{"content":"I’ve been trying to find a good way to sync my iCal with Google Calendar. Spanning Sync is a good solution, but it’s not free. Enter GCalDaemon. As long as you read the documentation and follow it step by step, it’s a breeze to configure. I followed these directions: http://gcaldaemon.sourceforge.net/usage13-b.html You can use a calendar you already have. The trick is finding it. By default, iCal stores it\u0026#8217;s calendar files in: /Users/*username*/Library/Application Support/iCal/Sources/ If you have more than one calendar, you’ll see folders with a bunch of random characters followed by .calendar. You can figure out which one is which by opening the Info.plist inside each folder with Property List Editor. Expand the Root key, and the Title string will have the name of your calendar. Once you know which one you want to use, you can point GCalDaemon to it and you\u0026#8217;re set. Also make sure you check out the note about using Lingon to make the script run at startup. Very useful. :) ","permalink":"https://churnd.net/2007/08/27/sync-ical-with-google-calendar/","summary":"\u003cp\u003eI’ve been trying to find a good way to sync my iCal with Google Calendar.  \u003ca href=\"http://spanningsync.com/\"\u003eSpanning Sync\u003c/a\u003e is a good solution, but it’s not free.  Enter \u003ca href=\"http://gcaldaemon.sourceforge.net/index.html\"\u003eGCalDaemon\u003c/a\u003e.  As long as you read the documentation and follow it step by step, it’s a breeze to configure. \u003cdiv\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  I followed these directions:  \u003ca href=\"http://gcaldaemon.sourceforge.net/usage13-b.html\"\u003ehttp://gcaldaemon.sourceforge.net/usage13-b.html\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  You can use a calendar you already have.  The trick is finding it.  By default, iCal stores it\u0026#8217;s calendar files in:\n\u003c/div\u003e\n\u003cdiv\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003e/Users/*username*/Library/Application Support/iCal/Sources/\u003c/span\u003e\n\u003c/div\u003e\n\u003cp\u003eIf you have more than one calendar, you’ll see folders with a bunch of random characters followed by .calendar.  You can figure out which one is which by opening the Info.plist inside each folder with Property List Editor.  Expand the \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003eRoot\u003c/span\u003e key, and the \u003cspan class=\"Apple-style-span\" style=\"font-weight:bold;\"\u003eTitle\u003c/span\u003e string will have the name of your calendar. \u003cdiv\u003e\u003c/p\u003e","title":"Sync iCal with Google Calendar"},{"content":"This may as well just be the ARD fixit blog. I know it has something to do with the loginwindow process. No other accounts are affected but mine. ","permalink":"https://churnd.net/2007/07/15/ard/","summary":"\u003cp\u003eThis may as well just be the ARD fixit blog. \u003cdiv\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n  I know it has something to do with the loginwindow process.  No other accounts are affected but mine.\n\u003c/div\u003e","title":"ARD"},{"content":"I still can’t track down the ARD bug. I found an alternative that works:\nLog in via ARD and see the garbled screen Log in via SSH in the Terminal, and restart ARD using “sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Conte\nnts/Resources/kickstart -agent -restart” Voila! It’s fixed! I’ll still hunt for the bug until Apple releases a fix.\n","permalink":"https://churnd.net/2007/05/03/more-ard-issues/","summary":"\u003cp\u003eI still can’t track down the \u003ca href=\"http://hearn.blogspot.com/2007/04/apple-remote-desktop-glitch.html\"\u003eARD bug\u003c/a\u003e. I found an alternative that works:\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003eLog in via ARD and see the garbled screen\u003c/li\u003e\n\u003cli\u003eLog in via SSH in the Terminal, and restart ARD using “sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Conte\u003cbr\u003e\nnts/Resources/kickstart -agent -restart”\u003c/li\u003e\n\u003cli\u003eVoila! It’s fixed!\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp\u003eI’ll still hunt for the bug until Apple releases a fix.\u003c/p\u003e","title":"More ARD Issues"},{"content":"Following up on this post:\nIt happened again, and I’m not sure why. I hadn’t hooked any other monitors up to the server since I had originally set it up. The only thing I suspect is I tried changing the display settings colors to thousands instead of millions to speed ARD up some. There’s definitely a bug… I’ll be watching Apple for an update.\nSo I tried hunting the problem down a little harder this time, knowing it was in ~/Library/Preferences somewhere. Sadly, I’m still not exactly sure where, but I have a suspicion it’s in the ByHost folder, in one of the display .plist files. Either that or it’s one of the systempreferences .plist files in ~/Library/Preferences.\n","permalink":"https://churnd.net/2007/04/19/29/","summary":"\u003cp\u003eFollowing up on \u003ca href=\"/2007/04/13/apple-remote-desktop-glitch/\"\u003ethis post\u003c/a\u003e:\u003c/p\u003e\n\u003cp\u003eIt happened again, and I’m not sure why. I hadn’t hooked any other monitors up to the server since I had originally set it up. The only thing I suspect is I tried changing the display settings colors to thousands instead of millions to speed ARD up some. There’s definitely a bug… I’ll be watching Apple for an update.\u003c/p\u003e\n\u003cp\u003eSo I tried hunting the problem down a little harder this time, knowing it was in ~/Library/Preferences somewhere. Sadly, I’m still not exactly sure where, but I have a suspicion it’s in the ByHost folder, in one of the display .plist files. Either that or it’s one of the systempreferences .plist files in ~/Library/Preferences.\u003c/p\u003e","title":"29"},{"content":"Getting email out of Groupwise isn’t easy… at least not by any method I’ve found. I guess the geniuses at Novell couldn’t comprehend why anyone would want to use any mail client but theirs.\nThe method I used to get my mail out was with Outlook. Outlook can connect to the Groupwise mail protocol that it installs by default easily. If you open Outlook after Groupwise has been set up, it’ll automatically try to connect. Enter the password info and let it set itself up. You can then export your mail to a .PST file to take with you. This works fine… I’ve tried it.\nHowever, being a Mac and Mail.app user, my journey didn’t end there. I read countless of ways to go from Outlook to Mail.app via either Netscape 4.7 or Eudora. Neither of these worked well… the email wasn’t formatted properly. I tried a few conversion utilities too… one even required me import Outlook into Outlook Express, then it would convert the .dbx files to .mbox. It didn’t work well.\nWhat I wound up doing was this:\nFrom Windows, connect Outlook to Groupwise and let it set itself up.\nClose Outlook.\nDownload \u0026amp; install Thunderbird, and let it import from Outlook.\nIt will ask for the Groupwise password again… this means it’s working, so put it in.\nLet it import… this took 30 mins for me.\nClose Thunderbird and find where it stores your mail in your profile.\nUsually this will be C:Documents and Settings(user)Application DataThunderbirdProfiles(random).defaultMail\nApplication Data is a hidden folder, so make sure you’ve enabled the setting to see them in Windows.\nCopy these to another location. You’ll notice some large “files”:\nThese contain your actual mail. Rename these with a .mbox extension.\nGet these files to your Mac somehow.\nOpen Entourage, and drag and drop these .mbox files onto the Entourage Icon in your Dock. This will prompt you if you want to import them or not. Obviously, say yes.\nOnce you’ve done them all, you can then tell Mail.app to import from Entourage, and you’re done.\nI actually tried skipping the Entourage part, but I didn’t like the how Mail.app read the Thunderbird .mbox files. The format was a little off. Bringing them in from Entourage looked much better. ","permalink":"https://churnd.net/2007/04/19/exporting-groupwise-mail/","summary":"\u003cp\u003eGetting email out of Groupwise isn’t easy… at least not by any method I’ve found. I guess the geniuses at Novell couldn’t comprehend why anyone would want to use any mail client but theirs.\u003c/p\u003e\n\u003cp\u003eThe method I used to get my mail out was with Outlook. Outlook can connect to the Groupwise mail protocol that it installs by default easily. If you open Outlook after Groupwise has been set up, it’ll automatically try to connect. Enter the password info and let it set itself up. You can then export your mail to a .PST file to take with you. This works fine… I’ve tried it.\u003c/p\u003e","title":"Exporting Groupwise Mail"},{"content":"I manage two Apple XServes at work. We just got the second as a replacement for the first. I just finished setting up the second last night, and the install went pretty smoothly. If you’re considering the same with the new Intel XServes, I suggest you do your research for known issues and plan the install. Knowing things like changeip and XServe RAID incompatibilities save lots of headaches.\nI still ran into a problem. I use Apple Remote Desktop to manage the servers, but I set it up locally using an LCD, mouse and keyboard. I finished setting it up, and went home. Came in the next day, sat down in front of my Macbook Pro, and tried to login to finish setting permissions to shares. I pulled up the login screen via ARD, typed in my creds, and logged in. I was greeted with this:\nI tried restarting ARD via kickstart and rebooting, but that didn’t help. So, I tried the admin account instead, and it worked! Obviously the issue was limited to my account. I searched in my ~/Library/Preferences folder for anything related to ARD or VNC, and promptly removed them. This didn’t help.\nI finally got frustrated enough and just removed everything in /Library/Preferences (mind you there’s a tilde () in front of that path, so actually /Users/xxxx/Library/Preferences). All this will do is change the look and feel of your account back to it’s default. Sure enough, it worked! I was then able to log in via ARD.\nThis is a known issue with ARD, according to this thread in the Apple support forums. I also tried many of the methods listed in that thread. None of them worked for me. Your mileage may vary.\nFrom what I can tell, the issue has to do with hooking a headless server up to the LCD. The monitor settings get stored in your preferences folder, and can disrupt ARD from working properly. Next time it happens, which I’m sure it will, I’ll dig harder for the actual com.apple.xxx.plist file that’s causing the issues, and if I find it, I’ll be sure to blog about it again.\n","permalink":"https://churnd.net/2007/04/13/apple-remote-desktop-glitch/","summary":"\u003cp\u003eI manage two Apple XServes at work. We just got the second as a replacement for the first. I just finished setting up the second last night, and the install went pretty smoothly. If you’re considering the same with the new Intel XServes, I suggest you do your research for known issues and \u003cspan style=\"font-weight:bold;\"\u003eplan\u003c/span\u003e the install. Knowing things like changeip and XServe RAID incompatibilities save lots of headaches.\u003c/p\u003e\n\u003cp\u003eI still ran into a problem. I use Apple Remote Desktop to manage the servers, but I set it up locally using an LCD, mouse and keyboard. I finished setting it up, and went home. Came in the next day, sat down in front of my Macbook Pro, and tried to login to finish setting permissions to shares. I pulled up the login screen via ARD, typed in my creds, and logged in. I was greeted with this:\u003cbr\u003e\n\u003ca href=\"http://bp0.blogger.com/_z2ziqclKzf0/Rh-4Sxgkx8I/AAAAAAAAAUU/G1iuiXDp7y4/s1600-h/remote.jpg\"\u003e\u003cimg style=\"display:block;text-align:center;cursor:pointer;margin:0 auto 10px;\" src=\"http://bp0.blogger.com/_z2ziqclKzf0/Rh-4Sxgkx8I/AAAAAAAAAUU/G1iuiXDp7y4/s320/remote.jpg\" alt=\"\" border=\"0\" /\u003e\u003c/a\u003e\u003cbr\u003e\nI tried restarting ARD via kickstart and rebooting, but that didn’t help. So, I tried the admin account instead, and it worked! Obviously the issue was limited to my account. I searched in my ~/Library/Preferences folder for anything related to ARD or VNC, and promptly removed them. This didn’t help.\u003c/p\u003e","title":"Apple Remote Desktop Glitch"},{"content":"My experiences with Vista so far have been… eh. Every day I contemplate going back to XP, but I always talk myself out of it. Getting some programs to work right is a hassle, and some just don’t work right at all no matter what I try. Most software vendors’ solution to the issue doesn’t sit well with me at all: buy the newer version. So why do I use Vista? Curiosity, and I’ll likely have to support it one day.\nI’m getting a bigger boot drive soon, though. I’m going to triple boot XP/Vista, Ubuntu x64, and Solaris 10. I still haven’t decided whether or not to go back to XP. I might quad-boot, but that 150GB Raptor will run out of space pretty quick if I do that.\n","permalink":"https://churnd.net/2007/04/09/vista/","summary":"\u003cp\u003eMy experiences with Vista so far have been… eh. Every day I contemplate going back to XP, but I always talk myself out of it. Getting some programs to work right is a hassle, and some just don’t work right at all no matter what I try. Most software vendors’ solution to the issue doesn’t sit well with me at all: buy the newer version. So why do I use Vista? Curiosity, and I’ll likely have to support it one day.\u003c/p\u003e","title":"Vista"},{"content":"I’m excited, but then again I’m not. Why? A few reasons:\nIn order this endeavor to be successful, the Linux machines will have to be cheaper than Windows. That likely won’t happen. Microsoft will make sure of it. The average everyday Joe isn’t ready for Linux. He will likely get frustrated too easily because he can’t install that Quicken .exe he bought for Windows last year, and either return it or demand a refund. Linux isn’t ready for Joe either. Commercial apps are lacking, and the open source versions aren’t quite ready to fully replace their commercial counterparts. Gimp cannot trump Photoshop yet. Linux is still a hobbyists OS. It’s not ready to replace every Windows PC in every home just yet. Until it is, maybe Dell should hold off. At least for Linux’ sake.\n","permalink":"https://churnd.net/2007/04/06/dell-might-pre-install-linux/","summary":"\u003cp\u003eI’m excited, but then again I’m not. Why? A few reasons:\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003eIn order this endeavor to be successful, the Linux machines will have to be cheaper than Windows. That likely won’t happen. Microsoft will make sure of it.\u003c/li\u003e\n\u003cli\u003eThe average everyday Joe isn’t ready for Linux. He will likely get frustrated too easily because he can’t install that Quicken .\u003cspan class=\"blsp-spelling-error\"\u003eexe\u003c/span\u003e he bought for Windows last year, and either return it or demand a refund.\u003c/li\u003e\n\u003cli\u003eLinux isn’t ready for Joe either. Commercial apps are lacking, and the open source versions aren’t quite ready to fully replace their commercial counterparts. Gimp cannot trump \u003cspan class=\"blsp-spelling-error\"\u003ePhotoshop\u003c/span\u003e yet.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp\u003eLinux is still a hobbyists OS. It’s not ready to replace every Windows PC in every home just yet. Until it is, maybe Dell should hold off. At least for \u003cspan class=\"blsp-spelling-corrected\"\u003eLinux’\u003c/span\u003e sake.\u003c/p\u003e","title":"Dell might pre-install Linux…"},{"content":"And by “win”, I mean gain a respectable market share and become an actual competitor to Windows and Mac OS. Perhaps one of the most debated topics in the tech world these days. I have my own opinion:\nPrograms. Software developers have to start coding their programs for Linux. Even if it’s not free, people won’t fully switch until that happens. Emulation sucks. Also, they need to be easily installed. As in, clicking on the package you just downloaded, following the few setup steps, and voila. Even better… let’s make it a drag-and-drop affair a-la OS X! Looks. Linux just isn’t marketable. The average consumer is going to choose whatever looks better. That’s why Vista will do well and OS X does well… because they look good. KDE is currently Linux’s best chance for this. Until it can directly compete out of the box, nobody is going to risk pre-packaging it on their systems. Drivers. You’ll always see a driver for Windows, and almost always for OS X. Linux is currently about half and half. That must rise to at least 90%. Nobody wants to do the research to determine whether or not their hardware will work on an OS. They’ll go for the safest bet. There are other notables, but those 3 are what I believe would skyrocket Linux’s popularity high enough for it to have a chance on the average desktop PC. Once that happens, the sky’s the limit.\n","permalink":"https://churnd.net/2006/12/18/what-its-going-to-take-for-linux-to-win/","summary":"\u003cp\u003eAnd by “win”, I mean gain a respectable market share and become an actual competitor to Windows and Mac OS. Perhaps one of the most debated topics in the tech world these days. I have my own opinion:\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003ePrograms. Software developers have to start coding their programs for Linux. Even if it’s not free, people won’t fully switch until that happens. Emulation sucks. Also, they need to be easily installed. As in, clicking on the package you just downloaded, following the few setup steps, and voila. Even better… let’s make it a drag-and-drop affair a-la OS X!\u003c/li\u003e\n\u003cli\u003eLooks. Linux just isn’t marketable. The average consumer is going to choose whatever looks better. That’s why Vista will do well and OS X does well… because they look good. KDE is currently Linux’s best chance for this. Until it can directly compete out of the box, nobody is going to risk pre-packaging it on their systems.\u003c/li\u003e\n\u003cli\u003eDrivers. You’ll always see a driver for Windows, and almost always for OS X. Linux is currently about half and half. That must rise to at least 90%. Nobody wants to do the research to determine whether or not their hardware will work on an OS. They’ll go for the safest bet.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp\u003eThere are other notables, but those 3 are what I believe would skyrocket Linux’s popularity high enough for it to have a chance on the average desktop PC. Once that happens, the sky’s the limit.\u003c/p\u003e","title":"What it’s going to take for Linux to win…"},{"content":"I’m just checking this thing out. Maybe one day I’ll develop an urge to write and keep a journal here. If I do, you’re all in for a treat. :)\n","permalink":"https://churnd.net/2005/05/27/first-blog/","summary":"\u003cp\u003eI’m just checking this thing out. Maybe one day I’ll develop an urge to write and keep a journal here. If I do, you’re all in for a treat. :)\u003c/p\u003e","title":"First Blog"}]