This is a short but fun true story.

Birocratic (pronounced like “bureaucracy”) was doing what a lot of other talented but obscure independent musicians were doing in February 2013: posting beat tracks on Soundcloud and largely toiling away in obscurity.

While his funk-inspired musical output was high-quality, Birocratic (aka Brandon Rowan) found that it was very difficult to stand out from the crowd and build any kind of consistent audience.

Then one morning something changed

“All of a sudden one day I see a 4000 percent uptake in my views on Soundcloud […] I was able to reach a…


(Psst — if you’re busy and want a cheat-sheet see here: https://github.com/valgaze/redirection-fun/blob/master/cheatsheet.md)

Put simply, “redirection” is a method to save output and errors to a file (or suppress them entirely) instead of their default behavior of displaying on the screen. This can be useful because it may sometimes be desirable to store output/error logs for later analysis instead of letting them race by on the terminal. Redirection is also useful when using long-running or noisy tools.

If you want to run npm install, for example, and save the output to one file and any errors to a different file, this…


You can thank the EU’s General Data Protection Regulation (GDPR) for important emails like the following clogging up your inbox:

GDPR-Compliant Harmonicas

The reason so many firms are blasting out emails asking for permission to store user data and frantically updating their terms of service is because they’re terrified of running afoul of the new data-sheriff coming to town starting Friday 25 May 2018… the EU’s big and bad European Data Protection Board (formerly known as the Article 29 Working Group)

The Data Protection Board does not mess around: starting Friday 25 May 2018, if the Board determines that a firm has…


tl;dr: When you’re done, you’ll be able to pull down & run this image from your own private Docker registry:

docker run -p 8000:8000 <accountid>.dkr.ecr.<region>.amazonaws.com/namegame

Here’s our application running inside a container based off an image stored in AWS’s Elastic Container Registry:

The Name Game https://www.youtube.com/watch?v=NeF7jqf0GU4

Why?

Toy scenario: Imagine you’ve built an application and have a functioning Docker image. How do you go about actually getting that image deployed on another machine?

You could certainly just push the image to Docker Hub & pull it down elsewhere. But perhaps you can’t publicly publish the images or you require some tooling/integration that’s unavailable with the…


Gituation, (noun): A situation, oftentimes unpleasant or confusing, involving git commit histories

This note works through several practical examples of techniques you can use to get yourself out of tricky git-uations. If you’d like to follow along at home with a ‘real’ git history, you can clone the exercise repo using this command in your terminal:

$ git clone https://github.com/valgaze/gituations

Note: If you get stuck or reach an unrecoverable state enter the command $ npm run rebuild to reset the repo’s git history (if you do not have npm installed, you can also run the script rebuild.sh


#663399 // “rebeccapurple”

I recently encountered a visual bug where the style I was attempting to apply to an SVG element just wasn’t working. My first instinct when debugging a tricky styling issue is to fire up Chrome Dev Tools and attempt a sanity-test. I usually start by setting the misbehaving element to a noisy and ugly CSS color value like ‘blue’ or ‘red’ and examine any clues.

To my surprise, when I typed the first two letters of “red” — just “re” — the element was filled with purple. Was “re” some type of new obscure shorthand?

It turns out that Chrome…


“[…] for she would rather light candles than curse the darkness” — Adlai Stevenson

In case you’re not already acquainted, meet Connie:

00:19: “LA, you are stuck on stupid in fighting gangs because you think you can arrest your way out of the problem”

Connie Rice is a lot of things, but one thing she is not is an armchair advocate. She’s an agitator. She’s also a Thurgood Marshall LDF-trained civil rights attorney with a fearless streak and a blackbelt in Taekwondo. …


UPDATE: The EU’s new data protection rules have gone into effect and the WHOIS system is possibly on the chopping block. Read more here: https://medium.com/@valgaze/friday-may-25th-how-europes-gdpr-might-finally-break-the-internet-s-broken-whois-system-8bb009a2161f

— — —

It could be because of clumsy fingers (or a crummy mobile site), but whatever the reason, if you left accurate personal information publicly exposed on a WHOIS record, what would happen?

I wanted to find out — hypothetically speaking

Double-check to make sure to tap the correct target…you probably want “private”

Who’s WHOIS

WHOIS is a lookup service administered by various domain-name registrars who must provide free access (via a website and programmatically) to domain name registration data. In theory, the WHOIS protocol exposes a standard…


tl;dr: If you need to get around the Same-Origin Policy, CORS is probably most helpful and most services use it nowadays. See example repo for other techniques here (NodeJS required): https://github.com/valgaze/same_origin

—-

Read this and you’ll know what’s going on and what to do about it

I had a friend the other day (and for the record this isn’t some phony-baloney “I had a friend ask me the other day…” crap setup, this actually, truly came up!) who was stuck on an issue related to CORS configuration. …

Victor Algaze

Software engineer/sloganeer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store