Tenetur itaque dolorum mollitia facere reprehenderit praesentium ullam. Accusantium id et illo ut eum. Dolore rerum qui sit eveniet ut nesciunt quam. Molestias fugiat omnis laborum quam.
This week, the owner of Coach and Kate Spade named Joanne Crevoiserat as its new chief, while Jen Sey was named brand president amid an executive reshuffle at the American denim company.
Programmers that come to Go from Python often wonder "do I need something like
The short answer is NO; this post will provide some additional details.
While virtualenv in Python is useful in many situations, I think it’d be
fair to divide them into two broad scenarios: for execution and for development.
Let’s see what Go offers for each of these scenarios.
There are multiple, mutually-incompatible versions of Python out in the wild.
There are even multiple versions of the packaging tools (like pip). On top
of this, different programs need different packages, often themselves with
Python code typically expects to be installed, and expects to find packages
it depends on installed in a central location. This can be an issue for systems
where we don’t have the permission to install packages/code to a central
Go is a statically compiled language, so this is a non-problem! Binaries are
easy to build and distribute; the binary is a native executable for a given
platform (just like a native executable built from C or C++ source), and has
no dependencies on compiler or package versions. While you can install Go
programs into a central location, you by no means have to do this. In fact, you
typically don’t have to install Go programs at all. Just invoke the binary.
It’s also worth mentioning that Go has great cross-compilation support, making
it easy to create binaries for multiple OSes from a single development machine.
Consider the following situation: you’re developing a package, which depends on
N other packages at specific versions; e.g. you need package foo at version
1.2 or above. Your system may have an older version of foo installed – 0.9;
you try to upgrade it to 1.2 and some other program breaks. Now, this all sounds
very manageable for package foo – how hard can it be to upgrade the uses of
this simple package?
Reality is more difficult. foo could be Django; your code depends on
a new version, while some other critical systems depend on an old version. Good
luck fixing this conundrum. In Python, viruatenv is a critical tool to make
such situations manageable; newer tools like pipenv wrap virtualenv with more usability
How about Go?
If you’re using Go modules, this situation is very easy to handle. In a way,
a Go module serves as its own virtualenv. Your go.mod file specifies the
exact versions of dependency packages needed for your development, and these
versions don’t mix up with packages you need to develop some other project
(which has its own go.mod).
Moreover, Go module directives like replace make it easy to short-circuit
dependencies to try local patches. While debugging your project you find that
package foo has a bug that may be affecting you? Want to try a quick fix and
see if you’re right? No problem, just clone foo locally, apply a fix, and
use a replace to use this locally patched foo. Tools like gohack automate this process in a very
What about different Go versions? Suppose you have to investigate a user report
complaining that your code doesn’t work with an older Go version. Or maybe
you’re curious to see how the upcoming beta release of a Go version will affect
you. Go makes it easy to install different versions locally. These different versions have
their own standard libraries that won’t interfere with each other.
|||Fun fact: this blog uses
the Pelican static site generator. To regenerate the site I run Pelican
in a virtualenv because I need a specific version of Pelican with some
Photo by ALFREDO ESTRELLA/AFP via Getty Images
For the second year in a row, Mattel’s Day of the Dead Barbie is a hit, but not without controversy.
Mattel introduced the $75 doll in September, and it quickly sold out, just like in 2019. Last year, the response was divided between people who worried that the holiday was being used as a cash grab, and those who were optimistic about the visibility for Mexican Americans, The New York Times reported.
Day of the Dead — or Dia de los Muertos — is a holiday celebrated in Mexico dating back nearly 3,000 years, combining Catholic and Indigenous traditions. Mattel explained back in 2019 that it hoped the Barbie would “honor the holiday for the millions that celebrate and to introduce people not familiar with the tradition to the rich meaning.”
Mattel did not immediately respond to Business Insider’s request for comment.
Both dolls were created by Mexican American designer Javier Meabe.
“I also know how important representation is in our community, and I wanted little girls to see themselves through this doll,” he said about his design this year, where he combined his own experiences and memories with research.
Barbie is one of the biggest winners of the pandemic, according to The Wall Street Journal. Mattel Chief Executive Ynon Kreiz said that retail level Barbie sales were up a staggering 50%, which can be partially attributed to parents trying to keep their kids off of screens. Now, Mattel is preparing to keep the momentum going through the holidays.
Take a look at the controversial, sold out doll here.
The doll’s face is decorated based on the “Calavera Catrina,” a popular image that emerged in art during the Mexican Revolution.
The character is often an inspiration for face paint on the holiday, and “calavera” means skull.
The 2020 edition also holds a bouquet of marigolds, a flower often associated with the holiday.
Last year’s Barbie, which Mattel said was one of its best selling dolls of the year, wore a black mermaid dress also decorated with marigolds and Calavera Catrina makeup.
Designer Javier Meabe was responsible for both dolls. “Traditions like marigolds, skeleton details, and Calaveras makeup were elements that I knew we had to keep but introduce in a new way,” he said of creating the 2020 edition.
Last year, Meabe told the Times that he based the doll on dresses his mother wore. “I grew up going to Mexico and I pulled a lot of that inspiration and things that I remember growing up.”
Reviews on Mattel’s website are largely positive. “I bought this for my Day of the Dead altar,” one buyer wrote.
Critiques of the Day of the Dead dolls echo earlier criticisms of Mattel’s Frida Kahlo Barbie doll. Critics argued that the doll erased Kahlo’s disabilities and lightened her skin tone. The doll is banned in Mexico.
A grand settlement looks unlikely in the short term
When AngelList and Venture Hacks co-founder Babak Nivi came to us and wanted to donate a theme, our team was excited to work on the design to make it available to everyone on WordPress.com for free. Designed by Cece Yu and originally developed for the Spearhead podcast, the new Spearhead theme is fully block-powered and the first among our themes to support dark mode.
Spearhead works seamlessly with the block editor, supporting a wide range of blocks — Audio, Video, Image, TikTok, Loom, and many more — so you can customize posts and pages as you like and showcase various types of content, from podcast episodes to video tutorials and more. And while Spearhead shines as a theme for media, its sparse design also displays long-form writing and text and images beautifully.
Spearhead comes with some block patterns, or collections of predefined blocks, to give you a boost as you start building your site. There are a couple of patterns you can use to show a list of places where people can listen to your podcast, as well as a custom archive page.
Being the first theme on WordPress.com to support dark mode, Spearhead’s default color scheme has a white background, but if your operating system shifts into dark mode, the theme will change and display a dark background with light text.
Our team especially loves the theme’s clean design, which lets the content you create shine through. Your listeners and readers can sit back with their cup of coffee — headphones on — and enjoy your latest episode and read along with the transcript!