CSS Position Sticky - How It Really Works! | by Elad Shechter | Medium
When an element with a position: sticky style is wrapped, and it is the only element inside the wrapper element, this element, which was defined position: sticky will not stick.
An Interactive Guide to Flexbox in CSS
When we truly learn the secrets of the Flexbox layout mode, we can build absolutely incredible things. Fluid layouts that stretch and shrink without arbitrary breakpoints. In this action-packed interactive tutorial, we'll pop the hood on the Flexbox algorithm and learn how to do remarkable things with it. ✨
Photography for geeks
It is said that composition is the most important aspect of a photograph. I disagree. An intriguing interplay of light and shadows can make a discarded candy wrapper look profound. An unflattering light makes even the most expertly framed scenery look pedestrian and dull.
Perl Advent Calendar 2022 - Create Professional Slideshows with Mojolicious::Plugin::RevealJS
Santa's elf had a problem. He had to write a presentation very fast and show it to a bunch of new elves. The email assigning this to him was sent by Santa himself. The elf started to look on MetaCPAN and found this module: Mojolicious::Plugin::RevealJS
Pluralistic: Tiktok’s enshittification (21 Jan 2023) – Pluralistic: Daily links from Cory Doctorow
Here is how platforms die: first, they are good to their users; then they abuse their users to make things better for their business customers; finally, they abuse those business customers to claw back all the value for themselves. Then, they die.
I call this enshittification, and it is a seemingly inevitable consequence arising from the combination of the ease of changing how a platform allocates value, combined with the nature of a "two sided market," where a platform sits between buyers and sellers, holding each hostage to the other, raking off an ever-larger share of the value that passes between them.
PDF document creation with Markup languages | PMPERRY [blogs.perl.org]
New, powerful features have recently been added to PDF::Builder and PDF::Table, enabling faster and easier high-level generation of PDF documents. The versions are respectively 3.025 and 1.005, and are available on CPAN.
As well as the ability to "pour" text into a document's defined page areas, and have it flow easily over pages, this new version also enables high level text formatting with markup languages, as well as much-enhanced font management. The markup supports Markdown (via Text::Markdown) and a large (and growing) subset of HTML/CSS, as well as simple paragraphs-only markup, and for the first time can be used to format cells in PDF::Table. This is far from the final version, as many improvements are in the pipeline for this functionality, and are expected to be released over the coming one to two years. These will include, among other things, proper word hyphenation and probably some form of paragraph shaping, such as Knuth-Plass. The full list (at this time) is at https://github.com/PhilterPaper/Perl-PDF-Builder/issues/195 .
Perl Testing in 2023 - DEV Community 👩💻👨💻
With my open source work, I’ve historically taken an approach which relies more on integration... Tagged with perl, tdd, test2suite.
Test2::V0 provides a good base to work with, so we add that to our project’s requirements list straight away.
We’ll round that out with:
Test2::Require::AuthorTesting to skip certain tests when run on the end user’s machine, and require the AUTHOR_TESTING environment variable to run. This is useful for tests which are very slow or require a highly specific environment to run in.
Test2::Require::Module to skip certain tests when optional modules are unavailable.
Test2::Tools::Spec to better structure our unit tests.
Test2::Plugin::BailOnFail for when your tests simply cannot carry on. Use sparingly.
Announcing Date::Parse::Modern
I'm a big fan of PHP's strtotime() so I wanted that same functionality in Perl. If you have a date/time string and need a unixtime, then strtotime() is the way to go.
I just released the first public version of Date::Parse::Modern, which is a modern replacement for Date::Parse. Not only does it support more formats than Date::Parse, it's also significantly faster.
In a perfect world this functionality (strtotime) should be in Time::Piece. It's very common in my work flow to read a log file and need to parse the date/time part of the line to a Unixtime.
POSTERS — Weinberg Art & Design
Revolutionary Snake Ensemble poster
James Weinberg is a designer, illustrator, and screenprinter out of Somerville MA. With a hands on approach he creates everything from illustration, brand identity, bookjackets, hand silkscreened posters, packaging and murals. His work has been featured in The AIGA BoNE Show, Communication Arts, Print and Uppercase.
https://vadosware.io/post/its-never-been-easier-or-harder-to-self-host-email/
Combine sources for Noto Serif & Noto Serif Display (also Sans)? · Issue #171 · notofonts/latin-greek-cyrillic · GitHub
Colleagues, are there plans to combine the .glyphs sources for Noto Serif & Noto Serif Display into one source? And the same for Noto Sans and Noto Sans Display?
simoncozens commented yesterday
We decided to do away with the "Display" versions, as they were ill-defined. (Not really opsz, not really contrast, and not consistent between Sans/Serif.) Maybe we'll bring them back one day! (Probably not.)
https://github.com/notofonts/latin-greek-cyrillic/issues/436#issuecomment-1577379159
The "display" version was not exactly optical size and not exactly contrast, and was a different implementation between serif and sans. It didn't really fit into any of the models of font variation that we support elsewhere. So they need re-thinking, harmonising, and re-drawing.
Easy Chia Pudding (Only 4 Ingredients) - Eating Bird Food
This easy chia pudding is the perfect healthy breakfast or snack. It's creamy, satisfying and loaded with protein, fiber and omega-3s.
1/4 cup seeds to 1 cup milk
Perl Advent Calendar 2022 - The Christmas Time Machine
use Feature::Compat::Try;
try {
deliver();
} catch($e) {
print "Failed to deliver\n";
}
Because of AoC : adventofcode - Algorithms books
As a former student of his I can recommend Jeff Erickson’s free online algorithms textbook if you’re looking for more sources. :)
https://jeffe.cs.illinois.edu/teaching/algorithms/
very good books. I also recommend Sedgewick's course on coursera
https://www.redblobgames.com/pathfinding/a-star/introduction.html
Would also strongly recommend the Algorithm Design Manual by Skiena
Used this book during AoC and for prepping for interviews.
Flowchart Maker & Online Diagram Software
What I love about Draw.io is its ability to use editable PNGs — an image containing the raw diagram data.
This allows you to publish a self-contained image file. And as the diagram is contained within the image, anybody with Draw.io can update it.
The PNG image file format supports embedded metadata in a number of ways. diagrams.net can export a PNG image of your diagram and include the diagram itself in the image, by including the XML code in the zTxt section of the image file.
Embedding the diagram as metadata in an image lets you more easily transfer the file between products, vendors, and platforms without data loss. By including the diagram, the image retains all of the data necessary to continue working on it in diagrams.net editor.
The Last Guide to Writing Online You Will (Probably) Ever Need — In a 4-Minute Read
This how you legit write online (and crush it):
Entire books don’t remain in people’s minds. Sentences do. Get good at writing great sentences to become memorable.
A writing session that isn’t scheduled will never happen.
Neumorphism/Soft UI CSS shadow generator
CSS code generator that will help with colors, gradients and shadows to adapt this new design trend or discover its posibilities.
CSS Grid Generator
built with 🌮 by sarah_edo
You can set the numbers, and units of your columns and rows, and I'll generate a CSS grid for you! Drag within the boxes to create divs placed within the grid.
Though this project can get a basic layout started for you, this project is not a comprehensive tour of CSS Grid capabilities. It is a way for you to use CSS Grid features quickly.
Easy DIY Shop Vac Upgrade Hacks
I have some easy DIY shop vac hacks to share with you. These simple modifications will save you money on filters, make your shop-vac quieter, and make an inexpensive cart for a dustopper and all your wet dry vac accessories.
I’ll show you a simple filter mod that will save you money and make your filters last much longer. After that I’ll show you how to make a muffler that works way better than a store bought diffuser for less money. Then I’ll show you how to turn your vacuum into a cart with no plans that you can build in an hour for an awesome upgrade.
If you don’t want to spend money or have the room for a full size cyclone to collect all of the dust from woodworking then these tips are for you. You can turn your humble shop vac into an ultra high efficiency cyclonic dust separator.
Pool Filter Socks https://amzn.to/36a2xUb
PVC cutter https://amzn.to/2vMCUX7
Dustopper https://amzn.to/34E4qYF
Perl Advent Calendar 2022 - A Perlmas Tree - pEFL
Nowadays you can create a Christmas tree with perl. There was a wonderful module by Dave Cross in the Perl Advent Calendar 2018. But to find the perfect fitting tree, you have to hack the code. Therefore a GUI is needed. And why not to try the new module pEFL?
pEFL is an object oriented binding to the Enlightenment Foundation Libraries. And even if it is a very young module, the Elementary part (the widget toolkit) is already very usable. But let's see:
But before take a deep dive into pEFL we make a global hash for the settings to SVG::ChristmasTree with nice defaults on top of our code: