Community News: Latest PECL Releases (06.01.2021)

Latest PECL Releases:

  • datadog_trace 0.60.0
    Breaking change: Users that are not explicitly setting or using json encoding are not impacted but this breaking change. Users either requiring json encoding for special purposes to send traces to their own custom targets or relying on the Stream class (that was not part of the public api in src/api) will have to manually clone the classes from the previous release SHA and register themselves. This is discouraged because as of today, json causes a fallback to blocking sync transmission to the Datadog agent, while using messagepack we support the unblocking async transport to our agent.

    Added

    • Zend Abstract Interface: Method call seam (PHP 5) #1186
    • ZAI Sandbox #1213
    • Auto-flushing (PHP 5) #1189
    • Nette integration (v2 and v3) #504 #1220 (thanks @kozaktomas for the original contribution and thanks @Anilm3 for reviving the original PR)
    • Begin documenting architecture #1225
    • Detect ZAI ZMM leaks #1229
    • ZAI function-call seam (PHP 8) #1234

    Changed

    • Update Docker ci docs #1202
    • Remove Json encoder and Stream transport #1235
    • Move from uint63 to uint64 for trace_id span_id and parent_id #1237
    • Remove redundant dd_trace_tracer_is_limited() calls #1239
    • Change config.m4 to allow in-tree build #1238
    • Eliminate "innerhook" from trace_method and trace_function #1240
    • Remove TSRMLS_* macros from PHP 7 and PHP 8 #1241
    • Deferred loading with ZAI function-call seam (PHP 8) #1243
    • Speed up randomized testing using a post #1192 version #1245
    • Self update composer in the image we use to prepare the code in CI (#1221)

    Fixed

    • Fix meta header name for language version in BGS agent request #1244
    • Fix flaky PCNTL tests (#1232)

Good technical writing is hard

Good technical writing is hard

A few days ago, I randomly tossed this out on Twitter without context:

Technical writing requires assuming the reader is simultaneously highly intelligent and utterly ignorant, without making them feel like you think they're utterly ignorant.

That shit is hard, yo.

Someone asked for ideas on how to achieve that goal, and it seemed like a topic worthy of discussion so here we are.

Technical writing is not for Dummies

I would expand the statement above a bit, actually. Good technical writing requires:

Larry 31 May 2021 - 8:07pm

25 Inspirational & Creative Business Cards for Designers

The timeless business card is one of the most important marketing and networking tools a creative professional can possess. It not only delivers your personal brand to future clients, but it is also the first window of opportunity to showcase your skills as a designer.

How do you, as a designer, create a business card that successfully reflects your personality, your design specialty and professionalism? Well, the designers below have all managed to do it. Without breaking the age-old rules of business card design, they have all created memorable, creative, and highly professional business cards that will leave their potential clients with no doubt that they will get the job done.

You might also like our stunning collection of business card templates.

Grafikzero Business Cards by Saki Hajdari

Grafikzero Business Cards design inspiration for designers creatives

Services Business Card Template by ambergraphics

Services Business Card Template design inspiration for designers creatives

Hand-Drawn Llama Cards with Pink Edges by Shyama Golden

Hand-Drawn Llama Cards with Pink Edges design inspiration for designers creatives

Minimal Business Card by MicroMove

Minimal Business Card design inspiration for designers creatives

R40 Business Cards by Steve Wolf

R40 Business Cards design inspiration for designers creatives

Cardboard Business Card by MicroMove

Cardboard Business Card design inspiration for designers creatives

Homemade Business Cards by Vinslëv

Homemade Business Cards design inspiration for designers creatives

Colorful Business Cards by Estelle Le Gall

Colorful Business Cards design inspiration for designers creatives

Business Cards 2020 by Jonas Söder

Business Cards 2020 design inspiration for designers creatives

Business Card Stamps by Jorgen Grotdal

Business Card Stamps design inspiration for designers creatives

Business Army Knife Card by Anthony Cole

Business Army Knife Card design inspiration for designers creatives

Served With Soul by Brian Steely

Served With Soul design inspiration for designers creatives

Vintage Illustration Business Cards by Chris Elsasser

Vintage Illustration Business Cards design inspiration for designers creatives

Duplexed Wood Veneer with Letterpressed Metallic Ink by Mackey Saturday

Duplexed Wood Veneer with Letterpressed Metallic Ink design inspiration for designers creatives

Letterpress Business Cards with Red Edges by Nishant Kothary

Letterpress Business Cards with Red Edges design inspiration for designers creatives

Design Icons Business Card by Laura Fish

Design Icons Business Card design inspiration for designers creatives

Retro Illustrated Business Cards by Jonas Soeder

Retro Illustrated Business Cards  design inspiration for designers creatives

Bandito Card by Ryan Brinkerhoff

Bandito Card design inspiration for designers creatives

Yik Yak Biz Cards by Daniel Haire

Yik Yak Biz Cards design inspiration for designers creatives

Ask and I Shall Reply by Ella Zheng

Ask and I Shall Reply design inspiration for designers creatives

FZ Media Letterpress Cards by Adam Trageser

FZ Media Letterpress Cards design inspiration for designers creatives

Personal Business Cards by Olly Sorsby

Personal Business Cards design inspiration for designers creatives

Bronze Metallic Ink on Authentic Playing Cards by Tom Lane

Bronze Metallic Ink on Authentic Playing Cards design inspiration for designers creatives

Hundred Eyes Business Cards by Dustin Maciag

Hundred Eyes Business Cards design inspiration for designers creatives

The post 25 Inspirational & Creative Business Cards for Designers appeared first on Speckyboy Design Magazine.

How to Target Design Elements with the CSS :not Pseudo-Class

Consistency is good practice in all areas of web design. On the front end, it makes for a better user experience. Under the hood, maintenance becomes more efficient.

Yet there are times when a specific part of a design doesn’t quite fit the mold. It may be a one-off design feature that is utilized on a single page or area of a site. For example, home pages often include elements that don’t carry over to secondary pages. Individual blog posts might also require a certain formatting of their own.

The trouble is that the HTML markup may be same throughout the website. Think of a WordPress theme that has the same structure for every page. How can you target only specific instances of an element?

This is where the CSS :not pseudo-class comes in handy. It allows you to target elements that do not match a list of provided selectors. The result is more fine-grain control over those niche design features.

Let’s take a look at a few scenarios that demonstrate the power of :not.

Full-Width Content on the Home Page

In our first example, let’s consider a home page that is going to use full-width content. Perhaps it has a lot of content and a wide layout would take advantage of large screens. However, that’s the only place we want to add this style for now.

We’ll also assume that we’re adding a CSS class of .home somewhere on the page, while secondary pages get their own class of .secondary-page.

The goal is to adjust the width of the #content element only for pages that don’t include the .home class.

This allows us to implement full-width content on the home page, while keeping it at 66% wide everywhere else. So, even if a page has a class other than .secondary-content, that rule still holds true.

Here’s how it looks in practice:

See the Pen CSS :not – Full-width content for a home page by Eric Karkovack (@karks88)
on CodePen.

Remove Text Decoration on Hyperlinks Outside the Content Area

Underlining hyperlinks is helpful for accessibility. However, there may be places within a website where you don’t necessarily want this visual enhancement. Navigation bars and even footers might eschew underlined links altogether.

In this scenario, we’ll underline links – but only within the #content element. Every other area of our fictional page will forego them.

To accomplish this, we’ll look for child elements of the .container element, which wraps around the entirety of the page. Links that are not within the #content element will have a style of text-decoration: none;.

See the Pen
CSS :not – Underline links within #content
by Eric Karkovack

Change a Text Heading Style When Inside of a Multi-Column Layout

Typography styles are often adjusted for different types of page layouts. You might want to use different font sizes and margins, for example, within a multi-column layout as opposed to a single-column page.

Large text headings could be especially overwhelming when used in smaller spaces. With this example, we’ll adjust <h2> elements to better fit in these situations.

Specifically, the CSS we’ve written assumes that any <h2> elements that aren’t within in a container using the .single_column class should be made smaller. In addition, we’ve changed the color and a few other properties.

See the Pen CSS :not – Different heading styles for multi-column layouts by Eric Karkovack

:not a Bad Way to Control Your CSS

Part of the beauty of CSS is in its flexibility. There are often a number of ways to accomplish a given goal. This allows web designers to work more efficiently than ever.

The :not pseudo-class is yet another helpful tool. You may have looked at the scenarios above and thought of other techniques for doing the very same thing. And there are indeed times when you might want to take a different approach.

But in many cases, :not can increase efficiency. It saves us from individually targeting multiple selectors that require similar styling. And, as previously mentioned, it’s great for those one-off design elements that we want to stand out. Browser support is also very strong.

It should be noted that :not does have some limitations. Also, it requires a bit of background on how the CSS cascade works. Therefore, writing an effective piece of code can take a few tries.

Still, it’s worth learning. Once you get the syntax down, you might be surprised at how truly useful this functionality is.

The post How to Target Design Elements with the CSS :not Pseudo-Class appeared first on Speckyboy Design Magazine.

PHP NoSQL Database OnTime

bestpractice.jpg
Package:
PHP NoSQL Database OnTime
Summary:
Create and manage NoSQL database
Groups:
Databases, Libraries, PHP 7, Traits, User Management, Web services
Author:
Mario Carrocera
Description:
This package can be use to manage the creation and access to a database with using SQL...

Read more at https://www.phpclasses.org/package/12070-PHP-Create-and-manage-NoSQL-database.html#2021-05-31-10:17:30

Setting emails in Yii1 to not trigger Out of Office responses.

Christian Weiske recently wrote on how to set emails in Laravel to not trigger Out of Office responses.

This is typically done for emails that are auto-generated – for processes such as “Forgot Password” functionality and the like. There’s an RFC for this. In essence, you add an “Auto-Submitted: auto-generated” header to the email.

As I’ve been adding “Forgot Password” functionality for a legacy project, I thought I would see how this would be done in Yii1:

$yMessage = new YiiMailMessage();

$yMessage->addTo($to);
$yMessage->setFrom($fromEmail, $fromName);

$yMessage->setBody($htmlMessage, "text/html", "UTF-8");

$yMessage->setSubject(Yii::t("Link for resetting your password"));

// Mark the email as auto-generated so "Out of office" responses aren't triggered. (RFC-3834)

// https://cweiske.de/tagebuch/laravel-notification-autosubmit.htm

$yMessage->getHeaders()->addTextHeader("Auto-Submitted", "auto-generated");

Yii::app()->mail->send($yMessage);

This is much simpler in Yii1 than Laravel as no callbacks are required.

d3 PHP Printer Monitoring

Package:
d3 PHP Printer Monitoring
Summary:
Display and alert about the status of a printer
Groups:
Hardware, PHP 5, Printing, System information
Author:
Uldis Nelsons
Description:
This package can display and alert about the status of a printer...

Read more at https://www.phpclasses.org/package/12100-PHP-Display-and-alert-about-the-status-of-a-printer.html#2021-05-30-16:53:40
Powered by Gewgley