Cory Dransfeldt

April 1, 2021

Digital privacy tools

The New York Times: “Everything you do online — from browsing to shopping to using social networks — is tracked, typically as behavioral or advertising data. But browser extensions are simple, generally free add-ons that you can use to slow down or break this type of data collection, without completely ruining your experience of using ...
Read more

March 20, 2021

Tech companies urge FCC to reinstate net neutrality

Dropbox, Mozilla, et al: “We are writing to express our support for the reinstatement of net neutrality protections through Federal Communications Commission (FCC) action. As leading internet-based businesses and organizations, we believe that these fundamental safeguards are critical for preserving the internet as a free and open medi...
Read more

March 18, 2021

California banning "dark patterns"

Business Insider: “As of March 15, the California Consumer Privacy Act bans companies from using "dark patterns," or website designs that can confuse or trick users into opting into selling their information. The law bans tricks like burdening users with confusing language or forcing them to click through multiple screens during the pr...
Read more

March 13, 2021

Update OS X from the command line

If you don't want to bother dealing with the Mac App Store you can check for any recent updates for OS X from the command: sudo softwareupdate -i -a You can also combine this with commands to run Homebrew and Cask updates (allowing you to quickly update things quickly and efficiently): sudo softwareupdate -i -a && brew update && brew u...
Read more

March 13, 2021

Filtering duplicate values from an array in ES6

There are numerous ways to filter duplicate values from an array in Javascript, but ES6 provides with a few simple solutions: Set let arr = [1, 1, 2, 2, 3]; /** * @name: deduplicateArray * @docs: MDN * @note: Set objects are collections of values. * You can iterate through the elements of a set in insertion order. * A value in the Set ...
Read more

March 12, 2021

JavaScript: What is the meaning of this?

Jake Archibald: “JavaScript's this is the butt of many jokes, and that's because, well, it's pretty complicated. However, I've seen developers do much-more-complicated and domain-specific things to avoid dealing with this this. If you're unsure about this, hopefully this will help. This is my this guide.” A handy walkthrough on a trick...
Read more

March 12, 2021

Native JavaScript date and time formatting

Elijah Manor: “For many years I used the moment.js library for parsing, manipulating, and formatting JavaScript dates and times. More recently I've started using the date-fns library instead. However, it's interesting to note that native browser capabilities are quite good these days when formatting dates and times and the browser supp...
Read more

March 12, 2021

Syncing macOS app preferences and dot files

I've been using a command line tool called mackup to back up and sync many of my dot files and application settings on macOS. You can install the tool via pip or homebrew. I installed it via homebrew and set it up as follows: brew install mackup mackup backup By default mackup will back up your files to a file named mackup in the root ...
Read more

March 11, 2021

The cost of data

Vaidehi Joshi: “The internet grows every day. Every second, one of us is making calls to an API, uploading images, and streaming the latest content.” It's interesting — and harrowing — to think of the impact the internet and the technology that underpins it has on the climate. The internet is so ubiquitous (even when setting pandemic-i...
Read more

March 10, 2021

2021 reading list

I've been working on making reading a habit again for the past few years (my streak in books is currently 383 days). Here's where I'm at for 2021 so far: Finished • Kill Switch: The Rise of the Modern Senate and the Crippling of American Democracy, by Adam Jentleson • Working in Public: The Making and Maintenance of Open Source Softwar...
Read more

See more posts »