diff options
6 files changed, 23 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml index 04b3dc46..567d846a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,21 @@ language: python python: - "3.4" before_install: + - sudo add-apt-repository -y ppa:kalakris/cmake + - sudo apt-get update + - sudo apt-get install -y cmake + # install pandoc - wget https://github.com/jgm/pandoc/releases/download/1.13.2/pandoc-1.13.2-1-amd64.deb - sudo dpkg -i pandoc-1.13.2-1-amd64.deb + # install tidy-html5 + - git clone git@github.com:htacg/tidy-html5.git + - cd tidy-html5/build/cmake + - cmake ../.. + - make + - sudo make install + - cd ../../.. install: - pip install -r requirements.txt script: - python pyblog generate + - find build -name '*.html' -print0 | while IFS= read -r -d '' file; do tidy5 -q -e "$file"; done diff --git a/source/blog/2014-11-25-i-got-16-gigs-of-ram.md b/source/blog/2014-11-25-i-got-16-gigs-of-ram.md index 98c1b967..4aac8554 100644 --- a/source/blog/2014-11-25-i-got-16-gigs-of-ram.md +++ b/source/blog/2014-11-25-i-got-16-gigs-of-ram.md @@ -9,10 +9,10 @@ The actual process was pretty simple. I had a little bit of hard time pulling ou After I replaced the RAM modules, booting was just normal. And now I've got 16 gigs of RAM! -![](https://i.imgur.com/PGhdEGr.png) +![About This Mac->Memory](https://i.imgur.com/PGhdEGr.png) Want to run multiple memory hoggers *along with a Windows VM* (with 4GB of RAM)? No problem. -![](https://i.imgur.com/czDcVaK.png) +![Activity Monitor->Memory](https://i.imgur.com/czDcVaK.png) By the way, Yosemite is indeed really aggressive at RAM usage. I reserve my opinion on whether there's a memory leak. But so far the performance has been fine, even with 8GB of RAM. diff --git a/source/blog/2014-12-05-distraction-free-writing.md b/source/blog/2014-12-05-distraction-free-writing.md index a1287455..b42c69d6 100644 --- a/source/blog/2014-12-05-distraction-free-writing.md +++ b/source/blog/2014-12-05-distraction-free-writing.md @@ -5,11 +5,11 @@ date-display: December 5, 2014 --- This is not the first time that a distraction free writing app is featured on the Mac App Store. This time the candidate is [Desk](https://itunes.apple.com/us/app/desk/id915839505?mt=12). The official website is [here](http://desk.pm), but licensing is MAS-exclusive. The icon looks like this: -![](https://i.imgur.com/OprXSEU.png) +![The icon of Desk](https://i.imgur.com/OprXSEU.png) Skeuomorphism, oh man. And this is the only screenshot I can find on the official website: -![](https://i.imgur.com/WBaYzho.png) +![Screenshot of editing in Desk](https://i.imgur.com/WBaYzho.png) I can find a few other screenshots on MAS, but you know how shitty MAS screenshots are, plus the screenshots of this app only focus on specific UI elements. The official website also features an intro video (which provides no information at all) and a brief feature list with no further details, all on one page. The MAS description is somewhat more comprehensive, but again, "WordPress integration" and the like are not so informative. So, after a certain amount of research, I have to say I know little about this app. To do the app justice, there's an [accompanying blog](http://blog.desk.pm), with all kinds of noise though — like what a good blog should be, no complaint about that. So I guess anyone who wants to know more about this app should go digging there. Not me, so I didn't read. @@ -21,12 +21,12 @@ More specifically, let's think about distraction free writing. What does IA Writ I have dismissed the "additional features" of focused-writing apps as non-essential. And I can argue that they are actually sources of distraction — as soon as you have WYSYWYG and formatting and mouse, you could, in principle, begin to fiddle. But when I say "additional features", you might ask, "additional" compared to what? Okay here's the magic. The magic is designed by Apple in California®, and it's present on every single Mac running OS X. It's called TextEdit.app. Distraction free? How can you be more distraction free than this: -![](https://i.imgur.com/z3LEu0U.png) +![TextEdit: The most distraction free writing experience on the Mac. Designed by Apple in California.](https://i.imgur.com/z3LEu0U.png) It's either text or blank. Nothing else. It's more than capable of handling plain text, our best friend (and computer's best friend — the universal interface). You can customize the font once and for all, or you can even live with the factory setting. That's better than having a font you don't like forced upon you, as many of those focused-writing apps do. You can even auto save to iCloud if you'd like to. Of course there's no one click publishing or timeline management or whatever, but you could leave that to a publishing app (like Desk, when used as a publishing app). Better yet, you can use Jekyll or Octopress or whatever command line solution, where everything is at your fingertip, a few keystrokes away. No limitation whatsoever. But that's out of question for most people. (The easy-to-use command line interface, and not needing to worry about hosting myself, are two of the primary reasons that brought me to Octopress on GitHub Pages, rather than wordpress.com or self-hosted wordpress.org). Of course I'm not saying TextEdit is good enough as a text editor (it is good enough for most people, though), or it is my text editor of choice. My text editor has always been Emacs, which can be distraction free when I need it to be (I've hidden everything I feel like to hide), and which can be an almost feature-complete operating system when I need it to be. Apart from a slightly frustrating loading time, there's no such bullshit as "we deliberately left no feature and no choice to you so you won't fiddle." Mostly importantly, it is extensible — I can start writing Elisp right away, and every single line of code I write can potentially save me thousands of keystrokes in the future; I don't need to submit a feature request to the developer and wait forever (usually power users' feature requests are ignored, unless the software was built for power users to begin with or mainly popular within power users). Plus Emacs is free (both as in beer and in speech), rather than being proprietary and costing $30. At any rate, when I'm writing in Emacs, most of the time I'm just furiously typing away — no distraction whatsoever. That's the ideal state of writing, and I feel really good at those moments. That's the main charm of writing, at least to me. -![](https://i.imgur.com/2Jx9Mpv.png) +![Editing in iTerm2 + Emacs + Solarized Dark. Paradise.](https://i.imgur.com/2Jx9Mpv.png) The whole command line experience is awesome (most of what I do with the computer are either done in the browser or in iTerm2 — well, plus some time spent with PDF in Preview.app and some with emails in Mail.app). And most of my tools either ship with the operating system (OS X is a great operating system), or are FOSS. Things that hardly ever die. Of course the command line experience is infeasible for laymen, but my argument is, **most of the time the things you need are already there, e.g., TextEdit.** I feel bad about those folks who are constantly on the lookout for distraction-free writing apps, and pay a ridiculous amount for them — only to distract themselves. Just open TextEdit and type away (or if you're capable of it, Emacs or Vim or SublimeText or TextMate or BBEdit or whatever). That's the most productive thing to do. **Publishing is not the top priority; writing is, and it's really simple.** diff --git a/source/blog/2014-12-14-the-google-chrome-comic-a-classic.md b/source/blog/2014-12-14-the-google-chrome-comic-a-classic.md index 60af7fb4..0a212f9b 100644 --- a/source/blog/2014-12-14-the-google-chrome-comic-a-classic.md +++ b/source/blog/2014-12-14-the-google-chrome-comic-a-classic.md @@ -16,4 +16,4 @@ Here I was a bit lazy and used a GNU `ls` feature: `-v` for natural sorting of n And here's page 1 of the comic as a teaser: -![](https://i.imgur.com/W5pJTjl.jpg) +![Google Chrome — Behind the Open Source Browser Project](https://i.imgur.com/W5pJTjl.jpg) diff --git a/source/blog/2015-02-17-microsoft-is-getting-cool-but-not-its-website.md b/source/blog/2015-02-17-microsoft-is-getting-cool-but-not-its-website.md index 5d2feb8d..ebff0f29 100644 --- a/source/blog/2015-02-17-microsoft-is-getting-cool-but-not-its-website.md +++ b/source/blog/2015-02-17-microsoft-is-getting-cool-but-not-its-website.md @@ -11,8 +11,8 @@ Meanwhile, * Microsoft still won't let us use our password managers to its fullest (of course we can't blame it on the OneDrive folks): 16 characters max in this day and age (screenshot taken today)? Hmm. And I remember Microsoft recently said password length isn't the main source of vulnerability of its customers. WTF. Who cares about *your* stupid customers. I just want to protect *my own* data, and make sure that in case of a breach on *your* side, I won't face the same loss as your technologically illiterate customers. But that's not currently possible with Microsoft. -![](https://i.imgur.com/CNv76zw.png) +![It's 2015, yet "your password can't be longer than 16 characters".](https://i.imgur.com/CNv76zw.png) * Microsoft's UI design is still shit, [as well as their website](/blog/2015-01-21-web-design-microsoft-vs-apple.html); I mean, seriously: -![](https://i.imgur.com/wu66zZc.png) +![What the heck are those blue blocks?](https://i.imgur.com/wu66zZc.png) diff --git a/source/blog/2015-02-20-my-dock-and-updated-omnifocus.md b/source/blog/2015-02-20-my-dock-and-updated-omnifocus.md index 31b39f84..9b0fe075 100644 --- a/source/blog/2015-02-20-my-dock-and-updated-omnifocus.md +++ b/source/blog/2015-02-20-my-dock-and-updated-omnifocus.md @@ -12,8 +12,8 @@ Here's a screenshot of my dock at the moment. Left to right: Finder (TotalFinder), Mail, Safari, Chrome, iTunes, OmniFocus, iTerm2, Activity Monitor, and mpv. Everything except mpv is persistent; mpv is there because I happen to be looping a piece of music with mpv that I don't plan to add to the iTunes library. The point is that it never looked this good, mainly due to the updated OmniFocus icon. Finally they put some serious thought into graphics design! Just compare [the v2.1 icon](https://dl.bintray.com/zmwangx/generic/omnifocus-v2.1.icns) to [the v2.0 version](https://dl.bintray.com/zmwangx/generic/omnifocus-v2.0.icns). -![](https://i.imgur.com/KeTz5wK.png) +![OmniFocus Mac app icon, v2.0 vs v2.1](https://i.imgur.com/KeTz5wK.png) Obviously the overpolished (and honestly, badly polished) 2.0 one belongs to the past. It "stood out" even among Mavericks dock icons (in terms of color), not to mention among the flattened-down Yosemite ones. Today, it finally becomes a native member of the dock. (Well, actually not today — I've been using the beta for a while, so the new icon didn't come as a surprise.) In fact, this time the Omni Group seems to be on a graphics design streak these days, and today they have a really impressive App Store feature banner: -![](https://i.imgur.com/tILmveQ.png) +![OmniFocus's MAS feature banner](https://i.imgur.com/tILmveQ.png) |