If you use artist mode in Org mode, you may find this tip useful.
use artist-mode in #emacs to do ascii-art block diagrams, if using org-mode do it inside of #+BEGIN_EXAMPLE block after hitting C-c '
— Bryan Murdock (@bdmurdock) May 14, 2015
If you use artist mode in Org mode, you may find this tip useful.
use artist-mode in #emacs to do ascii-art block diagrams, if using org-mode do it inside of #+BEGIN_EXAMPLE block after hitting C-c '
— Bryan Murdock (@bdmurdock) May 14, 2015
If you’re a DuckDuckGo user—and you really should be unless you like having your search history logged and sold—there’s a very nice shortcut you can use when searching specific sites. Suppose, for example, you want to find the documentation for the Common Lisp mapc
function. You just type
!lisp mapc
into the url bar and DuckDuckGo takes you right to the proper page on LispDoc
. If you want to know the French word for left, you type
!cenfr left
and DuckDuckGo takes you to the translations for left in the Collins English-French Dictionary.
There are over six thousand sites that have a shortcut and the hardest part of using the shortcuts is deciding which ones to remember. Most of the common ones are pretty obvious lightening that load a bit. I just learned this trick and already love it. I probably will use it only for the few reference sites that I visit regularly but even that’s a big win.
Sacha Chua has a nice post on how she uses an Org table to keep track of medications her family needs and how it automatically calculates how many she needs to buy based on how long they need to be taken and what she has on hand. You may or may not want to track your own meds in Emacs but her post illustrates some features about Org tables that you might not know:
@>
means the last row.
Check out Chua’s post to see how all these things play together to make a quick and easy application running right in Emacs.
UPDATE: posts illustrate → post illustrates
Over at the Google+ ErgoEmacs community, Xah Lee asks is it easier to type 2 or b on a QWERTY keyboard. The majority of people said ‘b’ but I was surprised at how many felt ‘2’ was easier. If you have an opinion and would like to express it, follow the link to the poll.
LWN.net is reporting on a Debian bug report complaining that Chromium, Google’s open source version of their Chrome Browser, was downloading a binary blob after it started. The responsible Debian maintainers did not have access to the code for the blob and had no way of knowing what it did. After a bit of investigation, it appears that the blob—called Chrome Hotword—turns on the computer’s microphone and enables audio capture.
Doubtless, this is to support Google’s OK Google feature that enables audio searching but its stealth installation and the initial absence of a way of disabling it raised serious questions. Even now, the function is enabled by default and the user has to find the—reportedly obscure—control for opting out of the system.
Google says that while the blob is installed and the microphone is turned on, no audio data is transmitted to Google unless the “OK Google” feature in explicitly turned on in the browser. That’s almost surely true too but consider: Google gets a secret warrant from some 3-letter agency and suddenly the government is listening to everything you say. Pre-Snowden that might have been considered paranoid but now we know better.
Falkvinge has a more muscular objection over at Private Internet Access. He explicitly makes the same point: after Snowden, we should trust no one with the ability to listen in on our conversations. Even if the organization providing the capability is completely trustworthy, there is no reason to believe that it won’t be coerced into spying for the government. Nor is there any guarantee that the capability won’t be exploited by criminal elements.
You’d think Google would understand all this and realize that audio searches just aren’t worth the danger to privacy that comes with them. Apparently not.
A handy reminder from vierito5 (via Karl Voit):
Periodic reminder: There is no Cloud. It's just someone else's computer. pic.twitter.com/v4MxtTHR0f
— vierito5 (@vierito5) June 15, 2015
Git is a wonderful thing and despite its reputation for being really hard to use, is easy to understand and use for the usual cases. The problems occur when you make a mistake and the easy mental model you have of Git doesn’t tell you how to recover.
Over at the GitHub Blog, Joshua Wehner has an excellent post on how to recover from common Git user errors. By “error” he means some action that you wish to undo even though the action itself was legal. Even with a good mental model of how Git works, many of these recoveries are not obvious so it’s well worth your time to read through the post.
It’s valuable enough that I bookmarked it because when I do one of those things, I can never remember how to recover. For example, I learned how to start ignoring some files even though I had already started tracking them. You might think that just adding them to the .gitignore
file would do the trick but it doesn’t. It’s easy to fix this problem but it certainly isn’t obvious. Take a look at Wehner’s post to find out how.
The next time the government asks you to trust in their good and mature judgment, remember this.
Presentation software. Windows has Power Point, Apple has Keynote, and Linux has Open Office. Everyone hates presentation software and everyone uses it. If you’re someone who works on multiple platforms, you might have to learn to use two or more of them.
Unless, that is, you’re an Emacs user1. In that case, you can learn how to use Beamer with Org mode and take it with you wherever you go. If you want animated slides with lots of gee whiz features, Beamer probably isn’t for you but if you want to make nice looking slides for a talk or other presentation, it’s easy, portable, and free. You don’t have to worry about the machine that will be projecting the slides since the output is PDF and any PDF projector software will do.
Over at the Worg Site they have a very nice tutorial on generating Beamer slides from Org mode. Even if you don’t know LaTeX or Beamer, you can still generate nice slides directly in Emacs. If you find yourself having to put together slides for a talk, it’s worth taking a look at the tutorial. It’s not too long and afterwards you’ll be able to generate slides on any platform that supports Emacs and LaTeX.
UPDATE: Eric S. Fraga, who authored the Worg tutorial I linked above, writes to point out that there’s a newer tutorial by Suvayu Ali that covers the new(er) exporter.
Or you know LaTeX/TeX sufficiently well to use Beamer directly.
Glenn Greenwald has a blistering evisceration of the recent (UK) Sunday Times front page article claiming that the Russians and Chinese have cracked the Top Secret cache of Snowden documents and that MI6 is pulling out their officers to prevent them from being killed. One Home Official official even claimed that Snowden had blood on his hands although the government admits that there is no evidence of anyone being harmed.
I.F. Stone famously said, “All governments are run by liars and nothing they say should be believed.” This appears to be a case in point. The article depends entirely on anonymous British officials without a shred of evidence for their lurid claims.
Although Greenwald’s diatribe is mainly aimed at what he considers journalistic malfeasance, he does describe many of the factual problems with the article. First, Snowden has always insisted that when he left Hong Kong he took no documents with him specifically so that the couldn’t be forced to turn them over to hostile governments. He gave the documents to Greenwald and Laura Poitras but kept no copies for himself.
Then they claim that David Miranda, Greenwald’s spouse, was seized at Heathrow Airport with 58,000 stolen documents after he visited Snowden in Moscow in 2013. The problem is that Miranda hadn’t been in Moscow in 2013 and, in fact, had been stopped at Heathrow after he visited Poitras in Germany.
They also report that Snowden stole 1.7 million documents but even the NSA says that they don’t know how many he took. The 1.7 million figure is an estimate of what he had access to, not what he took.
Greenwald’s article is a fascinating read and well worth your time, especially if you need your eyes opened as to the veracity of what passes for reporting on the Snowden matter.
As they say on those television offers, “But wait; there’s more!” Craig Murray, who has extensive experience in these matters, has an outstanding post on Five Reasons the MI6 Story is a Lie. The most important of these are that the quotes from “knowledgeable sources” use incorrect terminology that a real intelligence officer simply wouldn’t use and that the whole premise of MI6 officers being in danger is simply nonsense. That’s because 99% of such officers operate under diplomatic cover and are well known to the the Russians and Chinese. Furthermore, no officer has been killed by the Russians or Chinese in 50 years.
If you want to read a devastating takedown of the Sunday Times’ article, be sure to read Murray’s piece. It’s terrific.
UPDATE: MI-5 → MI6