Skip to main content

Posts

The Virus By the Numbers

I'm writing this because there's some really insane stuff that's being said by people who should really know better, and I'm sick of discussing it one post or email at a time. So, this is my One Big Post that I'll point people toward rather than bringing it up again and again. In case you haven't noticed, we're in the middle of a pandemic. Just so that we're all using the same terminology:  The virus is Severe acute respiratory syndrome Coronavirus 2 . It's usually abbreviated SARS-CoV-2. It's a brand new kind of Coronavirus, so for a while, before it had this awkward name, people were calling it "novel coronavirus". (For the non-English speakers and D students, "novel" is another word for "new".) The disease that the virus causes is called Coronavirus Disease 2019 , and it's usually abbreviated COVID-19. It's called that because it was discovered in 2019. This came out of nowhere in China in late ...

The Chromecast conceptual model

Google makes a device called Chromecast . It's a relatively inexpensive way to turn any TV into a "Smart" TV capable of playing movies or music. It's a clever bit of engineering, but I've run into a few people who have trouble understanding how they work. The key thing to understand is that the Chromecast is the device that's actually receiving and playing the movie (or whatever), and your phone is just the remote. Here's how the process works at a high level: You start watching a video on Youtube 30 seconds in, you decide that you'd like to watch the rest on your TV, so you press the "Cast" button. Your phone stops playing and tells the Chromecast "Get this video directly from Youtube and start playing at the 0:30 mark"  When your phone initially asks the Chromecast to start playing, it also specifies a "default thing" to do when the Chromecast is finished. If the Chromecast is playing a Youtube video, it might...

Separate Addresses and Have I Been Pwned

Many years ago, I started giving out a different email address to every places that asked for one. To do this, I had to own a domain and set up email hosting. When I first set this up, I accepted email addressed to any address at my domain. Since then, email security has improved a lot. To use security features like DMARC , I had to stop accepting all addresses and had to only accept mail from a list of valid addresses. A few years ago, a guy by the name of Troy Hunt started collecting the lists of compromised databases and passwords that were floating around the internet. He put together a site called Have I Been Pwned  (HIBP) and after proving your ownership of a domain, you can request a list of all of the accounts at that domain that have been compromised. You can also do the same thing for a single email address if you don't own a domain. It's important to remember that this isn't a list of ALL compromised accounts -- only the ones that have made their way to ...

Fixing Linux Audio

This is somewhat technical, and it's aimed at people who use Linux and are comfortable editing files from the command line. I was looking for a quick fix, but discovered that most of the documentation out there is wrong. So, I had to research what it all meant, figure out what the correct settings were, and write it all down. For the Impatient If you use Linux, and you're just looking for a quick way to make your sound better, add these lines to /etc/pulse/daemon.conf or $HOME/.config/pulse/daemon.conf   default-sample-format = s32ne default-sample-rate = 192000 high-priority = yes default-fragments = 8 resample-method = speex-float-10 I've tested this on Fedora and Ubuntu with no problems. Also, if you're using an external DAC (if you're not sure, then you're not using one), be sure that it has sufficient power (either plugged directly into the computer or into a powered USB hub. DO NOT plug it into an unpowered hub or dongle. A...

Oh say can USB-C

There's a new-ish connector on modern computers called USB Type C (often shortened to USB-C). It uses a small oval connector . It can do all of the things that existing USB connectors can do and more. Most significantly, it can send quite a bit of power, so it can be used to power laptops, monitors, etc. and it's a lot faster, so it can be used to send data, video, etc. So, it can replace literally every other connector on the back of a modern computer. Oh, and it's also reversible, so you don't have to worry about plugging it in backwards or upside down. Right now, it's going through the awkward chicken-and-egg phase that any new technology faces. Most people still have old USB printers, external disks, keyboards, etc., so computer makers are reluctant to switch entirely to USB-C. They leave a few old style USB connections, just in case. And since old computers and new still include a few old USB connectors, accessory makers stay with the old style of USB. In c...

Audio upgrade: Schiit Fulla 2

I recently purchased a Schiit Fulla 2 . I was on the fence about it for a long time, but it's held up well, and I'm pretty happy with it. So, here's a small product review. I should probably mention that I'm generally skeptical about "audiophile" anything. I've known too many people who spend way too much money on voodoo like "oxygen-free speaker cables". This makes me reluctant to trust reviews or spend money on anything that I can't test for myself.  I've heard good audio. I go to concerts. I know what music is  supposed to  sound like, and it wasn't what I was getting from any of my computers, even with decent headphones, lossless audio codecs, etc. On the other hand, we have some  Sonos speakers , and with those speakers and a good audio source, music can sound really good. Since I wasn't getting that level of quality at the computer, it meant that there was something between the computer and my ears that was part of ...

Papers 2018, Part 2

My adventures in bureaucracy, continued ... While I was contacting various agencies and embassies, Laura reached out to the appropriate people at her office and got yet another contradictory set of information. It also caused a spotlight to be shined on us from the great heights of an international corporate legal department. It turns out that Our visa renewal was not directly tied to the criminal background check. It was just a case of both needing to be redone at the same time, so all of the letters went out the same day. We received our new visa with an expiration date of... April 2018, which was a problem. It turned out to be nothing more than a typo. Someone entered the wrong date into a form somewhere. We visited the Kreisburo on Friday and they were apologetic and embarrassed. It's uncommon to see those things here, especially from the normally quite competent government officials. Apparently, the problem had already been detected and new visas were on the way. The cor...

Papers, please! 2018 Edition.

Musical score for this post: I've been in Switzerland for nearly two years, and my visa expires next month. I have to get a different kind of visa, which basically means doing all of the paperwork over again. The big problem: US bureaucracy. To renew my visa, I need to provide a letter from my government showing that I'm not a criminal. In most countries, that's a relatively simple process. But in the US: The FBI website says that I have two options: I can submit a paper form, or I can apply online. The website for applying online doesn't work. It gives an error as soon as I try to connect. Both the paper form and the electronic form require a copy of your fingerprints on an FBI fingerprint card. How do you get fingerprints? Just drop by your local FBI field office. Where's the nearest field office? Boston. After contacting the US embassy, they told me that the Swiss police can make fingerprints for me, but I need to bring a printout of the FBI fingerpri...

A Good Use for Guest WiFi

One of the key concepts behind network security is segmentation. In short, if two devices don't need to talk to each other, they shouldn't be allowed to talk to each other. That way, if one device causes problems, you can contain it and keep the problem from spreading to other devices. These days, many home WiFi routers include a "Guest WiFi" network. To use this, you create a separate WiFi network with a separate password, and your guests use that. There are a few reasons to do this: You can create a really good, really long password for your "real" network, and a short password that you change every time you have company over. Most routers keep the devices on the guest network separate not just from the main network, but from each other. This means that if one of your guests has a phone or laptop with a virus on it, everyone else is (relatively) safe. I realized, though, that there's a different, and perhaps better way to use this guest netw...

Stinky cheese, man

I'm living in a place that's known for it's cheese. There are hundreds of kinds of cheese at my local grocery store. I try something different every time I go shopping, and I've still barely scratched the surface of what's available. There's one kind of cheese that deserves special mention: Raclette . Raclette is strange for a few different reasons. Most notably, it's almost always served cooked, and there's a bit of a ritual around cooking it. You will never be offered raw raclette. Why? Raw raclette is pungent stuff. It's hard to describe the smell, but I've heard it described as a cross between sweat socks, vomit, and curdled milk. To say that it stinks is a polite understatement. So, why on earth would anyone eat it? Because when you cook it, you somehow cook the stink out of it, and what's left is sublime. It's a sort of oily cheese, and you get something like the best pizza or nacho cheese you've ever had. I've hea...

Good King Wenceslas looked out

Last year was our first year in Switzerland. Christmas fell on a Sunday. Everything closed early on Saturday (Christmas Eve) and everything was closed on Monday, but I assumed that they were just giving people an alternate day off. This year, Christmas fell on Monday, and everything was closed on Sunday, Monday, and Tuesday. Hmm. It turns out that some parts of Switzerland, including Zürich, celebrate Saint Stephen's Day (Stephanstag) on the day after Christmas. It's a bit odd for a Protestant Canton to be celebrating a saint's day, but Saint Stephen was a bit of an odd saint. I suspect that it's celebrated more as an extension to Christmas than as its own holiday, but a day off is a day off.

Amazon Key and Security Hypocrisy

People who work in security, particularly in computer security, get a bad reputation for paranoia and for always saying no. Some of those reasons are deserved, and some aren't. Security people tend to be more aware than most of the people around them of the potential consequences of omitting some security controls. They also tend to be more aware of how often security problems cause bigger problems like lost money, lost customer information, etc. But, the accusations against security people are also often true. Security people do have a paranoid streak. Sometimes, they get so caught up in what could go wrong that they neglect the advantages if things go right. "This could cost us a million dollars!" is a concern, but if it's something that will make billions of dollars, that might just be okay. To deal with this conflict, most organizations have come to rely on some sort of threat modeling. I've talked about it before, but in a nutshell, you think about way...

Because that's where the money is

So, the US Congress is talking about taxes again, and as always, everybody's trying to cut taxes for their donors without pissing off everyone else too much. I was curious about the effects on the bottom line of a tax increase, so I went looking for some data. I should be clear here. I'm not an expert in any of the relevant subjects: economics, statistics, policy, etc. I just wanted to understand what it means when they talk about cutting taxes for one group by a few percent. How much does that affect everyone else. We know that poor people don't have money to spare. Rich people do. On the other hand, there are a lot more poor people than there are rich people. Put another way, 1% of Bill Gates' income could pay off a lot of debt, but there's only one of him. 1% of an ordinary person's income wouldn't pay off much debt, but there are lots more normal people. So, how does it balance out? I found this really useful Wikipedia link showing the number of ...

When not to Encrypt

I'm publishing this as an unfinished draft because it came up in conversation. Hopefully, I'll go back and rework this later. If you're not a technical person, just skip this one. In technology circles, there's been a lot of talk about encryption lately. It's regarded as A Good Thing. If you take away one thing from this post, it's that encrypting your data is almost always a good idea. And, if you're not a technical person, you can just shorten that to "Always Encrypt". But, for the techncal people, there are edge cases. There are always @#$!@% edge cases. There are two primary reasons to encrypt: privacy and verification. Unfortunately, when it comes to TLS, they're mixed together. Verification is always a good thing, but there are times when the privacy is either unnecessary or actively harmful. For example: Waste. If you're downloading a public file, and you have another way to verify it, then encryption is just wasted memo...

Security or complication? Google Device Account and Emergency Email

I've had a Gmail account since they were introduced. I have an easy to remember account name, and Gmail includes a lot of nice features like checking other accounts via POP3, mail forwarding, and mail filters. They also have the best spam filter I've been able to find. As a result, a few years ago, I started sending all of my email through Gmail just to deal with the spam. To their credit, Google offers really great security for Google accounts. They came out with Google Authenticator a while ago, and they support U2F and other common two-factor authentication. They make it easy to see which applications have access to different parts of your google account and what bits of data have been accessed. It's all well thought out and quite secure. Except... Google makes Android available to anyone. The core portion is Open Source, and they license a lot of the add-ons under a pretty open license. As a result, lots of companies make Android devices. Unfortunately, those compa...

Ideas

There's no real pattern here. Just a few ideas for new websites that have been rolling around in my head. 1. Website idea: Central, shared contact information. I'd like to have a place where I can post my name, address, website, social media accounts (and a way to indicate whether I'm a regular user or I have an account but never use it), etc. for friends. Then, I'd like to show a slightly different profile to family. A third profile for prospective employers. Maybe a fourth or fifth for different clubs or hobbies that I participate in. Ideally, friends and family would create their own profiles, and they'd be able to subscribe to updates from mine. If I move or get a new phone number, I could update it there, and all of the right people would see it or be notified. 2. A "verifying" link shortening service. There are a bunch of services out there like https://tinyurl.com/ or https://is.gd/ . I'd like to see one that rates the honesty of the article...

And Again

Last night, yet again, America saw a terrible gun tragedy. This keeps happening, and we keep doing nothing. A few shootings ago (and isn't it terrible that this happens often enough to make that a valid unit of measure), John Scalzi wrote something in his blog that covered most of what I want to say, and he said it better than I can. However, there's another side to this and to so many other social and political issues that's been bothering me a lot lately: We're talking about the wrong things. So, here's my prediction on how the next few days of the news cycle will go: Lots of tentative finger pointing. "I'll bet that the shooter was a member of a race/religion/political party that I don't like!" As details unfold, a whole lot of "I told you so" from whoever was right in that random guessing game. Some knee-jerk reactions about "what we need to do". OBVIOUSLY, we need to either stop selling guns or buy more of them an...

Wreck a nice beach

I frequently use voice recognition on my phone. It's faster than thumb typing. When I moved to Zürich, the voice recognition had a terrible time with local place names. It's improved over time, but I'm pretty sure that it improved by flipping an internal flag somewhere that said "Try English, German, and French words in no particular order". The consequences are interesting, and not always an improvement. For example, yesterday, I said, "I was not feeling well today." My phone's voice recognition parsed it as, "iOS Nacht Frühling Welt zu die."

Cell Phones: Do as I say, not as I do

This is my standard advice for buying smartphones: Buy an iPhone if you can. If you really want an Android device, buy a Pixel. Try to avoid carrier phones. I recommend this because: Architecture matters. Apple devices are very locked down. Antivirus is unnecessary on iPhones. Patch speed matters. You don't want to be stuck waiting for your vendor or cell phone carrier. Apple makes everything, so their process is fast. With Pixel, Google makes the patches, and pushes them to phones quickly. I recently bought a new cell phone. What did I get? A Sony Experia Compact. Even I didn't follow my own recommendations. Why? Because even though I'm concerned about security, it's not my only concern. My priorities worked out like this: Must work with European cell phone frequencies. I actually own a Google Nexus phone, and I love it. Unfortunately, it's a US model, and I was finding myself with no coverage in areas where everyone around me was fine. Must be available ...

Accents

One of the things that you quickly learn when traveling in other countries is that it helps to adopt a stereotypical accent. When you say, " Schönen Tag," (Good day) you should try to say it in a stereotypical German accent. It sounds really weird to the locals if you don't. Same thing with " Bonjour" in French or " Ciao" in Italian. Just run with the stereotypes. If you're not mumbling the ends of the words, you're not speaking French properly. If you're not moving your hands, you're not speaking Italian properly. In Zürich, a lot of people speak English. In fact, I suspect that for most people, their preferred language order is Swiss German, English, then Hochdeutsch (High German -- what they speak in Germany). But, they all learn English from other Swiss people, so they speak English with a pronounced accent. I've picked up that accent. A lot. I don't do it when I'm speaking with other native English speakers or with ...