F3A

Package:
F3A
Summary:
PHP Web development framework like Laravel lite
Groups:
Design Patterns, Libraries, PHP 5
Author:
akeel
Description:
This package provides a PHP Web development framework like Laravel lite...

Read more at https://www.phpclasses.org/package/12311-PHP-PHP-Web-development-framework-like-Laravel-lite.html#2021-12-05-16:57:59

Advent of Functional PHP: Day 4

Advent of Functional PHP: Day 4

Submitted by Larry on 4 December 2021 - 7:41pm

Day 4 of Advent of Code has us playing bingo against a giant squid. (Don't ask; I don't understand it either.) More specifically, we want to take an input file that consists of a series of numbers that will get called, followed by a series of boards. We then need to compute which board will be the first to win, following the standard rules of bingo (although with no free space in the middle, the cheating squid...).

This sort of problem is inherently very stateful, and thus, frankly, not a good fit for functional code. It absolutely can be done in a functional way, but it's not the best fit. We're not interested in the best fit in this series, though, just how it could be done functional-style. So let's do it functional style just to say we did. Along the way we will really exercise the function composition concept, and show a few other tricks along the way.

Onwards!

Advent of Functional PHP: Day 3

Advent of Functional PHP: Day 3

Submitted by Larry on 4 December 2021 - 6:15pm

The third challenge in this year's Advent of Code is all about bit manipulation. We're asked to read in a series of binary numbers and interpret them in various entirely illogical ways as a form of diagnostics. (Incidentally, if you ever write a system that requires this kind of logic to debug its output, you're fired.)

In any case, we're given a file with a list of 12 digit binary numbers and asked to compute various values. In the first part, we are asked to find the most common bit (0 or 1) in each position, and the result is known as "gamma." Then we have to find the least common bit in each position, and the result is known as "epsilon." (I don't know why you would want to do this; it's all Greek to me.)

Weekly News for Designers № 621

Envato Elements

MDEditorsy – This GUI-based tool enables you to build a Markdown/GitHub README profile.
Example from MDEditorsy

A Handy Little System for Animated Entrances in CSS – Check out this set of CSS utilities for animating elements as they enter into view.
Example from A Handy Little System for Animated Entrances in CSS

50 Free Christmas Templates & Resources for Designers – A fantastic collection of free Christmas and holiday season resources and templates we know you will love.
Example from 50 Free Christmas Templates & Resources for Designers

Responsive Layouts, Fewer Media Queries – Some tricks and techniques for reducing (or even eliminating) the number of media queries in your CSS.
Example from Responsive Layouts, Fewer Media Queries

Image Optimizer – Reduce load times with this open-source tool for optimizing images and vector graphics.
Example from Image Optimizer

How Web Designers Can Cope with Situations Out of Their Control – Exploring a few difficult-to-control situations that typically impact web designers and ways to let go.
Example from How Web Designers Can Cope with Situations Out of Their Control

Dynamic Color Manipulation with CSS Relative Colors – A look at some new ways to manipulate colors using CSS.
Example from Dynamic Color Manipulation with CSS Relative Colors

2022 Color Trends – What colors will rule the new year? Shutterstock provides their best guesses.
Example from 2022 Color Trends

50 Free High-Resolution Photoshop Brushes – Create stunning image effects with this collection of Photoshop brushes.
Example from 50 Free High-Resolution Photoshop Brushes

SVGcode: a PWA to convert raster images to SVG vector graphics – Turn your standard GIF, JPG, PNG & WebP images to vectors with this handy tool.
Example from SVGcode: a PWA to convert raster images to SVG vector graphics

My Custom CSS Reset – A CSS reset with modern web features in mind.
Example from My Custom CSS Reset

Testing Your Marketing Efforts as a Freelancer Designer – How to test your marketing until you get it just right.
Example from Testing Your Marketing Efforts as a Freelancer Designer

I made a working Gameboy CSS art: try it out – How one developer created a working replica of the iconic game system.
Example from I made a working Gameboy CSS art: try it out

Equinox – Drag and drop your images to make a macOS native wallpaper.
Example from Equinox

30 Free Responsive Email & Newsletter Templates – Browse our collection of easy to edit and free responsive newsletter templates that work well on all email clients and devices.
Example from 30 Free Responsive Email & Newsletter Templates

nnnoise – Create subtle (or not-so-subtle) SVG noise textures with this online generator.
Example from nnnoise

How to design great keyboard shortcuts – Considerations for creating keyboard shortcuts that are discoverable, memorable, and conflict-free.
Example from How to design great keyboard shortcuts

The post Weekly News for Designers № 621 appeared first on Speckyboy Design Magazine.

Advent of Functional PHP: Day 2

Advent of Functional PHP: Day 2

Submitted by Larry on 2 December 2021 - 11:46am

In today's challenge, we're asked to interpret a series of basic command lines from a file and update the position of our submarine accordingly. It's basically a graph walk of sorts, with instructions of up, down, and forward. (Apparently you cannot go backward, as in life.)

As with yesterday's challenge, we could do it imperatively with a foreach() loop and a couple of state variables floating around, but that conflates a whole bunch of different behaviors into one blob of code. We don't want to do that, so let's step back and consider the problem more clearly.

PHP Calculator

Package:
PHP Calculator
Summary:
Calculate the result of multiple math operations
Groups:
Math, PHP 5
Author:
stefan
Description:
This package can calculate the result of multiple math operations...

Read more at https://www.phpclasses.org/package/12280-PHP-Calculate-the-result-of-multiple-math-operations.html#2021-12-02-08:29:09

The Month in WordPress – November 2021

Despite the holiday season being around the corner, the WordPress project didn’t slow down. In a recent episode of WP Briefing, Executive Director Josepha Haden shares the first thing she wants people to notice about WordPress, which is also the heart of this open source project:

“Now, the first thing I want people to see on that site is that WordPress has not only 18 years of learned knowledge that every single new user benefits from, but that it also has thousands of really smart people making sure it works and gets better every day.”

As always, contributors across various teams are working hard to ensure the upcoming release of WordPress 5.9 doesn’t disappoint. With State of the Word 2021 coming up soon, there are many exciting things in the works. Read the November 2021 edition of the Month in WordPress to learn more about what’s happening.


WordPress 5.9: Expected to release on January 25, 2022

  • The Core Team announced the WordPress 5.9 Revised Release Schedule, and the release is now planned for January 25, 2022.
  • WordPress 5.9 Beta 1 was recently released and is available for testing. This version of the WordPress software is under development. Check out the release post to learn more about what’s new in version 5.9 and how you can help testing. 
  • Check out “A Look at WordPress 5.9” for a first peek into the exciting features included in this major release.
  • WordPress 5.8.2, a security and maintenance release, was out on November 10, 2021. This release includes two bug fixes and one security fix.

Are you interested in contributing to WordPress core? Join the #core channel, follow the Core Team blog, and check out the team handbook. Also, don’t miss the Core Team’s weekly developer chat on Wednesdays at 8 PM UTC.

Gutenberg releases: 11.9 and 12.0 are out

Two new Gutenberg versions have been released!

  • Version 11.9.0 brings new Gutenberg blocks for working with post comments, a fullscreen pattern explorer modal, further iterations on the Navigation block, and many other improvements.
  • Gutenberg 12.0.0, released on November 24, improves the Block Styles preview and includes featured image block visual enhancements, a site Editor welcome guide, official JSON schema updates, and much more.

Want to get involved in developing Gutenberg? Follow the Core Team blog, contribute to Gutenberg on GitHub, and join the #core-editor channel in the Make WordPress Slack. Follow #gutenberg-new for details on the latest updates.

State of the Word 2021: Join a watch party in your local community

State of the Word 2021 Announcement, which will take place on December 14 between 5 pm and 7 pm ET (22 - 00 UTC).

Add the event to your calendar so you don’t miss State of the Word 2021! Want to ask Matt a question during State of the Word? Please send your questions ahead of time to ask-matt@wordcamp.org or ask them live during the event via YouTube chat.

Team updates: Nominations for some team representatives are still underway

We want to hear from you! Suggest your 2022 goals for the Global Community Team by December 6, 2021.

Feedback/Testing requests: Test WordPress 5.9 Beta 1; Take the 2021 Annual WordPress Survey to share your experience

  • WordPress 5.9 Beta 1 is now available for testing and we’d like to hear from you! Testing is vital to ensure the release is as good as it can be—it’s also a great way to contribute. Read the comprehensive guide, “Help test WordPress 5.9 Features,” to learn how to test WordPress 5.9 Beta 1 and report any bugs.
  • There’s an open call for testing for WordPress iOS 18.7 and Android 18.7.

The 2021 WordPress Annual Survey is out! Please respond to the survey, so your WordPress experience is reflected in the results.

Keep an eye out for WordCamp Taiwan and Sevilla, along with several WordPress workshops in December 2021

Give back to open source. Please donate to the WordPress Foundation’s mission this holiday season.


Have a story that we could include in the next ‘Month in WordPress’ post? Let us know  by filling out this form

The following folks contributed to October 2021’s Month in WordPress: @anjanavasan, @harishanker, @rmartinezduque, @callye, @jrf, @webcommsat, and @nalininonstopnewsuk

Powered by Gewgley