Protecting Yourself from Surveillance

Jesse McGraw knows a few things about black hat hacking. He was a participant himself and was convicted of corrupting industrial control systems. Over at Forklog he has an interesting article on some steps you can take to protect yourself from surveillance.

The surveillance, he says, comes from all sides. There are, of course, criminals trying to scam you or collect information they can sell but that’s by no means all. You also have to contend with the execrable adtech industry that’s vacuuming up every bit of data about you that they can. They want to know every site you visit and every advertisement you look at. Sadly, they’re pretty good at this.

Finally, there’s the government. If they want information on you in particular, you’re doomed; the NSA will open a local branch inside your computer and collect an exact record of everything you do online. Happily most of us aren’t going to excite the NSA’s interest but don’t imagine you’re safe. As Irreal has discussed many times, the NSA is busily gathering as much digital data as it can even if they can’t look at it all. They simply store it just in case.

McGraw’s article recommends some applications that can help. The first is Signal. It’s the gold standard of secure messaging apps but everybody you want to communicate with also has to be using it. Tor and Tails can help you maintain anonymity and browse securely. McGraw describes Tails as “government censorships’ worst nightmare.” Other suggestions are a VPN, Firefox, ProtonMail, Sandboxie, DuckDuckGo, and Startpage. See McGraw’s article for the details.

There’s no magic bullet, of course, but McGraw’s suggestions can help keep all but the most determined Nosy Parkers out of your business.

Posted in General | Tagged , | Leave a comment

Selective Display

Marcin Borkowski (mbork) has a post that reminds me of a useful command that I always forget about: selective-display. Borkowski uses it to make working with some large JSON files easier. Take a look at his post for the details.

I first wrote about selective-display back in 2012 and thought it would be very handy. Of course, I promptly forgot about it until 2015 when John Wiegley demonstrated it in a video discussion with Sacha Chua. I don’t think I remembered writing about it before but I did think that it would be useful and resolved to integrate it into my workflow. I didn’t manage to do that but at least I remembered it.

Borkowski’s post gives me a third chance to start using it. The problem, of course, is that it’s not something you need very often so it’s hard to remember to use it. Still, when you want to hide part of a file based on indentation, it’s just what you need. If you want to see it in action, it comes near the end of the Wiegley/Chua video at the 31:04 point. Actually, it’s a great video (on use-package) so you should watch it all.

Posted in Programming | Tagged | Leave a comment

Facebook and Whois

I don’t write about Facebook very often because many people that I care about are—inexplicably—Facebook devotees and if I wrote about Facebook to the extent warranted, I would likely alienate my friends and loved ones. Still, sometimes Facebook’s behavior is so outrageous that it’s hard not to agree with John Gruber of Daring Fireball that Facebook is a criminal enterprise as he often says.

Facebook’s latest example of sketchy behavior is their attempt to gain access to whois data in contravention of GDPR rules. Their contention is that it’s okay because they only want to identify the domain owners who are masquerading as Facebook in order to scam unsuspecting users. That sounds reasonable until you discover that some of the domain names they’re concerned about are letsfacethebook.com, zharfambook.com, addictedtofacebook.org, banned-by-facebook.com, divestfacebook.com, facebooksucks.org, and protestfacebook.org.

Does anyone here know someone dumb enough that they’d think any of these are legitimate Facebook domains? Even my Aunt Millie isn’t going to credit that. Facebook, as it always does, simply wants the data and they’re not going to stop until they get it. As I’ve said before, Facebook, Google, and the others will continue with this type of behavior until their executives start going to jail. We already have ample evidence that fines are not going to stop them. The DOJ or one of the EU enforcement agencies spend years building a case and the result is a fine, seemingly large, that amounts to a day’s profit.

Posted in General | Tagged | Leave a comment

Some Org Table Examples

John Herrlin has another nice post. This time it’s on using Org-mode tables. Like his post on Org source blocks, he concentrates on examples of how he, himself, uses Org tables. Both of his posts take, I think, an intermediate point of view. For example, the Table post is more than the usual beginner explanation of how to input and edit tables; it covers how to make calculations in those tables. It’s a nice follow on to his previous post that considered how to do essentially the same thing using source blocks and some external language.

The exposition isn’t advanced but he does take up the subject of clock tables, which can be a bit confusing for beginners. What I like about this post is that it shows how useful Org mode can be even if your aren’t a programmer. There’s nothing in Herrlin’s examples that couldn’t apply to any worker familiar with using a computer or even to someone like, say, a writer or journalist who wants to keep track of their time or work with data in a systematic way using tables.

If you’re an experience Org table user, you probably won’t find anything new in the post but beginner or intermediate users are very likely to find something useful in it.

Posted in General | Tagged , | Leave a comment

Org Source Blocks

One of the great things about Emacs is Org-mode. One of the great things about Org-mode is source blocks. They enable literate programming, of course, but are also a great way of taking notes with code examples and a really great way for writing dynamic documents that stay consistent when some item changes.

John Herrlin has a post that serves as a nice introduction to using source blocks. I hadn’t seen awk used in a code block before and was pleased to learn about the :stdin and :in-file parameters as way to direct input to awk. And although it’s obvious in retrospect, he also shows how you can put data in an EXAMPLE block and use it as input to a code block.

Even if you know a bit about Org source blocks, it’s definitely worthwhile taking a look at Herrlin’s post. If you’re trying to come to speed with source blocks, I’d read Herrlin’s post, followed by Abrams’ Literate Devops post, and then watch Mike Hamrick’s video on consistent technical documents. They cover different aspects of source blocks and together serve as a splendid overview on ways to use them.

Posted in General | Tagged , | Leave a comment

Privacy Pirates

Everybody—especially readers of Irreal—knows that our browsing habits and Web activities are being vacuumed up by the malignant Adtech industry but you probably have no idea of how out of control they are. Techcrunch has a terrifying and infuriating article on Oracle’s BlueKai and how they track what you’re doing on the Web.

If you’re like me you probably thought that meant they put some tracking cookies on your machine when you visit certain sites but it’s much more than that. BlueKai has a massive database and, of course, they lost control of the data and it leaked. Leaked billions of records. Here’s a couple of things they know:

  1. A German man placed a €10 bet with a prepaid credit card. The entry had his name, address, email address, and phone number.
  2. A person unsubscribed from a mailing list. The database entry showed the person was interested in a car dash-cam and even knew what model of iPhone he was using and that its iOS was out of date.

The trick BlueKai uses to gather their data is to drop a tracking cookie on your browser and also put a tracking pixel in the site’s HTML so that they can tie your identity to where you browse. This should be illegal but of course it isn’t. The Hey email service that I wrote about before, disables tracking pixels. It would be nice if the major browsers would follow their example.

Posted in General | Tagged | Leave a comment

On Amazon and Walmart

I like Walmart. They have a wide selection of products that are easy to find and have prices that are lower than many other stores such as the local supermarket. But I hate going there. The aisles are crowded usually with rude people who stop their carts in the middle of the aisle so you can’t get by. The service at the Deli is excruciatingly slow and they mostly don’t bother with the take-a-number so if you daydream, someone will jump in front of you. The checkout process is horrible, and, of course, they stubbornly refuse to enable Apple Pay, preferring to make the risible claim that the non-starter Walmart Pay is more popular than Apple Pay.

Still, I found that I went to Walmart more often than other stores with similar merchandise. That changed with COVID-19. Now I don’t go to Walmart—or any other large stores—at all. I order my groceries from the local supermarket and have them delivered by Instatcart. Almost everything else I buy from Amazon. I can get virtually anything I used to buy from Walmart from Amazon, usually at a lower cost. I’ve realized that there was no reason to drag myself to Walmart when I could simply order the same thing from Amazon and have it brought to my door.

To get to the point of this post, having to rely on having food and other goods delivered has made me wonder whether other folks will reach the same conclusion that I did and just stop going to Walmart and other walk-in stores. Yes, yes, our Aunt Millies will always want to try on that dress before they buy it but Aunt Millie is literally a dying breed. Younger people and even some of us who aren’t so young have no problem ordering clothes on-line and sending them back if there’s a problem. And yes, even I like to poke around the Apple store just looking at things but I also just ordered a couple sets of AirPods from Apple’s Website.

Much has been written about how COVID-19 has probably changed how we work forever. I think it’s likely—or at least possible—that it has also changed how we shop. Some people, to be sure, will prefer to go to an actual store—especially grocery stores—but there will probably be fewer of them and if the number is low enough, chain stores will find it more economical to move completely on-line.

Posted in General | Tagged | Leave a comment

Using an ODT Style Sheet With Org Mode

Over at the Emacs Notes blog there’s an interesting tutorial on how to style ODT output when exporting from Org-mode. The tutorial uses the “problem” of producing a manuscript for a novel. That’s a good example because literary publishers like to pretend that we’re still using typewriters and the manuscripts, in addition to having a highly stylized format, are most often rendered in Courier.

The tutorial shows an example of the output you’d get from Org normally and then the desired format you get after adding some XML definitions to your Org file. It’s very much like adding HTML definitions for exporting to the Web. The process is a bit complicated but the tutorial steps you through what has to be done.

Most of us aren’t writing novels, of course, but many of us do have to produce ODT files either as an end product or to accommodate our colleagues. That’s not a problem until the document needs special formatting. This tutorial tells you how to make a style sheet to do this. If you’re producing the same type of document many times, you need only to do this once.

If you’re interested in learning how to control the formatting of Org-mode ODT output, this tutorial is definitely worth taking a look at. The author did a lot of research and hunted up information that’s hard to find. Reading it will save you a lot of time.

Posted in General | Tagged , | Leave a comment

Emacs: The Editor for All Seasons

Derek Taylor is a Linux vlogger who was, apparently, undecided between Emacs and Vim. He likes them both, and he and I are in agreement that they are the two editors for serious developers. He’s been using Emacs more lately—although with Doom so he hasn’t really abandoned Vim—and has become one with the force. So much so that one of his recent videos declares that he replacing all his programs with Emacs.

That’s a bit of hyperbole, of course, but he does say that the more he uses Emacs the more he wants to use it for everything. As regular Irreal readers know, I can sympathize. I’m down to essentially Emacs and Safari for almost all my work and am eagerly looking forward to the day when I can ditch the browser.

The video itself explains why he feels this way and shows some (but not all) of the Emacs features that he’s using to replace other programs. He takes a look at Org-mode, dired, mu4e, elfeed, and eww. He also mentions, but does not demonstrate, magit and emms.

The video is just shy of 12 minutes so you’ll probably need to schedule some time. If you or someone you know is wondering what Emacs has to offer and whether you should give it a try, this video may help you decide.

Posted in General | Tagged | Leave a comment

Elfeed for Videos

As you all know, I’m a huge fan of Elfeed. It’s made reading my feeds a breeze, works just the way I want it to, and, of course, runs inside Emacs. You probably also know that I’m not a Google fan and even though there are several YouTube series that I follow, I don’t like to subscribe to them and expose my interests to Google’s advertising behemoth.

Josh Rollins has a nice post on Elfeed that describes how to track YouTube channels without subscribing. That’s handy for the same reason it’s handy with blogs and other feeds: you don’t have to check in everyday with your YouTube channels. You just add them to Elfeed and let it notify when there’s something new you may want to watch.

Privacy is enhanced because you’re not running in your browser. Rollins uses MPV to view the videos but you can use whatever you want; you’ll just have to adjust the Elisp that he describes. His rendition is derived from one by Noonker.

If you’re an Emacser and read RSS feeds, you should definitely be using Elfeed. I’ve said that every since I started using it but now that I know you can also use it to keep track of YouTube videos I’m going to double down on that recommendation.

Posted in General | Tagged , | Leave a comment