Future CSS: State Container Queries
Wait, what? Yes, you heard that right. The Chromium team is experimenting with a new type of query, which is called State Query. Last year, size container queries got supported in all major browsers. They let us query a container based on its width.
Saved
on: 2023-06-29
22 libri consigliati dalla redazione del Post - Il Post
È sempre comodo avere una lista di libri a cui attingere per orientarsi su cosa potrebbe farci una buona compagnia nei mesi a venire, soprattutto quando si parte per qualche giorno e bisogna restringere la scelta a pochi titoli: per questo motivo, e per il piacere della condivisione di cose potenzi
Saved
on: 2023-06-28
Advanced macOS Command-Line Tools
taskpolicy -b <command> starts executing the given command in the background. On Apple silicon Macs, the process will only run on the efficiency cores. taskpolicy -B -p <pid> removes the specified process from running in the background.
Saved
on: 2023-06-28
16 little UI design rules that make a big impact - Adham Dannaway
User interface design is hard. With so many options to choose from regarding layout, spacing, typography, and colour, making design decisions can be overwhelming. When you add usability, accessibility, and psychology to the mix, it gets even harder. Luckily, UI design doesn’t have to be so hard.
Saved
on: 2023-06-27
Mastering CSS Grid | Colt Steele
Creating CSS layouts that behave as expected no matter the viewport size used to be a frustrating, time-consuming experience.
Saved
on: 2023-06-27
The Ultimate Cafe Restaurant Background Noise Generator
However, there's a catch to real world chatter: when the human brain perceives a sound it considers to be speech, it will focus on it and turn it into meaningful language. This usually happens in spaces where the ambient noise level is low, like in modern "open space" offices.
Saved
on: 2023-06-27
Working with Docker Containers Made Easy with the dexec Bash Script
One of the powerful features Docker offers is the ability to interact with running containers. However, manually entering the necessary commands to access a container can be clunky. This motivated me to write this simple dexec script to make running commands through my Docker containers less clunky.
Saved
on: 2023-06-27
Hype cycles
My first hype exposure was "use the Extensible Markup Language for everything". Learning from it allowed me to live through the front end stack explosion, the micro-service overdose and many, many more silly trends. It turns out Grandma was right. Eat vegetables, exercise, sleep well.
Saved
on: 2023-06-26
Introduction
Each lesson introduces a single Markdown concept with an example. When you see a red pulsing circle in the example, select to examine it for details. After studying the example, try a few practice exercises with your new knowledge. Skip to any lesson at any time via the navigation controls.
Saved
on: 2023-06-25
The Diary of Virginia Woolf review – a book for the ages
“I meant to write about death, only life came breaking in as usual,” Virginia Woolf wrote on 17 February 1922, when she had just turned 40. Her diary is full of pain: deaths, losses, illness, grief, depression, anguish, fear.
Saved
on: 2023-06-24
Using GPT-4 to measure the passage of time in fiction – The Stone and the S
Language models have been compared to parrots, but the bigger danger is that they turn people into parrots. A student who asks for “a paper about Middlemarch,” for instance, will get a pastiche loosely based on many things in the model’s training set.
Saved
on: 2023-06-23
How to Do the Thing You've Been Avoiding
Each week, the editor in chief of Entrepreneur magazine shares one way to be more successful and satisfied — and build a career or company you love.
Saved
on: 2023-06-22
Using Laravel's Policies and Route Model Binding without Eloquent
I made an assumption. I, for no reason at all, always assumed Laravel's Policy authorization and Route Model Binding functionality were only meant to be used with Eloquent models. Of course they work with Eloquent, but turns they work with any class.
Tags:
#laravel
Saved
on: 2023-06-18
Modern CSS For Dynamic Component-Based Architecture
The language of CSS has had an explosion of new features and improvements in the last few years. As a result, feature parity between browsers is at an all-time high, and efforts are being made to continue releasing features consistently and synchronously among evergreen browsers.
Saved
on: 2023-06-18
The modern way of serving images
The HTTPArchive found at least 70% of all websites have an image as the most prominent element, yet only 34% of the web uses <img srcset> to create responsive & performant images (and even fewer use <picture>).
Saved
on: 2023-06-15
Native JSON Output From GPT-4 - by Simon Farshid
In this post I will explore the new API. Function calling allows GPT to call a function instead of returning a string. At the time of writing, this feature is available for the chat models gpt-3.5-turbo-0613 and gpt-4-0613.
Saved
on: 2023-06-15
Finish your projects
Starting a new project is a rush. The possibilities are infinite. There's no legacy code dragging you down; we're only making good decisions this time! The beginning of any project is always characterized by blissful productivity. There's so much to be done.
Saved
on: 2023-06-14
RADIO LIBERE TUTTI - La storia dell’emittenza radiofonica piacentina on Vim
Saved
on: 2023-06-12
What Hallucinogens Will Make You See
Psychonaut turned scientific researcher Josie Kins has personally tried over 200 psychedelic compounds and had hundreds of psychedelic experiences. But she no longer takes them herself. “I’ve already explored them so thoroughly,” she says.
Saved
on: 2023-06-06
Promoted from Dev to Team Lead: 8 Things They Didn’t Tell Me
Life was great. I lived in a small apartment in Southie (Boston) with my college roommate “Q.” I had a good job at a tech start-up called CloudLock. I hammered out code 12-14 hours a day. I worked so much that I never knew what day it was, and my bosses had to force me to go home.
Saved
on: 2023-06-05
Anything can be a message queue if you use it wrongly enough
You may think that the world is in a state of relative peace. Things look like they are somewhat stable, but reality couldn't be farther from the truth. There is an enemy out there that transcends time, space, logic, reason, and lemon-scented moist towelettes.
Saved
on: 2023-06-05
Become a leader in email innovation
JMAP is the developer-friendly, open API standard for modern mail clients and applications to manage email faster. It’s official! JMAP has been published by the Internet Engineering Task Force (IETF).
Saved
on: 2023-05-31
Clever Code Considered Harmful
There is something undeniably satisfying about coming up with clever solutions to hard problems. There is a joy when you challenge yourself to use recursion instead of iteration, for example, or when you create elegant, cascading layers of abstraction that ensure code is never duplicated.
Saved
on: 2023-05-30
The UX Research Reckoning is Here
No one’s releasing detailed data about which roles were eliminated during this year of layoffs. But from a distance, it appears User Experience Research teams have been absolutely crushed. Hundreds of UXRs have lost their jobs.
Saved
on: 2023-05-30
New Taschen book ‘The Computer’ is a monumental survey
Taschen delves into the rich visual history of the computer with this new XL-scale book, edited by graphic designers and historians Jens Müller and Julius Wiedemann.
Saved
on: 2023-05-30
How to Stare at Your Phone Without Losing Your Soul | Sim O.N.E. (Observati
How many hours per day can you stare at your phone before you qualify for a 12-step program? Eight? Four? Twenty? One? Here’s the truth: Screen time doesn’t matter.
Saved
on: 2023-05-30
SmolCSS
Create an intrinsically responsive grid layout, optionally using a CSS custom property to extend to variable contexts. Each column will resize at the same rate, and items will begin to break to a new row if the width reaches the --min value.
Saved
on: 2023-05-30
300ms Faster: Reducing Wikipedia's Total Blocking Time
Have you ever been frustrated from interacting with a website that was slow to respond to your clicks or had jerky scrolling? Performance flaws like these can lead to the following:
Saved
on: 2023-05-30
Build Your Own Service Container in PHP - Minimal Container - Ryan Chandler
In this mini series, you'll learn how to build your own service container for dependency injection in PHP. I'll start with the simplest PSR-11 compliant container and then add various features until we have a powerful, general purpose container.
Saved
on: 2023-05-29
Everything You Want To Know About Media Queries and Responsive Design
What is a Media Query? Media queries are a CSS language feature which allow an author to conditionally apply CSS rules according to characteristics of the device or window in which an application is being viewed.
Saved
on: 2023-05-29
About Dolly Parton’s Imagination Library
Dolly Parton’s Imagination Library is a book gifting program that mails free, high-quality books to children from birth to age five, no matter their family’s income. After launching in 1995, the program grew quickly.
Saved
on: 2023-05-28
bws_book.pdf
Saved
on: 2023-05-26
Repositories and their true purpose
Lately, posts and tweets regarding the Repository pattern have made yet another resurgence. It's seemingly impossible to predict when, where or why such "spicy topics" will rear their heads...
Saved
on: 2023-05-25
Retro Computer Museum
In the heart of Leicestershire lies a building brimming with gaming history! Featuring classic systems such as the Sinclair Spectrum, Commodore 64, Commodore Amiga and Atari 2600. Gaming giants including Nintendo NES, Sega MegaDrive, Xbox and PlayStation.
Saved
on: 2023-05-17
Conditional CSS with :has and :nth-last-child
We can check with CSS to know if the number of a group element is less than or equal to a number. For example, having a grid with three or more items. You might be wondering, why is that even needed. In some cases, a component or a layout might change based on the number of child elements.
Saved
on: 2023-05-17
Early Computer Art in the 50’s & 60’s
Computing and creativity have always been linked.
Saved
on: 2023-05-16
dsdanielpark/amazing-bard-prompts
This repo includes Google Bard prompt curation to use Bard better. - dsdanielpark/amazing-bard-prompts
Saved
on: 2023-05-15
Conquering Legacy Code: Embrace the Strangler Fig Pattern for Seamless Soft
Saved
on: 2023-05-12
Migrating an Existing Application to Symfony (Symfony Docs)
When you have an existing application that was not built with Symfony, you might want to move over parts of that application without rewriting the existing logic completely. For those cases there is a pattern called Strangler Fig Application.
Saved
on: 2023-05-12
Conquering Legacy Code: Embrace the Strangler Fig Pattern for Seamless Software Migration
In the software development world, legacy code is inevitable. As technology evolves and user needs change, 99% of software engineers will encounter legacy code in their careers. Many developers, however, feel overwhelmed when faced with the task of updating or migrating a legacy system.
Saved
on: 2023-05-11
Avoiding empty() in PHP - Andreas Möller
The language construct empty() appears rather versatile. It's like a Swiss army knife with a thousand blades, ready to hurt you if you grab it by the wrong end. Or a jack of all trades, master of none. Most of all, empty() is a poor communicator.
Saved
on: 2023-05-10
Story: Redis and its creator antirez
This article is translated from the original Chinese edition. In the world of databases, Redis stands out as unique.
Saved
on: 2023-05-10
Learning center
DNS for Developers — Learn DNS once and for all DNS concepts DNS record types Email and the DNS Domain names Operations Command line tools Security
Saved
on: 2023-05-09
New talk: Learning DNS in 10 years
Here’s a keynote I gave at RubyConf Mini last year: Learning DNS in 10 years. It’s about strategies I use to learn hard things. I just noticed that they’d released the video the other day, so I’m just posting it now even though I gave the talk 6 months ago.
Saved
on: 2023-05-09
Strategies to make functions pure
Note ⓘ This post uses PHP notation but the patterns are applicable to most OOP languages. Pure functions are generally better than effectful functions.
Saved
on: 2023-05-09
Five Books - The Best Books Recommended by Experts
Joining a book discussion group is a great way to meet fellow book-lovers—but one of the trickiest things can be deciding which books you should tackle together.
Saved
on: 2023-05-08
Diff Speeding
After bringing a performance boost to PHPStan in Speedzember, I had a closer look at Rector. Like usual I started into the use-case at hand by running a profiler on my workload.
Saved
on: 2023-05-05
Load Balancing
Past a certain point, web applications outgrow a single server deployment. Companies either want to increase their availability, scalability, or both! To do this, they deploy their application across multiple servers with a load balancer in front to distribute incoming requests.
Saved
on: 2023-05-04
Entertainment
We create and provide access to world-class entertainment through Amazon Originals, Prime Video, Audible, Amazon Games, Twitch, Amazon Music, Prime Gaming, and more.
Saved
on: 2023-05-04
Troy Hunt: Divorce
I don't have any expertise whatsoever to be guiding others through this process so please don't look at this as a "how to".
Saved
on: 2023-05-03
News Minimalist: Only Significant News. All Signal, No Noise
Today ChatGPT read 9913 top news stories and gave 3 of them a significance score over 6. Read their summaries in daily newsletter. The U.S.
Saved
on: 2023-05-03
Guidelines for Brutalist Web Design
The term brutalism is often associated with Brutalist Architecture, however it can apply to other forms of construction, such as web design. This website explains how. The term brutalism is derived from the French béton brut, meaning “raw concrete”.
Tags:
#webdesign
Saved
on: 2023-05-02
The key to becoming extraordinary
I was blown away. Here was this 73-year-old guy dancing, jumping, and sliding across the stage, pulling off moves that would put people in their 30s to shame. He played for 2.5 hours nonstop—seamlessly transitioning from one song to another with few breaks in between.
Saved
on: 2023-05-02
Rebuilding a featured news section with modern CSS: Vox news
Looking at a layout at first glance might imply that it’s easy and straightforward to build. The moment you start building the initial layout, you will face challenges that you didn’t think about in your initial look at the design.
Saved
on: 2023-05-01
Deploy web apps anywhere.
In the past decade+, there’s been an explosion in commercial offerings that make deploying web apps easier. Heroku kicked it off with an incredible offering that stayed ahead of the competition seemingly forever. These days we have excellent alternatives like Fly.io and Render.
Saved
on: 2023-04-29
Giornata della ristorazione, il galateo del buon cliente secondo il camerie
Madonna e il taglio della torta alla festa di Dolce e Gabbana: Roberto Bolle si improvvisa paparazzo 23/09/2024
Saved
on: 2023-04-28
Meet the people using Notion to plan their whole lives | MIT Technology Rev
His secret is the workspace app Notion. Bergen, a product manager living in Vancouver, uses it to plan trips abroad in meticulous detail, with notes and timelines. He uses it to curate lists of the movies and TV shows he’s watched, and records what he thought of them.
Saved
on: 2023-04-27
Payments 101 for a Developer · juspay/hyperswitch Wiki · GitHub
It is designed to give individuals (EU citizens) more control over data collected, used, and protected online.
Saved
on: 2023-04-27
3Blue1Brown
Instead of funding these videos through sponsored ad reads at the end of each one, or separating out some behind a paywall, they're funded directly through viewer support. If they add value to your life, it would mean a lot if you considered joining the supporting members.
Saved
on: 2023-04-27
Deploy with zero-downtime | Deploy your Laravel app from scratch | Loris
In the previous episode, we installed Deployer and defined our deployment flow by configuring a deploy.yaml file at the root of our project. Enough theory, it's about time we ship this thing to our server. In our deploy.yaml file, we configured our deployment flow inside the deploy task.
Saved
on: 2023-04-26
Some mistakes I made as a new manager
This post was adapted from a “management roundtable” I gave at Anthropic. I had an unusually hard time becoming a manager: I went back and forth three times before it stuck, mostly because I made lots of mistakes each time.
Saved
on: 2023-04-24
Consent management made easy and clear with Cloudflare Zaraz
Depending on where you live you may be asked to agree to the use of cookies when visiting a website for the first time.
Saved
on: 2023-04-23
Stretch 15 💪
Our app includes a free daily routine plus a library of premium routines with varied durations and targets.
Saved
on: 2023-04-20
Refactoring Legacy Code with the Strangler Fig Pattern
Large objects are a code smell: overloaded with responsibilities and dependencies, as they continue to grow, it becomes more difficult to define what exactly they’re responsible for. Large objects are harder to reuse and slower to test.
Saved
on: 2023-04-20
Strangler Pattern in practice | Accesto Blog
This week I finally hit the delete button. I've been waiting for this moment for the last 3 years.
Saved
on: 2023-04-20
90% of My Skills Are Now Worth $0 - by Kent Beck
First, I do not have the answer for which skills are in the 90% & which are in the 10%. (I’ll tell you why I concluded that split in a second.) We are back in Explore territory in 3X: Explore/Expand/Extract terms. The only way to find out is to try a little bit of a lot of ideas.
Saved
on: 2023-04-20
Staying Organized | Tighten
Andrew Morgan (a Lead Programmer at Tighten) joins us this week to talk all things organization - why it's important for devs (and all of us, really) to stay organized, how he does it, and a lot...
Saved
on: 2023-04-19
Legacy to Laravel: How to Modernize an Aging PHP Application | Tighten
Here at Tighten, we love Laravel and get excited about staying up to date with the latest and greatest features our framework of choice has to offer.
Saved
on: 2023-04-19
Vercel AI SDK
AI New Try out the new The AI Toolkit for TypeScript From the creators of Next.js, the Vercel AI SDK gives you the tools you need to build AI-powered products.
Saved
on: 2023-04-19
An example of LLM prompting for programming
My account of an internal chat with Xu Hao, where he shows how he drives ChatGPT to produce useful self-tested code. His initial prompt primes the LLM with an implementation strategy (chain of thought prompting).
Saved
on: 2023-04-18
Shady Characters: The Secret Life of Punctuation, Symbols, and Other Typographical Marks
Saved
on: 2023-04-18
You're not uncool. Making friends as an adult is just hard | Here & Now
This segment was rebroadcast on July 20, 2022. Click here for that audio. Marisa G. Franco's new book on the science of making and keeping friends "Platonic" comes out on Sept. 6.
Saved
on: 2023-04-18
HaggardHawks: Ampersand
This: is called an ampersand. It’s derived from a handwritten combination of the letters E and T, as in et, the Latin word for “and”. You might have already known that.
Saved
on: 2023-04-18
The 44 Best Pens for 2024: Gel, Ballpoint, Rollerball, and Fountain Pens
JetPens.com ® Free USA Shipping on Orders over $35! It’s almost impossible to pick a single best pen for everyone, because not everyone wants the same thing from their pens. Plus, different types of pens use different inks, so you can’t exactly compare a gel pen to a highlighter.
Saved
on: 2023-04-12
Maximizing the Potential of LLMs: A Guide to Prompt Engineering
Language models have rapidly improved in recent years, with large language models (LLMs) such as GPT-3 and GPT-4 taking center stage. These models have become popular due to their ability to perform a great variety of tasks with incredible skill.
Saved
on: 2023-04-11
50 Ideas That Changed My Life
Here are the 50 ideas that changed my life. These are my guiding principles and the light of my intellectual life. All of them will help you think better, and I hope they inspire curiosity.
Saved
on: 2023-04-11
Insegne
Aperto sempre su appuntamento! Artigianalità vintage, estetica moderna, risultati contemporanei!
Saved
on: 2023-04-11
Introducing PHP-CS-Fixer into legacy projects - Andreas Möller
You are working on a legacy PHP project and want to use friendsofphp/php-cs-fixer to enforce a consistent coding standard. But you are unsure how to do that without causing problems.
Saved
on: 2023-04-11
Dyson Hair Dryer Becomes Jet Engine | Hackaday
While Dyson makes some good products, they aren’t known for being economical. Case in point: [Integza] spent $500 on a hair dryer. While he does have a fine head of hair, we suspected he wasn’t after it for its intended purpose, and we were right.
Saved
on: 2023-04-11
Effective Spaced Repetition
You won’t get smarter by drilling IQ tests or playing the violin. Dual n-back probably won’t improve your working memory. But you can remember anything you choose to with spaced repetition. Spaced repetition is, by far, the most effective cognitive hack I’ve used.
Saved
on: 2023-04-10
Sunset
South Pole Station sits at near-exactly 90° South latitude. Down here, the sun does weird things. This leads to strange but accurate sentences, such as “can you believe it – only 4 more days until sunset”. Any location South of the Antarctic Circle (around 66.
Saved
on: 2023-04-10
Here’s How Two New Orleans Teenagers Found a New Proof of the Pythagorean T
Tags:
#mathematics
Saved
on: 2023-04-09
Tatjana van Vark
Although many of her projects appear to be simple reproductions, these instruments often include improvements that came as a result of Tatjana’s deep analysis and understanding of the underlying principles of the device.
Saved
on: 2023-04-08
How Microsoft sprinted to integrate OpenAI's GPT-4 into '365' suite
Building an AI assistant into every app—from Outlook to Word to Teams—is a big job, but one the tech giant wanted to do quickly. It’s a term that’s been uttered thousands of times within the conference rooms and hallways at Microsoft over the past few months.
Saved
on: 2023-04-06
Exploring Laravel’s Job Queue: Advanced Features for Efficient and Scalable
As web applications become increasingly complex and data-intensive, it’s becoming more and more important to offload time-consuming tasks to background processes. One popular way of doing this in Laravel is through the use of the job queue.
Tags:
#laravel
Saved
on: 2023-04-03
CSS Masking - Ahmad Shadeed
In the design world, masking is a popular technique to achieve unique design effects. As a designer, I’ve used it many times, but my usage of it on the web is rare.
Tags:
#css
Saved
on: 2023-03-31
How to read MySQL EXPLAINs
Learn how to read the output in MySQL EXPLAIN plans so you can utilize them to improve query performance. In the MySQL world, EXPLAIN is a keyword used to gain information about query execution. This blog post will demonstrate how to utilize MySQL EXPLAIN to remedy problematic queries.
Saved
on: 2023-03-31
25 PERFECT AI Prompts for PHP Developers | by Brady Lewis | Mar, 2023 | Med
With prompts ranging from PHP frameworks to database integration, these prompts offer a wealth of actionable insights and guidance to help you optimize your development efforts and deliver outstanding results.
Saved
on: 2023-03-30
Gut - Ease your journey with Git
Gut is a user-friendly Git CLI for Windows, Mac, and GNU/Linux. With intuitive commands and streamlined workflows, Gut simplifies the process of using Git's complex system, allowing you to focus on your code. Your code was working two days ago, right? Revert it without modifying history
Saved
on: 2023-03-30
Bicycle – Bartosz Ciechanowski
There is something delightful about riding a bicycle. Once mastered, the simple action of pedaling to move forward and turning the handlebars to steer makes bike riding an effortless activity.
Saved
on: 2023-03-29
Testing without mocking frameworks.
Over the years, my coding practices have changed a lot. From hacking away until it works to TDD/BDD/DDD and everything in between. One of the biggest changes in my developer career has been when, why, and how I test my code. In particular, my view on mocking frameworks has changed a lot.
Saved
on: 2023-03-28
Superhuman: What can AI do in 30 minutes?
The thing that we have to come to grips with in a world of ubiquitous, powerful AI tools is how much it can do for us. The multiplier on human effort is unprecedented, and potentially disruptive. But this fact can often feel abstract. So I decided to run an experiment.
Saved
on: 2023-03-26
Modelling Busines Processes in Laravel
As developers, we often map business processes to digital processes, from sending an email to something quite complex. Let's look at how to take a more complicated process and write clean and elegant code. It all starts with a workflow.
Saved
on: 2023-03-25
Introducing Bladestan - PHPStan analysis of Blade templates
This Tuesday, I was a guest in 2nd podcast of PHP Portugal folks. It was fun as always, and apart from GPT questions, I got asked about the Laravel open-source packages like Punchcard. I wrote about Twig static analysis a year and a half ago.
Saved
on: 2023-03-24
Everything You Can Test In Your Laravel Application
This article is about the How and What to test in Laravel. If you want to learn about the Why you should write tests, check out my 3 Compelling Reasons For Developers To Write Tests article. All test examples focus on testing concepts and can be applied to all testing frameworks.
Saved
on: 2023-03-24
Web fingerprinting is worse than I thought
If you are reading this article, you are most likely using a web browser, and you have some expectations or beliefs about online privacy and security. For example, I do not know what you are reading on other tabs on your web browser, and you would like to keep it that way.
Saved
on: 2023-03-22
Role And Permission In Laravel 10 using Spatie: The Definitive Guide (2023)
Roles and permissions can make or break your web application. If you’re not careful, your users might end up running amok, wreaking havoc on your carefully crafted code. Roles and permissions are like the bouncers at a club.
Saved
on: 2023-03-21