fabiochiu/medium-articles huggingface dataset:
Top 5 Logo Design Companies in New York, NY
By: They Make Design
Tags: New York, Design, Branding, Logo Design, Business

Choosing the Right Logo Design Agency in New York

When it comes to getting your logo designed, you want to make sure that you choose the right designers. There are many logo design agencies in New York for you to consider, but not all of them will be a good fit for your needs. We’ve put together this guide on how to find the best logo design company in New York so you can be confident in making an informed decision.

How much do logo design agencies charge?

A wide variety of rates exist depending on which logo design agency or freelancer is providing the service but usually logo design package starts from $2000 to $50,000 and more depending lots of factors.

What should I look for in a NYC logo designer?

You want to make sure that the logo designers you are looking at have experience designing logos and branding projects, can show previous work they’ve done on similar projects as yours (and preferably with companies of your size) and will give you realistic timeframes so you know what to expect for how long it’ll take them to come up with various concepts. You also need someone who is responsive, professional, easy-to-communicate with and has a good understanding of marketing principles.

Where is the best place to find a great logo designer?

You can find the best logo designer by looking up their portfolio, reading reviews and testimonials. Also try Google search or LinkedIn.

How do I choose a logo design agency in New York City?

There are many things to consider before choosing your logo design partner: examples include pricing, time frame, turnaround times, experience in the industry etc. Be sure to contact more than one company or freelancer when selecting your choice as this will ensure fairness and allow you an opportunity to compare services at little additional cost. The important thing is finding someone who has plenty of success stories from satisfied clients.

What are the steps in creating the best logo design?

The process of logo design can be broken down to a few key stages:
Designing my first coffee brand logo
By: Shalin Giri
Tags: Logo Design, Design, Graphic Design, Procastination

I was in my desk procrastinating, and it has been a while I have not done any UI works and I was thinking to do something and suddenly I got a feeling to make some logos…. and now I was in a mission to make a logo of a coffee brand. Now, the problem was I was totally new to illustrator and I did not knew much about tools in Adobe Illustrator.

Now, 2021/06/07 I started to make logo… and i did it without any rough sketch(means I took a big risk)

here is the first try

I did not have any names for the brand so, I googled it

So, these are the names I found. Among those The Beanery took my eyes so……….. yeh did branding for THE BEANERY

Now… I saw it was time to change some thing…… here is the improved one

the second result came like this

now, it was time to finalize the thing and probably it looks good

the final result came like this. looks better than before right?

My friend REALITY DESIGNER I don’t know his full name but he helped me a lot in this process and motivated me to write the article
Best Branding and Logo Design Examples for Inspiration 131
By: They Make Design
Tags: Design, Branding, Inspiration, Logo Design, Visual Design

A logo that cannot be recognized, no matter what, is not going to make your business recognizable. The potential customers are going to see others instead of you. This is why it is important to pay attention to designing, and the choice of the designer is something that is equally important as the design itself.

Branding is a means of making your brand unique, memorable and recognizable. When it comes to uniqueness, brand identity is really important. In the very first place, a logo is a representation of the brand itself. Hence a logo design is absolutely essential. Some company specializes in providing the best designs for your branding. The fact that a custom logo design company can do wonders for your business is a proven fact.

Think of it in this way: a good logo design is a powerful tool for making your company loved by the customers and envied by the competitors. The company logo is a clear representation of the company’s identity, even the personality of the company’s owner. A good image of the company can attract customers to you, and make you ahead of your competitors. If you make your business better than the competitors, sooner or later, you can be the market leader.

A well-designed logo is enough to make your company unique. It’s the real mark of identity. That means making sure the company has the experience and expertise to see your project though with as little fuss as possible. These are factors it’s vital you keep in mind when selecting a designing company for your latest grand logo and branding design . In no time, a great logo design will emerge as your best business response to your marketing.

This is about why a logo design company is very important. The cost must be reasonable from the company you have selected to design your logo to service. There is no end to the client’s requirements. In short, it’s a good way to get something extra for your logo. The logo design that you are going to get should be adaptive to your business, and should be able to speak for the industry that your business is in.

A good logo design will always be the same, simple and effective — a regular identity template. A great logo is as unique as the business. In fact, you can hardly have a one-of-kind logo. A brand identity that is realistic and well documented will be a matter of great interest to a potential customer.

The best logo design company will certainly help you in making your company stand out from the rest. The logo design must be crafted properly in order to make sure your company stands out from everyone else. Well, this is it. This is the full story of the week. Hope you like it.
Case Study: Brand Identity for Lasso
By: Oleg Coada
Tags: Branding, Logo, Brand Identity, Logo Design, Case Study

Introduction

In February 2021, I received an email from Eric, the CEO of a medical marketing company that needed a new brand identity. After a discussion on Zoom with the CEO and the Creative Director of the company, I have reached the conclusion to start working immediately on the new identity.

The Company

Lasso is a medical marketing and software company that helps private medical practices generate patients online.

The Project

Creating the logo and the visual identity that tends to be memorable, techy, and trustworthy.

Discovery

The first step in the process was the Discovery phase. I sent a Brief to the client to complete it. Based on the given Brief, I understood who the company’s clients are, their age, where they found out about the company from, who are the competitors, how the company stands out from the competitors, and so on.

This step has helped me throughout the whole process to understand and maintain straight the branding direction.

At the same time, I made a large market analysis. Thus, I had a better understanding of its field of activity and found a unique way to differentiate the company from its competitors but to gain confidence from new customers.

Moodboard

Based on the Brief and on the first step in the process (The Discovery), I created 3 different Moodboards:

First based on the examples provided by the client that contained shapes, colors, fonts, and photos;

The second — I set the direction of the brand according to my own beliefs — of course, based on the analyses done before;

The last moodboard — a totally different direction from the first two options. This was in contrast to all the previous examples.

The reason I made these moodboards so varied, was to understand how the client visualizes the future brand.

Logo Design

After the client chose the desired direction from the moodboard options offered, I started working on the logo. I made the decision to focus around the first letter L, and the lasso symbol that is part of the company name.

Here’s the logo with the letter L, which is in a perfect combination with the lasso symbol. Rounded curves and corners provide a feeling of comfort. In addition, the color offers the digital feel, the field where the company mostly operates.
About That New Logo
By: The Cat Corner Unpad Cat Feeding
Tags: Design, Jatinangor, Unpad, Logo Design, Universitas Padjadjaran

We’re changing our brand look.

Unpad Cat Feeding was made for people who love and care about cats in Universitas Padjadjaran campus, for those people to connect while they made memories doing what they loved. We’ve since grown, originally made by three people in April 2021, now has genuinely giving impact and provide value to its people.

Our old logo

We need a bit of a visual update. New logo, new colours, but still the same Unpad Cat Feeding. Sstt… A little secret: Our old logo wasn’t even entirely made by ourself. No, seriously. The cat caricature of our old logo were using uncredited use of an artist’s work. There were no philosophies at all. Also it was aesthetically wonky to a keen eye. Which in a way was embarrassing.

And not only was our logo secretly messed up, but over time as we grew, we realized it was more of an enigma. What even was it? We asked our followers how our logo means to them and the answers were didn't great. They weren’t wrong.

How it’s made

Indeed we should not leave our campus colours behind. The traditional Unpad colours: Yellow, Red, and Black have certain meanings in them. We think it’s nice to include those colours in our new logo. The red cloud-shape above the trapesium is the representation of mountain summits around our campus: Mt. Geulis, and Mt. Manglayang. When the weather is nice you could see those mountains standing high from our campus lake, the Arboretum.

But mostly, we’re changing because the countless kind comments inspired us to change. Guess you can say we’re growing up a bit. Which is lame for a brand to say. But we’re grateful for the people who stuck with us, and we’re excited to welcome the newcomers.

Love 😻,

Unpad Cat Feeding
A New Face for FACINGS
Tags: Nft, Logo Design, Crypto, Nft Collectibles

FACINGS’ New Logo

A logo serves many purposes, especially in the creative world. Landing on an effective logo is a task nearly as daunting as starting the company itself. It’s the first impression to potential customers, clients, and competitors. It conveys the first notes of taste and attitude. An effective logo not only represents the brand, but the level of quality and consistency synonymous with the products or services the company provides. No doubt, when you think of shoes, streaming services, social media platforms, or even hamburgers, a specific logo immediately comes to mind. If you are reading this on your phone, your home screen is more likely than not lined with logos. They mean something, for better or worse.

Golden ratio — A staple in design that aided one of our creatives, Eduardo Garay, in developing the new logo

Here at FACINGS, we went through a lot of ideas for logos. Like, a lot. Every member of the creative team was tasked with developing their own collection of ideas; we even consulted an outside branding agency. I personally came up with 30 or so different designs. But as any illustrator will tell you: illustration and graphic design are not the same. But we all gave it a shot. Because we all have strong feelings about what we want FACINGS to be, and what we want it to represent in the ever-competitive and ever-evolving landscape of NFTs.

A guiding design by Eduardo Garay

After a lot of “maybes” and “strong contenders”, at the zero hour, a member of our team by the name of Eduardo Garay dropped magic on the table. And just like that, it made sense. The logo harkens back to the indie explosions and 90’s counterculture that many of us either grew up in, or in the wake there of. It is reminiscent, familiar, slick and concise; to meet the taste of the corporate monoliths that are slowly getting turned on to this “brand new” market of NFTs.

Eduardo Garay’s FACINGS’ design integrating above principals

Our aim is for our logo to become inseparable from our collective goals and values: top-shelf service and guidance to our clients as they enter this still-forming market, products that stand apart because of their quality as opposed to quantity, and fair and equitable treatment of various talents needed to make it all happen.

Meet the new face of FACINGS.

We’ll see you around.

~ Adam Mathison-Sward

Lead Artist

Near the River, MN
PSYCHOLOGY OF LOGO SHAPES
By: Kailash Agarwal
Tags: Web Development, Design, Graphic Design, Graphics, Logo Design

Do you have the right logo for your business? Do you know what is the right shape for your business?

Each shape of logo has a psychology behind it. Every shape emits a variety of emotions that should define your business.

Let’s understand the psychology behind the logo shapes so that when they are used in right way, it will reflect your company’s or work’s personality.

1. Circular Shape:

Circular shape logo stands for Community, Friendship, Love, Relationship, Unity, Perfection, Attention, and Protection.

Example:

Starbucks wants to show itself as a community of coffee lovers and it portrays that it pays attention to each and everyone (personalizing the cups with it’s customer’s names).

2. Rectangular Shape:

Rectangular shape logo stands for Familiarity, Trust, Order, Peace, and Uniformity.

Example:

Microsoft wanted to familiarize the people to it’s “Windows” technology, and wanted to gain their trust. Now you can see, how these square shaped windows gain your trust.

3. Triangular Shape:

Triangular shape logo stands for Power, Science, Religion, Law, Masculanity, Strength, Purpose, Energy, and Precision.

Example:

Delta jet services wants to show power, energy and strength. It is very subtle that science is involved in the jet services industry, hence the triangular shape of the logo, which looks like swept wings of a jet flying overhead.

4. Curved Shape:

Curved shape logo stands for Power, Femininity, Motion, Happiness, Rhythm, and Pleasure.

Example:

The curvy shape of the Coca-Cola logo signifies happiness and pleasure that one derives when they drink the soft drink.

5. Spiral Shape:

Spiral shape logo stands for Creativity, Growth, Comfort, Evolution and Excellence.

Example:

The spiral shape around the “H” in the Hilton’s logo suggests confort and excellence. It aslo shows that they have evolved as a hotel brand and provide services which cater to the latest needs and wants.

6. Abstract Shape:

Abstract shape logo stands for literal interpritation of ideas or directions.

Example:

The idea behind the eaten apple is very surreal. The apple is not some random apple, it is the Adam’s apple, which is a symbol of knowledge. The logo makes us interpret the Adam’s apple as a symbol of knowledge.

7. Vertical Lines:

Vertical lines signifies Masculinity, Strength, Superiority, Power and the idea of Rising Up.

Example:

Cisco is a well established company and it’s vertical lines represent superiority and strength. The vertical lines also represent the power of rising up from where it was initially.

8. Horizontal Lines:

Horizontal lines stands for Security, Community, Tranquility and Calmness.

Example:

IBM believed in giving it’s users a sense of security. It respresents communication and calmness for a company.
I will design modern unique minimalist business logo design
Tags: Minimalist, Business Logo, Modern, Logo, Logo Design

Are you looking for a unique modern minimalist logo design for your business or, website or, Blog? Then you come to the right place.

I have been working successfully on Logo Design at Fiverr Marketplace for more than 5 years. I have successfully worked with 1000+ clients on minimalist business logo design.

My course of action is >>>>

Requirement to read well > research > Then sketch > review well > get your approval > Then submit final

Why choose me?

Create all designs by scratch.

All designs will be high-resolution files

I will give all the necessary file formats.

A unique, modern, and minimal business logo expert

expert All designs will be copyrighted

Quick communication

Unlimited revision

Given a quick revision

N.B: I will continue to work with you until you are 100% happy and satisfied.

I provide you Quality Works, Not Quantity.

Feel free to let me know if you have any questions.

Regards,

Shamim395

Minimalist logo | Modern | business logo | Professional | Unique | Hand drawn | Typography | Signature | Feminine | Real Estate | Flat

VISIT OUR SITE: https://www.fiverr.com/share/eEYNlg
Case study: Package design and mockup process
By: Arun Nair
Tags: Product Design, Logo Design, UX Research, Case Study, Mockup

One fine day, I was on a call with one of my collegemates. Talking to me about him joining his friend, in a jaggery powder business. (considering his nickname was an apt business for him :-P). He was looking out for someone who could design packaging and some things for their website, So me being me I took up that project. As I wanted to learn and work on my research skills. So I visited their website and I saw the logo which looked like this

Which didn't look like a company which sold organic jaggery powder. It looked more like a company that worked with and sold something mechanical. So I decided to start with the logo, I got into reading and market(competitor) research. I was instructed by my mate to stick with the colour scheme of the website. This was the colour scheme I decided to go with.

The next step was to design a logo that went with the product that is organic jaggery powder. Well, jaggery is made using sugar cane and it is the healthier brother of sugar(not for diabetic people though). Since the product is direct farm to bowl I decided to stick to the raw material(sugarcane) and the place it will reach(bowl). So the logo design consisted of 2 main components, Sugarcane and a bowl. The design of the sugarcane was done in such a way that it kind of resembled bamboo as bamboo is a symbol of growth and strength. Here is how it came out:

The font that I used for the company name is “Giaza Pro” the reason being it gave a more premium look and a feel of luxury to the name. The name looked more elegant.

And this was the final design:

Before:

After:
Testing Retrofit converter with Mock Webserver
By: Daniel Horowitz
Tags: Android, Mockwebserver, Unit Testing, Kotlin Serialization, Retrofit

Photo by Rafael Garcin on Unsplash

For some time now and for different projects i’ve been using this combination of Unit tests + MockWebserver in order to fully test my Retrofit network integrations and let me tell, it saved me a lot of time bug fixing or trying to figure out what’s wrong with my JSON parser.

In this article, i’ll be sharing with you an approach for testing a Retrofit converter using the following stack

Coroutines for async calls

Mock api responses with Mockwebserver

JSON parsing with Kotlin serialization

Why?

The main idea is to make sure that the whole network integration is working before you start to implement other areas of your application. If you’re using Clean Architecture for example, you’ll be able to make sure your data layer is fully tested before moving forward to domain & presentation.

All of the code is available in this repo where I try to showcase some Android practices using the movie database api

The code

Let’s assume we have the following Retrofit interface

Now, for actually hitting this endpoint we have the following network data source

For the first test, we would want something very simple. Just test that given a successful JSON response (200 http code), we would be able to parse it correctly into our Data Transfer Object (DTO) data class

From the test above we can observe some important aspects

Focus on behaviour instead of implementation

The test asserts a simple outcome instead of focusing on implementation details. Note that if eventually the team decides to change the JSON converter, the test code itself would remain unchanged.

Use actual JSON responses

We are using a JSON file to represent our successful response from the `resources` folder inside test as follows

We register a new response with code 200 and the content of the response is defined by the JSON file we specified. When calling the enqueueResponse() method this is what we are actually doing

This tells our mock web server the status code and the body of the next response.

After each test, we shutdown the server

@After

fun tearDown() {

mockWebServer.shutdown()

}

And we’re done, that’s it! Now we have a test that not only checks that our parsing is correct but also our Retrofit configuration and converters are working as expected

For the full code and more please check the open movie repo and leave a ⭐️ if it helped you. Thanks for reading it until the end 👋
Unit testing a NestJS App — In shortest steps.
By: Nish Abe
Tags: E2e Testing, Unit Testing, Nestjs, Supertest

Developing a NestJS app is a joyful experience. Let's see how we can add unit tests and end-to-end tests to a NestJS application. I have learned a lot from this article written by Débora Barreto Ornellas and this write-up is based mostly on it.

There are five high-level steps that we need to do.

Create a sample NestJS application Add unit test cases Run unit test cases Add end to end test cases Run all tests

Detailed steps below:

1. Creating a sample NestJS application

Let's start by creating a NestJS application called ‘StudentGPA’. Go to your folder and run the below command in the VSCode terminal.

nest new StudentGPA

Create two services by executing the below commands:

nest g service student

nest g service api

Also, do an npm install and make sure the project runs as expected:

npm install

nest start

After confirming that the app is running,

your file explorer will look like this:

The concept of this app is simple. The class StudentService defined in student.service.ts defines a function that accepts the first name and second name of the student and returns the GPA. The StudentService class uses the other class called ‘ApiService’ defined in api.service.ts to get the student information. In real scenarios, this class will be communicating with a database or another microservice.

The annotated files are the test files that are automatically created. Please note the extension, .spec.ts. Unit testing is made possible in NestJS by using another framework called JestJS. The Jest framework search for the files with these extensions.

As a first step let's focus only on writing unit tests. This means we will be working in app.controller.ts, student.service.ts, and api.service.ts. We also need to add the getGPA function to the controller class so that it is available for consumers.

A modified app.controller.ts (AppController class) will look like below:

Now, we need to add ‘getGpa’ in ‘studentService’. Once added, studentService (student.service.ts) will look like below:

As you can see on line# 14, we are calling ‘getStudent’ method of ‘api.service’.

Now, ApiServicr will look like below:

You may notice that in Line#8, the url variable is incorrect. The exact value does not matter because our focus is on unit testing and in the unit testing, we will never hit the real endpoints.

Please do a ‘nest start’ to make sure everything is working as expected.
TypeScript unit tests best practices part 5: how to “unit test” (almost) everything in TypeScript
By: Thiago Oliveira Santos
Tags: Clean Code, JavaScript, Nodejs, Unit Testing, Typescript

How to stub an exported function?

This is quite simple. If you followed the tips to setup your tsconfig.json, your module is setted to commonjs, and you’ll not have any problem with this strategy. Let’s take the following code:

To mock otherFunction, just import it with “* as”, like this:

Look that it doesn’t matter the real return type of otherFunction: all that matter is that myFunction returns wathever otherFunction returns. This is guaranteed by this test.

And why this works?

If you transpile your code and take a look in the generated JavaScript, you’ll see that the call to otherFunction will look something like this:

otherFunction_1.otherFunction(123)

So, an object that is the result of a require contains a reference to otherFunction. In the test code, importing it with “* as” you’re simpling having access to another reference to such object and, in result, having access to the same reference the tested code have to otherFunction. That’s it. The secret to stubbing is just to guarantee that the test code and the tested code are pointing to the same memory address.

How to stub a class constructor?

Imagine this code:

Well… what I have to test here, anyway? It’s just the instantiation of a class!

But this function can be called in many places, and in all these places you are confident that the function is making it’s work right:

Instantiating MyClass with the right parameters

Returning an instance of MyClass;

Isn’t it worth it to ensure that this work is made right, given the extensive usage?

The answer is yes, it always is. The goal is 100% coverage, so no code is not worth it of a unit test.

You have two strategies here:

Just check if the returned instance is a MyClass one: not very good. What the MyClass constructor does? Will you mock all the methods this constructor calls? How you’ll ensure that the right parameters are passed? Remember: you must not need to worry about the scope of method X when testing method Y, so, no, we do not recommend this option;

not very good. What the MyClass constructor does? Will you mock all the methods this constructor calls? How you’ll ensure that the right parameters are passed? Remember: so, no, we do not recommend this option; Stub MyClass constructor: Yes. This is the way.

But we know how to stub functions and methods, but how can I stub a constructor?

The answer is quite simple: in JavaScript, a class is nothing more than a function that returns an object based on a prototype. So, you can mock a class like any other function. Let’s see how we can do it here:

When you come from a strongly typed object oriented language, this can be seen like sorcery, but yes, you completely overwrote the class construction and returned a mocked object of your choice. This object, also, could contain many stubbed properties to simulate methods of MyClass, or can be something completely different. All depends on your need.
Best Practices for Writing Brilliant Unit Tests
By: Sasha Mathews
Tags: Programming, Software Engineering, Software Development, Unit Testing, Csharp

Lack of Non-determinism in Unit Tests

Non-determinism in tests means that for the same logic under the test, the unit test sometimes passes, but sometimes fails.

To find the root cause of non-deterministic behavior, developers need to carefully examine the unit test code and the logic under test. Developers should look at the most common sources of non-deterministic behavior: DateTime object or lack of thread synchronization.

DateTime Object

This is an example of how using DateTime can produce non-deterministic test results:

A unit test can pass if the code runs very quickly within one tick, otherwise the test will fail.

The problem lies in the logic under the test itself, because the use of the DateTime object is hard coded inside the User class.

There are two ways to fix non-determinism, and both require rewriting the User class.

The first option is to pass DateTime instance as a constructor parameter to the User class. In this case, the unit test is sure that the same DateTime instance is passed in both the User object and the AreEqual method.

The second option is to implement IDateTimeProvider interface that will wrap the DateTime type.

Lack of Thread Synchronization

In the following example, non-determinism is caused by a lack of thread synchronization in the mapping logic.

Sometimes the output collection will be the same length as the input, but sometimes the length will be different due to the lack of thread synchronization when items are added to the output collection.

To make the unit test deterministic, you need to fix the mapping logic by adding a critical section or using concurrent collections.
Writing unit tests in Spring Boot with JUnit 5
By: Afrar Malakooth
Tags: Spring, Java, Spring Boot, Junit 5, Unit Testing

Feel free to fork the below example if you don’t have a project to continue,

In this example we’ll be writing unit tests for ContactService.java inside the package com.example.demo.service in the above repository. Create class ContactServiceTest inside src/test/java/com/example/demo/service directory as shown in the below given image.

ContactServiceTest.java

Then add the below given annotations at class level to indicate that this is a test class and to instruct JUnit to execute all test cases on the same test instance it creates.

@SpringBootTest

@TestInstance(TestInstance.Lifecycle.PER_CLASS)

public class ContactServiceTest {

Next auto wire the ContactService class into the test class. Use before all and after all annotations to create and delete the data needed to run the test cases.

@Autowired

ContactService contactService;



@BeforeAll

void setUp() {

Contact contact = new Contact();

contact.setName("Mohamed Afrar");

contact.setEmail("example@gmail.com");

contact.setCountry("Sri Lanka");

contactService.saveContact(contact);

}



@AfterAll

void tearDown() {

contactService.deleteById(1);

}

Then we’ll be writing test cases for findAll, findById and updateContact methods, one test case per method. Refer test annotated methods in the below given Gist.

Once your test class is ready you can run it either via IDE or build tool. I’ll be running the tests through IDE, but if you want to try it via the build tool use ./gradlew test command for Gradle. Below given image shows test execution results through IDE,

Test Results

Test class created above will be run against an embedded H2 database. But running tests against a database is not a good practice. Hence we need to integrate frameworks like Mockito in order to mock database calls etc.
Kubernetes Helm Charts Testing. Tools to use for Helm Chart Testing from Development to Release
By: Chirag Modi
Tags: Integration Testing, Helm, Testing, Kubernetes, Unit Testing

Validate against Kubernetes Manifests

Helm template is the command you can use to render/generate Kubernetes manifests/templates out of your helm chart templates.

There is a command Helm install to install/deploy charts to Kubernetes cluster. Internally, It first executes helm template command and then deploys generated template output to the cluster.

helm template . > deployment.yaml

Are your Kubernetes Manifests Valid ?

If you make mistakes while developing a chart then it might be possible that the generated Kubernetes Manifests generate errors when applied to the Kubernetes cluster but I want to know about those errors before deployment.

Kubeval is the tool to rescue. It’s a tool to validate your generated manifests against official Kubernetes specification and reports issues if any.

Can you spot any issue in this Deployment template ?

Invalid Kubernetes manifest file

Run kubeval against this deployment manifest and look at the issues.

➜ mychart kubeval deployment.yaml WARN — mychart/templates/deployment.yaml contains an invalid Deployment (myservice.nginx-deployment) — selector: selector is required WARN — mychart/templates/deployment.yaml contains an invalid Deployment (myservice.nginx-deployment) — containerPort: containerPort is required WARN — mychart/templates/deployment.yaml contains an invalid Deployment (myservice.nginx-deployment) — spec.replicas: Invalid type. Expected: [integer,null], given: string ##### This is the output if it was valid deployment #####

PASS — mychart/templates/deployment.yaml contains a valid Deployment (myservice.nginx-deployment)

Additionally you can specify Kubernetes version against which you want to validate generated templates using option “ — kubernetes-version v1.20.4”

Custom Validations against Kubernetes Manifests

Let’s say I have the following simple requirements.

Containers should not run as root.

Docker images should come from my org repository.

You can address this by implementing an admission controller in Kubernetes when resources get deployed to the cluster but would it not be nice if we can apply this custom validation before deployment ?

Conftest is a framework which allows you to write rules using OPA policies and run it against the Kubernetes manifests.

OPA policy rules for Kubernetes resources

Run these custom rules against deployment manifests using conftest which will report issues based on configured rules.

➜ mychart conftest test — policy . deployment.yaml FAIL — deployment.yaml — main — Containers must not run as root

FAIL — deployment.yaml — main — image ‘nginx’ doesn’t come from myorg.com repository 2 tests, 0 passed, 0 warnings, 2 failures, 0 exceptions

You can write any custom policies for all your resources which you can execute against Kubernetes manifests before deployment. That’s Pretty Cool.
Unit Testing in ts-jest with TypeOrm entities
By: Sebastian Hines
Tags: Nodejs, Ts Jest, Unit Testing, Typescript, Typeorm

The how to

Lets look at how you too can use this approach to unit-test your code with TypeOrm.

The idea is to create an in-memory sqlite database that we can setup when the test starts and tear down after the test

Prerequisites

To do this we are going to use the following npm packages

Typescript (must be installed locally for ts-jest to work)

Jest and ts-jest (ts-jest depends on jest)

TypeOrm (duh)

Better-SQLite3 (for the test db)

npm install --save typeorm

npm install --save-dev typescript jest ts-jest @types/ts-jest better-sqlite3 @types/better-sqlite3

Note that most of what we are installing is developer dependencies, so we dont clutter production with the packages we need for testing

We then setup a typescript project (im not gonna tell you how to do this — it differs a lot what people prefer, i typically go for something like:

My typical typescript / nodejs folder structure

testhelper.ts in the tests folder

TestHelper

To handle the database connection (and to simplify what we need to import in our spec files) we create a TestHelper singleton class

So lets just do a quick walkthrough here; standard singleton pattern, and two methods, the async setupTestDB() and the teardownTestDB()

As we can see, we create a new sqlite3 database (note that we are using better-sqlite3 instead of just node-sqlite3 — why? read here: https://www.npmjs.com/package/better-sqlite3)

This sqlite database is then referenced in the TypeOrm createConnection connection options. These options also point at the src/entity folder to allow this test connection to see our entities, and has synchronize: true so that our entities are synced everytime we run the tests.

In-use example

So, now we have a helper class that creates a typeorm database connection for us, how to use it?

Lets say we have the following code

A typeorm entity, NumberMap which stores a relation between a phonenumber and a home property

And the following Gateway class that manages these mappings

We can then do a gateway.spec.ts file with the following code to test these two methods

So using lifecycle methods of jest, beforeAll and afterAll we can create the connection to our in-memory typeorm database — which will then be active during the entire test suite (note how this allows us to test creation of an entity in one test and then consumption of this entity in a separate test)

So — using the above i have now begun writing unit tests for all parts of my backend applications — and i hope you can too :)
Validation in Swift, handle Errors
Tags: Error Handling, iOS App Development, Swift Programming, Unit Testing, Swift

We have a user … the user need to login with (his/her) name and password, we have a roles (name should be at least 3 letters, password should be at least 6 letters) my code first was something like the next image

It is work but it is not good at all

Now our code wok fine but it is hard to test, hard for reuse … so let’s make it easy … First we should make a struct responsible for validate our data

our struct has two static functions … one for validating the name and the other for password, each one throws if there is an error and return value of String if no throw happened.

implement our functions

After implement our functions we should throw any thing confirm Error protocol, which is defined by apple as following.

Error Protocol

So what will confirm Error protocol in our case? the answer is … (suspense music) … Enum, we define an enum that confirm Error protocol and carry our error cases.

Now we back to our ValidationService struct and throw the error for each case.

Now we go back to makeRequest() in our class and make our validation to something like that.

Because our functions in ValidateService are throws we put try before it and in do-catch block, so if any function throw it go to catch block which we find the error and handle it … so our showError method expect String from us not Error so we return to our Enum and extend it like this

Now go back to our makeRequest method and show the string message
The difference between Brand Asset Management and Digital Asset Management
By: Raul Tiru
Tags: Branding, Digital Asset Management, Brands, Brand Strategy, Branding Strategy

Brand Asset Management (BAM) consists of the organization, storage and retrieval of important branding information in order to communicate according to the brand guidelines and standards, therefore protecting the brand’s identity.

Digital Asset Management (DAM) is the organization, storage and retrieval of corporate digital media and marketing collateral along with their associated usage guidelines.

Sounds quite similar, doesn’t it? Although these management forms are often referred to as the same term, there is a distinction between the two.

A company’s brand is its most valuable asset. Brand value or customer based brand equity is built by continuous and consistent branding.

“Customer-based Brand Equity is defined as the differential effect of brand knowledge on consumer response to the marketing of the brand” — Keller

What are assets?

Digital or brand assets are valuable property of a company. They consist of, well, what else, digital files, aka digital media, images, documents, videos, presentations, etc. The distinction between an asset and a regular file is, and there is that keyword again, value. Digital files can be considered digital assets, but not all digital files are necessarily an asset to the company.

The assets of a brand, which are more or less tangible, play an important role for marketers who manage, control and maintain the corporate identity.

Digital Asset Management is a management form that carries the tools marketers need for consistent branding. DAM software contains the brand guidelines, a media library containing all the brand’s assets and a workflow module where all marketing publications can be monitored before they are published.

Digital Asset Management → Brand Asset Management → Brand Equity

In short: Digital Asset Management software contains, amongst others, brand assets. Therefore, Digital Asset Management complements and strengthens the Brand Asset Management. BAM adds value to a brand, which leads to high brand equity.

BAM or DAM software?

Luckily, you don’t have to choose between the two. Brand Asset Management is an integrated part of Digital Asset Management software. The main goal with DAM is the centralization and consistent use of assets, which includes brand assets.

DAM software is the librarian of your marketing department that never sleeps and never gets tired of your requests. Find out how your company can increase brand equity with Digital Asset Management.

Supercharge your marketing performance

Download the white paper and learn the impact of a DAM solution on your business.

DOWNLOAD
Building a brand
By: Amy Devereux
Tags: Design, Strategy, Brand, Website, Refresh

As with most startups, when these assets were created — while we strived for quality — speed and agility were our primary focus. We have always known we wanted to be approachable and welcoming, but we didn’t really develop the approach. Our primary takeaway from the audit was that we were heavily focused on objects. Our site contained (numerous) floating clay devices and our illustrative style had no people, with the exception of hands. Even though we may have brought in the product in a clean and positive way, we were missing the humanity — the life. With clarity on what needed to change, we began the next phase: strategic thinking through a visual lens.

We were missing the humanity — the life.

Ways-in concepts

This method of visual exploration consists of building moodboards to align around concepts. It’s not yet about how will ultimately look, but rather direction-setting for what we want to visually communicate with our brand identity. In other words, we were defining the overarching concept, not the visual result. This process involves pulling scrap (an assortment of found imagery) to help conceptualize this thinking.

We started out with each designer brainstorming potential directions and finding imagery to showcase the ideas. For example, one thought was around how Envoy facilitates connections — between technology and humans, person to person, and so on.

Some of the images pulled to represent “connectivity”—symbolically represented through pieces coming together, dots that form lines, or even complicated webs of thread. Please note that images were found for internal use only and are purely placeholder.

With 10 or so different categories, we spent a day “locked” in a room with each other and our ideas to narrow down the concepts. The images were printed out, tacked onto the walls (and for a while even spread across the floor). We talked through each one, cut apart pieces that were resonating most strongly, and reassembled them into fewer groups.
Why You Need Brand Style Guide ASAP (+5 Examples of Brand Guides)
By: Raul Tiru
Tags: Branding, Digital Asset Management, Brands, Brand Strategy, Branding Strategy

What do all great brands have in common? They are instantly recognizable. Recognizable brands don’t always need to incorporate their name in a logo. Here’s the proof:

However, a great logo isn’t enough to become instantly recognizable. Recognizability is achieved through continuous, consistent branding across all communication channels.

Consistent branding

Consistent branding leaves no room for confusion when it comes to brand communications. It means using the same logo, brand colors, fonts, imagery, and tone of voice, whether it’s a social media post or a PowerPoint presentation.

How to achieve consistency

In order to protect the brand, companies invest in a brand book. A brand book contains the correct logos, fonts, colors as well as the core values of the brand.

Brand consistency requires the entire company to fully understand and implement the brand guidelines in all internal and external communications.

The more detailed the brand book, the less room it leaves for inconsistency. You can go as far as describing the spacing between the lines of a written document.

A brand book should contain at least:

Brand mission and vision

The brand logo

Color palette

Typography

Here’s something that can help you determine other aspects of your brand personality:

How to get everyone on board

Enforcing brand guidelines isn’t easy. Make the brand book easily accessible to everyone. With easy access, people will be less likely to google your logo or use a random text font next time they are making a PowerPoint presentation.

You could also provide templates for presentations, proposals, business cards and other MarCom materials. With templates, people will be working within an approved, on-brand framework.

5 examples of awesome brand books

LinkedIn

LinkedIn has a clean and straight-forward web page that divides all components of the brand book into .zip files. You can download these files separately or you can download the complete brand book.

Red Cross

Red Cross keeps it short and sweet. Their brand poster tells you everything you need to know about Red Cross brand in a PDF.

*Santa*

Although Santa is technically not a brand, *Santa*’s brand book is a clever example of keeping things playful. This brand book is an initiative of the Quietroom.

Coca-Cola

Arguably the most recognizable brand in the world. From industrial design principles for equipment to overall proportions of the bottles, Coca-Cola’s brand book does not leave any room for misinterpretations.

MailChimp

Check out the section uniquely describing the tone of voice of the brand.

With Lytho, your brand book and templates are easily accessible on a smartphone, tablet or on a regular PC.

Secure brand consistency

Download our whitepaper and discover how a DAM safeguards your brand identity company-wide.

DOWNLOAD COMPARISON GUIDE
What the customer doesn’t want
By: 'Gbenga Onalaja
Tags: Seth Godin, Brand, Marketing

Brands pay us heavily.

To draw up brand strategies, craft the best ads and create stories that make them swoon, laugh, cry and smash that share button on Instagram; they pay us top dollar.

And because brands pay heavily for this, we’ve come to assume it must be what the customer wants.

But we are wrong.

The customer doesn’t want your big-budget ad once a year. They want you to make them smile every moment, every day.

The customer wants to know that you are there, always (even when they don’t get your weekly email blasts).

They want random love letters about things that mean something to them. Something other than their birthday or the Independence Day or a religious holiday.

The customer wants to receive a love letter celebrating the anniversary of their first car or their dog’s birthday or a warm note generally reminding them of the strength that resides in them even at their most broken.

They want to be loved by you in little meaningful ways. Not the “Netflix and Chill” type of love. The one that is a means to an end.

The customer doesn’t want to feel like an inconvenience. The customer wants to know that when the customer relationship manager says smilingly; “we are delighted to have you here today” it’s not just an act. She wants to know that when the manager means it when she says “I’d be happy to help.” They want you to say “we’ve taken care of it” and be true to it.

The customer doesn’t want another meme. Another app. Another lead-gen form. Another fancy profile on Techcrunch. Another Netflix special. Those are things we need as businesses.

What does the consumer want? To be loved in fluid and natural ways; not built around “means-to-an-ends”.

Where everyone is busy showing how much they care about their customers, they want you to actually care.