Monthly Archiv: January, 2019

408 Request Timeout

If a client is too slow to send a full HTTP request, a server can send back a 408 Request Timeout error response.

A request coming in too slow can happen for a variety of reasons, including slow internet connections, completely lost internet connections or bad actors.

When a server sends back the 408, it no longer wants to wait for the request and kills the connection.

A robust client might try to repeat the request as soon as they receive this response.

Example

HTTP/1.1 408 Request Timeout
Connection: close
Content-Type: text/plain

Too slow! Try again

References

WordPress 5.1 Beta 2

WordPress 5.1 Beta 2 is now available!

This software is still in development, so we don’t recommend you run it on a production site. Consider setting up a test site to play with the new version.

There are two ways to test the WordPress 5.1 beta: try the WordPress Beta Tester plugin (you’ll want to select the “bleeding edge nightlies” option), or you can download the beta here (zip).

WordPress 5.1 is slated for release on February 21, and we need your help to get there!

Over 110 tickets have been closed since beta 1, many of which are documentation and testing suite improvements. Here are the major changes and bug fixes:

  • Several refinements and bug fixes related to the Site Health project have been made.
  • The pre_render_block and render_block_data filters have been introduced allowing plugins to override block attribute values (#45451, dev note coming soon).
  • get_template_part() will now return a value indicating whether a template file was found and loaded (#40969).
  • A notice will now be triggered when developers incorrectly register REST API endpoints (related dev note).
  • Bulk editing posts will no longer unintentionally change a post’s post format (#44914)
  • Twemoji has been updated to the latest version, 11.2.0 (#45133).
  • A bug preventing the Custom Fields meta box from being enabled has been fixed (#46028).
  • The treatment of orderby values for post__in, post_parent__in, and post_name__in has been standardized (#38034).
  • When updating language packs, old language packs are now correctly deleted to avoid filling up disk space (#45468).

Developer Notes

WordPress 5.1 has many changes aimed at polishing the developer experience. To keep you informed, we publish developers notes on the Make WordPress Core blog throughout the release cycle. Subscribe to the Make WordPress Core blog for updates over the coming weeks, detailing other changes in 5.1 that you should be aware of.

How to Help

Do you speak a language other than English? Help us translate WordPress into more than 100 languages! The beta 2 release als marks the soft string freeze point of the 5.1 release schedule.

If you think you’ve found a bug, you can post to the Alpha/Beta area in the support forums. We’d love to hear from you! If you’re comfortable writing a reproducible bug report, file one on WordPress Trac, where you can also find a list of known bugs.


Do you enjoy bugs?
I don’t. So, we fixed them all.
Well, not all. But close.

The Use of Cursor Effects in Web Design

When it comes to the tiniest trends in website design, the manipulation of the cursor is an absolute winner. It lives up to the title as well as makes a vital contribution to the experience.

The great thing about mouse tricks is that you can be certain that they won’t go unheeded or stay overlooked, as visitors will certainly drag their cursor along the screen. Whatever you choose for entertaining your audience, chances are the hand of a user will slip and the mouse cursor will move at least to close the browser tab. And, your ingenious solution based on mouse interaction will be exposed to the world, giving you an extra opportunity to strengthen the effect or win users over.

The Web Designer Toolbox
Unlimited Downloads: 500,000+ Web Templates, Themes, Plugins & Design Assets


Lonely, Yet Eye-Catching Effects

We have already witnessed several exciting and most importantly well-received trends related to the mouse. With pioneering libraries that add fuel to the fire in a good way, it is a sin not to seize the opportunity.

At first, this may seem like an unlikely place to let your imagination run wild due to its diminutive size and other limitations. But in fact, you can do lots of things. The brand-new trend in this area is clear proof of this.

A Story About Trusts

Just consider A Story About Trusts. It is a spectacular web experiment that allows users to explore data pleasantly. It is a remarkable and bright representation of the modern hipster “fauna.”

You will find WebGL features, a smart navigational menu, inspired gesturing, beautiful transitions, particle animation and more. However, even though the project is packed with action and powered by the most pioneering of solutions, for newcomers the first few seconds decide everything.

And when you stumble upon the black screen (like one that can be seen in the screenshot below), you might think of leaving. The only thing that stands between your leaving and never coming back is this little mouse interaction. Yes, it is small. Yes, it is just a circle. And yes, it saves the day with its playfulness and easiness.

It buys time and gives the website a few extra seconds to pull itself together and show the best it has to offer. It is a simple and elegant solution that makes a world of difference, to say nothing about adding to the user experience.

A Story About Trusts

Yukie Nail New York

In the case of Yukie Nail New York, the cursor not only has been transformed into a hollow, mid-sized circle, but also has been provided with an opportunity to interact with the canvas. Moving the cursor leaves ripples all over the place, significantly adding to the realistic water surface.

Yukie Nail New York

Flixxo

Flixxo is a website dedicated to video distribution. Here, a triangle with smooth edges that reminds us of a “Play” button was chosen as a decorative element. It can be seen everywhere, and the mouse cursor is no exception. It also has a three-sided shape. The problem is that this tiny elementary polygon perfectly blends in and is difficult to notice. To help it stand out, the team has added a bright mid-sized circle that naturally draws attention.

Flixxo

BLKOUT

The team behind BLKOUT uses the same trick. Here, the homepage is a bit overwhelming. There is a noisy video background, parallax effect and shaky tagline. Everything is gathered under the roof of a home screen – I myself lost sight of the mouse cursor at first. However, thanks to its orbicular friend, I managed to find it. The solution is a lifesaver.

BLKOUT

Niccolo Miranda / Sarto Bikes

In the first example, the mouse cursor guides visitors throughout the dark interface – looking like a dancing fleck of sunlight. It also complements the entire aesthetic, adding a creative zest.

Niccolo Miranda

The team behind Sarto Bikes employs two types of mouse tails. The first one greets the audience. It is a relatively big circle with instructions written inside. The second appears when the user enters the website. It has a diamond shape and coloring that changes its tone from white to black, depending on the surface. In this way, the mouse always stands in contrast to the background.

Sarto Bikes

Cursors as Pure Décor

While in the previous examples cursor manipulations perform an essential role in creating a comfortable environment for users, there are cases when it is just a purely decorative element that adds to the general design.

Ambitious Zevenbergen / Denton Design / Icone

Ambitious Zevenbergen has beautiful feminine aesthetics. It strikes a balance between the content and graphical filling. Here, the lovely big pink circle that constantly tries to catch a small dot is just a charming detail that completes the design.

Ambitious Zevenbergen

In Denton Design’s website, the cursor has the shape of an egg that goes perfectly well with the big picture of a bird placed on the front. Also, the coloring echoes with the general scheme – nicely playing with the design.

Denton Design

The team behind Icone eschews the original mouse cursor shape, aka arrow. Here, it is a ring with distinctive borders made in a secondary tone. The hollow design of the cursor goes along with the line style graphics and outline typography, achieving design harmony. You can certainly do without it here, but it has its charisma.

Icone

Make Your Point(er)

The developers’ community is unstoppable when it comes to making web projects interactive. Not only does mouse interaction help to maintain a user’s interest while they are waiting (like in the case of A Story About Trust) but it also assists in establishing an effective communication mode between the UI and the user.

The post The Use of Cursor Effects in Web Design appeared first on Speckyboy Web Design Magazine.

10 Examples of High-End Artwork Created with Code

They say that code is poetry. While that may be the case, code can also be used as a building block for other artforms as well. Combining code with more traditional artistic talents can result in something spectacular to behold.

This fusion of visual art powered by the latest web technologies takes things to new heights. Here, art is more interactive. It’s also responsive to screen size (try doing that with a painting).

The following are examples of the traditional and digital coming together to form something beautiful.

The Web Designer Toolbox
Unlimited Downloads: 500,000+ Web Templates, Themes, Plugins & Design Assets


Progressive Self Portrait

Sometimes, parallax scrolling effects can be a bit overdone. But this self portrait is one of the most unique and spot-on uses you’ll ever see. Here, scrolling reveals progressive iterations of the artwork. When the final portrait is loaded, move your cursor (or tilt your mobile device) to rotate the image and view an incredible 3D effect.

A Poly Portrait

Here’s a different take on the self-portrait. This one uses a low-poly technique combined with animation to both reveal and hide the drawing. The look is a bit reminiscent of early 3D video games from back in the late 1990s and early 2000s.

Art Is Meant for Shredding

The artist known as Banksy famously sold a piece of artwork that shredded itself. Here’s an online tribute that lets you do the very same to your own images. While paying out the nose for something that self-destructs may not be everyone’s taste, at least this version won’t cost you a thing.

Spray It with CSS

A recent trend that has become popular involves recreating famous works of art for the web. Often, as is the case with this Roy Lichtenstein pop art painting, everything is done with pure CSS. This is a great example of just how powerful CSS has become.

A Portrait of Francine as a Member of KISS

The highly-detailed portrait of Francine was an internet sensation – and for good reason. The shading and the level of accuracy is pretty mind-blowing. Since then, a number of others have put their spin on the original. Here, Francine is reimagined with KISS-like face paint and eerily follows your cursor around the screen.

Waiting for a Starry Night

Great art often compels you to search for those tiny details hidden within. In that spirit, this pen uses Particle animation to draw Vincent van Gogh’s “The Starry Night” pixel by pixel. While the rendering isn’t 100% accurate, it does provide an appreciation for the amount of work that goes into the process.

How Do You Feel?

At its core, art is an expression of feeling. Therefore, emoji must be art – right? As in the Banksy shredder example above, this emoji painting is a reflection of the era we live in. Just as these expressive little characters are popping up on our screens each day, the same is reflected in this work of art.

A New Perspective

Finally, art has been known to challenge our way of thinking. It can also force us to see things in a different way. That’s literally the case here, as hovering over this image offers up an amazing 3D zoom effect. It makes you feel part of the scene, which is one of the most exciting features that can be built with code.

Making Art Come to Life

Code isn’t always the most appreciated form of art. Quite often, it stays in the background and ensures that things just work. In that way, it can be a thankless vocation.

But when you use this behind-the-scenes powerhouse to enhance something visually, it comes to the forefront. It’s no longer an afterthought. Instead, it takes center stage along with the visuals to show us the full range of what is possible.

The post 10 Examples of High-End Artwork Created with Code appeared first on Speckyboy Web Design Magazine.

PHP Decorator Pattern (New)

Package:
PHP Decorator Pattern
Summary:
Implement the decorator pattern using a trait
Groups:
Data types, Design Patterns, PHP 7, Traits
Author:
Aleksandar Zivanovic
Description:
This package can implement the decorator pattern using a trait...

Read more at https://www.phpclasses.org/package/11045-PHP-Implement-the-decorator-pattern-using-a-trait.html

PHP Decorator Pattern

Package:
PHP Decorator Pattern
Summary:
Implement the decorator pattern using a trait
Groups:
Data types, Design Patterns, PHP 7, Traits
Author:
Aleksandar Zivanovic
Description:
This package can implement the decorator pattern using a trait...

Read more at https://www.phpclasses.org/package/11045-PHP-Implement-the-decorator-pattern-using-a-trait.html#2019-01-20-06:13:48

PHP AES GCM Encryption SIV

Package:
PHP AES GCM Encryption SIV
Summary:
Encrypt data with pure PHP code for Rijndael AES
Groups:
Cryptography, PHP 5
Author:
Jose Luis Lucas
Description:
This class can encrypt data with pure PHP code for Rijndael AES-GCM_SIV...

Read more at https://www.phpclasses.org/package/11021-PHP-Encrypt-data-with-pure-PHP-code-for-Rijndael-AES.html#2019-01-20-01:37:10

Free Cute Valentine’s Day Cards and Backgrounds (AI & EPS)

If you’re looking for a last-minute Valentine’s Day card that doesn’t quite look like it’s last-minute, then you’ve come to the right place! We have a small collection of creative and fun Valentine’s Day card templates you can quickly customize, print out and deliver to your Valentine in a matter of moments.

Within the free download package, you will find six cute, and creative Valentine’s Day vector card templates. They’re available in two sizes (800x800px and 1200x800px), come in AI and EPS formats, and, of course, you can freely use them in both your personal and commercial projects. Happy Valentine’s Day everyone!

Cute Valentine’s Day Cards & Backgrounds

Free Cute Valentines Day Cards and Backgrounds eps ai


Download the Cute Valentine’s Day Cards & Backgrounds

The post Free Cute Valentine’s Day Cards and Backgrounds (AI & EPS) appeared first on Speckyboy Design Magazine.

Powered by Gewgley