You’ve got 16 million colors to choose from. Which ones do you pick for your color theme? Turns out, Mother nature always knows best! Follow this guide and your UI will have natural looking color combinations with great UX.
theme | THēm | noun
an idea that recurs in or pervades a work of art or literature
Translation for design systems: A set of colors that recurs in an interface.
We have 2 easy tasks ahead of us:
In this series, I’ll be…
Pop Quiz: Without cheating, describe what color this hex code is likely to represent:
#03A87C? Here’s a hint:
RGB(3, 168, 124) (did that help at all?)
— The answer: ¡uoʇʇnq ʍoןןoɟ ǝɥʇ ɟo uǝǝɹƃ ǝɥʇ s,ʇI
What do you do when someone rubs you the wrong way, does you wrong, or treats you poorly? Our goto is typically to go run and tell someone, gossip behind their back, or cut them off, or even get revenge somehow. Well, there’s this one verse in the Old Testament that gives some pretty solid advice about what to do during interpersonal conflicts. It described to ancient people what to do, and when I read this, it changed how I handled conflict forever. Here is the verse:
Moreover if thy brother shall trespass against thee, go and tell him his…
A newlywed couple, a landscaper, a cat-burglar, and a bird-watcher take a stroll down the same suburban neighborhood on a sunny May afternoon. The newlywed couple sees the potential for future children playing in the yard, and wonders what the schools might be like in this area. The landscaper is looking for uncut lawns, overhanging branches, immediate opportunities to provide service the homeowners. The cat-burglar is looking for more nefarious things: potential hidden entries, security cameras, vulnerabilities. While the bird watcher is completely ignoring the homes, and using her ears, and scanning the tree tops, listening for nature’s singers.
As of writing this, I am using the latest version of Python on my machine: 3.8.5. It is usually fine to use the latest version. Except every now and then, something juicy requires an earlier version of Python for it to work, or in some cases, it won’t even install without that older version.
In this case, I’m talking about Kivy. It’s a super slick front end app development library for Python. It lets you develop mobile apps for your device completely in Python, and it’s really solid from what I can see (it even supports Material Design). But for…
People like e-ink displays for the same reasons they like regular paper. It has a wide viewing angle, doesn’t beam rays of blinding light into your eye sockets, and doesn’t consume any electricity to keep a picture on screen. In fact, it only uses electricity when changing the display, meaning images can remain on screen for days on end without consuming any power at all. Since E-Paper is still a developing technology, manufacturers and researchers are continually raising the bar on resolutions, refresh-rates and color capabilities — and as a result, they are only gaining in popularity.
Rapid implementation of symmetric key encryption using the Fernet cipher, in Python’s cryptography library.
Symmetric key encryption is one of the simplest forms of message encryption where sender and recipient(s) utilize the exact same secret key to both encrypt and decrypt. The key is shared securely with all parties that want to read the ciphertext, and they decipher it by loading it into the algorithm that was used to encode it. Here, we’ll be using the AES128-bit Fernet cipher with Python’s cryptography library.
A “key” or a “secret” in cryptography is just a chain of bytes generated by the cipher…
Situation: You’ve got your Pytorch or Tensorflow machine learning instructions on a GPU server, or hardware project connected to the GPIO pins on your Raspberry Pi, or a remote docker container on your secure air-gapped network, and you really want to dig in with an advanced IDE.
In some cases, you can run a remote development environment, but if you’re connected to a lightweight system, or you don’t have full access, you might find yourself faced with using what’s available on the remote system’s command line — usually nano or vim. …
How to set up a virtual environment: A super easy, lightweight solution to quickly and efficiently set up portable environments for your Python projects. Let’s begin.
What is a virtual environment for? Why do you need one? A virtual environment helps keep your project bundled together with a list of its dependencies. This makes it portable and easy for someone else to open your project and get it up and running without dozens of import errors. We’ll assume you know why you should have an environment but have you been digging around for a straightforward tutorial without all the fluff…
This article covers defining tensors, and properly initializing neural network layers in PyTorch, and more!
You might be asking: “How do I initialize my layer dimensions in PyTorch without getting yelled at?” Is it all just trial and error? No, really… What are they supposed to be? For starters, did you know that the first two required arguments of a
torch.nn.Conv2d layer, and a
torch.nn.Linear layer ask for completely different aspects of the exact same tensor data? If you didn’t know this, keep reading.
Example 1: Same, same, but different.
Constructing a convolution layer and linear layer are syntactically…
Product designer, machine learning, music production