Get Lifetime Access to the 2019 Interactive Coding Bootcamp for Only $39

The demand for programmers is high and continues to increase. As the market for programmers grow, the buzz around coding bootcamps grow louder. If you want to get a quick dose of coding education, but you don’t have the luxury of time, then the 2019 Interactive Coding Bootcamp is for you. Here, you can learn […]

The post Get Lifetime Access to the 2019 Interactive Coding Bootcamp for Only $39 appeared first on designrfix.com.

What Is an API Platform?

The term API Platform has been used synonymously by some vendors with API Management, Full Lifecycle API Management, and even the term API Gateway. Everyone loves to spice up a subject with the word platform but being loose with the term is cutting the subject short. What is an API Platform? An API Platform is all these things and more.

An API Platform's purpose is to serve net new application development — building new capabilities, new experiences, nurturing ecosystems, and more. API Management, Full Lifecycle API Management, and API Gateways are tables stakes here of course. These bring life to API design and development, to lifecycle management, to policy and security enforcement, to analytics and to nurturing development communities as consumers of these APIs. All critical.

Absolutism Around API Tools Increases Friction And Failure

I know you believe your tools are the best. I mean, from your vantage point, they are. I also know that when you are building a new API tool, your investors want you to position your tooling as the best. The one solution to rule them all. They want you to work hard to make your tools the best but also make sure and demonize other tooling as being inferior, out of date, and something dinosaurs use.

I know this absolute belief in your tooling feels good and right, but you are actually creating friction for your users and potentially failure or at least conflict within their teams. Absolutism, along with divide and conquer strategies for evangelizing API tooling, works for great short term financial strategies but doesn't do much to help us on the ground actually developing, managing, and sustaining APIs.

Clean up Your WordPress Database With SQL (2019 Guide)

After years of usage, your WordPress database can contain weird characters, be filled with data you don't need anymore, and so on. In this article, you will learn about SQL queries to clean up your WordPress database.

Two things to note: First, any of these queries should be preceded by a backup of your whole database. Secondly, don't forget to replace the wp_ table prefix by the prefix used on your WordPress website install, otherwise, the queries won't work.

Chrome 76 Adds Native Lazy-Loading, WordPress Contributors Continue Discussion Regarding Core Support

lazy cat – photo credit: Kate Stone Matheson

The latest version of Chrome (76) shipped with a new “loading” attribute that allows developers to specify resources, such as images and iframes, to defer loading until the user scrolls nearer to them. In the past, developers have used third-party libraries to achieve lazy loading but soon this will no longer be necessary, as more browsers adopt the loading attribute. Chrome developers published a compelling, in-depth explanation of how browser-level native lazy-loading can improve performance.

Given Chrome’s seemingly unshakeable, staggering market dominance, it will not be long before the loading attribute is supported for the vast majority of the web’s users. Firefox has an open ticket for implementing lazy loading using this syntax and the feature is also supported in Chromium 76-based browsers. It even works when the user has disabled JavaScript. In the meantime, Chrome recommends developers continue to use a third-party library along with loading=”lazy” is to provide a polyfill for browsers that do not yet support the attribute.

Morten Rand-Hendriksen filed a trac ticket 14 months ago, recommending WordPress introduce a lazy-loading API for media and other elements. Millions of WordPress users already have have some form of lazy loading on their sites using popular plugins like Jetpack, Autoptimize, Smush, WP-Optimize, and others.

Rand-Hendriksen contends that lazy-loading should be added to core because it is a performance best practice that WordPress should not require site owners to implement on their own. Without a core standard for lazy-loading, themes and plugins are all taking different approaches to solve this problem, which can cause conflicts and unexpected behavior. Contributors working on the ticket are still discussing the specifics of how WordPress core can best support lazy loading.

Meanwhile, WordPress developers who are excited about taking advantage of native lazy-loading are sharing their their own functions and custom plugins on GitHub, WordPress.org, and in the Advanced WordPress Facebook group.

Peter Shaw created a plugin called LH Native Lazy Loading that adds the “loading” attribute to IMG and IFRAME tags detected when filtering the_content(), post thumbnails, and oembed. It does not add any extra CSS or JavaScript and is compatible with JavaScript-based image lazy loaders, in case you want to use one as a fallback for browsers that don’t support the attribute.

Chris Franchetti shared a gist for a function that adds lazy loading to it to anything with a src. Chris Zähller published a set of functions on GitHub called WP Lazy that work in a different way. It adds the loading=“lazy” attribute when inserting new media or displaying a gallery via the WordPress gallery shortcode.

If there is a long delay on the core trac ticket, there will inevitably be a proliferation of native lazy-loading solutions that allow WordPress users to implement what several major browsers are already supporting. Existing lazy load plugins may also change to add support for the “loading” attribute, with their previous solutions as a backup for browsers that don’t yet support it.

Book Review: Designing Data-Intensive Applications (Part 1)

This is part one of a three-part review.

What a great book Designing Data-Intensive Applications is! It covers databases and distributed systems in clear language, great detail, and without any fluff. I particularly like that the author, Martin Kleppmann, knows the theory very well but also seems to have a lot of practical experience of the types of systems he describes.

5 Reasons to Choose ASP.NET Core 3.0 for Your IoT Project

Looking to build a next-generation smart application?

Well, if that’s the case, then IoT can help you achieve that. IoT applications can make the lives of organizations and enterprises easier in various ways, including increased protection of data and improved, secure ways of informing users about accidents, theft, or breaches.

A Couple of Podcast Interviews With me as a Guest

Hi, everyone. I recently got the chance to be interviewed on two podcast/youtube shows. They were a ton of fun and I think we covered some fun topics that were both technically deep and covered entrepreneurship from a tech and open source perspective.

Episode 73 – Talking Python With Michael Kennedy

Local Maximum, Episode 73


Open-Source Java Library With Stack Trace Filtering, Silent String Parsing, and Version Comparison

Over some time in different jobs, I came across a need for several utilities that I couldn't find available at the time. And I saw that I needed them several times over. So, I wrote my own small library that I found very useful. I just published it as an open-source Java library. Here is the link. Additionally, and the Javadoc is available here.

This library is also available on Maven Central. Here are the Maven artifacts (version 1.5.0.6 is the latest at the time of writing this article but might change. You can check for the latest version search for artifact " MgntUtils" at http://search.maven.org/):

Robot Skills and Messaging APIs

Messaging services set the stage for humans to interact with programmable robots using the same devices we already use to talk with each other. That kind of interaction feels a little like magic, but it’s magic that anyone who codes can conjure. To show you what I mean, we need to look at Misty’s Photo Booth skill, which Misty demoed at Twilio SIGNAL 2019.

When this skill runs, you can send an SMS to ask your Misty robot to take your picture. When Misty gets your text, she stops what she’s doing, turns to look at you, and snaps your portrait with the camera in her visor. She then sends that picture right back to your phone via MMS.

C++ Pyramid of numbers: Print numbers that count by two’s and not by one’s

Hello. I am taking a "Data Structures" class. I have to create a code that will print the following "Output":
8 6 4 2 0
6 4 2 0
4 2 0
2 0
0

I tried doing this code three different ways. Here is the first way. I did a similar project in "Java" so I knew I needed a "Nested Loop. I just "re-wrote" the code in "C++" but it does not print the correct numbers. I have to print the numbers in a way that the numbers count by "two's" and not "one's":

for(int i = 8; i >= 1; --i){
    for(int j = 1; j <= i; ++j){
        cout << j << " ";
     }
     cout << endl;
    }
return 0;

Here is the second way. This is incorrect becasue the output prints too many numbers:

for(int count = 8; count >= 1; --count){
    for(int index = 1; index <= count; ++index){
        for (int num = 8; num >= 0; num = num - 2) {
            cout << num << " ";
        }
    }
    cout << endl;
}

Here is the third way. This is incorrect becasue the teacher said this is still considered "Hard Coding" which is not allowed:

 char str[] = "86420 6420 420 20 0";  

 char *token = strtok(str, " "); 

 while (token != NULL) { 
    printf("%s\n", token); 
    token = strtok(NULL, " "); 
  }

return 0; 

My main problem is this (this program seems so simple and I think I have a general idea on how to solve this so I apologize if this question has an easy answer): How do I manipuate the numbers to print "86420" on the first row, "6420" on the second row etc...? I was told that I would need to print these numbers in a "horizontal line" then use a "two level nested loop" to manipulate how the numbers are printed but this is the part I am having trouble with. I can manipulate how the numbers print itself but I can not get the numbers to print correctly.

I tried to find examples of this on "Dani Web" and online but none of them answerd my main question. Please help and thank you in advance to anyone who can help me solve this problem.