Grow With Studio

Grow With Studio is Design and Marketing agency focused solely on helping ecommerce stores grow sales. They’ve helped businesses increase their revenue on average by 90% in their first year with them!

The post Grow With Studio appeared first on WeLoveWP.

A Complete Guide to Managing Time and Date Periods With a Chatbot

Business Challenge

Dates are the key parameter that is mandatory in numerous business scenarios like Leave or Travel Request Creation, generating conversational reports for backend data for the date or period. However, it sometimes appears to be a challenge to record various date formats and combinations (one date, several dates, period).

Prerequisites

This tutorial is meant to be for advanced users, so if you haven’t built your first bot, follow this tutorial.
If you want to learn how to master memory management using the bot builder on SAP Conversational AI platform, please read this article first!

The Bill of Materials in Maven

This blog was first published at Knoldus Blogs.

Lately, while working with Spring WebFlux, I came across this really helpful concept called the bill of materials, also known as BOM, a concept not really limited to Spring at all. BOM is one of the few ways Spring helps us forget about issues related to transitive dependencies and focus solely on our project requirements.

Themeisle

Themeisle is our main site for our WordPress themes, plugins, and blogging business. We recently rebuilt the site from scratch with Neve, Elementor, and Gutenberg. The site is a gateway to both a store page for theme/plugin purchases and a blog. It was important to balance our fun-loving approach with our business goals. We think we did it!

The post Themeisle appeared first on WeLoveWP.

The New Look of IT

Over the last decade, the digital transformation of the world’s economy has had a profound impact on the way companies do business and the way people interact in this connected world. After the destructive .com bust and the great recession, a huge digital build-out ushered in the “Age of Software & Digital,” where business innovation and software innovation are becoming one and the same.

IT organizations, most of which formed in the last century, are at the center of this build-out and transformation. In the past, IT organizations were a back-office function keeping the lights on and ensuring applications supported the business. This is no longer the case as IT is at the center of business innovation.  Some say that the future has arrived, it’s just distributed unevenly. This is especially true for IT. The digital marketplace is most unforgiving. Many will not survive, but the winners do stand out. They have this new look.

Istio Service Mesh Data Plane

As enterprises transition from a monolithic to microservices architecture, they have found it difficult to manage the service to service communication and handle functionalities such as security, traffic control, resiliency, monitoring, metrics, and logging. More requirements like A/B testing, canary releases, rate limiting, policy enforcement, access control, and end-to-end authentication become another burden. Istio solves such complex requirements while not requiring changes to application code.

A service mesh allows applications to offload these capabilities from application-level libraries to a separate infrastructure layer and allow developers to focus on the business logic itself. Istio is one of the best implementations of a service mesh.

Holy Zdog!

David DeSandro's new JavaScript library Zdog:

Round, flat, designer-friendly pseudo-3D engine for canvas & SVG

It's made a massive impression upon people! My bet is because the API is so attractive. It turns these incredible illustrations from I could never pull off something like that into oh! I get it!.

Just look at the Hello World example of using it:

See the Pen
Zdog - hello world canvas
by Dave DeSandro (@desandro)
on CodePen.

Manipulating those numbers and adding new shapes is almost as easy as fiddling with CSS.

ChenXin_nth built a flamingo as designed by Hedorah, incorporating a bit of GSAP:

See the Pen
Flamingo (ZDog + GSAP)
by ChenXin_nth (@chenxinnn)
on CodePen.

Jack Rugile built an incredible space scene with a swirling neon planet:

See the Pen
Zdog Space Scene
by Jack Rugile (@jackrugile)
on CodePen.

Christina Gordon went all Doctor Who:

See the Pen
Zdog Tardis
by Christina Gorton (@cgorton)
on CodePen.

Sellooh made a ninja:

See the Pen
DLive
by Sellooh (@marcelohenrique180)
on CodePen.

Adam Kuhn brought the Studio Ghibli vibe:

See the Pen
ZDog Totoro
by Adam Kuhn (@cobra_winfrey)
on CodePen.

Jhey got all scientific:

See the Pen
Zdog DNA Helix 🐶
by Jhey (@jh3y)
on CodePen.

ZIM brings UI controls to canvas-based tools, and here they are demonstrating how that can work with Zdog:

See the Pen
Using Zdog with ZIM Components and Controls on Canvas
by ZIM (@zimjs)
on CodePen.

Gary O brings the YAYYYYY:

See the Pen
Pixel
by Gary O (@gloriousruler)
on CodePen.

Lim Chee Aun wakes us up:

See the Pen
Zdog Coffee Cup
by Lim Chee Aun (@cheeaun)
on CodePen.

Andy gets fancy with drawing shapes like hearts and stars!

See the Pen
Zdog Like <3
by Andy (@kotAndy)
on CodePen.

Bob Main builds entire planets!

See the Pen
Habitable Planet Generator with zDog
by Bob Main (@robbobfrh84)
on CodePen.

The post Holy Zdog! appeared first on CodePen Blog.

Microsoft Deletes Its Own Image Database for Face Recognition

Microsoft isn't the only entity these days questioning the ethics behind facial recognition.
Image via www.vpnsrus.com

In a quiet move that likely reflects Microsoft's growing concern over the misuse of facial recognition technology, the company deleted its own MSCeleb database, a collection of 10 million images that has been used to train facial recognition systems across the globe since its release in 2016.

As the BBC points out, "the deletion comes after Microsoft called on US politicians to do a better job of regulating recognition systems" due to their "broad societal ramifications and potential for abuse."

The State of Databases 2019

I had the opportunity to hear Dinesh Joshi,  Senior Software Engineer and Architect at Apple and an active member of the Apache Software Foundation share his thoughts on The State of Databases 2019 while attending Percona Live in Austin, Texas.

Data is growing and will continue to do so. In 2019, humans will generate 40 zettabytes of data. Data continues to grow in importance from a business standpoint. Things like flight systems data for airlines and electronic medical records for hospitals need to be backed up, protected, and available on a moments notice.

Weekly Platform News: Feature Policy, ECMAScript i18n API, Packaged PWAs

Šime posts regular content for web developers on webplatform.news.

New Feature Policy API in Chrome

Pete LePage: You can use the document.featurePolicy.allowedFeatures method in Chrome to get a list of all Feature Policy-controlled features that are allowed on the current page.

This API can be useful when implementing a feature policy (and updating an existing feature policy) on your website.

  1. Open your site in Chrome and run the API in the JavaScript console to check which Feature Policy-controlled features are allowed on your site.
  2. Read about individual features on featurepolicy.info and decide which features should be disabled ('none' value), and which features should be disabled only in cross-origin <iframe> elements ('self' value).
  3. Add the Feature-Policy header to your site’s HTTP responses (policies are separated by semicolons).
  4. Feature-Policy: geolocation 'self';sync-xhr 'none'
  5. Repeat Step 1 to confirm that your new feature policy is in effect. You can also scan your site on securityheaders.com.

In other news...

  • Dave Camp: Firefox now blocks cookies from known trackers by default (when the cookie is used in a third-party context). This change is currently in effect only for new Firefox users; existing users will be automatically updated to the new policy "in the coming months."
  • Pete LePage: Chrome for Android now allows websites to share images (and other file types) via the navigator.share method. See Web Platform News Issue 1014 for more information about the Web Share API. Ayooluwa Isaiah's post from yesterday is also a good reference on how to use it.
  • Valerie Young: The ECMAScript Internationalization APIs for date and time formatting (Intl.DateTimeFormat constructor), and number formatting (Intl.NumberFormat constructor) are widely supported in browsers.
  • Alan Jeffrey: Patrick Walton from Mozilla is working on a vector graphics renderer that can render text smoothly at all angles when viewed with an Augmented Reality (AR) headset. We plan to use it in our browsers for AR headsets (Firefox Reality).
  • Pinterest Engineering: Our progressive web app is now available as a standalone desktop application on Windows 10. It can be installed via the Microsoft Store, which "treats the packaged PWA as a first class citizen with access to Windows 10 feature APIs."
  • Jonathan Davis: The flow-root value for the CSS display property has landed in Safari Technology Preview. This value is already supported in Chrome and Firefox. See Web Platform News Issue 871 for a use case.

The post Weekly Platform News: Feature Policy, ECMAScript i18n API, Packaged PWAs appeared first on CSS-Tricks.

Your first performance budget with Lighthouse

Ire Aderinokun writes about a new way to set a performance budget (and stick to it) with Lighthouse, Google’s suite of tools that help developers see how performant and accessible their websites are:

Until recently, I also hadn't setup an official performance budget and enforced it. This isn’t to say that I never did performance audits. I frequently use tools like PageSpeed Insights and take the feedback to make improvements. But what I had never done was set a list of metrics that I needed the site to meet, and enforce them using some automated tool.

The reasons for this were a combination of not knowing what exact numbers I should use for budgets as well as there being a disconnect between setting a budget and testing/enforcing it. This is why I was really excited when, at Google I/O this year, the Lighthouse team announced support for performance budgets that can be integrated with Lighthouse. We can now define a simple performance budget in a JSON file, which will be tested as part of the lighthouse audit!

I completely agree with Ire, and much in the same way I’ve tended to neglect sticking to a performance budget simply because the process of testing was so manual and tedious. But no more! As Ire shows in this post, you can even set Lighthouse up to test your budget with every PR in GitHub. That tool is called lighthousebot and it’s just what I’ve been looking for – an automated and predictable way to integrate a performance budget into every change that I make to a codebase.

Today lighthousebot will comment on your PR after a test is complete and it will show you the before and after score:

How neat is that? This reminds me of Gareth Clubb’s recent post about improving web performance and building a culture around budgets in an organization. What better way to remind everyone about performance than right in GitHub after each and every change that they make?

Direct Link to ArticlePermalink

The post Your first performance budget with Lighthouse appeared first on CSS-Tricks.

13 Common WordPress Mistakes to Avoid in 2019

WordPress is one of the most popular CMS platforms on the planet.

In fact, according to a recent study from Kinsta, 33.6% of all websites are powered by WordPress. Furthermore, the platform controls 60.5% of the CMS market share worldwide.

That’s the number one ranking position for both of those categories.

Since WordPress is so popular, it’s only natural that you might be using it to manage your website. Some of you might already be using WordPress. Regardless of your situation, you can benefit from this guide.

When it comes to creating and managing a website, you’re going to make mistakes. This is inevitable.

I’ve made mistakes as well, and I’m sure I’ll make more moving forward—that’s life.

But with that said, I’ve realized that some mistakes are avoidable. I’ve seen so many WordPress users make the same blunders time and time again, which is what inspired me to write this guide.

Whether you’re a WordPress beginner or if you’ve been using WordPress for years, you’re not immune to error.

Once you read this list, you’ll be able to stop mistakes before they happen. If you realize that you’re already making some of these mistakes, you can take the proper steps to fix them.

1. Overpaying

In order to get your website off of the ground, you need to have a domain name and web hosting service.

But I see so many new website owners fall into the trap of spending money on features that they don’t need. Domain registrars will always try to upsell you on additional services.

If you’ve never been through this process before, you may think that some of these add-ons are requirements since the pitches are presented so well. I’m referring to things like extra email accounts, enhanced privacy, and boosted security.

Depending on your situation, you don’t need the extras. You can save that money and spend it on other features of your website and business. It may not seem like a lot of money right now, but it adds up over time, especially when you’re being billed on a monthly basis.

It’s also important for you to choose the right WordPress plan for your needs.

Wordpress Plans

If you’re just blogging right now, there’s no need to pay more than ten times that price for an ecommerce plan just because you’re thinking about potentially selling something down the road.

You can always upgrade your plan when you’re ready to scale your site.

2. Not backing up

“It won’t happen to me” is the wrong mindset to have.

The last thing you want is to wake up one morning to learn that your site has been compromised and all of the data has been lost. Whether the server crashed or the site itself was hacked, you’re going to have major problems.

Time to start all over from square one, right?

That will be your only option if you’re not properly backing up your content. You need to set up automated backups on WordPress.

I’ve seen so many people lose everything on their website. This could have been easily avoided if they just had backups.

One of the best ways to backup your site is with plugins. Check out my guide on the best WordPress backup plugins to help you find one.

Always use cloud storage services. If you’re not using a remote location and just backing up content on the hosting server, you’re going to lose everything if the server crashes or gets compromised.

3. Not integrating Google Analytics

It’s impossible for your website to operate at peak performance unless you’re analyzing data.

I’ve consulted with countless website owners that don’t know basic information about their website such as traffic sources, conversions, top performing content, how people navigate, and things of this nature.

The best way to gain more insight into your website is with Google Analytics.

I highly recommend installing a Google Analytics plugin on your WordPress site. The best plugins give you reports on your audiences.

You’ll learn more about their behavior, events, shopping cart data, and conversion metrics. Then you can use this information to improve your website and target your traffic accordingly.

4. Ignoring updates

When you’re on your WordPress dashboard, you’ll probably notice an update notification from time to time. Here’s what it looks like.

Wordpress Updates

In the digital world, we get update notifications like this all of the time.

I’m sure you see messages like this on your phone, computer, and tablet. You can even get update notifications on your smart TV or refrigerator.

In those scenarios, it might be fine to just ignore them. But that’s not the case for WordPress updates.

It seems like people are afraid to install an update for the fear that it will cause their site to crash or something like that. But that’s just a misconception.

Certain themes and plugins will have problems if you don’t keep your WordPress version up to date. So it’s in your best interest to stay on top of these updates whenever you see that notification.

5. Choosing the wrong theme

It’s common for new website owners to struggle when it comes to designing their website.

If you don’t have design experience, I can see why this would be tough for you. However, the design is going to have a huge impact on the success of your website.

If visitors struggle to find what they’re looking for, it’s going to crush their user experience. So you need to take advantage of the themes offered by WordPress.

But there are thousands of WordPress themes. It’s overwhelming, to stay the least.

That’s why I see so many people just pick a theme for the sake of moving forward. Then they constantly play around and change the theme until the find the right one. This is a problem.

Rather than having to rebuild your site several times based on the theme, you’re much better off picking the best theme right from the beginning.

Pick a theme that looks good on desktops but is also mobile-friendly. It needs to be customizable and flexible based on your needs.

Make sure the theme you choose is compatible with plugins you’re using or plan to use. The theme must be optimized for peak performance and website speed.

6. Using posts instead of pages

When you’re creating content on your site, it’s important to know the difference between posts and pages. I’ve seen so many WordPress beginners using posts to create important pages on their site.

But posts and pages behave differently in terms of your website architecture.

website architecture

If you don’t distinguish the difference between the two from the beginning, things will get messy and confusing for you down the road as you publish more content and your website scales.

Here’s what you need to know.

Basically, pages are for timeless content. These are the pages that you won’t be changing frequently.

  • Contact page
  • Privacy policy
  • Pricing
  • Services
  • About us page

Posts, on the other hand, will be for things like articles, blogs, and news updates. These are time-based pieces of content on your site.

You need to know when to use a page vs. a post for SEO purposes on WordPress.

7. Ignoring SEO

If you’re just designing your site and adding content without thinking about SEO, you’re doing it wrong. This is another common mistake for WordPress beginners.

Without SEO, you won’t get people landing on your site to begin with. That’s why you need to learn SEO best practices.

High search engine rankings will result in more website traffic.

WordPress has some SEO tools built in, but you can always add plugins. Check out my list of the best SEO plugins for WordPress.

8. Confusing categories with tags

You can organize your content on WordPress with categories and tags. However, so many WordPress users don’t do this correctly.

I’ve seen websites with dozens of tags and no categories. On the flip side, I’ve also seen people with nearly 100 categories and zero tags. Neither of these approaches are correct.

Categories are the most general way to group content on your WordPress site. Tags are a bit more specific.

So a blog post may fall into one category but have multiple tags. For example, let’s say you run a news website. Some categories could be:

 

  • Politics
  • Sports
  • Weather
  • Local
  • Celebrity
  • Breaking news

While tags for a particular post could be “NBA finals” or “basketball” or “Golden State Warriors” for an article within the sports category.

9. Not monitoring speed and performance

I’ve seen WordPress users install hundred of plugins. They add different features and functions to their site while simultaneously adding hundreds of images, videos, and other interactive content.

But they do all of this without seeing how it impacts their site’s performance.

page speed

If your website is taking too long to load, then it’s going to have a huge impact on your bounce rates.

On the flip side, website visitors view more pages when your content loads faster.

Websites that load in two seconds or less get nearly nine page views per session. This compares to just three page views per session for sites that take eight seconds to load.

That’s why you need to take advantage of tools and resources that will monitor the speed and performance of your WordPress site. Review my updated guide on how to make sure your website is optimized for speed.

10. Poor security

Earlier I explained how WordPress was the most popular CMS platform. So it makes sense that it’s also the most popular target for hackers.

More than 90,000 websites are hacked each day. 83% of those sites are using WordPress.

If you’re not taking steps to increase the security of your WordPress site, you’re vulnerable to hackers, brute force attacks, and malware.

Any of these things would be detrimental to your site. Imagine the consequences of hackers stealing data from your company and customers. It would ruin your reputation, crush SEO value, and cause you to lose customers.

This is definitely something you want to avoid. That’s why I recommend installing one of the best WordPress security plugins.

11. Forgetting to remove demo content

When you first install WordPress, your site will automatically have a default page called “hello world.” Then there’s some default text on there as well that’s just basically a quick template for how your site can look.

If you forget to remove this from your website, it means that the content will be crawled and indexed by search engines.

Google will perceive this as low-quality and duplicate content since it’s all over the web from other people who forgot to delete it as well. That’s bad for SEO.

It’s also not a good impression for your site if someone visits and sees default content that isn’t supposed to be there. So before you start adding pages and publishing posts, removing the demo content should be one of the first things you do.

12. Not monitoring comments

Giving people the ability to comment on your blog posts and articles is a great way to keep your website visitors engaged.

After they read your opinion, they might want to join in on the discussion as well. People can even communicate with other users through the comments as well.

But there’s a problem with this. Comments sections have become a breeding ground for spam.

You definitely don’t want this to happen on your website. That’s why you need to monitor the comments.

monitor comments

Head to the discussion menu from your WordPress dashboard.

Then set it up for manual approval. You’ll get an email whenever someone posts a comment that needs your review. It will be easy for you to spot a legitimate comment from something that’s spam or unrelated.

13. Keeping your website public while you’re building it

Just because you have a WordPress site, it doesn’t mean that anyone should be able to view it before it’s complete.

Websites take time to build. A site that’s “under construction” shouldn’t be available for public access.

Again, public sites can be crawled and indexed by search engines. So if a site is under construction then it’s not going to be optimized for SEO.

Plus, you don’t want your customers or competitors to see your unfinished website. The best way to avoid this is by putting your WordPress site in maintenance mode while you’re building it.

Conclusion

Using WordPress to manage your website is a great idea.

While WordPress can be a powerful tool, it’s also a platform that’s easy to make mistakes on, especially if you’re a beginner.

Don’t fall victim to these common mistakes. Review this guide before you use WordPress and refer back to it frequently to ensure that you’re steering clear of these errors.

Var vs. Let in JavaScript

In this article, we wil be discussing the long running debate of var vs. let in JavaScript. We will also be discussing why the use of let is increasing in dev communities.

Var vs Let in JavaScript

Introduction

Declaring variables in JavaScript was not a cake walk until 2015 when ECMA 2015 was introduced and hence let and const was introduced and we got rid of var (it still works though!).

Using AI to Help Traders Behave More Rationally

Trading is an area of life in which automation has taken off like little other. While speed is undoubtedly a major selling point of robotrading systems, the ability to act rationally and devoid of emotions is also crucial to the success of such systems.

Despite robotrading taking off, however, human analysts are still prevalent in the financial sector, so it remains crucial to ensure that they act as efficiently as possible. Recent research from the University of Singapore explores whether machine learning can be used to help detect undue emotion in traders and help them act (and trade) more rationally.