Marker Tracking via WebSockets With a Raspberry Pi

Imagine you intend to automatically move a couple of robots within a room. You need accurate position and orientation (direction frontside is pointing to) of each robot. Apparently, outdoor systems like GPS don't work and you have a small budget. What do you do?

After some research for easy-to-apply solutions, my students and I decided to visually track our robots. We put a camera at the ceiling continuously streaming a video of our robots below. What remained to be done was capturing the frames of the video stream, searching for the objects of interest inside and serving the findings.

Spring MVC and MongoDB: A Match Made in Platform.sh Heaven

How difficult is it for a Java developer to create an application that needs to handle front-end technology? It’s a difficult question — and one that I hear every single day from back-end developers. So, how can we solve it in the Spring world? Well, with Spring MVC.

Spring MVC makes it easy to create stand-alone, production-grade, Spring-based applications that you can just run. In this post, we’ll show the perfect union between Spring MVC, the MongoDB database, and the NoSQL database most popular around the globe, running in the cloud on Platform.sh.

WordPress for iOS 12.6.1 Revamps Stats, Acknowledges Third-Party Libraries

WordPress for iOS 12.6.1 is now available in the iTunes App Store. The User Interface as well as the backend that powers stats has been revamped and more closely resembles what you see on the Jetpack Stats module. There are now date selectors and individual stats contain more detail.

Revamped Stats in the WordPress for iOS app
Revamped Stats in the WordPress for iOS App

More often than not over the years, when I’ve tried to view stats, they don’t load. In 12.6.1, the stats are cached making them not only quicker to load, but they’re available to view offline as well.

This version also improves the block editor by fixing an issue where the setting to open links in new tabs was always set to off. Also, when users attempt to put invalid content into blocks, there’s a more descriptive error message.

Those who share photos into WordPress from other apps can now share an unlimited number of photos and if an image fails to upload, the error message will contain more detailed information.

The WordPress for iOS app uses libraries from third-party’s. To see who these parties are, the team has added an acknowledgments section in the app. You can view this page by browsing to Me > App Settings > About WordPress for iOS > Acknowledgements. Fair warning, this page is quite lengthy. There’s also a variety of bug fixes in this version as well.

WordPress for iOS Third party library acknowledgements
WordPress for iOS Third-party Library Acknowledgements

One change that I noticed that doesn’t make sense and that I’ve been unable to find an explanation for is the labeling change. The app is now labeled on the app store as WordPress #1 Website Builder.

I don’t view the app as a website builder, it’s more of a website manager. I’ve asked in the WordPress Mobile Slack channel why this change was made but as of publishing, have not received a response.

WordPress for iOS is free and available on iTunes. There’s also a mobile app for Android devices and a desktop application that be found on the WordPress Mobile Apps site.

Updated June 28th, 2019

I received a response from Elisa Budelli, Mobile Developer at Automattic, regarding the label change.

“The title is describing WordPress as a full product, not only the mobile apps. The switch is based on a recommendation from a SEO specialist, and we will evaluate how it works and revert if we see no impact.”

eBay Expands API Strategy

"APIs are first class-products at eBay," Gail Frederick, eBay Vice President of Developer Ecosystem, commented in a recent news story. "We continue to add capabilities into our public API portfolio so third-party developers in our eBay Developers Program can create powerful experiences and manage their eBay business at scale. Our goal is to empower developers, enhance the ecosystem of eBay applications, and add value for our buyers and sellers."

EditorsKit 1.6 and 1.7 Add Tools for Writers, Drag and Drop Block Export/Import

Recent EditorsKit releases have introduced a set of new tools that some writers may have found missing from Gutenberg. The plugin’s creator, Jeffrey Carandang, said version 1.6 was targeted at improving the writing flow for writers, bloggers, and content creators.

Gutenberg has decent support for copying and pasting Markdown. It will automatically convert links, blockquotes, code snippets, and other formatting into the proper Gutenberg blocks. However, the editor does not offer full support for users who who want to write with Markdown.

EditorsKit 1.6 adds basic markdown capabilities for things like bold, italic and ~strikethrough~ and these can also be used alongside other available editor markdowns and their keyboard shortcuts. These are integrated directly into the RichText editor so you don’t have to use a dedicated Markdown plugin with a custom block, like WP Githuber MD, or Jetpack’s Markdown module.

Version 1.6 introduced an expanded “clear formatting” option as a response to requests Carandang received on the plugin’s Facebook community and Slack. It clears formatting on specific text, removes formatting on selected text, and clears all paragraph and heading block formatting using the “Clear Block Formatting” option in the block settings. This version also added subscript, superscript, and uppercase text formats, along with a title visibility toggle that removes titles from the frontend on a per-post basis.

While these tools may provide features that some users find to be critically missing from Gutenberg, for many others they simply add to the clutter of the block toolbar and the overall interface. Gutenberg is still sorely in need of a distraction-free UI that will enable users to ditch dedicated writing apps and embrace WordPress as their go-to app for writing.

EditorsKit seems best suited as a playground for features that may or may not have widespread appeal. For example, the most recent 1.7 release enables exporting and importing blocks without the requirement of first converting them to reusable blocks. Users can click on the “block settings” icon and export as JSON on a per-block basis. It’s also possible to select multiple blocks and export them in one file.

Importing blocks back into the editor is as easy as dragging and dropping the .json file. It automatically generates the blocks in an almost magical way an does not require users to navigate to the separate admin dashboard for managing reusable blocks.

Import json

Carandang is working on making the import/export work with media attachments. He is also currently working with the Gutenberg team and other contributors to bring the plugin’s Text and Highlight colors feature to the core editor.

Windows 10: how use it?

why, on windows 10, some touchpad drivers(even updated by windows) don't activate the vertical\horizontal scrool move.... i have them activated, but don't work.... when i use the finger, instead scrool, the move moves.. yes i have seen the scrool area.
how can i fix the problem?

Which CSS IS AWESOME makes the most sense if you don’t know CSS well?

Peter-Paul posted this question:

Note the interesting caveat: only vote in the poll if you don't know CSS well.

The winning answer was D! You gotta wonder if the result would have been different if the request for non-CSS experts wasn't there.

I like to think I know CSS OK, so I didn't vote. My brain goes like this:

  1. I think he's asking "by default," so the answer may assume there's no other CSS doing anything to that text.
  2. I wish I knew why the box was that particular width, but I guess I'll just assume it's a set width.
  3. It's not B because ellipsis stuff requires extra stuff, and doesn't work on multiple lines like that — unless we're talking line clamping, which is even weirder.
  4. It's not C because that requires hiding overflow which is never really a default — that is, except off the top and left of the browser window, I guess. Or in an iframe.
  5. It's not D because words just don't break like that unless you do pretty specific stuff.
  6. A actually makes decent sense. It's weird to look at, but I've been dealing with stuff busting out of containers my whole career. C'est la vie.

Remember, we've done a deep dive into CSS IS AWESOME before and how it interestingly captures the weirdness of CSS.

The post Which CSS IS AWESOME makes the most sense if you don’t know CSS well? appeared first on CSS-Tricks.

WPWeekly Episode 358 – Interview with Dan Maby, Founder of WP&UP

In this episode, Malcolm Peralty and I are joined by Dan Maby, Founder of WP&UP. WP&UP is a non-profit charity based in England that supports and promotes positive mental health in the WordPress Community.

Dan explains why he started the charity, what he’s learned and how he manages his own mental health, and how the donation funds are spent. He also shared some startling statistics from a recent mental health survey they conducted. The results of this survey are being put into a white paper that will be published later this year.

We finished up the show covering the news of the week. If you’re interested in supporting WP&UP, please consider donating.

Stories Discussed:

Matt Mullenweg’s Summer Update at WordCamp Europe 2019: Gutenberg’s Progress and a Preview of Upcoming Features

Free Event: Post Status to Live Stream Publish Online July 8-9

Contribution Time, Sponsored, and Teams Fields Added to WordPress.org User Profiles

WP Engine Acquires Flywheel

Transcript:

Episode358Transcript

WPWeekly Meta:

Next Episode: Wednesday, July 3rd 3:00 P.M. Eastern

Subscribe to WordPress Weekly via Itunes

Subscribe to WordPress Weekly via RSS

Subscribe to WordPress Weekly via Stitcher Radio

Subscribe to WordPress Weekly via Google Play

Listen To Episode #358:

Table Inheritance: What’s It Good For?

Table inheritance is one of the most misunderstood -- and powerful -- features of PostgreSQL. With it, certain kinds of hard problems become easy. While many folks who have been bitten by table inheritance tend to avoid the feature, this blog post is intended to provide a framework for reasoning about when table inheritance is actually the right tool for the job.

Table inheritance is, to be sure, a power tool and thus something to use only when it brings an overall reduction in complexity to the design. Moreover, the current documentation doesn't provide a lot of guidance regarding what the tool actually helps with and where are the performance costs and because inheritance sits orthogonal to relational design, working this out individually is very difficult.

Reducing Integration Hassles With JSON Schema Contracts

I recently worked on a project where the 'contract' between service consumers and providers consisted primarily of annotated mock-ups of the JSON responses one would obtain from each of a given service's end-points. A much better way of expressing the contract for a service is to use a standard schema format. If you're stuck with XML, use XML schema. If you are using JSON, there are tools and libraries (presented below) that will help you use JSON schema to express a service's contract.

This article will assume that you have gone through the available JSON schema documentation and have a basic idea of how to use it. It assumes that you are developing on a JVM-based platform, and most of the recipes will be helpful for Java developers (although our example of dynamic schema validation is presented using a bit of Scala.)

Creating Cosmos DB Resources Using ARM Templates

This week, we saw a significant update to the ARM template for Cosmos DB, which now allows us to create databases and containers. Up until now, we've only been able to create Cosmos DB accounts using templates, we then had to create the databases, containers, tables, etc. through PowerShell or the portal etc.

With this update, we are now able to deploy much more of our Cosmos setup with ARM templates, including databases, containers, graphs, namespaces, and tables. However, there are still some components we can't create with templates yet:

GDPR Tips and Best Practices

Under the new GDPR, businesses are called on to standardize how they handle personal data. It’s also an opportunity to get your systems and processes ahead of the next regulation.

GDPR—the European Union’s General Data Protection Regulation—will come into effect on May 25, 2018. While the fines—up to approximately $24 million or 4 percent of annual profit—are enough to make businesses take notice, the new regulations highlight a new way of handling security and privacy that will impact how all businesses process and manage personal data going forward.

Broadcasting Messages to WebSocket API Clients

Invoking individual WebSocket connections has been supported since Zato 3.0, and Zato 3.1 adds new functionality on top of it — message broadcasting — which lets one notify all the clients connected to a particular channel. Here is how to use it.

Web-Admin

Let's say that there is a WebSocket channel such as the one here:

Using Scikit-Learn for Machine Learning Application Development in Python

Python is arguably the best programming language for machine learning. However, many aspiring machine learning developers don’t know where to start. They should look into the scikit-learn library, which is one of the best for developing machine learning applications. It is free and relatively easy to install and learn.

Why Machine Learning Programmers Should Be Familiar With Scikit-Learn

If you are trying to develop machine learning applications, then you were going to need a robust toolkit. Scikit-learn is just the solution that you need. This library was developed in 2007 as part of a Google project. Three years later, the code was released as hey solution for machine learning algorithms in conjunction with Google and several other major companies.

Low-Code vs. No-Code: Form Following Function

I always like to hear how a person first learned about the low-code-slash-no-code phenomenon. That’s why trade shows are so much fun; you get to ask these kinds of questions of people walking into your booth. It’s usually one of my first questions--after scanning their badge of course.

In asking this, I also quickly discover that most people don’t know the difference between a low-code platform and a no-code solution, which sparks a lengthy and passionate explanation on my part. Because there are a number of very significant differences between low-code and no-code platforms, if you’re considering moving away from traditional application development, or even just want to try out visual application development, you’ll want to be aware of what you’re getting in each offering.

Software Developers Need These Killer Soft Skills

Soft skills make the teamwork dream work. #sorrynotsorry

Though the employer will first be looking at the tech background and the experience with specific tools, soft skills determine whether the person will stay in the team for the longterm.

But, what exactly are they and how do you determine the ones that really matter? Let’s find out.