103 karma · joined October 30, 2010
From Alacritty's FAQ: Q: "macOS + tmux + vim is slow! I thought this was supposed to be fast! This appears to be an issue outside of terminal emulators; either macOS has an IPC performance issue, or either tmux or vim (or both) have a bug. This same issue can be seen in iTerm2 and Terminal.app. I've found that if tmux is running on another machine which is connected to Alacritty via SSH, this issue disappears. Actual throughput and rendering performance are still better in Alacritty."
Off the top of my head there are a few primary reasons I prefer linux:
* WM Aesthetics - Arch+i3 (or any minimal, preferably tiling WM) provides a gorgeous minimalist aesthetic -- checkout /r/unixporn for examples. MacOS is just too visually noisy for me.
* I was going to buy a new macbook pro, but then they went and got rid of the escape and function keys. Escape I could probably live without (I tap caps-lock for escape), but function keys I want (at least until the apple touchbar proves itself to be comparatively useful).
* I'm tired of Apple's hyperbole and smugness, especially considering they haven't done anything really interesting since Jobs passed away.
* Customizability: really no comparison here. This is my big one.
* Pacman/AUR - honestly homebrew is pretty good though.
Negatives:
* Occasional weirdness/breakage.
* Can take a lot of research to figure out how to get things to work at times (note: usually not common things anymore though, like wifi etc); sometimes they just don't work without an unreasonable amount of work, or at all (e.g. hibernate). Many things are esoteric in general and have marginal documentation (arch wiki is great though). Granted this is part of the fun (I mean, I am a programmer :).
* Spent tens of hours setting things up to function the way I want (keep in mind I don't use gnome/kde so that would likely fix a lot of issues like external monitor support for HiDPI, and I tend to do heavy/esoteric customization of the user experience). Most of this is because I haven't used linux as my personal machine for ~5 years (i.e. setting it up again would be a few hours or less likely). If you use Gnome/Unity/KDE this probably wouldn't be the case.
* HiDPI (x1 carbon): I think this is actually decent in kde/gnome/unity (?), but it's pretty terrible in most GUI apps in my minimal setup. After some fiddling chromium is fine and I generally simply don't use GUI apps otherwise, and when I do it's still usable if not great. Retina screen and OS support was the primary thing that kept me on a mac. (edit: terminal and chrome look great so I'm happy)
* Miss a few apps: Quiver, Artful, Dash
* I still keep my mac around just in case, but haven't needed it yet.
* Touchpad: nothing touches a macbook (although I'm not jazzed about the huge new one), on the other hand the X1 Carbon's is actually quite good.
oh, and I use Manjaro-i3 [1] -- I've been there, done that with setting up Arch from scratch...highly recommended.
1: https://forum.manjaro.org/t/manjaro-i3-16-06-16-06-1/3329
Relative is the key:
Linux wakes up in milliseconds every time; by the time I open the lid all the way it's ready to go. rMBP (2012) can be from almost as fast as linux to ~10 seconds. I'd guess the average is ~3 seconds; though sometimes even when it wakes up fast I'll still get a beachball for a bit.
I mostly use my laptop around the house and often open and close it many times in a short period -- for instance say I'm reading something technical on the kindle in the armchair; I'll flip it open quite often to test or look something up quickly, so even having to wait a few seconds gets obnoxious.
I could just leave it open, but I don't always have a safe place to put it while open.
note: no external monitor, so that's not the issue.
Linux hardware support has become much better without a doubt.
However just in the last couple days I've had the following sporadic issues:
* External usb keyboard/mouse simply wouldn't work (and doesn't show up in lsusb). Restart fixed.
* If left overnight, occasionally won't wake up from sleep; requires restart.
* Upon start trackpad/trackpoint occasionally doesn't work; do not show up in xinput; probably fixable, but haven't dug into it.
On the other hand, mac had its own issues:
* Macbook takes relatively forever to come back from sleep; thinkpad is practically immediate.
* Macbook wireless constantly has issues connecting, to the point of having to turn off wireless and back on multiple times (this occurs often).
* Opening many tabs in chrome on mac causes serious slowdowns. Have yet to see any slowdown on thinkpad even with 20-30 tabs. This also goes generally for mac beachball issues.
In general, Arch/i3 combo is far better than MacOS for my needs (95% of time in terminal/browser).
The only other option seems to be Bing Search API. Anyone know of a decent other alternative?
Combined with ShiftIt, I can approximate a primitive keyboard-controlled tiling window manager on the Mac: https://github.com/fikovnik/ShiftIt
I Now do almost all reading of technical books on a tablet simply because they're far lighter than most technical books.
" space toggles the fold state under the cursor.
nnoremap <silent><space> :exe 'normal! za'.(foldlevel('.')?'':'l')<cr>
" <leader>space expands with zO
map <leader><space> zO"In fact, hack has only one meaning, an extremely subtle and profound one which defies articulation."
so regardless, defining the 'hacker way', especially in the context of a massive corporation, is a bit ridiculous.
I just have this in my .vimrc, and pasting (with formatting), is as simple as copying text, going to vim and hitting 'p' in command mode.
for middle-click (system) clipboard:
:set clipboard=unnamed
for ctrl-c (X11) clipboard:
:set clipboard=unnamedplus
couple caveats:
* +xterm_clipboard
* 'unnamedplus' is only for >= 7.3.74
see here for more info http://vim.wikia.com/wiki/Accessing_the_system_clipboardnote: I used unnamedplus for a bit, but found it to be much less desirable than using the unnamed middle-click buffer...YMMV